/* Owner's 16-slide review: shared geometry and real connected states. */
body[data-ui] .content,body[data-ui] .content *{box-sizing:border-box;min-width:0}
body[data-ui] .content{overflow-wrap:break-word;word-break:keep-all}
body[data-ui] button,body[data-ui] input,body[data-ui] select,body[data-ui] textarea{font:inherit}
body[data-ui] dialog.connected-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:24px;width:min(480px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);overflow-x:hidden;overflow-y:auto;box-sizing:border-box;background:#fff;box-shadow:0 24px 90px #12283f55;color:#162c42}
body[data-ui] dialog.connected-dialog::backdrop{background:#10233b99;backdrop-filter:blur(3px)}
body[data-ui] dialog.connected-dialog *,body[data-ui] dialog.connected-dialog .modal{box-sizing:border-box;min-width:0;max-width:100%}
body[data-ui] dialog.connected-dialog .modal{position:static;transform:none;width:100%;margin:0;padding:26px;overflow:visible;border:0;border-radius:0;box-shadow:none;max-height:none;background:#fff}
body[data-ui] dialog h3{font-size:22px;line-height:1.4;margin:0 0 12px}
body[data-ui] dialog p,body[data-ui] dialog .sub{font-size:14px;line-height:1.65;white-space:normal}
body[data-ui] dialog fieldset{margin:0;padding:0;border:0}
body[data-ui] dialog input[type=number]{width:100%;padding:12px;border:1px solid #d9e2ec;border-radius:12px;text-align:center;font-size:20px;font-weight:800}
body[data-ui] .modal-actions{display:flex;gap:10px;margin-top:18px}
body[data-ui] .modal-actions button,body[data-ui] dialog button[data-close-dialog]{min-height:44px;padding:11px 16px;border:1px solid #dbe3ec;border-radius:12px;background:#f4f7fa;color:#243e57;font-weight:700;cursor:pointer}
body[data-ui] .modal-actions button{flex:1}
body[data-ui] .modal-actions .confirm{background:#ff2949;color:white;border-color:#ff2949}
body[data-ui] button:disabled{cursor:not-allowed;opacity:.48}
.pick-heading{display:flex;align-items:center;gap:14px;margin-bottom:22px}.pick-heading>span{font-size:38px;background:#fff3cf;padding:10px;border-radius:18px}.pick-heading small{color:#75869a}.pick-heading h3{margin:4px 0!important}
.pick-summary{display:grid;grid-template-columns:1fr 1fr;background:#f4f7fb;border-radius:16px;padding:16px;gap:12px}.pick-summary label{display:block;color:#677f96;font-size:12px}.pick-summary strong{display:block;font-size:20px;margin-top:6px}
.pick-state{padding:12px 14px;border-radius:12px;background:#fff5dc;color:#765015;font-size:14px;line-height:1.6;margin:16px 0}.quantity-control{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;margin:10px 0}.quantity-control button,.quantity-shortcuts button{border:1px solid #dce4ed;border-radius:12px;background:#f5f8fc;font-weight:800;padding:10px}.quantity-shortcuts{display:flex;gap:8px}.quantity-shortcuts button{flex:1}.pick-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e5eaf0;margin-top:20px;padding-top:18px}.pick-total strong{font-size:26px;color:#f42d49}
body[data-ui] .home-gift-banner{display:flex;align-items:center;position:relative;margin:18px 0 26px;padding:25px 22px;min-height:180px;border:1px solid #ffc79b;border-radius:22px;background:linear-gradient(115deg,#fff3d1,#ffe2cc);overflow:hidden}.home-gift-banner>div{position:relative;z-index:1;max-width:75%}.home-gift-banner h2{font-size:23px;line-height:1.4}.home-gift-banner p{font-size:15px;line-height:1.6}.home-gift-banner img{position:absolute;right:-20px;bottom:-45px;width:165px;opacity:.8}.home-gift-banner .gift-banner-cta{display:inline-flex;background:#ff2949;color:#fff;padding:10px 18px;border-radius:12px;font-weight:800;margin-top:10px}
body[data-ui] .mini-machine b,body[data-ui] .mini-card b,body[data-ui] .machine-minis b{font-size:14px}
body[data-ui] .arena-strip{background:#fff0b9!important;color:#26364a!important;border:1px solid #ffe28a}
body[data-ui] .arena-strip strong{font-size:30px!important;color:#182e46!important}.arena-strip span{font-size:15px!important;color:#536276!important}
body[data-ui] footer,body[data-ui] .footer{font-size:14px!important;line-height:1.8}body[data-ui] footer a,body[data-ui] .footer a{font-size:14px!important}
body[data-ui] .category-bar{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;scrollbar-width:thin;padding-bottom:8px}body[data-ui] .category-bar>*{flex-shrink:0;white-space:nowrap}
body[data-ui] .list-toolbar .meta{font-size:15px;color:#18324c;font-weight:800}
body[data-ui] .machine-card .price{font-size:18px;font-weight:900}
.performance-note{border:1px solid #d5e9ee;background:#ecf7f6;border-radius:14px;padding:16px;color:#31585d;font-size:14px;line-height:1.6;margin:22px 0}
body[data-ui] .compare-row{grid-template-columns:100px 1fr 48px;font-size:15px;gap:10px;margin:18px 0}body[data-ui] .compare-row .bar,body[data-ui] .compare-row .bar i{height:13px;border-radius:8px}.random-badge{font-size:13px!important}
.performance-table-wrap{width:100%;overflow-x:auto}.performance-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.performance-table th,.performance-table td{padding:14px 5px;text-align:center;border-bottom:1px solid #edf0f5;font-size:14px;white-space:nowrap}.performance-table thead{background:#f4f7fb;color:#64758b}.performance-table th:first-child{width:16%}.performance-table th:last-child{width:18%}.performance-table td strong{color:#ee3650}.history-card{padding:4px!important;overflow:hidden}
.empty-state{padding:32px 20px!important;text-align:center;color:#687f94;line-height:1.7;border:1px dashed #dce4eb;border-radius:18px;background:#f8fafc}.empty-state>span{font-size:40px}.empty-state h3{color:#1c354f;font-size:18px}
body[data-ui] .league-hero{position:relative;overflow:hidden;padding-right:140px;min-height:210px}.league-stadium{position:absolute;right:10px;top:45px;font-size:100px;filter:drop-shadow(0 8px 20px #0004)}.podium>.empty-state{grid-column:1/-1}.league-list>.card:not(.league-row){padding:28px;text-align:center}.round-results{padding:24px;line-height:1.8;background:#fff6df!important}
.community-gate{padding:20px!important}.comment-form{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin:8px 0 24px}.comment-form textarea{width:100%;min-height:108px;border:1px solid #dae2eb;border-radius:14px;padding:14px;resize:vertical}.comment-form button{border:0;border-radius:11px;padding:12px 20px;background:#ff2949;color:#fff;font-weight:800}.comment-login{display:block;text-align:center;background:#eff5f9;border-radius:14px;padding:24px;margin-bottom:20px;color:#234764;font-weight:700}.comment-item{padding:22px 0;border-top:1px solid #e5ebf1;line-height:1.7}.comment-item>p:first-child{font-size:12px;color:#718499}.comment-item>p:nth-child(2){white-space:pre-wrap;font-size:15px;color:#263d52}.comment-item button,.comment-item select,[data-community-content]>select,[data-community-content]>nav button{border:1px solid #e1e7ee;background:#f5f8fa;border-radius:9px;padding:7px 10px;color:#516d84;margin:4px 5px 4px 0;font-size:12px}
body[data-ui] .gift-wrap{font-size:15px;line-height:1.65}.gift-hero{padding:28px!important;background:linear-gradient(120deg,#fff4da,#ffe9de)!important;text-align:left}.gift-hero>b{font-size:23px;line-height:1.45;display:block}.gift-hero p{color:#7c6656;margin-top:10px}.gift-type-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px}.gift-type{padding:26px!important;border:1px solid #f5dfba!important;text-align:left!important}.gift-type .ico{font-size:38px}.gift-type h2{font-size:22px}.gift-type p{font-size:15px}.gift-type .go{display:block;color:#ec354f;font-weight:800;margin-top:12px}.gift-machine-banner{display:flex;gap:18px;align-items:center;padding:24px;border-radius:20px;background:#17334c;color:#fff;text-decoration:none}.gift-machine-banner>span{font-size:48px}.gift-machine-banner h2{font-size:19px;margin:0 0 8px}.gift-machine-banner p{font-size:14px;color:#c0d5e5;line-height:1.7}.gift-machine-banner b{color:#ffda72}
.gift-policy{padding:24px!important;background:#f4f8fb!important;font-size:15px;line-height:1.7}.gift-policy-row{display:flex;gap:15px;margin:16px 0}.gift-policy-row i{font-style:normal;font-size:25px}.gift-policy-row b{font-size:17px}.gift-history-link{display:block;text-align:center;padding:15px 20px;background:#fff;border:1px solid #dce4ed;border-radius:14px;font-weight:800;color:#23435c;margin:16px 0}
body[data-ui] .gift-primary{display:block;width:100%;border:0;background:#ff2949;color:#fff;border-radius:14px;text-align:center;padding:16px 20px;font-weight:800;font-size:17px;text-decoration:none;margin:12px 0;cursor:pointer}
.gift-page-title{font-size:26px;margin:8px 0 22px}.gift-steps{display:flex;justify-content:space-between;gap:6px;border-bottom:1px solid #e1e7ee;padding:12px 0 22px;margin-bottom:24px}.gift-step{display:flex;align-items:center;gap:7px;font-size:13px;color:#8b9bab}.gift-step i{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dfe5ec;color:#fff;font-style:normal;font-weight:800}.gift-step.on{color:#f52e49;font-weight:800}.gift-step.on i{background:#ff2949}.gift-step.done i{background:#2da988}
.gift-wrap .form-group{margin:24px 0}.gift-wrap .form-group label{display:block;font-weight:800;font-size:17px}.gift-wrap .gift-input,.gift-wrap .gift-textarea{display:block;width:100%;margin-top:12px;padding:14px;border:1px solid #d7e1eb;border-radius:14px;background:#fff;font-size:16px}.gift-wrap .gift-textarea{min-height:140px;resize:vertical}.gift-wrap .counter{text-align:right;font-size:12px;color:#7c8da0;margin-top:6px}.quick-msgs{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.quick-msgs button{padding:8px 12px;background:#fff;border:1px solid #e0e7ef;border-radius:10px;color:#506881}
.gift-preview{padding:24px!important;background:#fff!important}.gift-preview-head{display:flex;gap:14px;align-items:center;margin-bottom:18px}.gift-preview-head .ico{font-size:36px}.gift-preview-head h3{margin:0;font-size:21px}.gift-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff7e9;border-radius:14px;padding:18px;font-size:17px;line-height:1.7;min-height:65px}.gift-from{text-align:right;padding:12px 4px;color:#687e92}.gift-games{padding:12px!important}.gift-game{display:flex;align-items:center;gap:9px;padding:13px 8px;margin:6px 0;background:#f6f9fc;border:1px solid #e9eef4;border-radius:12px;flex-wrap:wrap}.gift-no{font-size:13px;font-weight:800;color:#75899c;flex:0 0 22px}.gift-game .myballs{display:flex;gap:6px;flex-wrap:nowrap;align-items:center;flex:1}.gift-game .myball{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;font-size:14px;font-weight:800;color:#172b3c;background:#ffd85c}.gift-game .myball.b{background:#43b4f6;color:#fff}.gift-game .myball.r{background:#ff5969;color:#fff}.gift-game .myball.g{background:#a7b4c0;color:#fff}.gift-game .myball.gr{background:#65c48f;color:#fff}.gift-source{font-size:12px;color:#7a8ea1}.gift-source small{display:block}.gift-check{accent-color:#ff2949;width:18px;height:18px}.gift-wrap [data-gift-step]>button[data-gift-next]{display:block;width:100%;padding:13px;border:1px solid #dce4ec;background:#fff;border-radius:13px;color:#476077;font-weight:700}.gift-wrap [data-gift-step="3"] .gift-preview>p{font-size:14px;line-height:1.55;margin:10px 0}.gift-wrap [data-gift-step="4"]{text-align:center}.gift-wrap [data-gift-step="4"] .gift-hero{text-align:center;padding:42px 24px!important}.gift-wrap [data-gift-step="4"] .ico{font-size:70px}
.gift-history{padding:8px 20px!important}.gift-history-row{display:flex;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid #e8edf3}.gift-history-row>.ico{font-size:30px}.gift-history-row>div:nth-child(2){flex:1}.gift-history-row h3{font-size:17px;margin:0}.gift-history-row p{margin:5px 0;color:#688198}.gift-history-row small{color:#91a0af}.gift-history-row>span{font-size:12px;padding:5px 9px;border-radius:20px;background:#eaf6ef;color:#2b8064;white-space:nowrap}
body[data-ui] .results-wrap{font-size:15px}.results-wrap .result-tabs{display:flex;gap:8px;margin:18px 0}.results-wrap .result-tab{flex:1;text-align:center;border:1px solid #dfe6ed;padding:12px;border-radius:12px;background:white;color:#60768a;font-weight:800}.results-wrap .result-tab.on{background:#17334c;color:white;border-color:#17334c}.results-wrap .round-nav{display:flex;align-items:center;gap:10px;padding:14px 18px;background:white;border-radius:16px;margin-top:20px}.results-wrap .round-current{flex:1;font-weight:800}.results-wrap select{border:0;background:#f5f8fb;padding:9px;border-radius:8px}.results-wrap .round-nav button{padding:10px 18px;background:#fff1bc;border:0;border-radius:10px;font-weight:700}.results-wrap .draw-date{text-align:center;color:#7a8d9f;margin:15px 0}.winning-balls,.result-balls{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:nowrap}.winning-balls{padding:25px 14px;background:#fff;border-radius:20px;margin:16px 0;min-height:100px}.result-ball{display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#ffdb58;font-size:16px;font-weight:800;color:#213447}.result-ball.b{background:#41b3f9;color:#fff}.result-ball.r{background:#ff576a;color:#fff}.result-ball.g{background:#aab8c6;color:#fff}.result-ball.gr{background:#66c18c;color:#fff}.winning-balls .result-ball{width:42px;height:42px;flex-basis:42px;font-size:19px}.result-entry-grid,.result-kpis,.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.result-entry-grid>.card,.result-kpi,.analysis-card{padding:20px!important}.result-entry-grid strong{display:block;font-size:20px;margin:10px 0}.result-entry-grid p{color:#7890a2;font-size:14px;line-height:1.7}.result-entry-grid a{font-size:14px;font-weight:800;color:#25877d}.eyebrow{color:#7a90a2;font-size:13px}.prize-table{width:100%;table-layout:fixed;border-collapse:collapse;background:white;border-radius:14px;overflow:hidden}.prize-table td,.prize-table th{font-size:13px;padding:14px 6px;border-bottom:1px solid #e8eef4;text-align:center}.prize-table th{background:#edf3f8;color:#6b7e93}.prize-table .prize-rank{font-weight:800;color:#ea6b30}.machine-result-card{display:flex;align-items:center;gap:14px;padding:20px!important;margin:10px 0}.machine-result-card>div:nth-child(2){flex:1}.machine-result-card h3{font-size:18px;margin:0 0 7px}.machine-result-card p{font-size:13px;line-height:1.7;color:#7c8da0}.machine-result-total strong{font-size:22px;display:block}.machine-result-total span{font-size:12px;color:#8297a8}.league-link{display:block;padding:16px;background:#ecf7f2;color:#268568;border-radius:13px;text-align:center;font-weight:700;margin-top:14px}.analysis-grid,.result-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-card label,.result-kpi label{display:block;color:#728a9d;font-size:12px}.analysis-card strong,.result-kpi strong{display:block;font-size:22px;margin:10px 0}.analysis-card small{color:#8195a5}.my-result-hero2{padding:26px!important;background:#fff5d9!important;margin:20px 0}.my-result-hero2 .state{font-size:23px;font-weight:900}.my-result-hero2 p{color:#82745a;line-height:1.6}.best-game,.result-game-row{display:flex;align-items:center;gap:8px;padding:16px 10px!important;border:0;border-bottom:1px solid #edf1f5;background:#fff;width:100%;margin:6px 0}.result-game-no,.best-rank{font-size:12px;color:#7c8a9d;width:24px}.result-game-source{font-size:11px;color:#8194a6}.result-match,.best-match{margin-left:auto;font-size:13px;white-space:nowrap}.full-result-list{padding:10px!important}.full-result-list>p{padding:30px;text-align:center;color:#7b90a3}
body[data-page="content"] .btn-primary,body[data-page="content"] .primary,body[data-page="content"] .button-primary{background:#19866a!important;border-color:#19866a!important;color:#fff!important}
@media(max-width:600px){body[data-ui] .machine-list{grid-template-columns:1fr!important}body[data-ui] .machine-card p{font-size:15px!important;line-height:1.7}body[data-ui] .beginner-grid h3,body[data-ui] .guide-grid b{min-height:2.8em;line-height:1.4}body[data-ui] dialog.connected-dialog .modal{padding:22px 18px}.gift-preview{padding:17px!important}.gift-game{gap:5px}.gift-game .myballs{gap:4px}.gift-game .myball{width:29px;height:29px;flex-basis:29px;font-size:13px}.gift-source{width:100%;padding-left:50px}.performance-table th,.performance-table td{font-size:12px;padding:13px 2px}.results-wrap .result-ball{width:29px;height:29px;flex-basis:29px;font-size:13px}.results-wrap .winning-balls .result-ball{width:36px;height:36px;flex-basis:36px;font-size:17px}.result-balls{gap:4px}.result-game-source{display:none}.result-kpi,.analysis-card{padding:14px 9px!important}.result-kpi strong{font-size:19px}.result-entry-grid{grid-template-columns:1fr}.gift-steps{gap:3px}.gift-step{font-size:12px;gap:5px}.league-hero{padding-right:95px!important}.league-stadium{font-size:76px;right:4px}.arena-strip strong{font-size:24px!important}}

.manual-selected{display:flex;justify-content:center;gap:8px;padding:12px!important}.manual-selected .ball{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#ffd85d;color:#24354a!important;font-size:15px!important;font-weight:800}.manual-selected .ball.empty{background:#edf2f7;color:#8a9aad!important}
body[data-ui] dialog.connected-dialog .modal,body[data-ui] dialog.connected-dialog .sheet{width:100%!important;max-width:100%!important}
.league-stadium{width:150px;height:130px;background:url('/assets/v14/arena-bg.svg') center/cover;border-radius:70px 20px 60px 20px;display:grid;place-items:center;font-size:50px!important}
body[data-ui] dialog .sheet{padding:24px;position:static;transform:none;width:100%;box-sizing:border-box}.auth-card>.auth-primary{display:block;text-align:center;text-decoration:none;padding:14px;border-radius:12px}

.results-wrap .round-current{display:flex;align-items:center;justify-content:center;gap:12px;height:auto!important;border:0;background:transparent}.results-wrap .round-current select{width:auto;min-width:100px}.guide-cta{background:#18876b!important;color:white!important;border-color:#18876b!important}.guide-chevron{color:#18876b}.league-stadium{opacity:.85;pointer-events:none}@media(max-width:600px){.league-stadium{width:90px;height:110px;font-size:44px!important}}

.podium:has(>.podium-card:only-child){grid-template-columns:1fr}.podium:has(>.podium-card:only-child) .podium-card{display:grid;grid-template-columns:70px 1fr;align-items:center;text-align:left;gap:8px;padding:24px}.podium:has(>.podium-card:only-child) .podium-icon{grid-row:1/5}.podium-card h3{font-size:16px!important}.league-metrics{font-size:14px!important}.league-score strong{font-size:23px!important}.league-name-text h3{font-size:16px!important}@media(max-width:600px){.league-row{grid-template-columns:32px 1fr 65px!important;gap:10px!important}.league-row>.league-metrics{grid-column:2;grid-row:2}.league-row>.league-score{grid-column:3;grid-row:1/3}.league-row>.league-pos{grid-column:1;grid-row:1/3}}

/* Machine listing type scale: identical on desktop and mobile. Layout stays in existing rules. */
body[data-page="machines"] .machine-list .machine-card{font-size:14px}
body[data-page="machines"] .machine-list .machine-card h3{font-size:18px!important;font-weight:700;line-height:1.4}
body[data-page="machines"] .machine-list .machine-card .copy{font-size:14px!important;line-height:1.55!important}
body[data-page="machines"] .machine-list .tag{font-size:12px!important}
body[data-page="machines"] .machine-list .performance span{font-size:13px!important}
body[data-page="machines"] .machine-list .performance strong{font-size:15px!important;font-weight:700}
body[data-page="machines"] .machine-list .price{font-size:17px!important;font-weight:700}
body[data-page="machines"] .machine-list .pick-btn,
body[data-page="machines"] .machine-list .detail-link{font-size:14px!important;font-weight:700}
body[data-page="machines"] .machine-list .rank-badge{font-size:12px!important;font-weight:700}
body[data-page="machines"] .machine-list small{font-size:12px!important}
body[data-page="machines"] .page-title p,
body[data-page="machines"] .candidate-note,
body[data-page="machines"] .connected-state{font-size:14px!important;line-height:1.55}
body[data-page="machines"] .chip,
body[data-page="machines"] .list-toolbar .meta,
body[data-page="machines"] .sort{font-size:12px!important}
/* Shared real-history trend below the machine RANDOM comparison. */
body[data-ui="v14-exact"] .machine-trend-card{padding:20px}
body[data-ui="v14-exact"] .machine-trend-card .ppt-chart h4{margin-top:0}
@media(max-width:600px){body[data-ui="v14-exact"] .machine-trend-card{padding:16px}}

/* League name toggles and per-rank highlights. */
body[data-ui="v14-exact"] .league-name-control{flex:1;min-width:0;text-align:left}
body[data-ui="v14-exact"] .league-name-toggle{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:0;text-align:left;cursor:pointer;line-height:inherit}
body[data-ui="v14-exact"] .league-name-toggle:focus-visible{outline:2px solid #267aff;outline-offset:4px;border-radius:4px}
body[data-ui="v14-exact"] .ppt-league-body[hidden]{display:none!important}
body[data-ui="v14-exact"] .league-chart-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}
body[data-ui="v14-exact"] .league-chart-footer .ppt-chart-caption{margin:0;text-align:left;line-height:1.5;min-width:0}
body[data-ui="v14-exact"] .league-detail-link{color:#235da1;font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0;text-decoration:underline;text-underline-offset:3px}
body[data-ui="v14-exact"] .league-rank-value{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:4px 8px;border-radius:10px}
body[data-ui="v14-exact"] .league-rank-hit{font-weight:700}
body[data-ui="v14-exact"] .league-rank-hit-1{background:#b91c3c;color:#fff}
body[data-ui="v14-exact"] .league-rank-hit-2{background:#7043bd;color:#fff}
body[data-ui="v14-exact"] .league-rank-hit-3{background:#dce8ff;color:#174d99}

body[data-ui="v14-exact"] .league-rank-hit-4{background:#e2f1f0;color:#24635f}
body[data-ui="v14-exact"] .league-rank-hit-5{background:#edf1f6;color:#52657b}

body[data-ui="v14-exact"] .ppt-league-row .league-name-toggle{font-size:20px!important;line-height:1.4;font-weight:700!important}
@media(max-width:600px){body[data-ui="v14-exact"] .ppt-league-row .league-name-toggle{font-size:17px!important}}

/* Quick menu: equal row spacing without offset divider borders. */
body[data-ui="v14-exact"] .rail-mini{gap:8px}
body[data-ui="v14-exact"] .rail-mini>strong{margin-bottom:4px}
body[data-ui="v14-exact"] .rail-mini>a{border:0;min-height:48px;padding:12px;align-items:center;border-radius:8px;line-height:1.6}
body[data-ui="v14-exact"] .rail-mini>a[aria-current]{padding:12px}


/* Comment publishing: avatar | left-aligned content | owner controls. */
body[data-ui="v14-exact"] .story-comment{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:start;padding:18px 0;border-bottom:1px solid #dfe8f2;text-align:left}
body[data-ui="v14-exact"] .story-avatar{display:block;width:52px;height:52px;border-radius:50%;margin:0}
body[data-ui="v14-exact"] .story-main{min-width:0;text-align:left}
body[data-ui="v14-exact"] .story-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;line-height:1.5;text-align:left}
body[data-ui="v14-exact"] .story-meta strong{font-size:14px;color:#11233d;font-weight:700}
body[data-ui="v14-exact"] .story-meta time{font-size:13px;color:#7890b3}
body[data-ui="v14-exact"] .story-body{margin:3px 0 8px!important;text-align:left!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px!important;line-height:1.65!important;color:#172b49}
body[data-ui="v14-exact"] .story-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;text-align:left}
body[data-ui="v14-exact"] .story-tools{display:flex;gap:0;align-items:center;padding:0;margin-left:auto}
body[data-ui="v14-exact"] .story-tools button,body[data-ui="v14-exact"] .story-like{border:0;background:none;padding:0;margin:0;min-height:28px;box-shadow:none;cursor:pointer;font-size:13px;color:#6c85a8}
body[data-ui="v14-exact"] .story-tools button+button{margin-left:12px;padding-left:12px;border-left:1px solid #dce5f1;border-radius:0}
body[data-ui="v14-exact"] .story-like{display:inline-flex;align-items:center;gap:7px;color:#ff294c;font-weight:500}
body[data-ui="v14-exact"] .story-like svg{width:20px;height:20px;fill:currentColor}
body[data-ui="v14-exact"] .story-like:disabled{opacity:1;cursor:default}
body[data-ui="v14-exact"] .story-like[aria-pressed=true]{color:#d70c32;font-weight:700}
body[data-ui="v14-exact"] .story-report{font-size:13px;color:#7187a6}.story-report summary{cursor:pointer}.story-report select{max-width:130px}
body[data-ui="v14-exact"] .story-total{color:#164bff}
body[data-ui="v14-exact"] .story-pagination{display:flex;justify-content:center;align-items:center;gap:20px;padding:20px 0;font-size:13px;color:#7389aa}
body[data-ui="v14-exact"] .story-pagination button{display:grid;place-items:center;width:38px;height:38px;min-height:38px;margin:0;padding:0;border:1px solid #dce5f0;border-radius:10px;background:#fff;color:#627fa4;font-size:24px}
body[data-ui="v14-exact"] .story-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:600px){body[data-ui="v14-exact"] .story-comment{grid-template-columns:38px minmax(0,1fr);gap:8px 10px;padding:16px 0}body[data-ui="v14-exact"] .story-avatar{width:38px;height:38px}body[data-ui="v14-exact"] .story-tools{grid-column:2;justify-self:end;padding:0}body[data-ui="v14-exact"] .story-meta{gap:2px 8px}body[data-ui="v14-exact"] .story-meta time{font-size:12px}}

/* Shared detail header back navigation: centered, accessible touch target. */
body[data-ui="v14-exact"] .header .header-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:12px;line-height:1;color:#142c46;background:transparent;text-decoration:none;box-sizing:border-box;align-self:center}
body[data-ui="v14-exact"] .header .header-back svg{display:block;width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
@media(hover:hover) and (pointer:fine){body[data-ui="v14-exact"] .header .header-back:hover{background:#eef4fb}}
body[data-ui="v14-exact"] .header .header-back:focus-visible{outline:2px solid #267aff;outline-offset:2px}


/* Touch feedback: no browser blue flash; selected navigation and keyboard focus remain. */
@media(hover:none),(pointer:coarse){body[data-ui="v14-exact"],body[data-ui="v14-exact"] *{-webkit-tap-highlight-color:transparent}}
/* Home hero overlap: current round and four real service metrics. */
body[data-ui="v14-exact"] .home-round-summary{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:18px 14px;margin:0 0 12px;border-radius:20px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 3px 10px #142c4610;text-align:left}
body[data-ui="v14-exact"] .home-round-heading{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;border-right:1px solid #edf0f4;padding-right:10px;color:#112438}
body[data-ui="v14-exact"] .home-round-live{display:inline-flex;align-items:center;border-radius:20px;padding:3px 10px;background:#eaf0f6;color:#52657c;font-size:12px;font-weight:700;line-height:1.3}
body[data-ui="v14-exact"] .home-round-live.is-open{background:#ff2448;color:#fff}
body[data-ui="v14-exact"] .home-round-heading>strong{font-size:22px;font-weight:800;line-height:1.3;white-space:nowrap}
body[data-ui="v14-exact"] .home-round-date{font-size:12px;color:#7485a0;line-height:1.5}
body[data-ui="v14-exact"] .home-round-date i{font-style:normal;margin-left:4px}
body[data-ui="v14-exact"] .home-round-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:center}
body[data-ui="v14-exact"] .home-round-stat{display:flex;align-items:center;gap:8px;min-width:0;color:#132840;text-align:left}
body[data-ui="v14-exact"] .home-round-stat>div{min-width:0}
body[data-ui="v14-exact"] .home-round-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#fff6e1;color:#efa500}
body[data-ui="v14-exact"] .home-round-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body[data-ui="v14-exact"] .home-round-icon.blue{background:#eaf3ff;color:#2982ff}
body[data-ui="v14-exact"] .home-round-icon.green{background:#e8f7f0;color:#29b78c}
body[data-ui="v14-exact"] .home-round-icon.red{background:#fff0f3;color:#ff4260}
body[data-ui="v14-exact"] .home-round-label{display:block;font-size:12px;line-height:1.5;color:#53627b;word-break:keep-all}
body[data-ui="v14-exact"] .home-round-stat strong{display:block;font-size:17px;font-weight:800;line-height:1.4;margin:4px 0;word-break:keep-all}
body[data-ui="v14-exact"] .home-round-stat small{display:block;font-size:12px;line-height:1.5;color:#7485a0;word-break:keep-all}
@media(min-width:701px) and (max-width:1600px){body[data-ui="v14-exact"] .home-round-stat{display:flex;gap:6px}body[data-ui="v14-exact"] .home-round-stat strong{font-size:15px}body[data-ui="v14-exact"] .home-round-icon{width:30px;height:30px;flex-basis:30px;margin-bottom:0}body[data-ui="v14-exact"] .home-round-summary{grid-template-columns:100px minmax(0,1fr)}}
@media(max-width:700px){body[data-ui="v14-exact"] .home-round-summary{display:block;padding:12px;border-radius:20px}body[data-ui="v14-exact"] .home-round-heading{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;border:0;padding:0 3px 14px}body[data-ui="v14-exact"] .home-round-heading>strong{font-size:20px}body[data-ui="v14-exact"] .home-round-date{margin-left:auto;text-align:right}body[data-ui="v14-exact"] .home-round-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}body[data-ui="v14-exact"] .home-round-stat{display:block;border:1px solid #e5ebf2;border-radius:16px;padding:12px}body[data-ui="v14-exact"] .home-round-icon{width:46px;height:46px;margin-bottom:4px}body[data-ui="v14-exact"] .home-round-label{font-size:13px;font-weight:700;color:#263b56}body[data-ui="v14-exact"] .home-round-stat strong{font-size:18px}body[data-ui="v14-exact"] .home-round-live{padding:3px 9px}}

body[data-ui="v14-exact"] .home-stat-nowrap{display:inline-block;white-space:nowrap}
@media(min-width:701px){body[data-ui="v14-exact"] .home-round-date i{display:none}}
/* Desktop revision: horizontal round header, then four equal metrics. Mobile unchanged. */
body[data-ui="v14-exact"] .home-round-top{display:contents}
body[data-ui="v14-exact"] .home-round-message,body[data-ui="v14-exact"] .home-round-result{display:none}
@media(min-width:701px){
 body[data-ui="v14-exact"] .home-round-summary{display:block;padding:18px 20px 22px;border-radius:24px}
 body[data-ui="v14-exact"] .home-round-top{display:flex;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid #e6ecf3;margin-bottom:20px}
 body[data-ui="v14-exact"] .home-round-heading{flex-direction:row;align-items:center;justify-content:flex-start;flex-shrink:0;gap:12px;padding:0;border:0}
 body[data-ui="v14-exact"] .home-round-heading>strong{font-size:22px}
 body[data-ui="v14-exact"] .home-round-date{border-left:1px solid #e6ecf3;padding-left:12px;white-space:nowrap}
 body[data-ui="v14-exact"] .home-round-message{display:block;flex:1;min-width:0;margin:0;padding-left:14px;border-left:1px solid #e6ecf3;font-size:12px;color:#7b8ba2;line-height:1.6;word-break:keep-all;text-align:left}
 body[data-ui="v14-exact"] .home-round-result{display:block;flex-shrink:0;margin-left:auto;padding:10px 12px;border:1px solid #e8edf4;border-radius:12px;background:#f2f5f9;color:#61768f;font-size:12px;font-weight:700;white-space:nowrap}
 body[data-ui="v14-exact"] .home-round-grid{gap:0;align-items:stretch;grid-template-columns:repeat(4,minmax(0,1fr))}
 body[data-ui="v14-exact"] .home-round-stat{display:flex;gap:10px;padding:0 12px;border-right:1px solid #e6ecf3;align-items:center}
 body[data-ui="v14-exact"] .home-round-stat:first-child{padding-left:0}
 body[data-ui="v14-exact"] .home-round-stat:last-child{padding-right:0;border:0}
 body[data-ui="v14-exact"] .home-round-icon{width:36px;height:36px;flex-basis:36px;margin:0}
 body[data-ui="v14-exact"] .home-round-stat strong{font-size:16px;margin:6px 0;font-weight:800}
 body[data-ui="v14-exact"] .home-round-label{font-size:12px}
}
/* Approved desktop 2 by 2 summary; mobile rules remain unchanged. */
body[data-ui="v14-exact"] .home-round-update{display:none}
@media(min-width:701px){
 body[data-ui="v14-exact"] .home-round-summary{padding:14px 20px 6px}
 body[data-ui="v14-exact"] .home-round-top{margin-bottom:0;padding-bottom:12px}
 body[data-ui="v14-exact"] .home-round-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-ui="v14-exact"] .home-round-stat{position:relative;min-height:112px;padding:16px 14px;gap:14px;border:0}
 body[data-ui="v14-exact"] .home-round-stat:first-child,body[data-ui="v14-exact"] .home-round-stat:last-child{padding:16px 14px}
 body[data-ui="v14-exact"] .home-round-stat:nth-child(-n+2){border-bottom:1px solid #e6ecf3}
 body[data-ui="v14-exact"] .home-round-stat:nth-child(odd)::after{content:"";position:absolute;right:0;top:16px;bottom:16px;width:1px;background:#e6ecf3}
 body[data-ui="v14-exact"] .home-round-icon{width:52px;height:52px;flex-basis:52px}
 body[data-ui="v14-exact"] .home-round-icon svg{width:28px;height:28px}
 body[data-ui="v14-exact"] .home-round-label{font-size:14px}
 body[data-ui="v14-exact"] .home-round-stat strong{font-size:18px;line-height:1.4;margin:4px 0}
 body[data-ui="v14-exact"] .home-round-stat small{font-size:12px}
 body[data-ui="v14-exact"] .home-round-update{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#71829d;text-align:center;line-height:1.6;margin:12px 0 16px}
 body[data-ui="v14-exact"] .home-round-update svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
}

@media(min-width:701px){body[data-ui="v14-exact"] .home-round-heading>strong{font-size:20px}body[data-ui="v14-exact"] .summary strong,body[data-ui="v14-exact"] .summary strong a{font-size:14px!important;font-weight:700;line-height:1.5}}
/* MY100 approved gold overview. */
body[data-ui="v14-exact"] .my100-gold-hero{padding:22px;border:1px solid #f7d779;border-radius:22px;background:linear-gradient(125deg,#fff7d5,#ffedaa);overflow:hidden}
body[data-ui="v14-exact"] .my100-gold-intro{position:relative;min-height:210px;display:flex;align-items:center;margin-bottom:18px}
body[data-ui="v14-exact"] .my100-gold-intro>div{position:relative;z-index:1;width:58%;text-align:left}
body[data-ui="v14-exact"] .my100-gold-kicker{color:#e3a900;font-size:24px;font-weight:800}
body[data-ui="v14-exact"] .my100-gold-intro h1{font-size:30px!important;line-height:1.25;margin:8px 0 14px!important;color:#112334}
body[data-ui="v14-exact"] .my100-gold-intro p{font-size:14px;line-height:1.65;color:#607184;margin:0;text-align:left}
body[data-ui="v14-exact"] .my100-gold-intro img{position:absolute;right:-22px;bottom:-18px;width:64%;height:245px;object-fit:contain;object-position:right center}
body[data-ui="v14-exact"] .my100-gold-progress{display:flex;align-items:center;gap:14px;background:#fff;border-radius:18px;padding:16px;margin-bottom:12px}
body[data-ui="v14-exact"] .my100-gold-symbol{width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:#fff5d3;color:#dfaa00;display:flex;align-items:center;justify-content:center;font-size:30px}
body[data-ui="v14-exact"] .my100-gold-symbol svg{width:28px;height:28px;fill:currentColor}
body[data-ui="v14-exact"] .my100-gold-count>span,body[data-ui="v14-exact"] .my100-gold-stats div>span{display:block;font-size:13px;color:#637184;line-height:1.5}
body[data-ui="v14-exact"] .my100-gold-count strong{font-size:28px;font-weight:800;white-space:nowrap;color:#132437}
body[data-ui="v14-exact"] .my100-gold-count em{color:#e9ad00;font-style:normal}
body[data-ui="v14-exact"] .my100-gold-meter{flex:1;min-width:0;text-align:right;align-self:center}
body[data-ui="v14-exact"] .my100-gold-meter>span{display:block;font-size:12px;margin-bottom:10px;color:#26364a}
body[data-ui="v14-exact"] .my100-gold-meter progress{display:block;width:100%;height:10px;border:0;border-radius:10px;overflow:hidden;background:#edf0f4;appearance:none}
.my100-gold-meter progress::-webkit-progress-bar{background:#edf0f4;border-radius:10px}.my100-gold-meter progress::-webkit-progress-value{background:#efb700;border-radius:10px}.my100-gold-meter progress::-moz-progress-bar{background:#efb700;border-radius:10px}
body[data-ui="v14-exact"] .my100-gold-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body[data-ui="v14-exact"] .my100-gold-stats>a,body[data-ui="v14-exact"] .my100-gold-state{display:flex;align-items:center;gap:10px;padding:14px 12px;background:#fff;border-radius:18px;min-width:0;text-align:left}
body[data-ui="v14-exact"] .my100-gold-stats strong{display:block;font-size:19px;line-height:1.5;color:#142435;font-weight:800;white-space:nowrap}
body[data-ui="v14-exact"] .my100-gold-stats a>b{margin-left:auto;color:#637184;font-size:22px}
body[data-ui="v14-exact"] .my100-gold-stats .my100-gold-symbol{width:40px;height:40px;flex-basis:40px;font-size:26px}
.my100-gold-state strong i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#a1aaba;margin-right:6px}.my100-gold-state strong i.is-open{background:#42a919}
body[data-ui="v14-exact"] .my100-add-title{margin-top:24px;margin-bottom:12px}
/* Square grid cells and non-shrinking selected balls prevent elliptical number controls. */
body[data-ui="v14-exact"] :is(#manualModal,#editModal) .manual-number-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
body[data-ui="v14-exact"] :is(#manualModal,#editModal) .manual-number{display:grid;place-items:center;min-width:0;padding:0;margin:0;aspect-ratio:1}
body[data-ui="v14-exact"] :is(#manualModal,#editModal) .manual-number span{width:100%;height:auto;aspect-ratio:1;min-height:0;padding:0;box-sizing:border-box;flex:none;border-radius:50%;line-height:1}
body[data-ui="v14-exact"] :is(#manualModal,#editModal) .manual-selected .ball{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;flex:0 0 32px!important;aspect-ratio:1;padding:0!important;box-sizing:border-box}
@media(max-width:600px){body[data-ui="v14-exact"] .my100-gold-hero{padding:14px}body[data-ui="v14-exact"] .my100-gold-intro{min-height:210px;margin-bottom:12px;align-items:flex-start}body[data-ui="v14-exact"] .my100-gold-kicker{font-size:20px}body[data-ui="v14-exact"] .my100-gold-intro h1{font-size:24px!important}body[data-ui="v14-exact"] .my100-gold-intro>div{width:100%}body[data-ui="v14-exact"] .my100-gold-intro img{width:75%;height:135px;bottom:-14px;right:-28px;opacity:.85}body[data-ui="v14-exact"] .my100-gold-intro p{max-width:72%;font-size:14px}body[data-ui="v14-exact"] .my100-gold-progress{flex-wrap:wrap;padding:14px;gap:10px}body[data-ui="v14-exact"] .my100-gold-meter{flex-basis:100%}body[data-ui="v14-exact"] .my100-gold-stats{gap:6px}body[data-ui="v14-exact"] .my100-gold-stats>a,body[data-ui="v14-exact"] .my100-gold-state{display:block;padding:10px 8px;border-radius:14px}body[data-ui="v14-exact"] .my100-gold-stats .my100-gold-symbol{margin-bottom:6px;width:34px;height:34px}body[data-ui="v14-exact"] .my100-gold-stats strong{font-size:14px}body[data-ui="v14-exact"] .my100-gold-stats a>b{display:none}body[data-ui="v14-exact"] .my100-gold-stats div>span{font-size:12px}body[data-ui="v14-exact"] :is(#manualModal,#editModal) .manual-number-grid{gap:6px}body[data-ui="v14-exact"] :is(#manualModal,#editModal) .manual-selected{gap:6px;padding:8px 0!important}}
body[data-ui="v14-exact"] .my100-gold-stats .my100-gold-symbol{display:flex;color:#dfaa00}
/* Random fill uses the same clear quantity layout as PICK issuance. */
body[data-ui="v14-exact"] #randomModal .random-fill-modal{width:100%;max-width:100%;box-sizing:border-box;text-align:left}
body[data-ui="v14-exact"] #randomModal h2{font-size:22px;margin:16px 0}
body[data-ui="v14-exact"] #randomModal .sub{font-size:14px;line-height:1.6;text-align:left}
body[data-ui="v14-exact"] #randomModal fieldset{display:block;min-width:0;border:0;padding:0;margin:0}
body[data-ui="v14-exact"] #randomModal label{display:block;width:100%;font-size:14px;text-align:left}
body[data-ui="v14-exact"] #randomModal .quantity-control{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;width:100%}
body[data-ui="v14-exact"] #randomModal .quantity-control input{width:100%;min-width:0;height:50px;box-sizing:border-box;text-align:center;border:1px solid #d5e0ef;border-radius:12px;padding:8px;font-size:16px;font-weight:700;margin:0}
body[data-ui="v14-exact"] #randomModal .quantity-control button{width:44px;height:50px;min-width:0;padding:0;margin:0;white-space:nowrap}
body[data-ui="v14-exact"] #randomModal .quantity-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-ui="v14-exact"] #randomModal .quantity-shortcuts button{width:100%;min-width:0;min-height:44px;padding:10px;margin:0;white-space:nowrap;font-size:14px}
body[data-ui="v14-exact"] #randomModal .modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}
body[data-ui="v14-exact"] #randomModal .modal-actions button{width:100%;min-width:0;margin:0;white-space:nowrap;font-size:14px;min-height:44px}
