/* Origin TV's side support interaction, adapted for IPTV Kopen's pending contact setup. */
.ik-support { position: fixed; z-index: 60; top: 50%; right: 0; width: 46px; transform: translateY(-50%); font-family: var(--font-sans, Arial, sans-serif); color: #121110; pointer-events: none; transition: translate .45s cubic-bezier(.22, 1, .36, 1), opacity .3s ease; }
.ik-support *, .ik-support *::before, .ik-support *::after { box-sizing: border-box; }
.ik-support > * { pointer-events: auto; }
.ik-support button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ik-support svg { display: block; width: 100%; height: 100%; flex-shrink: 0; }
.ik-support p { margin: 0; }
.ik-support-panel { position: absolute; top: calc(50% + var(--ik-support-panel-shift, 0px)); right: calc(100% + 10px); width: min(340px, calc(100vw - 72px)); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid rgb(23 21 19 / 10%); border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -24px rgb(20 12 6 / 35%); opacity: 0; visibility: hidden; transform: translate(12px, -50%) scale(.96); transform-origin: center right; transition: opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s; }
.ik-support[data-open="true"] .ik-support-panel { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0s; }
.ik-support-head { display: flex; align-items: center; gap: 11px; }
.ik-support-avatar { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; padding: 5px; border: 1px solid rgb(23 21 19 / 8%); border-radius: 12px; background: #faf8f5; color: #e0310a; }
.ik-support-identity { min-width: 0; }
.ik-support .ik-support-name { color: #121110; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.ik-support .ik-support-status { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: #6d6762; font-size: 12px; font-weight: 500; line-height: 1.35; }
.ik-support-status i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #e65b22; }
.ik-support-close { display: grid; width: 44px; height: 44px; margin-left: auto; flex: 0 0 auto; place-items: center; padding: 13px; border: 0; border-radius: 9px; background: transparent; color: #736d66; transition: background .2s ease, color .2s ease; }
.ik-support-close:hover { background: #f4f2ef; color: #121110; }
.ik-support .ik-support-intro { margin-top: 12px; color: #55504b; font-size: 13.5px; line-height: 1.5; }
.ik-support-topics { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ik-support-topic { display: flex; width: 100%; min-height: 58px; align-items: center; gap: 11px; padding: 10px 12px 10px 10px; border: 1px solid rgb(23 21 19 / 10%); border-radius: 12px; background: #fff; color: #121110; text-align: left; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.ik-support-topic:hover, .ik-support-topic[data-selected="true"] { border-color: rgb(244 81 30 / 50%); background: #fff8f4; }
.ik-support-topic-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; padding: 9px; border-radius: 10px; background: #fff1ea; color: #c83c10; }
.ik-support-topic-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.ik-support-topic-copy b { font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; overflow-wrap: anywhere; }
.ik-support-topic-copy > span { margin-top: 2px; color: #6d6762; font-size: 12px; line-height: 1.3; }
.ik-support-arrow { display: block; width: 16px; height: 16px; flex: 0 0 auto; color: #827a73; transition: translate .2s ease, color .2s ease; }
.ik-support-topic:hover .ik-support-arrow { translate: 2px 0; color: #c83c10; }
.ik-support .ik-support-lead { border-color: transparent; background: linear-gradient(135deg, #ff8f52, #f4511e 55%, #e0310a); color: #fff; box-shadow: 0 10px 22px -12px rgb(244 81 30 / 70%); }
.ik-support .ik-support-lead:hover, .ik-support .ik-support-lead[data-selected="true"] { border-color: transparent; background: linear-gradient(135deg, #ff9a62, #f65a28 55%, #e63a12); }
.ik-support-lead .ik-support-topic-icon { background: rgb(255 255 255 / 20%); color: #fff; }
.ik-support-lead .ik-support-topic-copy > span, .ik-support-lead .ik-support-arrow, .ik-support-lead:hover .ik-support-arrow { color: #fff; }
.ik-support .ik-support-pending { margin-top: 12px; padding: 10px 12px; border: 1px solid #f1c4b1; border-radius: 10px; background: #fff5ee; color: #883411; font-size: 12.5px; line-height: 1.5; }
.ik-support .ik-support-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: #6d6762; font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.ik-support-foot svg { width: 14px; height: 14px; color: #128c7e; }
.ik-support-tab-wrap { position: relative; display: flex; width: 46px; flex-direction: column; overflow: visible; border: 1px solid rgb(255 255 255 / 30%); border-right: 0; border-radius: 16px 0 0 16px; background: linear-gradient(170deg, #25d366, #128c7e); color: #fff; box-shadow: -10px 14px 30px -14px rgb(18 140 126 / 75%), inset 1px 1px 0 rgb(255 255 255 / 30%); transition: width .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }
.ik-support-tab { display: flex; width: 100%; min-height: 44px; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; border: 0; border-radius: 16px 0 0 0; background: transparent; color: inherit; touch-action: none; user-select: none; }
.ik-support-tab-icon { display: grid; width: 32px; height: 32px; place-items: center; padding: 4px; border-radius: 10px; background: rgb(255 255 255 / 16%); }
.ik-support-tab-label { font-size: 13px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); }
.ik-support-dismiss { display: grid; width: 100%; min-height: 44px; place-items: center; padding: 14px; border: 0; border-top: 1px solid rgb(255 255 255 / 28%); border-radius: 0 0 0 16px; background: rgb(0 0 0 / 14%); color: #fff; transition: background .2s ease; }
.ik-support-dismiss:hover { background: rgb(0 0 0 / 28%); }
.ik-support-tab-dot { position: absolute; top: -5px; left: -5px; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 5px; background: #e65b22; box-shadow: 0 2px 6px rgb(0 0 0 / 25%); }
.ik-support[data-open="true"] .ik-support-tab-dot { display: none; }
.ik-support button:focus-visible { outline: 3px solid #bd3a0c; outline-offset: 3px; }
.ik-support-tab:focus-visible, .ik-support-dismiss:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.ik-support[data-hidden="true"] { translate: calc(100% + 24px) 0; opacity: 0; pointer-events: none; }
.ik-support[data-hidden="true"] > * { pointer-events: none; }
.ik-support[data-side="left"] .ik-support-panel { right: auto; left: calc(100% + 10px); transform: translate(-12px, -50%) scale(.96); transform-origin: center left; }
.ik-support[data-side="left"][data-open="true"] .ik-support-panel { transform: translateY(-50%); }
.ik-support[data-side="left"] .ik-support-tab-wrap { border-right: 1px solid rgb(255 255 255 / 30%); border-left: 0; border-radius: 0 16px 16px 0; box-shadow: 10px 14px 30px -14px rgb(18 140 126 / 75%), inset -1px 1px 0 rgb(255 255 255 / 30%); }
.ik-support[data-side="left"] .ik-support-tab { border-radius: 0 16px 0 0; }
.ik-support[data-side="left"] .ik-support-dismiss { border-radius: 0 0 16px 0; }
.ik-support[data-side="left"] .ik-support-tab-dot { right: -5px; left: auto; }
.ik-support[data-side="left"][data-hidden="true"] { translate: calc(-100% - 24px) 0; }
.ik-support[data-dragging="true"] .ik-support-tab-wrap { border: 1px solid rgb(255 255 255 / 30%); border-radius: 16px; box-shadow: 0 24px 40px -12px rgb(18 140 126 / 80%); scale: 1.04; }
.ik-support[data-dragging="true"] .ik-support-tab { cursor: grabbing; border-radius: 16px 16px 0 0; }
.ik-support[data-dragging="true"] .ik-support-dismiss { border-radius: 0 0 16px 16px; }
.ik-support-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .ik-support-panel { width: min(304px, calc(100vw - 72px)); padding: 13px; border-radius: 16px; }
  .ik-support-head { gap: 9px; }
  .ik-support-avatar { width: 34px; height: 34px; border-radius: 10px; padding: 4px; }
  .ik-support .ik-support-name { font-size: 14px; }
  .ik-support .ik-support-status { font-size: 11px; }
  .ik-support .ik-support-intro { margin-top: 9px; font-size: 12.5px; line-height: 1.45; }
  .ik-support-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 7px; margin-top: 10px; }
  .ik-support-topics > li { display: flex; min-width: 0; }
  .ik-support-topic { position: relative; min-height: 98px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 10px; }
  .ik-support-topic-icon { width: 30px; height: 30px; border-radius: 9px; padding: 7px; }
  .ik-support-topic-copy b { font-size: 12.5px; line-height: 1.25; letter-spacing: 0; }
  .ik-support-topic-copy > span { display: none; }
  .ik-support-arrow { position: absolute; top: 10px; right: 9px; width: 14px; height: 14px; }
  .ik-support .ik-support-foot { margin-top: 9px; font-size: 11px; }
}
@media (hover: hover) { .ik-support:has(.ik-support-tab-wrap:hover), .ik-support-tab-wrap:hover { width: 52px; } }
@media (prefers-reduced-motion: reduce) { .ik-support, .ik-support-panel, .ik-support-close, .ik-support-topic, .ik-support-arrow, .ik-support-tab-wrap, .ik-support-dismiss { animation: none !important; transition: none !important; } }
