* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: #172033;
    color: #e6edf5;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
a { color: #8ec8ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 16px; }
.site-header { margin-bottom: 16px; }
.logo { width: auto; max-width: 280px; max-height: 78px; height: auto; display: block; }
.wordmark {
    display: block;
    color: #f3e2bc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 12px 0 4px;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px 14px; border-top: 2px solid #d4a24c; padding-top: 10px; margin-top: 8px; }
.nav a { color: #d5deea; }
.nav a.active, .nav span.active { color: #f3e2bc; font-weight: 700; text-decoration: none; }
.nav-buttons { gap: 8px; }
.nav-buttons a, .nav-buttons span.active {
    color: #e6edf5;
    background: #24344d;
    border: 1px solid #3d5270;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.nav-buttons a:hover { color: #fff; background: #314158; text-decoration: none; }
.nav-buttons a.active, .nav-buttons span.active { color: #172033; background: #f0b429; border-color: #f0b429; cursor: default; }
.main { background: #1c283c; border: 1px solid #314158; padding: 20px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; color: #f3e2bc; margin: 0 0 12px; }
h1 { font-size: 32px; }
h2 { font-size: 24px; margin-top: 28px; }
p { margin: 0 0 12px; }
.member-username { margin: -6px 0 12px; font-size: 13px; color: #9aabbf; }
.lead { font-size: 18px; }
.banner, .flash { padding: 10px 12px; margin: 0 0 12px; border: 1px solid #314158; }
.banner { background: #24344d; }
a.btn-return {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 14px;
    background: #e10600;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
a.btn-return:hover { color: #fff; background: #b50500; text-decoration: none; }
a.btn-pay {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 16px;
    background: #1f9d55;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
a.btn-pay:hover { color: #fff; background: #178746; text-decoration: none; }
.flash-ok { background: #163628; color: #b7f0d0; }
.flash-error { background: #3a1d24; color: #ffc9c9; }
.site-footer { color: #9aabbf; font-size: 13px; padding: 14px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.login-links { margin-top: 28px; }
.btn, button, input[type="submit"] {
    background: #f0b429;
    color: #172033;
    border: 0;
    padding: 8px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    border-radius: 999px;
}
.btn.secondary, button.secondary { background: #314158; color: #e6edf5; }
button.secondary:disabled { background: #6b7785; color: #d5dde6; cursor: not-allowed; }
button.btn-payout { background: #1f9d55; color: #fff; }
button.btn-payout:disabled { background: #6b7785; color: #d5dde6; cursor: not-allowed; }
a.btn:hover { text-decoration: none; }
label { display: block; margin: 12px 0 4px; color: #d5deea; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="file"], select, textarea {
    width: 100%;
    max-width: 520px;
    background: #121a29;
    color: #e6edf5;
    border: 1px solid #314158;
    padding: 8px;
    font: inherit;
}
textarea { min-height: 140px; }
.form-narrow { max-width: 520px; }
.join-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 420px);
    gap: 24px;
    align-items: start;
}
.join-graphic { grid-column: 1; grid-row: 1; width: 100%; height: 704px; display: block; border-radius: 8px; }
.join-form-col { grid-column: 2; grid-row: 1; }
.join-form-col .form-narrow,
.join-form-col input[type="text"],
.join-form-col input[type="email"],
.join-form-col input[type="password"] { max-width: 100%; }
#join-form { display: flex; flex-direction: column; gap: 12px; }
#join-form input[type="text"],
#join-form input[type="email"],
#join-form input[type="password"] { display: block; margin: 0; }
@media (max-width: 800px) {
    .join-layout { grid-template-columns: 1fr; }
    .join-form-col { grid-column: 1; grid-row: 1; }
    .join-graphic { grid-column: 1; grid-row: 2; }
}
.listing-box { margin-top: 8px; padding: 16px 18px 6px; background: #121a29; border: 1px solid #d4a24c; border-radius: 8px; }
.ap-balance, .pay-standout { color: #f0b429; font-size: 28px; font-weight: 700; }
.form-submit { margin-top: 24px; }
.form-narrow > p:last-child,
.ad-card > p:last-child,
form input[type="text"] + p,
form input[type="email"] + p,
form input[type="password"] + p,
form input[type="number"] + p,
form input[type="url"] + p,
form input[type="file"] + p,
form textarea + p,
form select + p { margin-top: 24px; }
.ad-warning {
    margin: 16px 0 20px;
    padding: 18px 16px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #e10600;
    background: #121a29;
    border: 3px solid #daa520;
    border-radius: 8px;
}
.listing-box h2 { margin-top: 0; }
.listing-box .row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.listing-box .row-actions a { margin-right: 0; }
.listing-box .row-actions form { margin: 0; }
.listing-box .row-actions .btn,
.listing-box .row-actions button { padding: 6px 10px; font-size: 14px; }
.pay-box { border: 1px solid #314158; background: #121a29; padding: 12px 16px; margin: 12px 0; }
.pay-box p { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #314158; vertical-align: top; }
th { color: #f3e2bc; font-weight: 600; }
.gravatar { border-radius: 4px; display: block; }
.gravatar-note { font-size: 22px; }
.num { text-align: right; white-space: nowrap; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.slot {
    width: 132px;
    min-height: 108px;
    border: 1px solid #314158;
    background: #121a29;
    padding: 8px;
    text-align: center;
}
.slot-open { border-style: dashed; color: #9aabbf; display: flex; align-items: center; justify-content: center; }
.slot img { border-radius: 4px; }
.slot-name { font-weight: 700; margin-top: 4px; word-break: break-word; }
.slot-meta { color: #9aabbf; font-size: 12px; }
.slot-compact { width: 84px; min-height: 72px; padding: 4px; }
.slot-compact img { width: 32px; height: 32px; }
.slot-compact .slot-name { font-size: 11px; line-height: 1.2; }
.slot-compact .slot-meta { display: none; }
.matrix-scroll { overflow-x: auto; padding-bottom: 8px; }
.matrix-tree { display: flex; justify-content: center; min-width: max-content; padding: 4px 8px 12px; }
.matrix-tree ul { display: flex; justify-content: center; position: relative; list-style: none; margin: 0; padding: 16px 0 0; }
.matrix-tree li { display: flex; flex-direction: column; align-items: center; position: relative; list-style: none; margin: 0; padding: 16px 4px 0; }
.matrix-tree li::before, .matrix-tree li::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 16px; border-top: 1px solid #7f93a8; }
.matrix-tree li::after { right: auto; left: 50%; border-left: 1px solid #7f93a8; }
.matrix-tree li:only-child { padding-top: 0; }
.matrix-tree li:only-child::before, .matrix-tree li:only-child::after { display: none; }
.matrix-tree li:first-child::before, .matrix-tree li:last-child::after { border: 0 none; }
.matrix-tree li:last-child::before { border-right: 1px solid #7f93a8; }
.matrix-tree li:first-child::after { border-radius: 6px 0 0 0; }
.matrix-tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; width: 0; height: 16px; border-left: 1px solid #7f93a8; }
.matrix-tree > ul { padding-top: 0; }
.matrix-tree > ul::before { display: none; }
.matrix-tree .slot {
    width: max-content;
    min-width: 0;
    min-height: 0;
    padding: 3px;
}
.matrix-tree .slot img { width: 32px; height: 32px; }
.matrix-tree .slot-name,
.matrix-tree .slot-meta { white-space: nowrap; }
.matrix-tree .slot-name { margin-top: 2px; word-break: normal; overflow-wrap: normal; }
body.theme-screen .wrap {
    max-width: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 8px;
}
body.theme-screen .logo { width: auto; max-width: 280px; max-height: 64px; }
body.theme-screen .site-header { margin-bottom: 8px; }
body.theme-screen .main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: transparent;
    border: 0;
    padding: 0;
}
body.theme-screen .site-footer { padding: 8px 0 4px; }
.network-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.network-bar h1 { margin: 0 0 4px; font-size: 28px; }
.network-bar p { margin: 0; }
.network-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.network-tools .is-on { outline: 2px solid #f3e2bc; }
.network-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    align-items: center;
    margin: 0 0 10px;
}
.network-meta .chip { margin: 0; }
.network-label { color: #9aabbf; font-size: 13px; margin-right: 8px; }
.network-upline { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.network-stage {
    flex: 1 1 auto;
    min-height: 320px;
    overflow: auto;
    border: 1px solid #314158;
    background: #1c283c;
    padding: 16px 12px;
}
.network-canvas { position: relative; margin: 0 auto; }
.network-canvas .matrix-tree { width: max-content; }
.network-canvas.is-scaled .matrix-tree {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    transform-origin: top left;
}
.chip { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; }
.site-list { margin: 0 0 16px; padding-left: 20px; }
.downline-summary { margin: 4px 0 16px; }
.downline-summary p { margin: 0; }
.downline-summary p:first-child { margin-bottom: 4px; }
.downline-level { display: flex; gap: 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.stat { background: #121a29; border: 1px solid #314158; padding: 12px 14px; min-width: 140px; }
a.stat { display: block; color: #e6edf5; text-decoration: none; }
a.stat:hover { text-decoration: none; border-color: #f0b429; }
.stat strong { display: block; font-size: 22px; color: #f3e2bc; }
.ad-card { border: 1px solid #314158; background: #121a29; padding: 16px; margin: 12px 0; }
.ad-card img { max-width: 100%; height: auto; }
.asset-card { border: 1px solid #314158; background: #121a29; padding: 16px; margin: 12px 0; }
.asset-card h2 { margin-top: 0; }
.asset-card img { width: auto; max-width: 100%; height: auto; display: block; margin-top: 8px; }
.asset-card img.splash-preview, .banner-block img.splash-preview { width: 300px; height: 200px; max-width: 300px; object-fit: contain; }
.banner-block { margin: 28px 0; }
.banner-block h2 { font-size: 22px; margin-bottom: 8px; }
.banner-block img { display: block; width: auto; max-width: 100%; height: auto; margin: 8px 0 12px; }
.banner-block input[type="text"],
.banner-block textarea { width: 100%; max-width: 100%; }
.banner-block textarea { min-height: 72px; }
.asset-card .actions { margin-bottom: 0; }
.asset-item { margin-top: 16px; padding-top: 16px; border-top: 1px solid #314158; }
.asset-item:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.faq-figure { margin: 18px 0 0; }
.faq-figure img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: 8px; }
.ad-line { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #314158; }
.ad-member { flex: 0 0 auto; color: #f3e2bc; font-size: 13px; white-space: nowrap; }
.pager { margin-top: 16px; }
.ad-line > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-actions { display: flex; flex-flow: row nowrap; align-items: center; gap: 8px; flex: 0 0 auto; margin: 0 0 0 auto; }
.ad-actions .btn,
.ad-actions button { padding: 6px 10px; font-size: 14px; white-space: nowrap; }
.ad-actions button:disabled { background: #6b7785; color: #d5dde6; cursor: not-allowed; }
.ad-line form { display: flex; align-items: center; gap: 8px; margin: 0; flex: 0 0 auto; }
.ad-line input[type="text"] { width: 180px; max-width: 180px; margin: 0; }
.row-actions a { margin-right: 10px; }
.status { font-size: 13px; color: #f3e2bc; }
@media (max-width: 700px) {
    h1 { font-size: 26px; }
    .main { padding: 14px; }
    table { font-size: 14px; }
}
body.theme-public { background: #e7eef6; color: #102033; }
body.theme-public a { color: #0c4ea2; }
body.theme-public .wrap { max-width: 1180px; padding-top: 0; }
body.theme-public .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 18px;
    padding: 14px max(16px, calc(50vw - 590px)) 10px;
    background: #071833;
    border-bottom: 3px solid #e0b15a;
}
body.theme-public .brand { display: flex; align-items: center; gap: 14px; }
body.theme-public .tagline {
    margin: 0;
    color: #d7e4f5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 12px;
}
body.theme-public .nav { margin: 0; padding: 0; border: 0; justify-content: flex-end; }
body.theme-public .nav a { color: #f4f7fb; }
body.theme-public .nav a.active, body.theme-public .nav span.active { color: #f6c445; text-decoration: underline; text-underline-offset: 4px; }
body.theme-public .main {
    background: #fff;
    color: #102033;
    border: 1px solid #d5e0ec;
    border-radius: 16px;
}
body.theme-public .main h1,
body.theme-public .main h2,
body.theme-public .main h3 { color: #0c2348; }
body.theme-public .main th { color: #0c2348; }
body.theme-public .main th,
body.theme-public .main td { border-bottom-color: #d5e0ec; }
body.theme-public .ad-card { color: #e6edf5; }
body.theme-public .main .ad-card h2 { color: #f3e2bc; margin-top: 0; }
body.theme-public label { color: #1c3348; }
body.theme-public .muted { color: #5c6e82; }
body.theme-public input[type="text"],
body.theme-public input[type="email"],
body.theme-public input[type="password"],
body.theme-public input[type="number"],
body.theme-public input[type="url"],
body.theme-public input[type="file"],
body.theme-public select,
body.theme-public textarea {
    background: #fff;
    color: #102033;
    border-color: #b7c6d8;
}
body.theme-public .theme-foot {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-top: 22px;
    padding: 18px max(16px, calc(50vw - 590px)) 22px;
    background: #071833;
    color: #d7e4f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
body.theme-public .foot-brand { color: #f6c445; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
body.theme-public .foot-links { letter-spacing: 0.12em; font-size: 12px; font-weight: 700; }
body.theme-public .foot-slogan { color: #f6c445; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 22px; }
body.theme-home .main { background: transparent; border: 0; padding: 0; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.9fr) minmax(160px, 210px);
    grid-template-areas:
        "copy scene points"
        "copy slogan slogan";
    gap: 16px;
    align-items: center;
    background: linear-gradient(100deg, #071833 0%, #16386a 46%, #d4922d 100%);
    color: #fff;
    border-radius: 18px;
    padding: 22px 18px 22px 26px;
    margin-bottom: 14px;
}
.hero-copy { grid-area: copy; }
.hero-scene { grid-area: scene; align-self: end; }
.hero-points { grid-area: points; }
.hero-kicker {
    margin: 0 0 6px;
    color: #f6c445;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 36px;
    line-height: 1.1;
}
body.theme-home .hero h1 {
    color: #fff;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 8px;
}
body.theme-public .steps a,
body.theme-public .steps a:hover { color: #fff; }
body.theme-public .pkg a,
body.theme-public .pkg a:hover { color: #fff; }
.hero p { margin: 0 0 14px; }
.hero-join { border-radius: 999px; padding: 10px 22px; color: #172033; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 8px; flex-wrap: wrap; }
.hero-offer { display: block; width: 300px; max-width: 100%; height: auto; margin: 0; }
a.hero-join { color: #172033; }
.hero-scene img { width: 100%; height: auto; display: block; border-radius: 12px; }
.hero .hero-promise {
    grid-area: slogan;
    margin: 0;
    color: #ffe500;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    -webkit-text-stroke: 3px #111;
    paint-order: stroke fill;
    text-shadow: 2px 2px 0 #111;
}
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-left: 42px;
    min-height: 34px;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1f6feb center / 16px no-repeat;
}
.hero-points .tone-1::before { background-color: #1f9d55; }
.hero-points .tone-2::before { background-color: #7a3ff2; }
.hero-points .tone-5::before { background-color: #e0b15a; }
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #071833;
    border-radius: 12px;
    margin: 0 0 14px;
    overflow: hidden;
}
.steps a {
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 14px 8px;
}
.steps a:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.steps strong { display: block; color: #f6c445; letter-spacing: 0.08em; font-size: 13px; }
.home-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.95fr 0.95fr 0.8fr;
    gap: 12px;
    align-items: stretch;
}
.panel {
    background: #fff;
    color: #102033;
    border: 1px solid #d5e0ec;
    border-radius: 16px;
    padding: 16px;
}
.panel h2 {
    color: #0c4ea2;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.panel-lead { color: #5c6e82; font-size: 14px; }
.panel .fine { color: #5c6e82; font-size: 12px; margin: 10px 0 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pkg { border-radius: 10px; padding: 8px 6px; text-align: center; color: #fff; }
.pkg .days { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.pkg .price { font-size: 20px; font-weight: 800; line-height: 1.2; }
.pkg .ap { font-size: 12px; }
.pkg a {
    display: inline-block;
    margin-top: 6px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.pkg.tone-0 { background: #1f6feb; }
.pkg.tone-1 { background: #1f9d55; }
.pkg.tone-2 { background: #7a3ff2; }
.pkg.tone-3 { background: #e07a12; }
.pkg.tone-4 { background: #d64545; }
.pkg.tone-5 { background: #163a73; }
.point-steps { margin: 8px 0 12px; padding-left: 18px; }
.point-steps li { margin: 0 0 8px; }
.point-steps strong { display: block; }
.pay-levels { list-style: none; margin: 10px 0; padding: 0; }
.pay-levels li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f7fc;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 0 0 8px;
}
.pay-levels strong { color: #0c4ea2; font-size: 22px; }
.success-panel {
    background: #071833 url("../images/IBOR_hero.jpg") center / cover no-repeat;
    color: #fff;
    position: relative;
}
.success-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 51, 0.78);
    border-radius: inherit;
}
.success-panel > * { position: relative; }
body.theme-home .success-panel h2 { color: #f6c445; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: normal; font-size: 26px; line-height: 1.15; text-transform: none; letter-spacing: 0; }
.checks { list-style: none; margin: 0 0 12px; padding: 0; }
.checks li { margin: 0 0 6px; padding-left: 18px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #8ee0a8; font-weight: 800; }
@media (max-width: 980px) {
    .hero, .home-grid { grid-template-columns: 1fr; }
    .hero { grid-template-areas: "copy" "scene" "points" "slogan"; }
    .hero .hero-promise { white-space: normal; }
    .steps { grid-template-columns: 1fr 1fr; }
    .hero-points { flex-direction: row; flex-wrap: wrap; }
}
body.theme-rotator { background: #e7eef6; color: #102033; }
body.theme-rotator .wrap { max-width: none; padding: 0; min-height: 100vh; display: flex; flex-direction: column; }
body.theme-rotator .main {
    background: transparent;
    color: #102033;
    border: 0;
    border-radius: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.theme-rotator .flash { margin: 12px auto 0; width: min(760px, calc(100% - 32px)); }
.rotator-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px max(16px, calc(50vw - 560px));
    background: #071833;
    border-bottom: 3px solid #e0b15a;
}
.rotator-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rotator-logo { height: 54px; width: auto; max-width: 220px; display: block; }
.rotator-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #e0b15a; background: #071833; }
body.theme-rotator a.rotator-name { color: #f6c445; font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1; text-decoration: none; }
.rotator-by { color: #d7e4f5; font-size: 13px; line-height: 1.25; }
.rotator-by strong { display: block; color: #fff; font-size: 16px; }
input.rotator-link { width: min(420px, 70vw); max-width: 420px; margin: 0; padding: 6px 8px; flex: 0 1 420px; }
.rotator-nav { display: flex; flex-wrap: wrap; gap: 8px; }
body.theme-rotator a.rotator-btn,
body.theme-rotator button.rotator-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 0;
    background: #f0b429;
    color: #172033;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
body.theme-rotator a.rotator-btn.quiet,
body.theme-rotator button.rotator-btn.quiet { background: #314158; color: #e6edf5; }
body.theme-rotator a.rotator-btn:hover,
body.theme-rotator button.rotator-btn:hover { text-decoration: none; filter: brightness(1.06); }
.rotator-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
}
.rotator-frame { flex: 1; width: 100%; min-height: calc(100vh - 84px); border: 0; background: #fff; }
.rotator-empty { margin: 0; padding: 48px 16px; text-align: center; color: #5c6e82; }
.rotator-report {
    width: min(760px, calc(100% - 32px));
    margin: 16px auto;
    background: #fff;
    border: 1px solid #d5e0ec;
    border-radius: 8px;
    padding: 16px 18px;
    text-align: left;
}
body.theme-rotator .rotator-report h2 { color: #0c2348; font-size: 24px; margin-top: 0; }
body.theme-rotator .rotator-report label { color: #1c3348; }
body.theme-rotator .rotator-report textarea {
    width: 100%;
    min-height: 90px;
    background: #fff;
    color: #102033;
    border: 1px solid #b7c6d8;
}
body.theme-rotator .rotator-report a { color: #0c4ea2; }
@media (max-width: 700px) {
    .rotator-logo { height: 42px; }
}
