/* Shared site layout. Legacy fragments keep their behavior inside fluid panels. */
.segol-vip :is(.site-public-nav, .site-public-content, .site-dashboard) {
    box-sizing: border-box;
    width: min(1560px, calc(100% - 2 * clamp(8px, 1.5vw, 20px)));
    max-width: none;
    min-width: 0;
    margin-inline: auto;
}
.segol-vip .site-public-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-block: 8px;
}
.segol-vip .site-public-nav .vip-pill {
    min-height: 42px;
    max-width: 100%;
    padding: 7px 12px;
    color: var(--site-accent);
    background: var(--site-panel);
    border-color: var(--site-line);
    overflow-wrap: anywhere;
    font-size: .92rem;
}
.segol-vip .site-public-nav .vip-pill[aria-current="page"] {
    color: #fff;
    background: var(--vip-action);
}
.segol-vip .site-public-content {
    grid-template-columns: minmax(180px, 23%) minmax(0, 1fr);
    gap: clamp(8px, 1.5vw, 20px);
    align-items: start;
}
.segol-vip .site-public-content > .cont-right2 { grid-column: 1/-1; }
.segol-vip .site-public-content > :is(.cont-left,.cont-right,.cont-right2) {
    position: relative;
    float: none;
    min-width: 0;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 1px solid var(--site-line);
    border-radius: 18px;
    background: var(--site-panel);
    color: var(--site-text);
}
.segol-vip .site-public-content .right-cont-text {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: clamp(9px,2vw,24px);
    overflow-wrap: anywhere;
    overflow-x: auto;
}
.segol-vip .site-public-content :is(.right-cont-head,.cont-head) {
    text-align: start;
    font-size: clamp(1.125rem, 1.8vw, 1.45rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.segol-vip .site-public-content :is(.headcontektnetit,.right-cont-text h2) {
    font-size: clamp(1.1rem,1.65vw,1.35rem);
    margin-inline: 0;
}
.segol-vip .site-public-content .cont-left ul {
    padding: 6px;
    margin: 0;
    list-style: none;
}
.segol-vip .site-public-content :is(.site-public-filters,.cont-left ul) li {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}
.segol-vip .site-public-filters { padding: 6px; }
.segol-vip .site-public-filters:not(:empty) li { margin-block: 2px; }
.segol-vip .site-public-content p.dalee:empty { display: none; }
.segol-vip .site-public-content :is(.pink-block,.pink-block2,.blue-block,.setting-wrap) {
    width: 100%;
    max-width: 100%;
    height: auto;
    float: none;
    margin: 0;
}
.segol-vip .site-public-content :is(img,video,iframe,object,embed),
.segol-vip .site-dashboard-content :is(img,video,iframe,object,embed) { max-width: 100%; }
.segol-vip .site-public-content .right-cont-text img { height: auto; }
.segol-vip .site-public-content img:is(.site-public-loading,.site-public-empty,.loadensstat2,.pageskatimg,.pageskatimg2),
.segol-vip .site-public-content :is(#strankat,#strangor,#doskanaly,#wibkanlpered,#wibkatfilm) > img {
    display: block;
    position: static;
    float: none;
    width: 48px;
    height: auto;
    margin: 12px auto;
}
.segol-vip .site-public-content :is(.pagessx,.pagination,.otstup3,.pageskat,.pageskat2,.pageskat3),
.segol-vip .site-dashboard-content .pagination {
    position: static !important;
    float: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 10px auto !important;
    gap: 5px;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) .pagination > :is(i,button) {
    position: static;
    width: auto;
    min-width: 34px;
    height: 34px;
    margin: 0;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) .pagination > i::before {
    position: static;
    display: inline-block;
    font-size: 22px;
    line-height: 1;
}
.segol-vip .site-public-content .site-public-channels,
.segol-vip .site-public-content .channel-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%,102px),1fr));
    gap: 7px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.segol-vip .site-public-content :is(.site-public-channels,.channel-block) > :is(li,li3) {
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 7px;
    gap: 4px;
    height: auto;
    min-height: 78px;
    min-width: 0;
    width: auto;
    max-width: 100%;
    float: none;
    margin: 0;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-panel);
    text-align: center;
    overflow-wrap: anywhere;
}
.segol-vip .site-public-channels img { width: 76px; height: 54px; object-fit: contain; }
.segol-vip .site-public-content .channel-block p { position: static; margin: 0; }
.segol-vip .site-public-content .site-public-pager { justify-content: center; }
.segol-vip .site-public-pager button { display: inline-flex; align-items: center; gap: 4px; }
.segol-vip .site-public-content .form_poisk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    padding: 8px;
    margin: 0;
    gap: 6px;
}
.segol-vip .site-public-content .form_poisk input[type="search"] {
    flex: 1 1 120px;
    min-width: 0;
    min-height: 42px;
    font: inherit;
    padding-inline: 10px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
}
.segol-vip .site-table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; }
.segol-vip .site-table-scroll > table { margin-inline: 0; }
.segol-vip :is(.site-public-content,.site-dashboard-content) :is(input,select,textarea,button) { max-width: 100%; }
.segol-vip .site-dashboard-content :is(.right-cont-text,.setting-wrap,.tech-wrap-left,.tech-wrap-right,.pay-block-left,.pay-block-right,.admin-menu,.main-option) {
    max-width: 100%;
    min-width: 0;
}
@media (max-width: 850px) {
    .segol-vip :is(.site-public-content,.site-dashboard) { grid-template-columns: minmax(0,1fr); }
    .segol-vip .site-public-content > .cont-right2 { grid-column: auto; }
    .segol-vip .site-public-nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,130px),1fr)); }
}
@media (max-width: 480px) {
    .segol-vip .site-dashboard { --cabinet-text-size: .92rem; }
    .segol-vip .site-account-nav { grid-template-columns: repeat(auto-fit,minmax(min(100%,145px),1fr)); }
    .segol-vip .site-account-nav button { align-items: center; padding-inline: 6px; }
    .segol-vip .site-dashboard-content :is(.tech-right,.pay-right) { grid-template-columns: minmax(0,1fr); }
    .segol-vip .site-dashboard-content .admin-search form > div { column-gap: 6px; }
    .segol-vip .site-dashboard-content .admin-search form > div > span { flex-basis: 100%; width: auto; }
    .segol-vip .site-dashboard-content .admin-search form input[type="text"] { flex: 1 1 100px; min-width: 0; }
    .segol-vip .site-dashboard-content .admin-search form input[type="button"] { width: auto; }
}
.segol-vip .site-public-content .setting-wrap .setting {
    display: flex; flex-wrap: wrap; width: 100%; height: auto;
    gap: 6px 12px; min-width: 0; justify-content: space-between;
}
.segol-vip .site-public-content .setting :is(.option-left,.option-right) {
    position: static; float: none; width: auto; max-width: 100%; height: auto;
    margin: 0; overflow-wrap: anywhere;
}

.segol-vip .site-account {
    box-sizing: border-box;
    padding: clamp(14px,1.8vw,22px);
}
.segol-vip .site-account .site-profile {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    justify-items: start;
    padding-block-start: 4px;
}
.segol-vip .site-account .site-profile-photo {
    display: block;
    width: clamp(44px,4vw,54px);
    height: clamp(44px,4vw,54px);
    object-fit: contain;
    position: static;
    float: none;
    margin: 0;
}
.segol-vip .site-account-nav {
    gap: 9px;
}
.segol-vip .site-account-nav button {
    flex-wrap: wrap;
    text-align: start;
    border-radius: 999px;
}
.segol-vip .site-account-nav button > .site-account-label {
    flex: 1 1 75%;
    min-width: 0;
    overflow-wrap: anywhere;
}
.segol-vip .site-account-nav button .site-unread {
    margin-inline-start: 2em;
    overflow-wrap: anywhere;
}
.segol-vip .site-device-list { container: equipment / inline-size; }
.segol-vip .site-dashboard .site-device-list .site-device {
    --device-button-size: 2.875rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    padding: 10px clamp(8px, .8vw, 14px);
}
.segol-vip .site-dashboard .site-device > li { min-width: 0; }
.segol-vip .site-dashboard .site-device :is(.site-device-action, li > a) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: var(--device-button-size);
    padding-inline: 6px;
}
.segol-vip .site-dashboard .site-device-action :is(strong,span),
.segol-vip .site-dashboard .site-device li > a span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.segol-vip .site-dashboard .site-device-action i { flex: none; }
.segol-vip .site-dashboard .site-device > .site-device-end {
    grid-column: 1/-1;
    justify-content: flex-end;
    gap: 8px;
}
.segol-vip .site-dashboard .site-device .site-device-delete {
    flex: none;
    width: var(--device-button-size);
    border-radius: 50%;
    padding: 0;
    background: #f5ebf4;
    border-color: #dfb9d0;
}
@container equipment (min-width: 410px) {
    .segol-vip .site-dashboard .site-device-list .site-device {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}
@container equipment (min-width: 890px) {
    .segol-vip .site-dashboard .site-device-list .site-device {
        grid-template-columns: repeat(5,minmax(0,1fr)) auto;
    }
    .segol-vip .site-dashboard .site-device > .site-device-end { grid-column: auto; }
}
.segol-vip .site-dashboard .site-device-switch {
    --cabinet-text-size: .8125rem;
    display: flex;
    gap: 8px;
}
.segol-vip .site-dashboard .site-device-switch button {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: var(--device-button-size);
    min-width: var(--device-button-size);
    height: var(--device-button-size);
    flex: none;
    padding: 2px 1px;
    border: 1px solid var(--switch-border);
    border-radius: 50%;
    background: var(--switch-soft);
    color: var(--switch-ink);
    font-size: var(--cabinet-text-size);
    font-weight: 700;
    line-height: 1.08;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard .site-device-switch button {
    --switch-soft: #fde8ec;
    --switch-border: #e9a4af;
    --switch-ink: #952b40;
    --switch-ring: #ffc0c9;
}
.segol-vip .site-dashboard .site-device-switch button[aria-pressed="true"] {
    --switch-border: #147651;
    --switch-ring: #a3e5c8;
    background: #147651;
    color: #fff;
    box-shadow: inset 0 0 0 2px var(--switch-ring);
}
.segol-vip .site-dashboard .site-account-nav button[aria-current="true"] {
    color: var(--site-accent);
    background: var(--site-raised);
    box-shadow: inset 0 0 0 2px #8250df, inset 0 0 14px #9462ed33;
}
@media (hover: hover) {
    .segol-vip .site-dashboard :is(.site-account-nav button,.site-device-action,.site-device-pagination button):hover:not(:disabled) {
        background-color: #e3d8ff;
        box-shadow: inset 0 0 0 2px #956be1, inset 0 0 14px #9462ed40;
    }
    .segol-vip .site-dashboard .site-device-switch button:hover:not(:disabled) {
        box-shadow: inset 0 0 0 2px var(--switch-ring), inset 0 0 0 4px var(--switch-border);
    }
}
.segol-vip .site-dashboard :is(.site-account-nav button,.site-device-action,.site-device-switch button,.site-device-pagination button):is(:focus-visible,:active):not(:disabled) {
    outline: 2px solid #7642d6;
    outline-offset: -2px;
    box-shadow: inset 0 0 0 4px #fff, inset 0 0 19px #9462ed77;
}
@media (prefers-reduced-motion: no-preference) {
    .segol-vip .site-dashboard :is(.site-account-nav button,.site-device button,.site-device a,.site-device-pagination button,.site-device-toolbar button) {
        transition: translate 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
    }
    .segol-vip .site-dashboard :is(.site-account-nav button,.site-device button,.site-device a,.site-device-pagination button,.site-device-toolbar button):active:not(:disabled) {
        translate: 0 2px;
    }
}
.segol-vip .site-dashboard-content:focus-visible {
    outline: 2px solid #7642d6;
    outline-offset: 2px;
}

@media (min-width: 851px) {
    .segol-vip .site-dashboard { align-items: start; }
    .segol-vip .site-dashboard-content {
        /* Take the row height from the menu, including when a section loads. */
        contain: size;
        align-self: stretch;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: auto;
        border: 1px solid var(--site-line);
        border-radius: 22px;
        background: var(--site-panel);
        color: var(--site-text);
    }
    .segol-vip .site-dashboard-content #kontent {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
        align-items: flex-start;
    }
    .segol-vip .site-dashboard .site-dashboard-content #kontent > .cont-right {
        flex: 1;
        border: 0;
    }
}

.segol-vip .site-dashboard .site-device .site-device-name:not([data-device-avatar=""]) {
    justify-content: flex-start;
    padding-left: 6px;
    direction: ltr;
}
.segol-vip .site-device-avatar {
    flex: none;
    border-radius: 25%;
    object-fit: cover;
}
.segol-vip #site-device-edit { max-height: calc(100dvh - 24px); }
.segol-vip #site-device-art {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.segol-vip #site-device-art legend { margin-bottom: 8px; font-weight: 650; }
.segol-vip .site-device-art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(42px,1fr));
    gap: 6px;
    max-height: min(38vh,290px);
    padding: 4px;
    overflow: auto;
}
.segol-vip .site-device-art-grid label { position: relative; min-width: 0; cursor: pointer; }
.segol-vip .site-device-art-animated::after {
    content: "▶";
    position: absolute;
    inset: auto 5px 5px auto;
    padding: 2px 4px;
    border-radius: 100px;
    background: #211540db;
    color: #fff;
    font-size: 10px;
    pointer-events: none;
}
.segol-vip .site-device-art-grid input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.segol-vip .site-device-art-grid img,
.segol-vip .site-device-art-none span {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid transparent;
    border-radius: 11px;
    box-sizing: border-box;
}
.segol-vip .site-device-art-none { grid-column: span 2; }
.segol-vip .site-device-art-none span { padding: 8px; background: var(--site-raised); }
.segol-vip .site-device-art-grid input:is(:checked,:focus-visible) + :is(img,span) {
    border-color: #783bdf;
    box-shadow: 0 0 0 2px #d8b9fc;
}
@keyframes site-device-avatar-pulse { 50% { filter: brightness(1.24); transform: scale(.93); } }
@media (prefers-reduced-motion: no-preference) {
    .segol-vip .site-device-art-grid :is(input:checked + img,label:hover img).site-device-avatar-motion {
        animation: site-device-avatar-pulse 2.6s ease-in-out infinite;
    }
}

.segol-vip .site-dashboard .site-device-mac .site-device-action {
    --cabinet-text-size: .875rem;
    background: #e9defb;
    border-color: #a58ad5;
    color: #451b8b;
    font-variant-numeric: tabular-nums;
}

.segol-vip .site-device-key small {
    --cabinet-text-size: .6875rem;
    color: var(--site-muted);
    font-weight: 400;
    letter-spacing: 0;
}

/* Keep the pager below short results, including results loaded through AJAX. */
@media (min-width: 851px) {
    .segol-vip .site-public-content.site-has-paging { align-items: stretch; }
}
.segol-vip :is(.site-public-content,.site-dashboard-content) .site-paging-flow {
    flex: 1 0 auto;
    min-width: 0;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) .site-paging-flow:not(.tech-right,.pay-right) {
    display: flex;
    flex-direction: column;
}
.segol-vip :is(.site-public-content,.site-dashboard-content)
    .site-paging-flow > :is(.pagination,.site-device-pagination) {
    flex: 0 0 auto;
    align-self: center;
    margin: auto auto 0 !important;
    padding-block-start: 8px;
}
.segol-vip :is(.site-public-content,.site-dashboard-content)
    :is(.right-cont-text,.pink-block,.pink-block2,.blue-block).site-paging-flow {
    padding-block-end: 8px;
}
.segol-vip .site-dashboard-content
    :is(.tech-block-left,.tech-block-right,#polgkanal2).site-paging-flow {
    margin-block-end: 0;
}

.segol-vip #site-device-rename .site-device-only {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    color: var(--site-accent);
    font-weight: 600;
    cursor: pointer;
}
.segol-vip #site-device-rename .site-device-only input {
    position: static;
    width: 19px;
    height: 19px;
    min-height: 0;
    padding: 0;
    margin: 0;
    flex: none;
    accent-color: var(--site-accent);
}

.segol-vip {
    --site-close-size: 46px;
    --site-close-inset: 9px;
}
.segol-vip .contact-dialog .contact-heading {
    padding-right: calc(var(--site-close-size) + 4px);
    min-height: 36px;
}
.segol-vip :is(.popup-enter,.registration-popup,.reg,.podtvergedeniemail,.oplataokno,.infowiget,
    .infoudalit,.infoudalit2,.balpopoln,.hteniepisem) > p:first-of-type,
.segol-vip .download .download-head {
    padding-right: calc(var(--site-close-size) + var(--site-close-inset));
}
.segol-vip .hteniepisem {
    box-sizing: border-box;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(800px,calc(100% - 24px));
    max-height: calc(100vh - 24px);
    margin: 0;
    overflow: auto;
}
.segol-vip :is(.instrukzi,.instrukzi2) {
    padding-top: calc(var(--site-close-size) + 2 * var(--site-close-inset)) !important;
}
.segol-vip :is(
    .contact-dialog .contact-close,
    :is(.popup-enter,.registration-popup,.reg,.podtvergedeniemail,.oplataokno,.infowiget,
        .infoudalit,.infoudalit2,.balpopoln,.instrukzi,.instrukzi2,.hteniepisem,
        #dobavitkan,#dobavitkan2,#dobavitkan3,#infovideo,#infot,#infotreg) > .close-btn,
    .download .download-close
) {
    position: absolute;
    top: var(--site-close-inset);
    right: var(--site-close-inset);
    left: auto;
    bottom: auto;
    z-index: 2;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: var(--site-close-size);
    height: var(--site-close-size);
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #c3a0fa;
    border-radius: 50%;
    background: var(--vip-action);
    color: #fff;
    box-shadow: 0 5px 15px #7a41d650;
    cursor: pointer;
    line-height: 1;
}
.segol-vip :is(
    :is(.popup-enter,.registration-popup,.reg,.podtvergedeniemail,.oplataokno,.infowiget,
        .infoudalit,.infoudalit2,.balpopoln,.instrukzi,.instrukzi2,.hteniepisem,
        #dobavitkan,#dobavitkan2,#dobavitkan3,#infovideo,#infot,#infotreg) > .close-btn,
    .download .download-close
) img { display: none; }
.segol-vip :is(
    :is(.popup-enter,.registration-popup,.reg,.podtvergedeniemail,.oplataokno,.infowiget,
        .infoudalit,.infoudalit2,.balpopoln,.instrukzi,.instrukzi2,.hteniepisem,
        #dobavitkan,#dobavitkan2,#dobavitkan3,#infovideo,#infot,#infotreg) > .close-btn,
    .download .download-close
)::before {
    content: "×";
    font: 1.8rem/1 system-ui,sans-serif;
}
@media (prefers-reduced-motion: no-preference) {
    .segol-vip :is(.contact-close,.close-btn,.download-close) {
        transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
    }
}
.segol-vip :is(.contact-close,.close-btn,.download-close):hover { filter: brightness(1.15); }
.segol-vip :is(.contact-close,.close-btn,.download-close):active { transform: scale(.9); }
.segol-vip :is(.contact-close,.close-btn,.download-close):focus-visible {
    outline: 2px solid #7549c8;
    outline-offset: 2px;
}

.segol-vip .site-dashboard .site-account-switch {
    --device-button-size: 2.875rem;
    align-items: center;
}
.segol-vip .site-dashboard .site-account-switch button:disabled {
    opacity: .75;
    cursor: wait;
}

/* Update 02: explicit OFF state, centred controls and responsive channel editor. */
.segol-vip .site-dashboard .site-device-switch button:is([data-account-state="0"],[data-device-state="6"])[aria-pressed="true"] {
    --switch-border:#c40020; --switch-ring:#ff9eaa;
    background:#e60026; color:#fff; border-color:#c40020;
    box-shadow:inset 0 0 0 2px #ff9eaa;
}
.segol-vip #site-device-rename .site-device-only {
    justify-content:center; text-align:center; padding:14px 0; gap:12px;
    font-size:1.15rem !important;
}
.segol-vip #site-device-rename .site-device-only span {font-size:inherit !important;}
.segol-vip #site-device-rename .site-device-only input {width:24px;height:24px;}
.segol-vip #site-device-edit .contact-close {
    display:flex;align-items:center;justify-content:center;line-height:1;
}
.segol-vip #site-device-edit .contact-close span {
    display:block;font:400 1.8rem/1 Arial,sans-serif !important;
    transform:translateY(-1px);
}
.segol-vip .site-dashboard .site-sound-row {justify-content:center;}
.segol-vip .site-sound-toggle {
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    border:1px solid #9f8bc7;border-radius:999px;padding:7px 13px;
    color:#fff;background:#147651;cursor:pointer;font-weight:700;
}
.segol-vip .site-sound-toggle[aria-pressed="false"] {background:#e60026;border-color:#c40020;}
.segol-vip .site-channel-editor {width:100%;box-sizing:border-box;overflow:visible;}
.segol-vip .site-channel-heading {position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.segol-vip .site-channel-heading h2 {margin:0;flex:1;}
.segol-vip .site-channel-close {
    flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid #c3a0fa;
    border-radius:50%;background:var(--vip-action,#6631c6);color:white;cursor:pointer;
}
.segol-vip .site-channel-close span {font:400 1.8rem/1 Arial,sans-serif !important;}
.segol-vip .site-channel-toolbar {display:flex;justify-content:center;margin:12px 0;}
.segol-vip .site-channel-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.segol-vip .site-channel-columns section {min-width:0;padding:12px;border:1px solid var(--site-line,#c9b9e9);border-radius:16px;background:var(--site-raised,#f4effe);}
.segol-vip .site-channel-columns h3 {margin:0 0 12px;text-align:center;}
.segol-vip [data-channel-list] {display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;}
.segol-vip .site-channel-item {
    min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
    padding:8px 3px;border:1px solid #c9b9e9;border-radius:10px;background:#fff;color:#32234f;cursor:pointer;
}
.segol-vip .site-channel-item:hover {border-color:#7549c8;background:#efe7ff;}
.segol-vip .site-channel-item img {width:48px;height:48px;object-fit:contain;}
.segol-vip .site-channel-item span {overflow-wrap:anywhere;text-align:center;font-size:.72rem !important;}
.segol-vip [data-channel-pages] {display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px;}
.segol-vip [data-channel-pages] button {border:1px solid #c9b9e9;border-radius:10px;background:var(--site-raised,#fff);min-width:38px;min-height:36px;cursor:pointer;}
.segol-vip [data-channel-pages] button:disabled {opacity:.4;cursor:default;}
@media(max-width:740px){.segol-vip .site-channel-columns{grid-template-columns:1fr;}}


/* Update 03: sound placement and redesigned channel manager */
.segol-vip .site-balance {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
}
.segol-vip .site-balance > .site-sound-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.segol-vip .site-dashboard .site-sound-row { justify-content: flex-start; }
.segol-vip .site-sound-toggle {
    gap: 7px;
    padding: 6px 12px;
    font-size: .98rem !important;
    min-height: 0;
    box-shadow: 0 0 0 2px #efe7ff, 0 0 0 4px #7549c8;
}
.segol-vip .site-sound-toggle i { font-size: 1.05rem; }

.segol-vip .channel-right-block.site-channel-editor,
.segol-vip .site-channel-editor {
    float: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
    margin: 0;
    box-sizing: border-box;
}
.segol-vip .site-channel-shell {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 18px 18px 22px;
    border-radius: 26px;
    background: #f6f1ff;
    border: 1px solid #ccb9ef;
    box-shadow: 0 18px 36px rgba(57, 38, 104, .12);
}
.segol-vip .site-channel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding-right: 0;
}
.segol-vip .site-channel-heading-text { min-width: 0; }
.segol-vip .site-channel-heading h2 {
    margin: 0;
    color: #6435c7;
}
.segol-vip .site-channel-subtitle {
    margin: 6px 0 0;
    color: #6f6692;
    font-size: .95rem !important;
}
.segol-vip .site-channel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 1px solid #b890ee;
    border-radius: 50%;
    background: linear-gradient(180deg, #8a50ef 0%, #6f33d0 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(111, 51, 208, .28);
    cursor: pointer;
}
.segol-vip .site-channel-close span {
    display: block;
    font: 400 1.9rem/1 Arial, sans-serif !important;
    transform: translateY(-1px);
}
.segol-vip .site-channel-toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.segol-vip .site-channel-refresh {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-inline: 22px;
}
.segol-vip .site-channel-refresh i,
.segol-vip [data-device-refresh] i {
    font-size: 1.18rem;
}
.segol-vip .site-channel-refresh.is-loading i,
.segol-vip [data-device-refresh].is-loading i {
    animation: segol-spin .9s linear infinite;
}
@keyframes segol-spin {
    to { transform: rotate(360deg); }
}

.segol-vip .site-channel-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}
.segol-vip .site-channel-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 16px;
    border-radius: 24px;
    background: #efe8fb;
    border: 1px solid #d4c1f3;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.segol-vip .site-channel-panel-head {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}
.segol-vip .site-channel-title-row h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 1.95rem) !important;
    color: #6c2b87;
    text-align: center;
}
.segol-vip .site-channel-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}
.segol-vip .site-channel-select-wrap {
    display: grid;
    gap: 5px;
}
.segol-vip .site-channel-select-wrap span {
    font-weight: 700;
    color: #5f5780;
}
.segol-vip .site-channel-select-wrap select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid #cab7ec;
    background: #fff;
    color: #43335f;
    font: inherit;
}
.segol-vip .site-channel-bulk {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #8d63e4;
    border-radius: 14px;
    background: #7f48e0;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.segol-vip .site-channel-bulk:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.segol-vip .site-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
    min-height: 180px;
}
.segol-vip .site-channel-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 144px;
    padding: 12px 10px;
    border: 1px solid #d1c0ef;
    border-radius: 18px;
    background: #fff;
    color: #3d2f5c;
    box-shadow: 0 10px 20px rgba(84, 60, 131, .08);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.segol-vip .site-channel-item:hover:not(:disabled),
.segol-vip .site-channel-item:focus-visible {
    transform: translateY(-1px);
    border-color: #956be8;
    box-shadow: 0 14px 24px rgba(84, 60, 131, .16);
    background: #fbf9ff;
}
.segol-vip .site-channel-item-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    padding: 6px;
    border-radius: 18px;
    background: #faf7ff;
    border: 1px solid #e1d6f5;
}
.segol-vip .site-channel-item-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.segol-vip .site-channel-item-fallback {
    font-weight: 800;
    letter-spacing: .08em;
    color: #8154d7;
}
.segol-vip .site-channel-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    text-align: center;
    color: #463864;
    font-size: .82rem !important;
    line-height: 1.25;
}
.segol-vip .site-channel-empty {
    margin: 0;
    padding: 22px 12px;
    border: 1px dashed #ccb9ef;
    border-radius: 18px;
    background: rgba(255,255,255,.58);
    text-align: center;
    color: #6d648e;
}
.segol-vip .site-channel-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}
.segol-vip .site-channel-pages button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border: 1px solid #c9b9e9;
    border-radius: 14px;
    background: #fff;
    color: #5c477f;
    cursor: pointer;
}
.segol-vip .site-channel-pages button:disabled {
    opacity: .4;
    cursor: default;
}
.segol-vip .site-channel-page-status {
    min-width: 68px;
    text-align: center;
    font-weight: 700;
    color: #5f5780;
}
@media (max-width: 980px) {
    .segol-vip .site-channel-columns {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .segol-vip .site-channel-shell {
        padding: 14px;
        border-radius: 20px;
    }
    .segol-vip .site-channel-heading {
        align-items: center;
    }
    .segol-vip .site-channel-controls {
        grid-template-columns: 1fr;
    }
    .segol-vip .site-channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }
    .segol-vip .site-channel-item {
        min-height: 132px;
        padding-inline: 8px;
    }
}

/* Update 04: compact channel library; override generic cabinet button pills. */
.segol-vip .site-account .site-balance {row-gap:4px;}
.segol-vip .site-account .site-balance > .site-sound-row {
 display:flex;justify-content:space-between;align-items:center;gap:6px;
}
.segol-vip .site-account .site-sound-row dt {font-size:.83rem!important;flex:1;min-width:0;}
.segol-vip .site-account .site-sound-row dd {margin:0;flex:none;}
.segol-vip .site-account .site-sound-toggle {
 display:inline-flex;align-items:center;justify-content:center;gap:5px;
 min-height:28px;height:28px;padding:2px 8px;box-shadow:none;
 border:1px solid #13734d;border-radius:8px;font-size:.73rem!important;
}
.segol-vip .site-account .site-sound-toggle i {font-size:.8rem!important;}
.segol-vip .site-account .site-sound-toggle span {font-size:inherit!important;}
.segol-vip .site-account .site-sound-toggle[aria-pressed=false]{border-color:#c40020;}
.segol-vip .site-dashboard .site-channel-editor {width:100%;max-width:100%;margin:0;padding:0;min-width:0;}
.segol-vip .site-dashboard .site-channel-shell {padding:10px;box-shadow:none;border-radius:16px;}
.segol-vip .site-dashboard .site-channel-heading {
 display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
 gap:10px;margin:0 0 10px;padding:0;position:static;
}
.segol-vip .site-dashboard .site-channel-main-title {
 font-size:1.05rem!important;line-height:1.25;margin:0;padding:0;background:none;color:var(--site-accent,#6435c7);
}
.segol-vip .site-dashboard .site-channel-toolbar {grid-column:2;grid-row:1;margin:0;}
.segol-vip .site-dashboard .site-channel-close {
 grid-column:3;grid-row:1;position:static;inset:auto;float:none;
 display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;
 box-shadow:none;border-radius:50%!important;
}
.segol-vip .site-dashboard .site-channel-close span {font:400 24px/1 Arial,sans-serif!important;transform:none;}
.segol-vip .site-dashboard .site-channel-refresh {min-height:34px;padding:5px 12px;gap:7px;font-size:.8rem!important;}
.segol-vip .site-dashboard .site-channel-refresh span {font-size:inherit!important;}
.segol-vip .site-dashboard .site-channel-refresh i {font-size:1.2rem!important;}
.segol-vip .site-dashboard .site-channel-columns {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;}
.segol-vip .site-dashboard .site-channel-columns > .site-channel-panel {
 min-height:0;min-width:0;padding:10px;border-radius:14px;box-sizing:border-box;gap:8px;
}
.segol-vip .site-dashboard .site-channel-panel-head {gap:7px;margin:0;}
.segol-vip .site-dashboard .site-channel-title-row h3 {font-size:1rem!important;margin:0;line-height:1.3;}
.segol-vip .site-dashboard .site-channel-title-row small {font-size:.76rem!important;}
.segol-vip .site-dashboard .site-channel-controls {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;}
.segol-vip .site-dashboard .site-channel-select-wrap {display:block;min-width:0;}
.segol-vip .site-dashboard .site-channel-select-wrap select {
 min-width:0;width:100%;min-height:32px;height:32px;padding:3px 7px;font-size:.78rem!important;border-radius:8px;
}
.segol-vip .site-dashboard .site-channel-bulk {min-height:32px;height:auto;padding:5px 9px;font-size:.75rem!important;border-radius:8px!important;}
.segol-vip .site-channel-visually-hidden {position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.segol-vip .site-dashboard .site-channel-panel .site-channel-grid {
 display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));grid-auto-rows:88px;
 align-content:start;gap:5px;min-height:0;height:clamp(190px,42vh,370px);overflow:auto;
 scrollbar-width:thin;padding:3px;box-sizing:border-box;
}
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item {
 display:grid!important;grid-template-rows:49px 30px;justify-items:center;align-items:center;
 width:100%;height:88px;min-height:0!important;min-width:0;padding:3px!important;gap:2px;
 border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;
 box-shadow:none!important;transform:none!important;
}
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item:hover,
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item:focus-visible {
 background:#fff!important;border-color:#ad92df!important;
}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-media {
 box-sizing:border-box;width:49px;height:49px;min-width:49px;min-height:49px;
 padding:5px;border-radius:50%!important;background:#fff;border:1px solid #d4c5ed;
 box-shadow:0 2px 5px #39266812;display:grid;place-items:center;
}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-media img {width:100%;height:100%;object-fit:contain;}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-title {
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
 overflow:hidden;overflow-wrap:normal;word-break:normal;font-size:.69rem!important;
 line-height:1.15;text-align:center;width:100%;max-height:30px;
}
.segol-vip .site-dashboard .site-channel-panel .site-channel-pages {
 margin:0;padding:6px 0 0;border-top:1px solid #d4c5ed;gap:10px;min-height:32px;
}
.segol-vip .site-dashboard .site-channel-pages button {
 width:32px;height:30px;min-width:32px;min-height:30px;padding:0;border-radius:8px!important;
 font-size:1.2rem!important;line-height:1;
}
.segol-vip .site-dashboard .site-channel-page-status {font-size:.8rem!important;}
.segol-vip .site-dashboard .site-channel-empty {grid-column:1/-1;}
@media(max-width:800px){
 .segol-vip .site-dashboard .site-channel-heading {grid-template-columns:minmax(0,1fr) auto;}
 .segol-vip .site-dashboard .site-channel-close {grid-column:2;}
 .segol-vip .site-dashboard .site-channel-toolbar {grid-column:1/-1;grid-row:2;justify-content:flex-start;}
 .segol-vip .site-dashboard .site-channel-columns {grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){.segol-vip .site-channel-refresh.is-loading i,.segol-vip [data-device-refresh].is-loading i{animation-duration:2s;}}

.segol-vip .site-account .site-sound-toggle[aria-pressed="false"] {background:#147651;border-color:#13734d;}
.segol-vip .site-account .site-sound-toggle[aria-pressed="true"] {background:#e60026;border-color:#c40020;}

/* Update 05: shared equal-height cabinet layout and larger channel tiles */
.segol-vip .site-dashboard {
 width:calc(100% - 24px);max-width:none!important;
 display:grid;align-items:stretch!important;grid-template-rows:minmax(0,1fr);
}
.segol-vip .site-dashboard > .site-account,
.segol-vip .site-dashboard > .site-dashboard-content {
 box-sizing:border-box;align-self:stretch!important;min-height:0;min-width:0;
}
@media(min-width:851px){
 .segol-vip .site-dashboard {min-height:calc(100dvh - 24px);}
 .segol-vip .site-dashboard > .site-dashboard-content {display:flex;flex-direction:column;}
 .segol-vip .site-dashboard-content > #kontent,
 .segol-vip .site-dashboard-content > #wiwodcontent {flex:1 1 0;min-height:0;min-width:0;}
 .segol-vip .site-dashboard-content > #kontent:not([style*="display: none"]):not(:empty),
 .segol-vip .site-dashboard-content > #wiwodcontent:not([style*="display: none"]):not(:empty) {display:flex;flex-direction:column;}
 .segol-vip .site-dashboard-content > :is(#kontent,#wiwodcontent) > :is(.cont-right,.cont-right2,.site-channel-editor) {flex:1 1 auto;min-height:0;box-sizing:border-box;width:100%;max-width:100%;margin-bottom:0;}
 .segol-vip .site-dashboard-content > :is(#kontent,#wiwodcontent) > .cont-right {display:flex;flex-direction:column;}
 .segol-vip .site-dashboard-content > :is(#kontent,#wiwodcontent) > .cont-right > .right-cont-text {flex:1 1 auto;min-height:0;}
}
.segol-vip .site-account .site-sound-row dt {font-size:inherit!important;font-weight:inherit;}
.segol-vip .site-dashboard .site-channel-editor {display:flex;flex-direction:column;flex:1 1 auto;}
.segol-vip .site-dashboard .site-channel-shell {display:flex;flex-direction:column;flex:1 1 auto;min-height:0;}
.segol-vip .site-dashboard .site-channel-columns {flex:1 1 auto;min-height:0;}
.segol-vip .site-dashboard .site-channel-columns > .site-channel-panel {display:flex;flex-direction:column;}
.segol-vip .site-dashboard .site-channel-panel .site-channel-grid {
 flex:1 1 auto;height:auto;min-height:440px;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));
 grid-auto-rows:112px;gap:7px;overflow:auto;align-content:start;
}
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item {
 height:112px;grid-template-rows:67px 36px;gap:3px;
}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-media {
 width:66px;height:66px;min-width:66px;min-height:66px;padding:6px;
}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-title {font-size:.81rem!important;max-height:36px;line-height:1.2;}
.segol-vip .site-dashboard .site-channel-panel .site-channel-pages {margin-top:auto;flex:none;}
.segol-vip .site-dashboard .site-channel-title-row h3 {font-size:1.1rem!important;}
.segol-vip .site-dashboard .site-channel-main-title {font-size:1.15rem!important;}
@media(max-width:850px){
 .segol-vip .site-dashboard {grid-template-rows:auto;}
 .segol-vip .site-dashboard .site-channel-panel .site-channel-grid {min-height:0;height:420px;}
}

/* Update 06: notifications without reflow, centered channel tiles, shared pager. */
#segol-channel-toast {
 position:fixed;top:16px;left:50%;transform:translateX(-50%);
 z-index:2147483647;display:flex;align-items:center;gap:10px;
 box-sizing:border-box;max-width:calc(100vw - 28px);width:max-content;
 padding:11px 18px;border:1px solid #dbb0bd;border-radius:14px;
 background:#fff;color:#822239;box-shadow:0 5px 24px #29183c30;
 font:600 15px/1.4 system-ui,sans-serif;pointer-events:none;
}
#segol-channel-toast[hidden]{display:none!important;}
#segol-channel-toast .segol-channel-toast-icon {
 display:grid;place-items:center;flex:none;width:25px;height:25px;
 border-radius:50%;background:#c52b45;color:white;font:700 21px/1 Arial,sans-serif;
}
#segol-channel-toast .segol-channel-toast-text {min-width:0;overflow-wrap:anywhere;}
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item {
 justify-items:center!important;align-items:center!important;justify-content:stretch!important;
 text-align:center!important;position:relative;cursor:pointer;
}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-media {
 justify-self:center!important;align-self:center!important;margin:0 auto!important;
}
.segol-vip .site-dashboard .site-channel-item .site-channel-item-title {
 justify-self:center!important;align-self:center!important;text-align:center!important;
 margin:0 auto!important;padding:0!important;
}
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item:hover,
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item:focus-visible {
 border:1px solid #8051d7!important;background:#ffffffb0!important;
 box-shadow:0 0 0 2px #bfa5f4 inset!important;outline:none;
}
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item:active,
.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item.is-loading {
 border:1px solid #7542d5!important;background:#e1d3fb!important;
 box-shadow:0 0 0 2px #9c74e8 inset!important;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) :is(.pagination,.site-public-pager,.site-device-pagination,.site-channel-pages) {
 display:flex;align-items:center;justify-content:center;gap:12px!important;flex-wrap:wrap;
 box-sizing:border-box;min-height:52px;padding:6px 0!important;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) :is(.pagination,.site-public-pager,.site-device-pagination,.site-channel-pages) > :is(button,i,a) {
 display:inline-flex!important;align-items:center;justify-content:center;
 box-sizing:border-box;width:auto;min-width:46px!important;height:42px!important;min-height:42px!important;
 padding:0 10px!important;margin:0!important;border:1px solid #c9b9e9!important;
 border-radius:11px!important;background:var(--site-raised,#fff);color:var(--site-accent,#6435c7);
 font-size:1rem!important;line-height:1!important;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) :is(.pagination,.site-public-pager,.site-device-pagination,.site-channel-pages) > :is(button,i,a):hover:not(:disabled) {
 border-color:#8051d7!important;background:#eee5ff;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) :is(.pagination,.site-public-pager,.site-device-pagination,.site-channel-pages) > button:disabled {opacity:.4;cursor:default;}
.segol-vip .site-dashboard .site-channel-pages .site-channel-page-status {font-size:1rem!important;min-width:76px;}
.segol-vip .site-dashboard .site-channel-pages button[data-page] {width:46px;font-size:1.4rem!important;}

.segol-vip .site-account .site-sound-toggle[aria-pressed="true"] {background:#147651;border-color:#13734d;}
.segol-vip .site-account .site-sound-toggle[aria-pressed="false"] {background:#e60026;border-color:#c40020;}

.segol-vip .site-dashboard .site-channel-grid > button.site-channel-item {grid-template-columns:minmax(0,1fr)!important;}

/* Playlist setup */
#polgkanal,.site-playlist-dialog button {cursor:pointer;}
.site-playlist-dialog {width:min(720px,94vw);max-height:90vh;overflow:auto;}
.site-playlist-dialog form {display:grid;gap:12px;}
.site-playlist-dialog [hidden],[data-playlist-sources][hidden] {display:none!important;}
.site-playlist-dialog label {display:grid;gap:5px;}
.site-playlist-dialog fieldset {display:grid;gap:8px;border:1px solid #cbb9ec;border-radius:12px;padding:10px;margin:8px 0;}
.site-playlist-dialog input:not([type=checkbox]) {width:100%;box-sizing:border-box;}
.site-playlist-dialog .site-playlist-auto {display:flex;align-items:center;gap:8px;}
.site-playlist-choices {display:flex;flex-wrap:wrap;gap:10px;}
.site-playlist-choices [aria-pressed=true]{outline:2px solid #8051d7;}
.site-playlist-source {display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px;}
.site-playlist-source input {flex:1 1 160px;min-width:0;}

/* 12: compact, responsive playlist setup; footer stays outside the scroll area. */
.segol-vip dialog#segol-playlist-create {
 --pl-border:#d7c9ef;--pl-text:#30234f;--pl-muted:#65587c;--pl-surface:#fff;
 box-sizing:border-box!important;position:fixed!important;inset:0!important;
 width:min(840px,calc(100vw - 32px))!important;max-width:none!important;
 height:auto!important;max-height:calc(100dvh - 32px)!important;
 margin:auto!important;padding:0!important;border:1px solid #c6b0ed!important;border-radius:26px!important;
 overflow:hidden!important;background:#f8f5ff!important;color:var(--pl-text);
 box-shadow:0 24px 90px #1f124f45!important;transform:none!important;
}
.segol-vip dialog#segol-playlist-create.is-custom {width:min(1180px,calc(100vw - 32px))!important;}
.segol-vip #segol-playlist-create .contact-panel {
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 width:100%!important;max-width:none!important;max-height:calc(100dvh - 34px)!important;
 min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;
 border:0!important;border-radius:inherit!important;background:linear-gradient(145deg,#fcfaff,#f0e8ff)!important;
}
.segol-vip #segol-playlist-create .site-playlist-heading {
 flex:none;position:relative;display:flex!important;align-items:center!important;
 padding:24px 76px 18px 26px!important;margin:0!important;border-bottom:1px solid var(--pl-border);
}
.segol-vip #segol-playlist-create .site-playlist-heading h2 {font-size:clamp(1.25rem,2vw,1.65rem)!important;line-height:1.25;margin:0 0 5px!important;color:var(--pl-text);}
.segol-vip #segol-playlist-create .site-playlist-heading p {margin:0!important;color:var(--pl-muted);font-size:.86rem;}
.segol-vip #segol-playlist-create .contact-close {position:absolute!important;top:16px!important;right:18px!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;padding:0!important;font-size:25px!important;line-height:1!important;}
.segol-vip #segol-playlist-form {display:flex!important;flex-direction:column!important;min-height:0!important;flex:1 1 auto;margin:0!important;gap:0!important;overflow:hidden!important;}
.segol-vip #segol-playlist-create .site-playlist-body {flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 26px;display:grid;gap:18px;}
.segol-vip #segol-playlist-create label {font-size:.86rem;font-weight:600;color:var(--pl-text);gap:7px;}
.segol-vip #segol-playlist-create input:is([type=url],[name=name]) {
 appearance:none;box-sizing:border-box!important;width:100%!important;min-width:0!important;
 min-height:46px!important;height:46px!important;padding:10px 14px!important;margin:0!important;
 background:var(--pl-surface)!important;color:var(--pl-text)!important;
 border:1px solid #c9b8e5!important;border-radius:12px!important;font:inherit!important;outline:none;
}
.segol-vip #segol-playlist-create input:is([type=url],[name=name]):focus {border-color:#8551de!important;box-shadow:0 0 0 3px #8551de24!important;}
.segol-vip #segol-playlist-create .site-playlist-choices {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.segol-vip #segol-playlist-create button.site-playlist-choice {
 box-sizing:border-box!important;width:100%!important;min-width:0!important;height:auto!important;min-height:92px!important;
 padding:15px!important;border-radius:16px!important;border:1px solid #cbb9ec!important;
 display:grid!important;grid-template-columns:44px minmax(0,1fr) 19px;gap:12px;align-items:center!important;
 text-align:left!important;white-space:normal!important;background:#fff!important;color:var(--pl-text)!important;
 box-shadow:0 3px 10px #4b278009!important;outline:none!important;
}
.segol-vip #segol-playlist-create .site-playlist-choice-icon {display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#ece2ff;color:#7743d6;font-size:23px;}
.segol-vip #segol-playlist-create .site-playlist-choice strong {display:block;font-size:.96rem;line-height:1.25;}
.segol-vip #segol-playlist-create .site-playlist-choice small {display:block;color:var(--pl-muted);font-weight:400;font-size:.76rem;line-height:1.35;margin-top:5px;}
.segol-vip #segol-playlist-create .site-playlist-choice .site-playlist-selected {visibility:hidden;color:#7542cf;}
.segol-vip #segol-playlist-create button.site-playlist-choice:hover,
.segol-vip #segol-playlist-create button.site-playlist-choice:focus-visible,
.segol-vip #segol-playlist-create button.site-playlist-choice[aria-pressed=true] {border-color:#8953df!important;background:#f5efff!important;box-shadow:0 0 0 2px #a77ef040!important;}
.segol-vip #segol-playlist-create .site-playlist-choice[aria-pressed=true] .site-playlist-selected {visibility:visible;}
.segol-vip #segol-playlist-create .site-playlist-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.segol-vip #segol-playlist-create .site-playlist-card {
 box-sizing:border-box;min-width:0!important;display:grid!important;align-content:start;gap:10px!important;
 padding:14px!important;margin:0!important;background:#fff!important;border:1px solid var(--pl-border)!important;border-radius:16px!important;
}
.segol-vip #segol-playlist-create .site-playlist-sr {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.segol-vip #segol-playlist-create .site-playlist-card-title {display:flex;align-items:center;gap:9px;color:#6540b7;font-size:1rem;padding-bottom:4px;}
.segol-vip #segol-playlist-create .site-playlist-file {
 display:flex;position:relative;align-items:center;justify-content:center;gap:8px;
 box-sizing:border-box;min-height:46px;padding:9px 10px;border:1px dashed #a88bdc;border-radius:12px;background:#f7f2ff;color:#6540b7;cursor:pointer;overflow:hidden;
}
.segol-vip #segol-playlist-create .site-playlist-file [data-file-caption] {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.79rem;}
.segol-vip #segol-playlist-create .site-playlist-file input {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;}
.segol-vip #segol-playlist-create .site-playlist-file:focus-within {outline:2px solid #8953df;outline-offset:2px;}
.segol-vip #segol-playlist-create .site-playlist-or {display:flex;align-items:center;gap:8px;font-size:.72rem;color:var(--pl-muted);}
.segol-vip #segol-playlist-create .site-playlist-or::before,.segol-vip #segol-playlist-create .site-playlist-or::after {content:"";height:1px;flex:1;background:var(--pl-border);}
.segol-vip #segol-playlist-create .site-playlist-auto {display:flex!important;position:relative;align-items:center;gap:9px!important;font-size:.78rem!important;line-height:1.25;cursor:pointer;}
.segol-vip #segol-playlist-create .site-playlist-auto input {position:absolute!important;width:42px!important;height:24px!important;opacity:0!important;margin:0!important;}
.segol-vip #segol-playlist-create .site-playlist-switch {position:relative;flex:0 0 40px;height:23px;border-radius:20px;background:#bdb5cc;transition:background .15s;}
.segol-vip #segol-playlist-create .site-playlist-switch::after {content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s;}
.segol-vip #segol-playlist-create .site-playlist-auto input:checked+.site-playlist-switch {background:#7450cd;}
.segol-vip #segol-playlist-create .site-playlist-auto input:checked+.site-playlist-switch::after {transform:translateX(17px);}
.segol-vip #segol-playlist-create .site-playlist-auto input:focus-visible+.site-playlist-switch {outline:2px solid #7450cd;outline-offset:3px;}
.segol-vip #segol-playlist-create .site-playlist-footer {flex:none;display:grid;justify-items:center;gap:8px;padding:14px 26px 19px;border-top:1px solid var(--pl-border);background:#faf7ff;}
.segol-vip #segol-playlist-create .site-playlist-footer:has([data-playlist-submit][hidden]) {display:none;}
.segol-vip #segol-playlist-create [data-playlist-status] {margin:0!important;max-height:3em;overflow:auto;text-align:center;color:#8b3155;font-size:.8rem;}
.segol-vip #segol-playlist-create [data-playlist-status]:empty {display:none;}
.segol-vip #segol-playlist-create [data-playlist-submit] {min-height:48px!important;width:min(340px,100%)!important;border-radius:14px!important;display:flex;align-items:center;justify-content:center;gap:9px;font-size:1rem!important;}
.segol-vip #segol-playlist-create [hidden] {display:none!important;}
@media(max-width:800px){
 .segol-vip #segol-playlist-create .site-playlist-fields {grid-template-columns:1fr;}
 .segol-vip #segol-playlist-create .site-playlist-card {grid-template-columns:1fr 1fr;}
 .segol-vip #segol-playlist-create .site-playlist-card-title,.segol-vip #segol-playlist-create .site-playlist-auto {grid-column:1/-1;}
 .segol-vip #segol-playlist-create .site-playlist-or {display:none;}
}
@media(max-width:520px){
 .segol-vip dialog#segol-playlist-create,.segol-vip dialog#segol-playlist-create.is-custom {width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:18px!important;}
 .segol-vip #segol-playlist-create .contact-panel {max-height:calc(100dvh - 18px)!important;}
 .segol-vip #segol-playlist-create .site-playlist-heading {padding:16px 60px 12px 16px!important;}
 .segol-vip #segol-playlist-create .site-playlist-body {padding:12px 16px;gap:12px;}
 .segol-vip #segol-playlist-create .site-playlist-choices,.segol-vip #segol-playlist-create .site-playlist-card {grid-template-columns:1fr;}
 .segol-vip #segol-playlist-create button.site-playlist-choice {min-height:66px!important;padding:10px!important;}
 .segol-vip #segol-playlist-create .site-playlist-footer {padding:10px 16px;}
}

/* 13: content-sized dialog, compact setup and no blank bottom area. */
.segol-vip dialog#segol-playlist-create {
 inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
 transform:translate(-50%,-50%)!important;margin:0!important;
 height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 24px)!important;
 width:min(760px,calc(100vw - 24px))!important;
}
.segol-vip dialog#segol-playlist-create.is-custom {width:min(1100px,calc(100vw - 24px))!important;}
.segol-vip #segol-playlist-create .contact-panel {height:auto!important;min-height:0!important;max-height:calc(100dvh - 26px)!important;}
.segol-vip #segol-playlist-create .site-playlist-heading {padding:14px 66px 12px 20px!important;}
.segol-vip #segol-playlist-create .site-playlist-heading h2 {font-size:1.25rem!important;margin:0 0 2px!important;}
.segol-vip #segol-playlist-create .site-playlist-heading p {font-size:.76rem!important;}
.segol-vip #segol-playlist-create .contact-close {width:36px!important;height:36px!important;top:10px!important;right:12px!important;}
.segol-vip #segol-playlist-create .site-playlist-body {padding:12px 20px!important;gap:10px!important;}
.segol-vip #segol-playlist-create label {font-size:.78rem!important;gap:4px!important;}
.segol-vip #segol-playlist-create input:is([type=url],[name=name]) {min-height:37px!important;height:37px!important;padding:6px 10px!important;}
.segol-vip #segol-playlist-create .site-playlist-choices {gap:9px!important;}
.segol-vip #segol-playlist-create button.site-playlist-choice {min-height:62px!important;padding:8px 12px!important;grid-template-columns:36px minmax(0,1fr) 16px;gap:9px!important;}
.segol-vip #segol-playlist-create .site-playlist-choice-icon {width:36px;height:36px;font-size:18px;}
.segol-vip #segol-playlist-create .site-playlist-choice strong {font-size:.85rem!important;}
.segol-vip #segol-playlist-create .site-playlist-choice small {font-size:.70rem!important;margin-top:3px!important;}
.segol-vip #segol-playlist-create .site-playlist-card {padding:10px!important;gap:6px!important;border-radius:12px!important;}
.segol-vip #segol-playlist-create .site-playlist-card-title {font-size:.87rem!important;padding-bottom:0!important;}
.segol-vip #segol-playlist-create .site-playlist-file {min-height:36px!important;padding:5px 7px!important;}
.segol-vip #segol-playlist-create .site-playlist-file [data-file-caption] {font-size:.71rem!important;}
.segol-vip #segol-playlist-create .site-playlist-or {font-size:.65rem!important;line-height:1!important;}
.segol-vip #segol-playlist-create .site-playlist-auto {font-size:.70rem!important;gap:6px!important;}
.segol-vip #segol-playlist-create .site-playlist-footer {padding:9px 20px 12px!important;gap:5px!important;}
.segol-vip #segol-playlist-create [data-playlist-submit] {min-height:40px!important;font-size:.88rem!important;}
@media(max-width:800px) and (min-width:521px) {
 .segol-vip #segol-playlist-create .site-playlist-card {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
}
@media(max-width:520px) {
 .segol-vip #segol-playlist-create .site-playlist-heading {padding:12px 48px 8px 12px!important;}
 .segol-vip #segol-playlist-create .site-playlist-body {padding:8px 12px!important;}
}

/* 14: require device name before selecting source. */
.segol-vip #segol-playlist-create button.site-playlist-choice:disabled {opacity:.48!important;cursor:not-allowed!important;box-shadow:none!important;outline:none!important;border-color:#d7c9ef!important;background:#f5f2fa!important;}

/* 15: personal films/radio editor */
.segol-vip .site-media-heading {display:flex;align-items:center;gap:10px;justify-content:space-between;padding:6px 0 12px;}
.segol-vip .site-media-heading h2 {margin:0;flex:1;font-size:1.1rem;}
.segol-vip .site-media-heading .site-channel-close {position:static!important;flex:none;}
.segol-vip .site-media-filters {display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px;}
.segol-vip .site-media-filters :is(select,input) {box-sizing:border-box;width:100%;min-width:0;border:1px solid #cbb9ec;border-radius:9px;padding:8px;background:var(--site-raised,#fff);color:inherit;}
.segol-vip .site-media-tile {position:relative;min-width:0;height:112px;}
.segol-vip .site-media-tile .site-channel-item {display:grid!important;grid-template-rows:67px 36px;justify-items:center;align-items:center;width:100%;height:100%;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;text-align:center;cursor:pointer;}
.segol-vip .site-media-tile .site-channel-item:hover,.segol-vip .site-media-tile .site-channel-item:focus-visible {border-color:#8051d7;background:#fff8;}
.segol-vip .site-media-delete {position:absolute;right:2px;top:2px;border:0;border-radius:50%;width:24px;height:24px;background:#b82542;color:white;cursor:pointer;z-index:2;}
.segol-vip .site-media-edit {width:min(580px,94vw);max-height:90vh;overflow:auto;}
.segol-vip .site-media-edit form {display:grid;gap:12px;}
.segol-vip .site-media-edit label {display:grid;gap:5px;}
.segol-vip .site-media-edit input {box-sizing:border-box;width:100%;padding:9px;border:1px solid #cbb9ec;border-radius:10px;background:var(--site-raised,#fff);color:inherit;}
.segol-vip .site-media-edit-actions {display:flex;justify-content:center;gap:12px;}
#segol-media-toast {position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:2147483647;background:#fff;color:#4e287c;border:1px solid #cbb9ec;border-radius:12px;box-shadow:0 5px 24px #29183c30;padding:12px 20px;max-width:90vw;}

.segol-vip .site-media-filters .site-media-bulk {grid-column:1/-1;min-height:34px;font-size:.8rem;border-radius:9px;}

/* 16: a single equipment row at every viewport width. */
.segol-vip .site-dashboard .site-device-list {
    min-width:0!important;max-width:100%!important;container:equipment / inline-size;
}
.segol-vip .site-dashboard .site-device-list .site-device {
    --device-button-size:clamp(30px,3.6cqi,46px);
    box-sizing:border-box!important;
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:flex-start!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    gap:clamp(4px,.65cqi,9px)!important;padding:9px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
}
.segol-vip .site-dashboard .site-device-list .site-device > li {
    display:flex!important;align-items:center!important;float:none!important;
    flex:1 0 75px;min-width:0!important;width:auto!important;
    margin:0!important;padding:0!important;white-space:nowrap!important;
}
.segol-vip .site-dashboard .site-device-list .site-device > li:first-child {
    flex:1.25 0 115px;
}
.segol-vip .site-dashboard .site-device-list .site-device > li.site-device-mac {
    flex:1.15 0 122px;
}
.segol-vip .site-dashboard .site-device-list .site-device > li:has([data-device-refresh]) {
    flex:0 0 var(--device-button-size);
}
.segol-vip .site-dashboard .site-device-list .site-device > li:has(.podob2) {
    flex:1.15 0 94px;
}
.segol-vip .site-dashboard .site-device-list .site-device > li.site-device-end {
    flex:0 0 auto!important;display:flex!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:flex-end!important;
    gap:clamp(4px,.55cqi,8px)!important;
}
.segol-vip .site-dashboard .site-device-list .site-device :is(.site-device-action,li > a) {
    display:flex!important;align-items:center!important;justify-content:center;
    flex-wrap:nowrap!important;gap:4px!important;
    width:100%!important;min-width:0!important;
    height:var(--device-button-size)!important;min-height:var(--device-button-size)!important;
    padding:0 6px!important;margin:0!important;
    font-size:clamp(11px,1.24cqi,15px)!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
}
.segol-vip .site-dashboard .site-device-list .site-device .site-device-name {
    justify-content:flex-start!important;
}
.segol-vip .site-dashboard .site-device-list .site-device .site-device-avatar {
    flex:none;width:clamp(20px,2.4cqi,30px)!important;height:clamp(20px,2.4cqi,30px)!important;
}
.segol-vip .site-dashboard .site-device-list .site-device .site-device-key {
    white-space:nowrap!important;min-width:0;font-size:inherit!important;
}
.segol-vip .site-dashboard .site-device-list .site-device .site-device-key strong {
    font-size:inherit!important;
}
.segol-vip .site-dashboard .site-device-list .site-device .site-device-switch {
    flex:none!important;display:flex!important;flex-wrap:nowrap!important;gap:clamp(4px,.55cqi,8px)!important;
}
.segol-vip .site-dashboard .site-device-list .site-device :is(.site-device-switch button,.site-device-delete) {
    flex:0 0 var(--device-button-size)!important;
    width:var(--device-button-size)!important;min-width:var(--device-button-size)!important;
    height:var(--device-button-size)!important;min-height:var(--device-button-size)!important;
    font-size:clamp(10px,1cqi,12px)!important;padding:0!important;
}
@container equipment (max-width:790px) {
    .segol-vip .site-dashboard .site-device-list .site-device {
        --device-button-size:34px;
        gap:5px!important;padding:7px!important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device > li:has(.podob2),
    .segol-vip .site-dashboard .site-device-list .site-device > li:has(.kanstartx),
    .segol-vip .site-dashboard .site-device-list .site-device > li:has([data-media-kind]) {
        flex:0 0 var(--device-button-size);
    }
    .segol-vip .site-dashboard .site-device-list .site-device :is(.podob2,.kanstartx,[data-media-kind]) > span {
        display:none!important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device :is(.podob2,.kanstartx,[data-media-kind]) > i {
        font-size:16px!important;
    }
}

/* 17: radio and film tiles use the same geometry as TV; edit action has its own row. */
.segol-vip .site-dashboard .site-media-editor .site-channel-grid {
 grid-template-columns:repeat(auto-fill,minmax(104px,1fr))!important;
 grid-auto-rows:146px!important;gap:8px!important;align-content:start!important;
}
.segol-vip .site-dashboard .site-media-editor [data-media-section="available"] .site-channel-grid {grid-auto-rows:146px!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-tile {
 display:grid!important;grid-template-rows:112px 28px;gap:3px;align-items:center;
 height:146px!important;min-height:0!important;min-width:0!important;box-sizing:border-box;
 padding:0!important;margin:0!important;overflow:hidden!important;background:transparent!important;box-shadow:none!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-channel-item {
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:67px 36px!important;
 justify-items:center!important;align-items:center!important;gap:3px!important;
 box-sizing:border-box!important;width:100%!important;height:112px!important;min-height:0!important;max-height:112px!important;
 min-width:0!important;padding:3px!important;margin:0!important;overflow:hidden!important;
 border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;transform:none!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-channel-item:hover,
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-channel-item:focus-visible {border-color:#8051d7!important;background:#ffffffb0!important;box-shadow:0 0 0 2px #bfa5f4 inset!important;}
.segol-vip .site-dashboard .site-media-editor .site-channel-item-media {overflow:hidden!important;justify-self:center!important;}
.segol-vip .site-dashboard .site-media-editor .site-channel-item-media img {width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-edit-button {
 display:flex!important;align-items:center!important;justify-content:center!important;gap:4px;
 width:100%!important;min-width:0!important;height:28px!important;min-height:28px!important;max-height:28px!important;
 box-sizing:border-box!important;margin:0!important;padding:2px 4px!important;border:1px solid #cbb9ec!important;
 border-radius:8px!important;background:#fff!important;color:#6540b7!important;box-shadow:none!important;
 font-size:10px!important;line-height:1!important;white-space:nowrap!important;cursor:pointer;
}
.segol-vip .site-dashboard .site-media-editor .site-media-edit-button:hover {border-color:#8051d7!important;background:#eee5ff!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-filters {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-filters :is(select,input) {
 height:36px!important;min-height:36px!important;max-height:36px!important;line-height:normal!important;
 padding:3px 8px!important;margin:0!important;box-sizing:border-box!important;font-size:.8rem!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-filters .site-media-bulk {height:34px!important;min-height:34px!important;padding:3px 8px!important;margin:0!important;}

/* 18: per-section source mode, compact pencil action. */
.segol-vip .site-dashboard .site-channel-editor.is-personal-playlist .site-channel-columns {grid-template-columns:minmax(0,1fr)!important;}
.segol-vip .site-dashboard .site-channel-editor.is-personal-playlist [data-channel-section="available"],
.segol-vip .site-dashboard .site-media-editor [data-media-section][hidden],
.segol-vip .site-dashboard .site-channel-editor [data-channel-refresh][hidden] {display:none!important;}
.segol-vip .site-dashboard .site-media-editor .site-channel-grid {grid-auto-rows:134px!important;}
.segol-vip .site-dashboard .site-media-editor [data-media-section="available"] .site-channel-grid {grid-auto-rows:112px!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-tile {height:134px!important;grid-template-rows:104px 26px!important;justify-items:center;}
.segol-vip .site-dashboard .site-media-editor [data-media-section="available"] .site-media-tile {height:112px!important;grid-template-rows:112px!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-channel-item {height:104px!important;max-height:104px!important;grid-template-rows:62px 33px!important;}
.segol-vip .site-dashboard .site-media-editor .site-media-edit-button {width:28px!important;height:26px!important;min-height:26px!important;max-height:26px!important;border-radius:50%!important;font-size:13px!important;justify-self:center;}

/* 19: compact corner pencil, separate from the add/remove tile. */
.segol-vip .site-dashboard .site-media-editor .site-channel-grid,
.segol-vip .site-dashboard .site-media-editor [data-media-section="available"] .site-channel-grid {
 grid-auto-rows:112px!important;gap:8px!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-tile,
.segol-vip .site-dashboard .site-media-editor [data-media-section="available"] .site-media-tile {
 position:relative!important;display:block!important;height:112px!important;min-height:112px!important;
 width:100%!important;min-width:0!important;overflow:hidden!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-channel-item {
 height:112px!important;max-height:112px!important;grid-template-rows:67px 36px!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-media-edit-button {
 position:absolute!important;inset:2px 2px auto auto!important;z-index:3!important;
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 width:25px!important;min-width:25px!important;max-width:25px!important;
 height:25px!important;min-height:25px!important;max-height:25px!important;
 margin:0!important;padding:0!important;gap:0!important;border-radius:50%!important;
 border:1px solid #cbb9ec!important;background:#fff!important;color:#6540b7!important;
 font-size:12px!important;line-height:1!important;cursor:pointer!important;
 box-shadow:none!important;transform:none!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-edit-button > i {
 display:block!important;font-size:12px!important;line-height:1!important;margin:0!important;
}
.segol-vip .site-dashboard .site-media-editor .site-media-tile > button.site-media-edit-button:is(:hover,:focus-visible) {
 background:#7542ce!important;color:#fff!important;border-color:#7542ce!important;
 outline:2px solid #bfa5f4!important;outline-offset:-2px!important;
}

/* 20: editing only for imported playlists */
.segol-vip [data-media-add-own][hidden]{display:none!important;}
.segol-vip .site-tv-edit-tile{position:relative;min-width:0;height:100%;}
.segol-vip .site-dashboard .site-channel-grid .site-tv-edit-tile > .site-channel-item{display:grid!important;grid-template-rows:67px 36px;justify-items:center;align-items:center;width:100%;height:100%;padding:2px!important;border:1px solid transparent;border-radius:10px!important;background:transparent!important;box-shadow:none!important;text-align:center;}
.segol-vip .site-dashboard .site-tv-edit-tile > .site-channel-item:hover{border-color:#8051d7!important;}
.segol-vip .site-dashboard .site-tv-edit-tile > .site-tv-pencil{position:absolute!important;top:2px;right:2px;width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;display:grid!important;place-items:center;border:1px solid #c9b9e9;border-radius:50%!important;background:#fff;color:#7542d5;cursor:pointer;z-index:2;}

/* 21: independent source selector, consistent for TV, films and radio. */
.segol-vip .site-source-switch {display:flex;justify-content:center;gap:8px;flex:none;margin:0 0 10px;padding:4px;border-radius:14px;background:#eae2f8;}
.segol-vip .site-source-switch button {flex:1;max-width:280px;min-width:0;min-height:36px;padding:6px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#6336b2;font:inherit;cursor:pointer;}
.segol-vip .site-source-switch button[aria-pressed=true] {background:#fff;border-color:#a98ce1;font-weight:700;}
.segol-vip .site-source-switch button:focus-visible {outline:2px solid #8051d7;outline-offset:2px;}

/* 23: shared import dialog, compact fixed footer. */
.segol-vip [data-media-import][hidden],.segol-vip .site-import-dialog [hidden]{display:none!important;}
.segol-vip .site-import-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap;}
.segol-vip .site-import-dialog{box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;width:min(540px,calc(100vw - 24px))!important;height:fit-content!important;max-height:calc(100dvh - 24px)!important;padding:0!important;border:1px solid #cbb9ec!important;border-radius:22px!important;background:#f8f5ff!important;color:#30234f;overflow:auto!important;transform:none!important;}
.segol-vip .site-import-dialog .site-import-form{box-sizing:border-box!important;display:grid!important;gap:12px!important;width:100%!important;margin:0!important;padding:20px!important;background:transparent!important;}
.segol-vip .site-import-heading{position:relative;padding-right:42px;}.segol-vip .site-import-heading h2{margin:0!important;font-size:1.2rem;}.segol-vip .site-import-heading p{margin:4px 0 0;color:#65587c;font-size:.8rem;}
.segol-vip .site-import-heading .contact-close{position:absolute!important;right:0!important;top:0!important;width:34px!important;height:34px!important;display:grid!important;place-items:center;padding:0!important;}
.segol-vip .site-import-file{position:relative;display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1px dashed #a88bdc;border-radius:12px;background:#efe7ff;color:#6540b7;overflow:hidden;cursor:pointer;}
.segol-vip .site-import-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.segol-vip .site-import-file input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer;}
.segol-vip .site-import-file:focus-within{outline:2px solid #8051d7;}.segol-vip .site-import-or{text-align:center;color:#65587c;font-size:.8rem;}
.segol-vip .site-import-label{display:grid;gap:5px;font-size:.86rem;}.segol-vip .site-import-label input{box-sizing:border-box;width:100%!important;min-height:42px;padding:8px 12px;border:1px solid #cbb9ec;border-radius:10px;background:white;color:#30234f;}
.segol-vip .site-import-auto,.segol-vip .site-import-warning{display:flex!important;align-items:center;gap:8px;font-size:.8rem;}.segol-vip .site-import-warning{padding:8px;background:#fff0db;border-radius:9px;}.segol-vip .site-import-auto input,.segol-vip .site-import-warning input{flex:none;width:18px!important;height:18px!important;}
.segol-vip .site-import-status{margin:0!important;color:#8b3155;font-size:.82rem;}.segol-vip .site-import-status:empty{display:none;}.segol-vip .site-import-form footer{display:flex;justify-content:center;}.segol-vip .site-import-form footer button{width:min(280px,100%);min-height:42px;}
.segol-vip .site-media-heading{flex-wrap:wrap;}.segol-vip .site-channel-toolbar{display:flex;flex-wrap:wrap;gap:6px;}

/* 24: pagination stays within the panel; only the tile area can scroll. */
.segol-vip .site-dashboard .site-channel-editor .site-channel-columns {
 grid-template-rows:minmax(0,1fr);min-height:0!important;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-columns > .site-channel-panel {
 min-height:0!important;max-height:100%;box-sizing:border-box!important;
 padding-bottom:14px!important;overflow:hidden!important;
}
.segol-vip .site-dashboard .site-channel-panel > :is(.site-channel-panel-head,.site-channel-title-row,.site-media-filters) {flex:0 0 auto;}
.segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-grid {
 flex:1 1 0!important;min-height:0!important;height:0!important;max-height:none!important;
 overflow:auto!important;align-content:start!important;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-pages {
 flex:0 0 auto!important;min-height:64px!important;height:auto!important;
 margin:0!important;padding:8px 0 6px!important;box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:14px!important;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-pages > button {
 width:52px!important;min-width:52px!important;height:48px!important;min-height:48px!important;
 padding:0!important;display:grid!important;place-items:center!important;font-size:1.6rem!important;line-height:1!important;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-pages > :is(strong,.site-channel-page-status) {
 font-size:1.12rem!important;line-height:1.25!important;text-align:center;min-width:76px;
}
/* A definite height makes flex shrink the tile area, not the footer. */
@media(min-width:851px){
 .segol-vip .site-dashboard .site-channel-editor .site-channel-columns {flex:1 1 auto!important;}
 .segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-grid {flex:1 1 0!important;min-height:140px!important;}
}
@media(max-width:850px){
 .segol-vip .site-dashboard .site-channel-editor .site-channel-columns {grid-template-rows:auto;grid-auto-rows:auto;}
 .segol-vip .site-dashboard .site-channel-editor .site-channel-panel {max-height:none!important;}
 .segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-grid {flex:none!important;height:clamp(220px,44dvh,420px)!important;}
}
/* Use the common close button size; draw a geometrically centered cross. */
.segol-vip .site-import-dialog .site-import-heading {padding-right:54px!important;min-height:46px;}
.segol-vip .site-import-dialog .site-import-heading > button.contact-close {
 inset:0 0 auto auto!important;width:46px!important;min-width:46px!important;max-width:46px!important;
 height:46px!important;min-height:46px!important;max-height:46px!important;
 display:grid!important;place-items:center!important;padding:0!important;margin:0!important;line-height:1!important;border-radius:50%!important;
}
.segol-vip .site-import-dialog .contact-close::before,.segol-vip .site-import-dialog .contact-close::after {content:none!important;}
.segol-vip .site-import-cross {display:block!important;position:relative!important;width:20px!important;height:20px!important;margin:0!important;padding:0!important;}
.segol-vip .site-import-cross::before,.segol-vip .site-import-cross::after {content:"";position:absolute;left:50%;top:50%;width:20px;height:2px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg);}
.segol-vip .site-import-cross::after {transform:translate(-50%,-50%) rotate(-45deg);}
.segol-vip .site-import-form[aria-busy=true] footer {min-height:42px;}
.segol-vip .site-import-form button[hidden] {display:none!important;}


/* 25: unified close controls and a clearer import dialog. */
.segol-vip :is(.site-dashboard .site-channel-editor .site-channel-close,.contact-dialog .contact-close) {
 box-sizing:border-box!important;display:grid!important;place-items:center!important;
 width:46px!important;min-width:46px!important;max-width:46px!important;
 height:46px!important;min-height:46px!important;max-height:46px!important;
 flex:0 0 46px!important;aspect-ratio:1!important;margin:0!important;padding:0!important;
 border:1px solid #b890ee!important;border-radius:50%!important;color:#fff!important;
 font-size:0!important;line-height:1!important;text-align:center!important;
 background:linear-gradient(45deg,transparent calc(50% - 1px),white calc(50% - 1px),white calc(50% + 1px),transparent calc(50% + 1px)) center/19px 19px no-repeat,
 linear-gradient(-45deg,transparent calc(50% - 1px),white calc(50% - 1px),white calc(50% + 1px),transparent calc(50% + 1px)) center/19px 19px no-repeat,
 linear-gradient(145deg,#833ce1,#5032c3)!important;
 box-shadow:0 4px 12px #6740ba38!important;cursor:pointer!important;
}
.segol-vip :is(.site-dashboard .site-channel-editor .site-channel-close,.contact-dialog .contact-close) > * {visibility:hidden!important;}
.segol-vip :is(.site-dashboard .site-channel-editor .site-channel-close,.contact-dialog .contact-close)::before,
.segol-vip :is(.site-dashboard .site-channel-editor .site-channel-close,.contact-dialog .contact-close)::after {content:none!important;}
.segol-vip .site-dashboard .site-channel-editor .site-channel-close {position:static!important;inset:auto!important;float:none!important;align-self:center!important;}
.segol-vip .site-import-dialog {width:min(620px,calc(100vw - 28px))!important;border-radius:24px!important;background:linear-gradient(145deg,#fff,#f4edff)!important;box-shadow:0 24px 80px #21153c55!important;}
.segol-vip .site-import-dialog .site-import-form {padding:24px!important;gap:15px!important;}
.segol-vip .site-import-dialog .site-import-heading {min-height:46px;padding-right:62px!important;padding-bottom:12px!important;border-bottom:1px solid #dfd1f5;}
.segol-vip .site-import-dialog .site-import-heading h2 {font-size:1.38rem!important;line-height:1.25;color:#30234f;}
.segol-vip .site-import-dialog .site-import-heading p {font-size:.85rem!important;margin-top:6px!important;}
.segol-vip .site-import-dialog .site-import-heading > .contact-close {right:0!important;top:0!important;}
.segol-vip .site-import-dialog .site-import-file {min-height:54px!important;border:1px dashed #a789e2!important;border-radius:14px!important;background:#f0e8ff!important;font-weight:600;}
.segol-vip .site-import-dialog .site-import-file:hover {background:#e8dbff!important;border-color:#7542ce!important;}
.segol-vip .site-import-dialog .site-import-or {display:flex;align-items:center;gap:12px;}
.segol-vip .site-import-dialog .site-import-or::before,.segol-vip .site-import-dialog .site-import-or::after {content:"";height:1px;background:#dfd1f5;flex:1;}
.segol-vip .site-import-dialog .site-import-label {font-weight:600;font-size:.9rem!important;gap:7px;}
.segol-vip .site-import-dialog .site-import-label input {height:46px!important;min-height:46px!important;border-radius:12px!important;font-size:.9rem!important;}
.segol-vip .site-import-dialog .site-import-label input:focus {outline:2px solid #a98ce1;outline-offset:1px;}
.segol-vip .site-import-dialog :is(.site-import-auto,.site-import-warning) {display:flex!important;box-sizing:border-box;align-items:center!important;gap:13px!important;padding:12px 14px!important;border:1px solid #d7c6f1;border-radius:14px!important;background:#fff!important;cursor:pointer;}
.segol-vip .site-import-dialog .site-import-warning {background:#fff4e4!important;border-color:#ebca92!important;color:#69420c!important;}
.segol-vip .site-import-dialog :is(.site-import-auto,.site-import-warning) input {appearance:auto!important;position:static!important;opacity:1!important;flex:0 0 25px!important;width:25px!important;min-width:25px!important;height:25px!important;min-height:25px!important;margin:0!important;accent-color:#7040cd;cursor:pointer;}
.segol-vip .site-import-dialog :is(.site-import-auto-copy,.site-import-warning-copy) {display:grid;gap:4px;min-width:0;}
.segol-vip .site-import-dialog :is(.site-import-auto-copy,.site-import-warning-copy) strong {font-size:.9rem!important;line-height:1.3;}
.segol-vip .site-import-dialog :is(.site-import-auto-copy,.site-import-warning-copy) small {font-size:.78rem!important;line-height:1.4;font-weight:400;}
.segol-vip .site-import-dialog .site-import-auto:has(input:disabled) {opacity:.6;cursor:default;}
.segol-vip .site-import-dialog .site-import-form footer {border-top:1px solid #dfd1f5;padding-top:14px;}
.segol-vip .site-import-dialog .site-import-form footer button {width:100%!important;min-height:46px!important;border-radius:13px!important;font-weight:700;}
.segol-vip .site-import-dialog .site-import-form footer button:disabled {opacity:.55;cursor:not-allowed;}
.segol-vip .site-import-dialog [hidden] {display:none!important;}
@media(max-width:520px),(max-height:620px){
 .segol-vip .site-import-dialog .site-import-form {padding:15px!important;gap:10px!important;}
 .segol-vip .site-import-dialog :is(.site-import-auto,.site-import-warning) {padding:9px 10px!important;}
 .segol-vip .site-import-dialog .site-import-heading {padding-bottom:8px!important;}
}

/* 26: destructive playlist action, compact and aligned with existing controls. */
.segol-vip .site-channel-editor .site-playlist-delete {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:5px 12px;border:1px solid #dfabb9!important;background:#fff0f3!important;color:#9e2444!important;white-space:nowrap;font-size:.8rem!important;cursor:pointer;}
.segol-vip .site-channel-editor .site-playlist-delete.is-armed {background:#b82a49!important;color:#fff!important;border-color:#b82a49!important;}
.segol-vip .site-channel-editor .site-playlist-delete:disabled {opacity:.5;cursor:wait;}
.segol-vip .site-channel-editor .site-playlist-delete[hidden] {display:none!important;}

/* Cabinet navigation and compact account panels */
.segol-vip .site-dashboard {
    --cabinet-card-radius: 1.4375rem;
    --cabinet-card-border: 1px solid var(--site-line);
    --cabinet-text-size: clamp(1.025rem, .96rem + .24vw, 1.38rem);
}
.segol-vip .site-dashboard :is(.site-account-nav button,.vip-pill,.site-device-list .site-device),
.segol-vip .site-dashboard .site-device :is(.site-device-action,li > a):not(.site-device-delete) {
    border-radius: var(--cabinet-card-radius);
}
.segol-vip .site-dashboard :is(.site-device-list .site-device,.site-account .site-balance) {
    border: var(--cabinet-card-border);
    border-radius: var(--cabinet-card-radius);
}

.segol-vip .site-dashboard .site-account-nav {
    position: relative;
    isolation: isolate;
    gap: 3px;
}
.segol-vip .site-dashboard .site-account-nav button {
    min-height: 42px !important;
    padding: 5px 10px !important;
    column-gap: 7px;
    font-size: clamp(.94rem, .9rem + .24vw, 1.22rem);
    font-weight: 400;
    line-height: 1.25;
    transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}
.segol-vip .site-dashboard .site-account-nav button:hover { transform: translateY(-1px); }
.segol-vip .site-dashboard .site-account-nav button > .site-account-label {
    flex: 1 1 0;
    font-size: inherit;
    font-weight: inherit;
}
.segol-vip .site-dashboard .site-account-nav.has-section-indicator button[aria-current="true"] {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.site-section-indicator {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: -1;
    pointer-events: none;
    box-sizing: border-box;
    border: 1px solid var(--site-line, #c5b0ef);
    border-radius: var(--cabinet-card-radius);
    background: var(--site-raised, #ebe3fa);
    transition: transform 220ms ease, width 220ms ease, height 220ms ease;
}
.segol-vip .site-dashboard .setting-right > .setting-wrap { padding: 0; }

.segol-vip .site-dashboard #setustan {
    width: 100%;
    min-width: 0;
}
.segol-vip .site-dashboard #setustan > .setting {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 0 !important;
    padding: 6px 10px !important;
    gap: 4px 12px;
}
.segol-vip .site-dashboard #setustan > .setting :is(.option-left,.option-right) {
    min-height: 0 !important;
    padding: 0 !important;
    line-height: 1.35;
    text-align: start;
}
.segol-vip .site-dashboard #setustan > .photo2 {
    width: 54px !important;
    height: 54px !important;
    object-fit: contain;
}


.segol-vip .site-dashboard #setustan {
    box-sizing: border-box;
    border: var(--cabinet-card-border);
    border-radius: var(--cabinet-card-radius);
    background: var(--site-panel);
    padding: 12px;
}
.segol-vip .site-dashboard #setustan > .setting {
    border-radius: 0;
    border-block-end: var(--cabinet-card-border);
    margin-block-end: 0 !important;
}

.segol-vip .site-dashboard .right-cont-text:is(.tech-right,.pay-right) {
    align-content: start;
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
}
.segol-vip .site-dashboard :is(.tech-wrap-left,.tech-wrap-right,.pay-block-left,.pay-block-right,.site-dealer-card,.site-admin-output,.site-admin-search,.site-admin-tools) {
    box-sizing: border-box;
    border: var(--cabinet-card-border);
    border-radius: var(--cabinet-card-radius);
    background: var(--site-panel, #f7f4fc);
    padding: 12px;
}

.segol-vip .site-dashboard :is(.tech-wrap-left,.tech-wrap-right,.pay-block-left,.pay-block-right) {
    display: flex;
    flex-direction: column;
    min-block-size: 0;
}
.segol-vip .site-dashboard :is(.tech-block-left,.tech-block-right,.pay-content-left,.pay-content-right) {
    flex: 1 1 auto;
    min-block-size: 0;
    overflow: auto;
}
@media (min-width: 851px) {
    .segol-vip .site-dashboard .right-cont-text:is(.tech-right,.pay-right) {
        grid-template-rows: minmax(0, 1fr);
        align-content: stretch;
    }
    .segol-vip .site-dashboard .setting-right,
    .segol-vip .site-dashboard .setting-right > .setting-wrap {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .segol-vip .site-dashboard .setting-right > .setting-wrap,
    .segol-vip .site-dashboard .setting-wrap > :is(#setustan,#setustand) {
        flex: 1 1 auto;
    }
    .segol-vip .site-dashboard .setting-wrap > :is(#setustan,#setustand) {
        min-height: 0;
        overflow: auto;
    }
    .segol-vip .site-dashboard #setustand {
        display: flex;
        flex-direction: column;
    }
    .segol-vip .site-dashboard .site-dealer-cards {
        flex: 1 1 auto;
        grid-template-rows: auto minmax(0, 1fr);
    }
    .segol-vip .site-dashboard .admin-right {
        display: flex;
        flex-direction: column;
    }
    .segol-vip .site-dashboard .site-admin-output {
        flex: 1 1 auto;
        min-height: 0;
        overflow: auto;
    }
}
@media (max-width: 850px) {
    .segol-vip .site-dashboard .right-cont-text:is(.tech-right,.pay-right) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.segol-vip .site-dashboard :is(.tech-head,.pay-head) {
    margin: 0 0 8px;
    padding: 0;
}
.segol-vip .site-dashboard :is(.tech-block-left,.tech-block-right,.pay-content-left,.pay-content-right) {
    background: transparent;
    border-radius: 0;
    padding: 0;
    min-height: 0;
}
.segol-vip .site-dashboard .tech-right .date {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 4px 10px;
    padding: 6px 8px;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 4px !important;
    text-align: start;
}
.segol-vip .site-dashboard .tech-right .site-empty { text-align: start; padding: 6px 0; }

.segol-vip .site-dashboard :is(#wiwodloplat2,.site-admin-output) p { margin-block: 6px; }

.site-payment-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .55fr) auto;
    align-items: end;
    gap: 5px 8px;
}
.site-payment-fields label:first-child { grid-column: 1; }
.site-payment-fields label:nth-child(2) { grid-column: 2; }
.site-payment-fields select { grid-column: 1; grid-row: 2; }
.site-payment-fields input { grid-column: 2; grid-row: 2; }
.site-payment-fields button { grid-column: 3; grid-row: 2; }
.segol-vip .site-dashboard :is(.site-payment-fields,.site-admin-search,.site-dealer-actions) :is(input:not([type="hidden"]),select) {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 5px 8px;
    min-height: 36px;
    border: 1px solid var(--site-line, #cec2e5);
    border-radius: 8px;
    background: var(--site-panel, #fbf9ff);
    color: inherit;
}
.segol-vip .site-dashboard #wiwodloplat2 { padding: 8px 0 0; }
.segol-vip .site-dashboard #wiwodloplat2 .shota { width: auto; height: auto; float: none; margin: 0; }

.site-dealer-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; align-items: stretch; }
.site-dealer-cards > :first-child:nth-last-child(2) { grid-column: 1 / -1; }
.site-dealer-history { grid-column: 1 / -1; min-width: 0; overflow: auto; }
.site-dealer-card h3 { margin: 0 0 8px; color: var(--site-accent); font-size: 1em; }
.site-dealer-details { margin: 0; }
.site-dealer-details > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 8px; padding: 4px 0; }
.site-dealer-details dd { margin: 0; overflow-wrap: anywhere; }
.site-dealer-actions, .site-admin-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.site-dealer-actions { margin-block-start: 8px; }
.segol-vip .site-dashboard .site-dealer-actions input { width: 8rem; }
.segol-vip .site-dashboard table.site-dealer-earnings { width: 100%; min-width: 28rem; margin: 0; border-collapse: collapse; }
.site-dealer-earnings :is(th,td) { text-align: start; padding: 5px 8px; border-bottom: 1px solid var(--site-line); }
.segol-vip .site-dashboard button#kursd { padding: 4px 12px; margin-block-start: 8px; }
.site-admin-search { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 16rem) auto; align-items: end; gap: 6px; justify-content: start; }
.site-admin-search label { display: grid; gap: 3px; }
.site-admin-tools, .site-admin-output { margin-top: 8px; }
.segol-vip .site-dashboard .site-admin-tools button[aria-pressed="true"] { background: var(--site-raised); border-color: var(--site-accent); }
.segol-vip .site-dashboard .site-admin-output .admin-menu ul { padding: 0; margin: 0; }
.segol-vip .site-dashboard .site-admin-output .admin-menu li {
    display: grid;
    gap: 4px;
    float: none;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 6px 10px;
    background: var(--site-raised);
    border-radius: 8px;
}
.segol-vip .site-dashboard .site-admin-output .admin-menu li :is(p,b) { margin: 0; position: static; }
.site-admin-output .admin-menu li br { display: none; }
@media (max-width: 620px) {
    .site-dealer-cards { grid-template-columns: minmax(0,1fr); }
    .site-payment-fields, .site-admin-search { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .site-payment-fields button { grid-column: 1 / -1; grid-row: 3; }
    .site-admin-search button { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
    .site-section-indicator, .segol-vip .site-dashboard .site-account-nav button { transition: none; }
}

.segol-vip .site-dashboard .tech-right .date { width: auto; }
.segol-vip .site-dashboard .tech-right .date .tech-close {
    position: static;
    margin-inline-start: auto;
    flex: none;
}
.segol-vip .site-dashboard .tech-right .date .site-message-open {
    flex: 1 1 10rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: start;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.site-mail-dialog {
    box-sizing: border-box;
    width: min(38rem, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 16px;
    border: 1px solid var(--site-line);
    border-radius: var(--cabinet-card-radius);
    color: var(--site-text);
    background: var(--site-panel);
}
.site-mail-dialog::backdrop { background: rgb(21 18 38 / .45); }
.site-mail-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.site-mail-dialog-head h3, .site-mail-message h4 { margin: 0 0 6px; }
.site-mail-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.segol-vip .site-dashboard #pochtaisxod .mailpang { position: static; display: inline-flex; margin-block: 4px; }
.segol-vip .site-dashboard #pochtaisxod .mailpang img { width: 28px; height: 28px; padding: 0; }

/* Responsive site and cabinet sizing. */
.segol-vip .site-dashboard :is(.right-cont-head,.tech-head,.pay-head),
.segol-vip :is(.site-public-content,.site-dashboard-content) :is(th,td) {
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard #setustan > .setting > .option-right {
    justify-self: end;
    text-align: end;
    max-width: 100%;
}
@media (max-width: 850px) {
    .segol-vip .site-dashboard { grid-template-rows: auto auto; }
    .segol-vip .site-dashboard-content { max-width: 100%; }
    .segol-vip .site-dashboard .site-account-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .segol-vip .site-dashboard .site-account-nav button { min-height: 44px !important; }
    .segol-vip .site-dashboard :is(.site-dealer-cards,.site-channel-editor .site-channel-columns) {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 620px) {
    .segol-vip :is(.site-public-nav,.site-public-content,.site-dashboard) {
        width: calc(100% - 16px);
    }
    .segol-vip .site-dashboard .site-device-list .site-device {
        --device-button-size: 44px;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device > li {
        width: 100% !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device :is(.site-device-action,li > a) {
        font-size: .875rem !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device .site-device-end {
        justify-content: flex-start !important;
    }
    .segol-vip .site-dashboard .tech-right .date { flex-wrap: wrap; }
    .segol-vip .site-dashboard .site-device-pagination button { min-height: 44px; }
}
@media (max-width: 360px) {
    .segol-vip .site-dashboard .site-account-nav button { padding-inline: 5px !important; }
    .segol-vip .site-dashboard #setustan > .setting {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
    .segol-vip .site-dashboard #setustan > .setting > .option-right {
        justify-self: start;
        text-align: start;
    }
}
@media (min-width: 1600px) {
    .segol-vip :is(.site-public-nav,.site-public-content,.site-dashboard) {
        width: calc(100% - 2 * clamp(16px, 1.25vw, 56px));
    }
    .segol-vip .site-dashboard {
        grid-template-columns: clamp(18rem, 17vw, 34rem) minmax(0, 1fr);
    }
    .segol-vip .site-dashboard .site-account-nav button {
        min-height: clamp(46px, 3vw, 68px) !important;
    }
    .segol-vip .site-dashboard .right-cont-text:is(.tech-right,.pay-right) {
        gap: clamp(12px, 1vw, 30px);
        padding: clamp(12px, 1vw, 30px);
    }
    .segol-vip .site-dashboard-content :is(.right-cont-head,.tech-head,.pay-head) {
        font-size: clamp(1.25rem, .95rem + .37vw, 1.75rem) !important;
    }
    .segol-vip .site-public-nav .vip-pill {
        font-size: clamp(1rem, .75rem + .32vw, 1.45rem);
        min-height: clamp(42px, 2.5vw, 64px);
    }
}

/* Each card scrolls its records above a centred footer. */
.segol-vip .site-dashboard .tech-right :is(.tech-block-left,.tech-block-right) {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.segol-vip .site-dashboard .tech-right :is(#wiwodlog,#wiwodplat,#pochtaisxod,#pochtavxod) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}
.segol-vip .site-dashboard .tech-right .site-paged-rows {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}
.segol-vip .site-dashboard .tech-right .site-device-pagination {
    flex: 0 0 auto;
    align-self: center;
    width: max-content;
    max-width: 100%;
    margin: auto auto 0 !important;
    padding-top: 8px;
}
@media (max-width: 850px) {
    .segol-vip .site-dashboard .tech-right :is(.tech-block-left,.tech-block-right) {
        min-height: 9rem;
    }
}
.site-mail-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.segol-vip .site-dashboard .site-mail-card-head .tech-head { margin: 0; }
.site-mail-card-head [data-support-compose] {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
}
.site-mail-compose, .site-mail-compose label { display: grid; gap: 8px; }
.site-mail-compose :is(input,textarea) {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    color: inherit;
    background: var(--site-panel);
    border: 1px solid var(--site-line);
    border-radius: 10px;
}
.site-mail-compose textarea { resize: vertical; }
.site-mail-compose button { justify-self: start; }
.site-mail-compose-status { margin: 0; }
.site-mail-compose-status:empty { display: none; }
.segol-vip .site-dashboard .tech-right :is(.tech-block-left,.tech-block-right) { flex: 1 1 auto; }
.segol-vip .site-dashboard .site-mail .tech-close { min-width: 36px; min-height: 36px; padding: 4px; }

.segol-vip .site-dashboard dialog.site-mail-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    max-height: calc(100dvh - 24px);
    overflow: auto;
}
.segol-vip .site-dashboard .site-admin-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.segol-vip .site-dashboard .site-admin-tools .vip-pill {
    justify-content: center;
    min-height: 42px;
    padding: 7px 10px;
    text-align: center;
    font-weight: 550;
    font-size: clamp(.875rem, .83rem + .17vw, 1.05rem) !important;
    white-space: normal;
    color: var(--site-accent);
    background: var(--site-panel);
    border-color: var(--site-line);
}
.segol-vip .site-dashboard .site-admin-tools .vip-pill[aria-pressed="true"] {
    color: #fff;
    background: var(--vip-action);
    border-color: transparent;
}
.segol-vip .site-dashboard .site-admin-output {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.segol-vip .site-dashboard .site-admin-report {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}
.segol-vip .site-dashboard .site-admin-report > .site-table-scroll {
    min-height: 0;
    overflow: auto;
}
.segol-vip .site-dashboard table.site-admin-report-table {
    width: 100%;
    min-width: 100%;
    height: auto;
    margin: 0;
    border-collapse: collapse;
}
.segol-vip .site-dashboard .site-admin-report-table :is(th,td) {
    position: static;
    float: none;
    width: auto;
    height: auto;
    padding: 8px 10px;
    text-align: start;
    line-height: 1.3;
    border-bottom: 1px solid var(--site-line);
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard .site-admin-report-table th {
    background: var(--site-raised);
    color: var(--site-accent);
    font-weight: 650;
}
.segol-vip .site-dashboard .site-admin-report > .site-device-pagination {
    flex: 0 0 auto;
    align-self: center;
    margin: auto auto 0 !important;
    padding-top: 10px;
}
@media (max-width: 620px) {
    .segol-vip .site-dashboard .site-admin-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .segol-vip .site-dashboard table.site-admin-report-table { min-width: 26rem; }
}
.site-admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 8px;
    margin: 0;
}
.site-admin-metrics > div {
    padding: 10px 12px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}
.site-admin-metrics dd {
    margin: 4px 0 0;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    color: var(--site-accent);
}

/* Let content determine the panel height. The document handles long pages. */
.segol-vip .site-dashboard { grid-auto-rows: auto; grid-template-rows: none; }
.segol-vip .site-dashboard > .site-dashboard-content {
    contain: none;
    overflow: visible;
}
.segol-vip .site-dashboard-content > :is(#kontent,#wiwodcontent) {
    flex: 1 1 auto;
    align-items: stretch;
}
.segol-vip .site-dashboard-content > :is(#kontent,#wiwodcontent) > .cont-right > .right-cont-text {
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
}
.segol-vip .site-dashboard .right-cont-text:is(.tech-right,.pay-right) {
    grid-template-rows: auto;
}
.segol-vip .site-dashboard :is(
    .tech-block-left,.tech-block-right,.pay-content-left,.pay-content-right,
    .site-paged-rows,.site-admin-output,.site-dealer-history,#dilert,
    .setting-wrap > #setustan,.setting-wrap > #setustand,#dilerwiiwod2 .setting-wrap
) {
    block-size: auto;
    max-block-size: none;
    overflow: visible;
}

.segol-vip :is(.site-public-content,.site-dashboard-content) .site-table-scroll {
    overflow: visible;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) .site-table-scroll > table {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    margin-inline: 0;
}
.segol-vip :is(.site-public-content,.site-dashboard-content) .site-table-scroll :is(th,td) {
    white-space: normal;
    overflow-wrap: anywhere;
}
.segol-vip .site-public-content .right-cont-text {
    box-sizing: border-box;
    overflow: visible;
}

.segol-vip .site-dashboard [data-payment-preview] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    line-height: 1.45;
}
.segol-vip .site-dashboard [data-payment-preview] .webmoney-count {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.segol-vip .site-dashboard [data-payment-preview] .webmoney-count img:first-child {
    max-width: min(100%, 10rem);
    height: auto;
}
.segol-vip .site-dashboard [data-payment-preview] table {
    width: 100%;
    margin: 0 0 12px;
    table-layout: fixed;
}
.segol-vip .site-dashboard [data-payment-preview] :is(td, .payment-text) {
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard [data-payment-preview] .payment-text { margin: 10px 0 0; }
.segol-vip .site-dashboard [data-payment-preview] button {
    width: min(100%, 24rem);
    height: auto;
    min-height: 42px;
    padding: 6px 12px;
    white-space: normal;
}
.segol-vip .site-dashboard .pay-content-left { container: payment / inline-size; }
@container payment (max-width: 480px) {
    .site-payment-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .site-payment-fields button { grid-column: 1 / -1; grid-row: 3; }
}

.segol-vip .site-dashboard .site-device-list .site-device {
    flex-wrap: wrap !important;
    overflow: visible !important;
}
.segol-vip .site-dashboard .site-device-list .site-device > .site-device-end {
    max-width: 100%;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-columns {
    grid-template-rows: auto;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-columns > .site-channel-panel {
    max-height: none;
    overflow: visible !important;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-grid {
    flex: 1 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}
.segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-pages {
    flex-wrap: wrap !important;
}
@media (max-width: 620px) {
    .segol-vip :is(.site-public-content,.site-dashboard-content) .site-table-scroll :is(th,td) {
        padding-inline: 4px;
    }
    .segol-vip .site-dashboard .site-device-list .site-device > li.site-device-end {
        flex-wrap: wrap !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device :is(.site-device-action,li > a) {
        height: auto !important;
        white-space: normal !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device .site-device-key {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
}

/* Keep the footer aligned across result pages. Only the rows may overflow. */
@media (min-width: 851px) {
    .segol-vip .site-dashboard > .site-dashboard-content:has(
        .site-admin-report, .site-paged-rows
    ) {
        contain: size;
    }
    .segol-vip .site-dashboard .site-admin-output:has(> .site-admin-report) {
        overflow: hidden;
    }
    .segol-vip .site-dashboard .site-admin-report > .site-table-scroll,
    .segol-vip .site-dashboard .tech-right .site-paged-rows {
        min-block-size: 0;
        overflow-y: auto;
        scrollbar-width: thin;
    }
}
.segol-vip .site-dashboard .site-admin-report-table :is(th,td) {
    padding-block: 6px;
    font-size: clamp(.875rem, .8rem + .22vw, 1.125rem) !important;
}
.segol-vip .site-dashboard .site-admin-report > nav,
.segol-vip .site-dashboard .site-channel-panel > nav,
.segol-vip .site-dashboard .site-device-list > nav {
    flex-shrink: 0;
    align-self: center;
    justify-self: center;
    margin: auto auto 0 !important;
}
.segol-vip .site-dashboard .site-device-list {
    display: flex;
    flex-direction: column;
}
@media (max-width: 850px) {
    .segol-vip .site-dashboard .site-admin-report { min-block-size: 10rem; }
}

.segol-vip .site-dashboard .site-admin-metrics {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.segol-vip .site-dashboard .site-admin-metrics dt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(.82rem, .74rem + .27vw, 1.1rem) !important;
}
.segol-vip .site-account .site-profile-details { min-width: 0; }
.segol-vip .site-account .site-profile-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
}
.segol-vip .site-account .site-inbox-indicator {
    display: inline-grid;
    place-items: center;
    padding: 0;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    flex: none;
    color: #fff;
}
.segol-vip .site-inbox-indicator[hidden] { display: none !important; }
.segol-vip .site-account .site-inbox-indicator .site-inbox-envelope {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 16px;
    height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    color: inherit;
    overflow: hidden;
    animation: site-inbox-turn 2.5s ease-in-out infinite;
}
.site-inbox-envelope::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateX(-50%) rotate(45deg);
}
@keyframes site-inbox-turn {
    0%, 45% { transform: rotateY(0deg); }
    85%, 100% { transform: rotateY(360deg); }
}
@keyframes site-mail-notice {
    25% { transform: rotate(-12deg); }
    65% { transform: rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) {
    .segol-vip .site-account .site-inbox-indicator .site-inbox-envelope { animation: none; }
}
@media (max-width: 1050px) {
    .segol-vip .site-dashboard .site-admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.segol-vip .site-dashboard .site-admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    height: auto;
}
.site-admin-heading h2 { margin: 0; font: inherit; color: inherit; }
.segol-vip .site-dashboard .site-admin-mail-notice[hidden] { display: none !important; }
.segol-vip .site-dashboard .site-admin-mail-notice {
    min-height: 36px;
    padding: 5px 10px;
    gap: 6px;
    color: var(--site-accent);
    background: var(--site-panel);
    border-color: var(--site-line);
    font-size: .88rem;
}
.site-admin-mail-notice i { animation: site-mail-notice 1.35s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    .site-admin-mail-notice i { animation: none; }
}
.segol-vip .site-dashboard dialog.site-admin-reply-dialog {
    width: min(49rem, calc(100% - 24px));
    padding: clamp(12px, 2vw, 22px);
}
.site-admin-reply-dialog [data-admin-reply-content] {
    display: grid;
    gap: 12px;
}
.segol-vip .site-dashboard .site-admin-reply-dialog .site-mail-dialog-head { margin-bottom: 10px; }
.segol-vip .site-dashboard .site-admin-reply-dialog .site-mail-dialog-head h3 {
    font-size: clamp(1.12rem, 2vw, 1.55rem) !important;
    line-height: 1.2;
    margin: 0;
}
.site-reply-original {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-raised);
}
.site-reply-sender {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 12px;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard .site-admin-reply-dialog .site-reply-original p {
    width: auto;
    height: auto;
    margin: 4px 0 0;
    padding: 0;
    text-align: start;
    line-height: 1.4;
    font-weight: 400;
}
.segol-vip .site-dashboard .site-admin-reply-dialog textarea {
    display: block;
    height: clamp(5rem, 19dvh, 9rem);
    min-height: 0;
    margin: 0;
}
.site-reply-actions { display: flex; align-items: center; gap: 8px; }
.site-reply-actions button { margin-inline-start: auto; }

.segol-vip .site-dashboard .site-mail [data-message-delete] > .fa { color: #b71932; font-size: 1.05rem; }

.segol-vip dialog:is(#segol-playlist-create,.site-playlist-confirm):not([open]) {
    display: none !important;
}
.site-playlist-confirm h2 { margin: 0 0 10px; }
.site-playlist-confirm p { margin: 0; line-height: 1.45; }
.site-playlist-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}
.segol-vip .site-playlist-confirm-actions .site-playlist-confirm-delete {
    background: #a51f3c;
    border-color: #a51f3c;
    color: #fff;
}

.segol-vip .site-account .site-admin-inbox-indicator {
    background: #9d4814;
    border-color: #9d4814;
    color: #fff;
}
.segol-vip .site-account .site-admin-inbox-indicator .site-inbox-envelope {
    animation-delay: .35s;
}
.segol-vip .site-account .site-profile-name { flex-wrap: wrap; }

@container equipment (max-width: 535px) {
    .segol-vip .site-dashboard .site-device-list .site-device {
        --device-button-size: 44px;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device > li {
        width: 100% !important;
        align-items: stretch !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device > li.site-device-end {
        grid-column: auto;
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 4px !important;
        align-items: stretch !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device .site-device-switch {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px !important;
        min-width: 0;
    }
    .segol-vip .site-dashboard .site-device-list .site-device > li > .site-device-action,
    .segol-vip .site-dashboard .site-device-list .site-device .site-device-switch button {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: var(--device-button-size) !important;
    }
}

/* Cabinet controls and surfaces */
.segol-vip .site-dashboard .site-device-list .site-device
    :is(.site-device-switch button, .site-device-delete) {
    box-sizing: border-box !important;
    inline-size: var(--device-button-size) !important;
    block-size: var(--device-button-size) !important;
    min-inline-size: var(--device-button-size) !important;
    max-inline-size: var(--device-button-size) !important;
    min-block-size: var(--device-button-size) !important;
    max-block-size: var(--device-button-size) !important;
    border-radius: 50% !important;
    padding: 0 !important;
}
@container equipment (max-width: 535px) {
    .segol-vip .site-dashboard .site-device-list .site-device > li.site-device-end {
        --device-button-size: clamp(26px, 8.6cqi, 44px);
        grid-template-columns: auto auto;
        justify-content: center !important;
        align-items: center !important;
        gap: 3px !important;
    }
    .segol-vip .site-dashboard .site-device-list .site-device .site-device-switch {
        grid-template-columns: repeat(2, var(--device-button-size));
        gap: 3px !important;
    }
}
.segol-vip .site-dashboard #setustan .site-promo-form,
.segol-vip .site-dashboard .site-dealer-actions:has(> input.balansus) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
}
.segol-vip .site-dashboard #setustan .site-promo-status {
    grid-column: 1 / -1;
    margin: 0;
}
.site-promo-status:empty, [data-broadcast-status]:empty { display: none; }
.segol-vip .site-dashboard :is(.site-promo-form,.site-admin-broadcast,.site-dealer-actions) :is(input:not([type="hidden"]),select,textarea) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    color: var(--site-text);
    background: var(--site-panel);
}
.segol-vip .site-dashboard :is(.site-promo-form,.site-admin-broadcast,.site-dealer-actions) .vip-pill {
    min-height: 42px;
    white-space: normal;
}
.segol-vip .site-dashboard :is(.tech-wrap-left,.tech-wrap-right,.pay-block-left,.pay-block-right,.site-dealer-card,.site-admin-output,.site-admin-tools) {
    background: linear-gradient(155deg, var(--site-raised), var(--site-panel) 50%);
}
.segol-vip .site-dashboard .site-account-history .date {
    padding-block: 4px;
    min-height: 35px !important;
    line-height: 1.25;
    gap: 3px 8px;
}
.segol-vip .site-dashboard .site-account-history .date :is(span,b) {
    font-size: clamp(.86rem, .75rem + .25vw, 1.1rem) !important;
}
.segol-vip .site-dashboard .site-account-history .date > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard :is(.site-dealer-card,.pay-block-left,.pay-block-right,.site-admin-tools .vip-pill) {
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
@media (hover: hover) {
    .segol-vip .site-dashboard :is(.site-dealer-card,.pay-block-left,.pay-block-right):hover {
        border-color: var(--site-accent);
        box-shadow: 0 3px 14px #421e9a19;
    }
    .segol-vip .site-dashboard .site-admin-tools .vip-pill:not([aria-pressed="true"]):hover {
        background: var(--site-raised);
        border-color: var(--site-accent);
    }
}
.segol-vip .site-dashboard :is(.site-dealer-card,.pay-block-left,.pay-block-right):focus-within {
    border-color: var(--site-accent);
}
.site-admin-broadcast {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
}
.site-admin-broadcast label { display: grid; gap: 5px; min-width: 0; }
.site-admin-broadcast :is(.site-broadcast-body,.site-broadcast-actions) { grid-column: 1 / -1; }
.site-admin-broadcast textarea { height: auto; resize: vertical; }
.site-broadcast-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.site-broadcast-actions button { margin-inline-start: auto; }
.segol-vip .site-dashboard .site-admin-output form[name="contactform"] {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 0;
}
.segol-vip .site-dashboard .site-admin-output form[name="contactform"] :is(.text_in_form, .oplkar, .popolnenie) {
    box-sizing: border-box;
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 !important;
}
.segol-vip .site-dashboard .site-admin-output form[name="contactform"] .oplkar {
    display: grid;
    gap: 4px;
}
.segol-vip .site-dashboard .site-admin-output form[name="contactform"] .popolnenie {
    padding: 8px 12px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: var(--site-panel);
    color: var(--site-text);
}
@media (max-width: 620px) {
    .site-admin-broadcast { grid-template-columns: minmax(0, 1fr); }
    .segol-vip .site-dashboard #setustan > .setting:has(.site-promo-form) {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (prefers-reduced-motion: reduce) {
    .segol-vip .site-dashboard :is(.site-dealer-card,.pay-block-left,.pay-block-right,.site-admin-tools .vip-pill) {
        transition: none;
    }
}

.segol-vip .site-dashboard .site-admin-user {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.site-admin-user-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: 6px;
    margin: 0;
}
.site-admin-user-summary > div {
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: var(--site-panel);
}
.site-admin-user-summary dt { color: var(--site-muted); }
.site-admin-user-summary dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.site-admin-user-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.segol-vip .site-dashboard .site-admin-user-tabs .vip-pill {
    min-height: 36px;
    padding: 5px 10px;
    white-space: normal;
}
.segol-vip .site-dashboard .site-admin-user-tabs [aria-pressed="true"] {
    outline: 2px solid var(--site-accent);
    outline-offset: 2px;
}
.segol-vip .site-dashboard [data-admin-user-result] nav {
    margin-inline: auto !important;
}
@media (min-width: 851px) {
    .segol-vip .site-dashboard > .site-dashboard-content:has(.site-admin-user) {
        contain: size;
    }
    .segol-vip .site-dashboard .site-admin-output:has(.site-admin-user) {
        overflow: auto;
        scrollbar-width: thin;
    }
}

.segol-vip .site-dashboard .admin-right,
.segol-vip .site-dashboard .site-admin-output,
.segol-vip .site-dashboard .site-admin-user,
.segol-vip .site-dashboard [data-admin-user-result] {
    min-inline-size: 0;
    max-inline-size: 100%;
    box-sizing: border-box;
}
.segol-vip .site-dashboard .site-admin-user-summary {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
}
.segol-vip .site-dashboard .site-admin-user-summary :is(dt,dd) {
    font-size: .9rem !important;
    line-height: 1.3;
}
.segol-vip .site-dashboard [data-admin-user-result] nav {
    flex: none;
    align-self: center;
}
.segol-vip .site-dashboard dialog.site-admin-direct-dialog {
    box-sizing: border-box;
    width: min(46rem, calc(100% - 24px));
}
.segol-vip .site-dashboard dialog.site-admin-direct-dialog textarea {
    height: clamp(5rem, 20dvh, 9rem);
    min-height: 0;
}
@media (min-width: 851px) {
    .segol-vip .site-dashboard > .site-dashboard-content:has(.admin-right-block) {
        contain: size;
        overflow: hidden;
    }
    .segol-vip .site-dashboard-content #kontent > .admin-right-block {
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }
    .segol-vip .site-dashboard-content #kontent > .admin-right-block > .admin-right {
        display: flex;
        flex: 1 1 0;
        min-height: 0;
        overflow: auto;
    }
    .segol-vip .site-dashboard .site-admin-output {
        flex: 1 1 0;
        min-height: 0;
        overflow: auto;
    }
    .segol-vip .site-dashboard .site-admin-output > .site-admin-user {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
    }
}

.segol-vip .site-dashboard .site-admin-user-head {
    display: grid;
    gap: 8px;
    padding: 10px;
    min-width: 0;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: var(--site-panel);
}
.site-admin-user-identity {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.site-admin-user-identity span { color: var(--site-muted); }
.segol-vip .site-dashboard .site-admin-user-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.segol-vip .site-dashboard .site-admin-user-summary > div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 7px;
    padding: 4px 8px;
    background: var(--site-raised);
}
.segol-vip .site-dashboard .site-admin-user-summary dd { margin: 0; font-weight: 650; }
.segol-vip .site-dashboard .site-admin-user-tabs {
    justify-content: center;
    padding: 6px 0;
}
.segol-vip .site-dashboard .site-admin-user-tabs .vip-pill { font-size: .9rem !important; }
.segol-vip .site-dashboard [data-admin-user-result]:not(:empty) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--site-line);
    padding-top: 8px;
}
.segol-vip .site-dashboard .site-account-history .date {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 6px 10px;
    gap: 4px 8px;
}
.segol-vip .site-dashboard .site-account-history .date > span {
    width: auto;
    min-width: 0;
    margin: 0;
    float: none;
    position: static;
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard .site-account-history .date > span:first-child { text-align: left; }
.segol-vip .site-dashboard .site-account-history .date > span:nth-child(2) {
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.segol-vip .site-dashboard .site-account-history .date > span:last-child { text-align: right; }
.segol-vip .site-dashboard .site-account-history .date :is(span,b) {
    font-size: clamp(.95rem, .87rem + .3vw, 1.22rem) !important;
    line-height: 1.28;
}

/* Keep the admin toolbar compact and reserve space for the result footer. */
.segol-vip .site-dashboard .admin-right {
    padding: clamp(8px, 1vw, 14px);
}
.segol-vip .site-dashboard .site-admin-search {
    grid-template-columns: minmax(0, 9rem) minmax(0, 18rem) auto;
    padding: 6px 8px;
    margin: 0;
    align-items: center;
}
.site-admin-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.segol-vip .site-dashboard .site-admin-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 6px 8px;
    margin-top: 6px;
}
.segol-vip .site-dashboard .site-admin-tools .vip-pill {
    flex: 1 0 auto;
    min-height: 36px;
    padding: 5px 9px;
    font-size: .86rem !important;
}
.segol-vip .site-dashboard .site-admin-output { margin-top: 6px; }
.segol-vip .site-dashboard [data-admin-user-result] > .site-table-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
}
.segol-vip .site-dashboard [data-admin-user-result] > .site-device-pagination {
    flex: 0 0 auto;
    align-self: center;
    margin: auto auto 0 !important;
}
@media (min-width: 851px) {
    .segol-vip .site-dashboard .admin-right > :is(.site-admin-search,.site-admin-tools) {
        flex: 0 0 auto;
    }
    .segol-vip .site-dashboard .site-admin-output > .site-admin-user {
        flex: 1 1 0;
        min-height: min-content;
    }
    .segol-vip .site-dashboard .site-admin-user > :is(.site-admin-user-head,.site-admin-user-tabs) {
        flex: 0 0 auto;
    }
    .segol-vip .site-dashboard [data-admin-user-result]:not(:empty) {
        flex: 1 1 auto;
        min-height: 9rem;
    }
    .segol-vip .site-dashboard [data-admin-user-result]:has(> .site-table-scroll) {
        contain: size;
    }
}
@media (max-width: 480px) {
    .segol-vip .site-dashboard .site-admin-search {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    }
    .segol-vip .site-dashboard .site-admin-search > button { grid-column: 1 / -1; }
    .segol-vip .site-dashboard .site-admin-tools .vip-pill {
        flex-basis: calc(50% - 5px);
        white-space: normal;
    }
}

.segol-vip .site-dashboard .site-admin-user-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
    width: 100%;
}
.segol-vip .site-dashboard .site-admin-user-tabs .vip-pill { justify-content: center; }
.segol-vip .site-dashboard .site-admin-user-head { width: 100%; box-sizing: border-box; }
.segol-vip .site-dashboard .site-admin-user-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
}
.segol-vip .site-dashboard .site-admin-user-summary > div { justify-content: space-between; }
.segol-vip .site-dashboard .site-admin-settings {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    width: 100%;
    margin: 0;
    gap: 8px;
}
.segol-vip .site-dashboard .site-admin-settings-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    align-content: start;
    gap: 8px 10px;
    min-height: 0;
    min-width: 0;
}
.site-admin-settings-fields label { display: grid; gap: 4px; min-width: 0; }
.segol-vip .site-dashboard .site-admin-settings-fields :is(input,select) {
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 38px;
    box-sizing: border-box;
    margin: 0;
    padding: 6px 9px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: var(--site-panel);
    color: var(--site-text);
}
.site-admin-form-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    flex: 0 0 auto;
    border-top: 1px solid var(--site-line);
    padding-top: 8px;
}
.site-admin-form-footer button { margin-inline-start: auto; }
.segol-vip .site-dashboard [data-admin-user-note] textarea {
    height: clamp(68px, 14dvh, 110px);
    min-height: 0;
    margin: 0;
}
.segol-vip .site-dashboard [data-admin-user-note] > button { justify-self: end; }
@media (min-width: 851px) {
    .segol-vip .site-dashboard .site-admin-settings {
        flex: 1 0 auto;
        justify-content: space-between;
    }
    .segol-vip .site-dashboard .site-admin-output:has(> .site-admin-settings) {
        overflow: auto;
    }
}

.segol-vip .site-dashboard .site-admin-empty-result {
    display: grid;
    place-content: center;
    justify-items: center;
    flex: 1 0 auto;
    gap: 7px;
    min-height: 6rem;
    padding: 8px;
    text-align: center;
    color: var(--site-muted);
}
.segol-vip .site-dashboard .site-admin-empty-result .fa {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--site-raised);
    color: var(--site-accent);
    font-size: 1.25rem;
}

.segol-vip .site-dashboard {
    width: calc(100% - 2 * clamp(8px, 1.1vw, 24px));
}
.segol-vip .site-dashboard .site-account-nav .poht > .site-account-label {
    white-space: nowrap;
}
.segol-vip .site-dashboard #setustan > .setting:has(.site-android-store, .site-email-switch) {
    grid-template-columns: minmax(0, 1fr) auto;
}
.segol-vip .site-dashboard #setustan > .setting:has(.site-android-store, .site-email-switch) > .option-right {
    justify-self: end;
    width: auto;
}
.segol-vip .site-dashboard .site-android-store {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-inline: 8px;
    white-space: nowrap;
}
.segol-vip .site-dashboard .site-android-store svg { flex: none; }
.segol-vip .site-dashboard .site-email-switch {
    --device-button-size: 2.875rem;
}
.segol-vip .site-dashboard .site-email-switch button {
    font-size: .8125rem !important;
    white-space: nowrap;
}
.segol-vip .site-dashboard .site-email-switch button[data-email-setting="0"][aria-pressed="true"] {
    --switch-border: #c40020;
    --switch-ring: #ff9eaa;
    background: #e60026;
}
.segol-vip .site-dashboard .site-email-switch button:disabled { cursor: wait; }
.segol-vip .site-dashboard .site-email-status {
    grid-column: 1 / -1;
    color: var(--switch-ink, #952b40);
}

.segol-vip :is(a[href], area[href], button, summary, label[for], label:has(input:is([type="checkbox"], [type="radio"], [type="file"]):enabled), [role="button"], [onclick], .ui-button, .dropdown-toggle,
    input:is([type="button"], [type="submit"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), select):not(:disabled, [aria-disabled="true"]) {
    cursor: pointer !important;
}

.segol-vip .site-msx-heading .site-msx-logo {
    display: grid;
    grid-auto-flow: column;
    place-content: center;
    box-sizing: border-box;
    inline-size: 2.35rem;
    block-size: 2.35rem;
    flex: none;
    border-radius: 50%;
    background: #222040;
    color: #fff;
    font-weight: 800;
}
.segol-vip .site-msx-heading .site-msx-logo,
.segol-vip .site-msx-heading .site-msx-logo span {
    font-size: .72rem !important;
}
.segol-vip .site-msx-logo span { color: #76ddff; }
.segol-vip .site-android-store:hover { filter: brightness(1.12); }
.segol-vip .site-dashboard #setustan > .setting.site-connection-setting {
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    align-items: center;
    gap: clamp(4px, 1vw, 14px);
}
.segol-vip .site-dashboard #setustan .site-msx-heading,
.segol-vip .site-dashboard #setustan .site-connection-address {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    min-width: 0;
    margin: 0;
}
.segol-vip .site-dashboard #setustan .site-connection-address {
    justify-content: flex-end;
    text-align: end;
    width: 100%;
}
.segol-vip .site-dashboard #setustan .site-msx-logo {
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .segol-vip .site-dashboard #setustan > .setting.site-connection-setting {
        grid-template-columns: minmax(0, 1fr) minmax(0, 54%);
    }
    .segol-vip .site-dashboard #setustan .site-connection-address :is(strong, a) {
        font-size: clamp(.88rem, 3.8vw, 1.15rem) !important;
    }
}
.segol-vip .site-dashboard .site-connection-address :is(strong, a) {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem) !important;
    font-weight: 700;
    color: var(--site-accent);
    overflow-wrap: anywhere;
}
.segol-vip .site-connection-address a { text-decoration: underline; }

@media (min-width: 851px) {
    .segol-vip .site-dashboard .site-admin-report-fill > .site-table-scroll { flex: 1 1 auto; }
    .segol-vip .site-dashboard .site-admin-report-fill > .site-table-scroll > table { height: 100%; }
    .segol-vip .site-dashboard .site-admin-report-fill thead { height: 1%; }
}

.segol-vip .site-dashboard table.site-onlinepin-table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 5px;
}
.segol-vip .site-dashboard .site-onlinepin-table :is(th,td) {
    padding: 4px clamp(2px, .7vw, 10px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(.72rem, .68rem + .36vw, 1rem) !important;
}
.segol-vip .site-dashboard .site-onlinepin-table th:first-child { width: 9%; }
.segol-vip .site-dashboard .site-onlinepin-table th:nth-child(3),
.segol-vip .site-dashboard .site-onlinepin-table th:nth-child(5) { width: 12%; }
.segol-vip .site-dashboard .site-onlinepin-table th:nth-child(6) { width: 23%; }
.segol-vip .site-dashboard .site-onlinepin-table th:last-child { width: 12%; }
.segol-vip .site-dashboard .site-onlinepin-table tbody td {
    background: var(--site-panel);
    border-block: 1px solid var(--site-line);
}
.segol-vip .site-dashboard .site-onlinepin-table tbody td:first-child {
    border-inline-start: 1px solid var(--site-line);
    border-radius: 999px 0 0 999px;
    padding-inline-start: 7px;
}
.segol-vip .site-dashboard .site-onlinepin-table tbody td:last-child {
    border-inline-end: 1px solid var(--site-line);
    border-radius: 0 999px 999px 0;
    text-align: center;
}
.segol-vip .site-dashboard .site-onlinepin-code {
    display: flex;
    align-items: center;
    gap: clamp(2px, .6vw, 8px);
}
.segol-vip .site-dashboard .site-onlinepin-table td span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: inherit !important;
}
.segol-vip .site-dashboard .site-onlinepin-table .vip-pill {
    display: inline-grid;
    place-items: center;
    width: clamp(20px, 2.5vw, 32px);
    min-height: 0;
    aspect-ratio: 1;
    flex: none;
    padding: 0;
    font-size: .75rem !important;
}
.segol-vip .site-dashboard [data-onlinepin-delete]:not([hidden]) {
    background: #fae7ec;
    color: #982941;
    border-color: #e5a0ad;
}

.segol-vip .site-dashboard .site-admin-account-controls {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(2px, .7vw, 8px);
    min-width: 0;
}
.segol-vip .site-dashboard .site-admin-control-card {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: end;
    gap: 4px;
    min-width: 0;
    padding: clamp(2px, .6vw, 8px);
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-raised);
    text-align: center;
}
.segol-vip .site-dashboard .site-admin-control-label {
    color: var(--site-text);
    font-size: clamp(.65rem, .55rem + .55vw, 1rem) !important;
    overflow-wrap: anywhere;
}
.segol-vip .site-dashboard .site-admin-control-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1px, .35vw, 5px);
    min-width: 0;
}
.segol-vip .site-dashboard .site-admin-account-controls .vip-pill {
    display: grid;
    place-items: center;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 28px;
    padding: 2px clamp(2px, .45vw, 8px);
    color: var(--site-accent);
    background: var(--site-panel);
    font-size: clamp(.57rem, .5rem + .48vw, .9rem) !important;
    white-space: nowrap;
}
.segol-vip .site-dashboard .site-admin-account-controls [data-account-action="balance"] {
    width: 28px;
    flex-shrink: 0;
    font-size: 1rem !important;
}
.segol-vip .site-dashboard .site-admin-account-controls [aria-pressed="true"] {
    color: #fff;
    background: #14674c;
    border-color: #14674c;
}
.segol-vip .site-dashboard .site-admin-account-controls [data-account-state="0"][aria-pressed="true"] {
    color: #fff;
    background: #982941;
    border-color: #982941;
}
.segol-vip .site-dashboard .site-admin-account-controls button:hover:not(:disabled) {
    filter: brightness(.9);
}
.segol-vip .site-dashboard .site-admin-control-actions [data-account-balance] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: clamp(.64rem, .55rem + .55vw, 1.15rem) !important;
}
@media (max-width: 520px) {
    .segol-vip .site-dashboard .site-admin-control-card:first-child .site-admin-control-actions {
        display: grid;
        justify-items: center;
        justify-content: stretch;
    }
    .segol-vip .site-dashboard .site-admin-control-actions [data-account-balance] {
        max-width: 100%;
    }
}

.segol-vip .site-dashboard .site-admin-control-card {
    border-radius: 14px;
    background: linear-gradient(160deg, var(--site-panel) 10%, var(--site-raised));
}
.segol-vip .site-dashboard .site-admin-control-label {
    font-weight: 650;
    line-height: 1.15;
}
.segol-vip .site-dashboard .site-admin-control-card:not(:first-child) .site-admin-control-actions {
    justify-self: center;
    padding: 2px;
    background: var(--site-panel);
    border: 1px solid var(--site-line);
    border-radius: 9px;
    max-width: 100%;
    box-sizing: border-box;
}
.segol-vip .site-dashboard .site-admin-account-controls .vip-pill {
    border: 1px solid transparent;
    border-radius: 6px;
    min-height: 24px;
    box-shadow: none;
    background: transparent;
}
.segol-vip .site-dashboard .site-admin-account-controls [aria-pressed="true"] { background: #14674c; }
.segol-vip .site-dashboard .site-admin-account-controls [data-account-state="0"][aria-pressed="true"] { background: #982941; }
.segol-vip .site-dashboard .site-admin-account-controls [data-account-action="balance"] {
    border: 1px solid var(--site-line);
    background: var(--site-panel);
    font-weight: 750;
}
.segol-vip .site-dashboard .site-account-id {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.segol-vip .site-dashboard .site-copy-id {
    display: inline-grid;
    place-items: center;
    min-height: 0;
    width: 26px;
    aspect-ratio: 1;
    flex: none;
    padding: 0;
    background: var(--site-panel);
    border: 1px solid var(--site-line);
    border-radius: 8px;
    color: var(--site-accent);
    font-size: .75rem !important;
}
.segol-vip .site-dashboard .site-dealer-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 9px;
    border-radius: 9px;
    background: var(--site-raised);
    color: var(--site-accent);
    font-size: .8rem !important;
}
.segol-vip .site-dashboard .site-dealer-toggle span { color: inherit; font-size: inherit !important; }
.segol-vip .site-dashboard .site-dealer-toggle[aria-pressed="true"] { color: #14674c; }
.segol-vip .site-dashboard .site-admin-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
}

.segol-vip .site-account-nav :is(#dileran, #diler)[hidden] { display: none !important; }
.segol-vip .site-dashboard .site-admin-search:has([data-dealer-visibility]) {
    grid-template-columns: minmax(0, 9rem) minmax(0, 18rem) auto auto;
}
.segol-vip .site-dashboard [data-dealer-visibility] {
    min-height: 36px;
    padding: 5px 9px;
    font-size: .82rem !important;
}
.segol-vip .site-dashboard [data-dealer-visibility] span { font-size: inherit !important; }
.segol-vip .site-dashboard [data-onlinepin-result]:not([hidden]) {
    color: #14674c;
    font-weight: 700;
    margin: 4px 8px;
}
.segol-vip .site-dashboard .site-onlinepin-delete-error { color: #982941; }
@media (max-width: 740px) {
    .segol-vip .site-dashboard .site-admin-search:has([data-dealer-visibility]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .segol-vip .site-dashboard .site-admin-search:has([data-dealer-visibility]) > button {
        grid-column: auto;
        justify-self: stretch;
    }
}

.segol-vip .site-dashboard #setustan a.site-android-store { color: #fff; }

/* Give both media grids a measurable area above their page controls. */
.segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-grid {
    flex: 1 1 0 !important;
    height: 0 !important;
    min-height: clamp(226px, 42dvh, 560px) !important;
    overflow: auto !important;
    scrollbar-width: thin;
}
@media (max-width: 850px) {
    .segol-vip .site-dashboard .site-channel-editor .site-channel-panel > .site-channel-grid {
        flex: none !important;
        height: clamp(226px, 44dvh, 440px) !important;
    }
}

.segol-vip .site-payment-methods {
    display: grid;
    gap: 8px;
}
.segol-vip .site-payment-method-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, .55fr) auto;
    align-items: center;
    gap: clamp(4px, 1vw, 10px);
    padding-block: 4px 8px;
    border-bottom: 1px solid var(--site-line);
}
.segol-vip .site-payment-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.segol-vip .site-payment-brand img {
    max-width: 100%;
    max-height: 36px;
    object-fit: contain;
}
.segol-vip .site-payment-method-row input:not([type="hidden"]) {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid var(--site-line);
    border-radius: 9px;
    background: var(--site-panel);
    color: var(--site-text);
}
.segol-vip .site-dashboard .site-payment-method-row :is(.vip-pill, .site-payment-brand) {
    font-size: clamp(.78rem, 1.15vw, 1rem) !important;
}
.segol-vip .site-dashboard .site-payment-method-row .vip-pill {
    white-space: nowrap;
    padding-inline: clamp(5px, 1vw, 14px);
}

.segol-vip :is(.vip-shell.tv-install, .site-public-nav.tv-install-nav) {
    width: calc(100% - 2 * clamp(12px, 1.8vw, 36px));
    max-width: none;
}
.segol-vip .site-public-nav.tv-install-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
    padding: 10px;
    margin-block: 14px;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: var(--site-panel);
}
.segol-vip .tv-install-nav a.vip-pill {
    min-height: 36px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--site-accent);
    box-shadow: none;
    font-size: .96rem;
}
.segol-vip .tv-install-nav a.vip-pill:hover { background: var(--site-raised); }
.segol-vip .tv-install-nav a.vip-pill[aria-current="page"] {
    background: var(--vip-action);
    color: #fff;
}
.segol-vip .tv-install {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 38px);
    margin-block: 18px 34px;
}
.segol-vip .tv-install :is(.tv-install-hero, .tv-install-panel) {
    box-sizing: border-box;
    min-width: 0;
    border-radius: clamp(14px, 2vw, 26px);
}
.segol-vip .tv-install-hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 3vw, 44px);
    padding: clamp(24px, 4.5vw, 78px);
    background: radial-gradient(ellipse at 83% 24%, #5849ac, transparent 63%), linear-gradient(125deg, #221236, #322069 65%, #192e58);
    color: #fff;
}
.segol-vip .tv-install-hero img { display: block; width: 100%; height: auto; }
.segol-vip .tv-install h1 {
    margin: 0;
    max-width: 13ch;
    font-size: clamp(2.05rem, 4.65vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.segol-vip .tv-install h2 { margin: 0; color: var(--site-accent); font-size: clamp(1.35rem, 2.4vw, 2.15rem); }
.segol-vip .tv-install h3 { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.segol-vip .tv-install p { margin: 8px 0 14px; }
.segol-vip .tv-install-intro p { margin-block: 18px 26px; color: #ece1ff; font-size: clamp(1.05rem, 1.6vw, 1.4rem); }
.segol-vip .tv-install-panel {
    padding: clamp(18px, 3vw, 48px);
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.55;
    border: 1px solid var(--site-line);
    background: linear-gradient(145deg, var(--site-panel), var(--site-raised));
    scroll-margin-top: 20px;
}
.segol-vip .tv-device-grid, .segol-vip .tv-guide {
    display: grid;
    gap: clamp(14px, 1.8vw, 28px);
}
.segol-vip .tv-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.segol-vip .tv-guide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.segol-vip .tv-device-card, .segol-vip .tv-guide li {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 15px;
    background: var(--site-panel);
}
.segol-vip .tv-device-card img {
    display: block;
    width: 100%;
    height: clamp(175px, 19vw, 330px);
    object-fit: cover;
    object-position: center 61%;
    background: #281745;
}
.segol-vip .tv-device-copy, .segol-vip .tv-guide li { padding: clamp(16px, 2vw, 32px); }
.segol-vip .tv-install .tv-device-store { margin: 4px 0; color: var(--site-accent); font-weight: 700; }
.segol-vip .tv-install a:not(.vip-pill) { color: var(--site-accent); text-underline-offset: .2em; }
.segol-vip .tv-install-other { margin-top: 16px; }
.segol-vip .tv-install-other summary { color: var(--site-accent); font-weight: 650; }
.segol-vip .tv-guide { margin: 16px 0 0; padding: 0; list-style: none; }
.segol-vip .tv-guide-screen {
    display: grid;
    justify-items: start;
    gap: 4px;
    min-height: clamp(150px, 13vw, 220px);
    align-content: center;
    padding: clamp(14px, 2vw, 28px);
    margin-bottom: 12px;
    background: linear-gradient(140deg, #492c83, #18142e);
    border: 3px solid #6c5194;
    border-radius: 10px;
    color: #fff;
}
.segol-vip .tv-guide li:nth-child(2) .tv-guide-screen { background: linear-gradient(140deg, #1d5b83, #151a3c); }
.segol-vip .tv-guide li:nth-child(3) .tv-guide-screen { background: linear-gradient(140deg, #792e78, #301847); }
.segol-vip .tv-guide-screen span { color: #e2ccff; font-size: .85rem; }
.segol-vip .tv-guide-screen strong { font-size: 1.18rem; }
.segol-vip .tv-guide-screen small { padding: 3px 8px; border-radius: 5px; background: #d3b2ff; color: #241138; font-weight: 750; }
.segol-vip .tv-install code { padding: .12em .35em; border-radius: 5px; background: var(--site-panel); }
.segol-vip .tv-install-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.segol-vip .tv-install .tv-install-primary { background: var(--vip-action); color: #fff; }
.segol-vip .tv-install .tv-install-secondary { background: transparent; color: #fff; border-color: #b6a0d4; }
@media (max-width: 720px) {
    .segol-vip :is(.tv-install-hero, .tv-device-grid, .tv-guide) { grid-template-columns: minmax(0, 1fr); }
    .segol-vip .tv-install-hero img { max-width: 500px; justify-self: center; }
}

.segol-vip:has(.tv-install) .head .site-actions :is(button, a.vip-pill) {
    border-radius: 999px;
    min-height: 38px;
    font-weight: 650;
}

.segol-vip .head .site-actions .tv-connect-link {
    min-height: 44px;
    background: #180e43a6;
    color: var(--vip-ink);
    border-color: #c4afe89c;
    border-radius: 999px;
}
.segol-vip .head .site-actions .tv-connect-link:is(:hover, [aria-current="page"]) { background: #50348e; }
.segol-vip .tv-install .tv-install-android {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    background: linear-gradient(130deg, #eef7ff, #ece4ff);
}
.segol-vip .tv-install-android img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 16px;
}
.segol-vip .tv-install-other + .tv-install-actions { margin-top: 16px; }
@media (max-width: 720px) {
    .segol-vip .tv-install .tv-install-android { grid-template-columns: minmax(0, 1fr); }
}

.segol-vip .contact-dialog.site-contact-methods {
    width: min(840px, calc(100% - 24px));
}
.segol-vip .site-contact-methods .contact-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 1.6vw, 18px);
    margin-top: clamp(12px, 2vw, 24px);
}
.segol-vip .site-contact-methods .contact-channel {
    align-content: start;
    padding: clamp(10px, 1.6vw, 18px);
    text-align: center;
    box-shadow: 0 5px 16px #2b185b12;
}
.segol-vip .site-contact-methods a.contact-channel:hover {
    box-shadow: 0 5px 16px #5731a12b;
}
.segol-vip .site-contact-methods .contact-channel-email small {
    color: #604780;
    font-weight: 500;
    overflow-wrap: anywhere;
}
@media (max-width: 520px) {
    .segol-vip .site-contact-methods .contact-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .segol-vip .site-contact-methods .contact-channel-email { grid-column: 1 / -1; }
}

.segol-vip .site-footer-links {
    flex: 1 1 32rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.segol-vip .site-footer-links .vip-pill {
    color: #fff;
    background: #251849;
    border-color: #b6a1d5;
    min-height: 40px;
    padding: 6px 12px;
}
.segol-vip .site-footer-links .vip-pill:is(:hover, [aria-current="page"]) { background: #6042a0; }
.segol-vip .site-info-page {
    display: grid;
    gap: 16px;
    margin-block: 20px 34px;
}
.segol-vip .site-info-hero,
.segol-vip .site-info-panel {
    padding: clamp(18px, 4vw, 48px);
    border-radius: 22px;
}
.segol-vip .site-info-hero {
    color: #fff;
    background: radial-gradient(ellipse at 85% 20%, #5b4596, transparent 70%), #23153d;
}
.segol-vip .site-info-hero > .fa { font-size: 1.65rem; color: #dfc7ff; }
.segol-vip .site-info-hero h1 {
    margin: 8px 0;
    font-size: clamp(1.8rem, 3.8vw, 3.75rem);
    line-height: 1.12;
}
.segol-vip .site-info-hero p { max-width: 62ch; font-size: clamp(1rem, 1.5vw, 1.3rem); color: #eee3ff; }
.segol-vip .site-info-panel {
    border: 1px solid var(--site-line);
    background: var(--site-panel);
}
.segol-vip .site-info-panel summary { font-weight: 700; color: var(--site-accent); }
.segol-vip .site-info-original { max-width: 90ch; margin-top: 16px; overflow-wrap: anywhere; }
.segol-vip .site-info-original li { margin-block: 6px; }
.segol-vip .site-info-original img { max-width: 100%; height: auto; }
.segol-vip .site-info-panel .contact-channels { margin: 0; }
@media (max-width: 700px) {
    .segol-vip .site-footer-links { justify-content: flex-start; }
}

.segol-vip .vip-shell.site-info-page {
    width: calc(100% - 2 * clamp(12px, 1.8vw, 36px));
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    min-height: calc(100svh - 220px);
    align-content: start;
}
.segol-vip .site-info-page > * { min-width: 0; }
.segol-vip .site-info-original { max-width: none; }
.segol-vip .site-info-news time { color: var(--site-accent); font-weight: 650; }
.segol-vip .site-info-news h2 { margin: 8px 0; font-size: clamp(1.35rem, 2.5vw, 2.25rem); }
.segol-vip .site-info-news p { max-width: 88ch; margin-bottom: 20px; }

.segol-vip .site-dashboard .site-device-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.segol-vip .site-dashboard .site-device-toolbar .site-device-info {
    margin-inline-start: auto;
    border-color: #f0a2b3;
    background: linear-gradient(120deg, #be2448, #941a40);
    color: #fff;
}
.segol-vip .site-dashboard .site-device-toolbar .site-device-info:hover { background: #99193e; }
.segol-vip .site-dashboard .contact-dialog.site-device-guide {
    width: min(940px, calc(100% - 24px));
}
.segol-vip .site-device-guide .contact-panel { padding: clamp(12px, 2.5vw, 24px); }
.segol-vip .site-device-guide video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 73dvh;
    aspect-ratio: 16 / 9;
    margin-top: 12px;
    background: #221643;
    border-radius: 14px;
}
