#dragon-stage-sharing{background:#080e18;color:#f8edcd;font:14px/1.5 system-ui,sans-serif;border-radius:5px;overflow:hidden}
#dragon-stage-sharing .bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:linear-gradient(#431017,#18080e);padding:14px;border-bottom:2px solid #a67526}
#dragon-stage-sharing .actions{display:flex;gap:8px;flex-wrap:wrap}
#dragon-stage-sharing button{font:inherit;min-height:44px;border:1px solid #586176;background:#202b3e;color:#fff0cc;border-radius:8px;padding:8px 12px;cursor:pointer}
#dragon-stage-sharing button:disabled{opacity:.5;cursor:default}
#dragon-stage-sharing button:focus-visible{outline:3px solid white;outline-offset:2px}
#dragon-stage-sharing .play{background:linear-gradient(#ff8573 0%,#df292f 45%,#8e0617 52%,#d31b2c);color:#fff6c6;border:2px solid #edc16c;box-shadow:0 3px 0 #620515,inset 0 1px 2px #fff7b8;text-shadow:1px 2px #740211;font-weight:900}
#dragon-stage-sharing .subtitle-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:5px}
#dragon-stage-sharing .tool-title{font-size:16px;line-height:1.5;font-weight:800;color:#fff0cc;margin:0;overflow-wrap:anywhere}
#dragon-stage-sharing .meta{font-size:12px;color:#b6c1d2;max-width:42em}
#dragon-stage-sharing canvas{display:block;width:100%;aspect-ratio:1.55}
#dragon-stage-sharing .foot{display:flex;justify-content:space-between;padding:12px 14px;font-size:12px;color:#c0cada}
#dragon-stage-sharing .track{height:3px;background:#263044}
#dragon-stage-sharing .fill{height:100%;width:0;background:#d7b359}
@media(max-width:420px){#dragon-stage-sharing .actions{width:100%}#dragon-stage-sharing button{flex:1;padding:8px}}

/* A compact brand checkbox with an optional single-model selector. */
#dragon-stage-sharing .ai-checks{align-items:flex-start}
#dragon-stage-sharing .ai-choice{max-width:100%}
#dragon-stage-sharing .model-picker[hidden]{display:none}
#dragon-stage-sharing .model-picker{display:grid;gap:5px;width:156px;max-width:100%;padding:8px 2px 2px;box-sizing:border-box}
#dragon-stage-sharing .ai-checks .model-picker label{border:0;background:none;min-height:0;padding:0;font-size:12px;color:#decea9}
#dragon-stage-sharing .model-picker select{width:100%;min-height:40px;background:#22151d;color:#ffebbc;border:1px solid #856342;border-radius:6px;padding:6px;font:inherit;font-size:13px}
#dragon-stage-sharing .model-picker small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#dragon-stage-sharing .model-picker select:focus-visible{outline:2px solid #ffe18b;outline-offset:2px}

#dragon-stage-sharing .model-label{display:block;font-size:11px;line-height:1.35;color:#e8d7b9}

#dragon-stage-sharing .maker-options{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:12px;padding:14px;background:#160d15;border-top:1px solid #65451d}
#dragon-stage-sharing .maker-options label{display:flex;flex-direction:column;gap:5px;color:#e8d2ac;font-size:12px;min-width:0}
#dragon-stage-sharing select,#dragon-stage-sharing input{box-sizing:border-box;width:100%;min-height:44px;background:#211b25;color:#fff1d2;border:1px solid #765334;border-radius:6px;padding:8px;font:16px system-ui}
#dragon-stage-sharing .maker-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0 14px 14px;background:#160d15}
#dragon-stage-sharing .post-x{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:8px 16px;background:#050505;color:white;border:1px solid #9a8a77;border-radius:8px;text-decoration:none;font-weight:600}
#dragon-stage-sharing .share-hint{font-size:12px;color:#c7bcae;flex-basis:100%}
@media(max-width:480px){#dragon-stage-sharing .maker-options{grid-template-columns:1fr 1fr}#dragon-stage-sharing .maker-options label:last-child{grid-column:1/-1}}

#dragon-stage-sharing .count-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:12px 14px;background:#170e17}
#dragon-stage-sharing .count-controls label{display:flex;align-items:center;gap:10px;color:#ffe0a3;white-space:nowrap}
#dragon-stage-sharing .count-controls select{width:90px}
#dragon-stage-sharing .sample-note{font-size:12px;color:#bfb1ba}
#dragon-stage-sharing .lineup-editor{padding:0 14px 12px;background:#170e17}
#dragon-stage-sharing summary{cursor:pointer;color:#dfc78e;min-height:35px}
#dragon-stage-sharing .slot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
#dragon-stage-sharing .slot-grid label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:#d3be9a}

#dragon-stage-sharing .ai-picker{margin:0;border:0;padding:14px;background:#170e17;min-width:0}
#dragon-stage-sharing .ai-picker legend{float:left;width:100%;padding:0 0 10px;color:#ffe0a3}
#dragon-stage-sharing .picked-count{float:right;font-size:12px;color:#cabb97}
#dragon-stage-sharing .ai-checks{clear:both;display:flex;flex-wrap:wrap;gap:7px}
#dragon-stage-sharing .ai-checks label{display:flex;align-items:center;gap:8px;min-height:44px;padding:3px 9px;box-sizing:border-box;border:1px solid #51362d;border-radius:5px;background:#22151d;color:#c9bcc2;cursor:pointer}
#dragon-stage-sharing .ai-checks label:has(:checked){background:#45241d;border-color:#d8a345;color:#ffebbc}
#dragon-stage-sharing .ai-checks input{width:17px;height:17px;min-height:0;padding:0;margin:0;accent-color:#e5b354;flex-shrink:0}
#dragon-stage-sharing .post-x[aria-disabled="true"]{opacity:.45;cursor:default}
#dragon-stage-sharing .ai-checks label{flex:0 0 auto;width:auto;max-width:100%}

#dragon-stage-sharing .actions{padding:12px 14px;box-sizing:border-box;background:#130c14;justify-content:center}
#dragon-stage-sharing .language-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#d5c3a9}
#dragon-stage-sharing .language{width:116px}
#dragon-stage-sharing .boost-arrows{position:relative;background:#080e18;min-height:52px}
#dragon-stage-sharing .boost-arrow{position:absolute;box-sizing:border-box;width:44px;height:44px;padding:0;background:linear-gradient(#ffe787,#b25c10);color:#491014;border:2px solid #ffdb79;font-size:23px;font-weight:900;line-height:1}
#dragon-stage-sharing .boost-arrow small{display:block;font-size:11px;line-height:12px}
#dragon-stage-sharing .orb-strip{display:flex;justify-content:center;align-items:center;gap:12px;padding:8px 12px 12px;background:#180c18}
#dragon-stage-sharing .fabrication-orb{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#fff8e0 0%,#ffde7c 12%,#ff7b26 40%,#ab153b 72%,#4b0b30 100%);border:2px solid #ffdb8b;box-shadow:0 0 18px #e6574866,inset -4px -5px 10px #650d35}
#dragon-stage-sharing .orb-number{font-size:30px;font-weight:900;color:#fff7d0;text-shadow:1px 2px 2px #67061c}
#dragon-stage-sharing .orb-title{color:#ffdc88;font-size:17px}
#dragon-stage-sharing .orb-help{color:#d3bcbd;font-size:12px}

#dragon-stage-sharing .dragon-scene{position:relative}
#dragon-stage-sharing .dragon-targets{position:absolute;inset:0;pointer-events:none}
#dragon-stage-sharing .dragon-targets[hidden],#dragon-stage-sharing .orb-prompt[hidden]{display:none}
#dragon-stage-sharing .dragon-target{position:absolute;pointer-events:auto;min-height:0;padding:0;border:1px dashed #ffe59c88;background:linear-gradient(transparent 65%,#ffcf4730);border-radius:35% 35% 8px 8px;cursor:pointer;box-sizing:border-box}
#dragon-stage-sharing .dragon-target:hover,#dragon-stage-sharing .dragon-target:focus-visible{background:#ffe27c30;box-shadow:inset 0 0 20px #ffc85188}
#dragon-stage-sharing .orb-prompt{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:10px;background:#381522;color:#ffe49a}
#dragon-stage-sharing .orb-instruction{font-size:13px}
#dragon-stage-sharing .orb-prompt .cancel-orb{flex:0 0 auto;font-size:12px}
#dragon-stage-sharing button.fabrication-orb{flex:0 0 62px;width:62px;height:62px;padding:0;border-radius:50%}
#dragon-stage-sharing button.fabrication-orb[aria-pressed="true"]{box-shadow:0 0 24px #ffc54f,inset -4px -5px 10px #650d35}

#dragon-stage-sharing button.fabrication-orb:disabled{filter:grayscale(1);opacity:.55;box-shadow:none;cursor:not-allowed}
#dragon-stage-sharing .orb-strip[hidden]{display:none}
#dragon-stage-sharing .daily-unlock{padding:0 12px 12px;background:#180c18;text-align:center}
#dragon-stage-sharing .daily-unlock[hidden]{display:none}
#dragon-stage-sharing .unseal{width:100%;background:linear-gradient(#64315f,#271129);border:1px solid #d2a36e;color:#ffdfa2}
#dragon-stage-sharing .unseal strong,#dragon-stage-sharing .unseal small{display:block}
#dragon-stage-sharing .unseal strong{font-size:17px}
#dragon-stage-sharing .unseal small{font-size:12px;margin-top:3px}
#dragon-stage-sharing .weaken-strip{display:flex;justify-content:center;align-items:center;gap:12px;padding:0 12px 12px;background:#180c18}
#dragon-stage-sharing .weaken-strip[hidden]{display:none}
#dragon-stage-sharing .weaken-orb{flex:0 0 62px;width:62px;height:62px;border-radius:50%;padding:0;background:radial-gradient(circle at 30% 25%,#edf9ff,#72bded 24%,#34418d 68%,#181335);border:2px solid #a4c8f3;font-size:30px;font-weight:900;box-shadow:0 0 14px #7196db44}
#dragon-stage-sharing .weaken-orb[aria-pressed="true"]{box-shadow:0 0 24px #81bdff}
#dragon-stage-sharing .weaken-title{color:#b9d8ff;font-size:17px}
#dragon-stage-sharing .weaken-help{color:#d3bcbd;font-size:12px}
#dragon-stage-sharing .share-image[hidden]{display:none}
#dragon-stage-sharing .share-image{flex-basis:100%;border-color:#ceae6a;background:#4a2c25;font-weight:700}
#dragon-stage-sharing .post-x[aria-disabled="true"]{opacity:.5;pointer-events:none}
body{margin:0;background:#080e18;color:#f8edcd;font-family:system-ui,sans-serif}main{max-width:1100px;margin:0 auto}button,a,input,select{touch-action:manipulation}

.trend-panel{margin:14px;padding:16px;border:1px solid #795a38;border-radius:12px;background:#171323;font-size:13px;line-height:1.7}.trend-panel h2{margin:0;color:#ffe67a}.trend-panel a{color:#ffe0a3}.trend-table-wrap{overflow-x:auto}.trend-panel table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.trend-panel th,.trend-panel td{padding:8px 5px;border-bottom:1px solid #514057;text-align:right}.trend-panel th:first-child,.trend-panel td:first-child{text-align:left}.trend-panel details{margin-top:12px}.custom-note{color:#ffe0a3}@media(max-width:480px){.trend-panel{margin:8px;padding:10px;font-size:11px}.trend-panel th{font-size:10px}}

.editorial-results[hidden]{display:none!important}.editorial-card{border-top:1px solid #795a38;padding:12px 0}.editorial-card h3{color:#ffe67a}.editorial-card p{overflow-wrap:anywhere}.editorial-card ul{padding-left:20px}

/* Clear orb selection */
#dragon-stage-sharing button:is(.fabrication-orb,.weaken-orb){--orb-glow:#ffb52e;position:relative;box-shadow:none;filter:saturate(.5) brightness(.65);border-color:#75685c;transition:box-shadow .16s,filter .16s,border-color .16s}
#dragon-stage-sharing button.weaken-orb{--orb-glow:#66ceff}
#dragon-stage-sharing button:is(.fabrication-orb,.weaken-orb)[aria-pressed="true"]:not(:disabled){filter:saturate(1.3) brightness(1.2);border-color:#fff8db;box-shadow:0 0 0 3px #180c18,0 0 0 6px var(--orb-glow),0 0 22px 8px var(--orb-glow),inset 0 0 14px #ffffff99}
#dragon-stage-sharing button:is(.fabrication-orb,.weaken-orb)[aria-pressed="true"]:not(:disabled)::after{content:'✓';position:absolute;top:-5px;right:-5px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#fff8db;color:#21131c;font:900 16px/1 system-ui;border:2px solid #21131c}
#dragon-stage-sharing button:is(.fabrication-orb,.weaken-orb):focus-visible{outline:2px dashed white;outline-offset:9px}
#dragon-stage-sharing button:is(.fabrication-orb,.weaken-orb):disabled{box-shadow:none;filter:grayscale(1) brightness(.5);opacity:.55}
@media(prefers-reduced-motion:reduce){#dragon-stage-sharing button:is(.fabrication-orb,.weaken-orb){transition:none}}

#dragon-stage-sharing .language-switch{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border:0;margin:0;padding:0;min-width:0;flex-shrink:0}
#dragon-stage-sharing .language-switch legend{font-size:11px;color:#d5c3a9;margin-bottom:4px}
#dragon-stage-sharing .language-switch label{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 10px;border:1px solid #715c43;border-radius:8px;cursor:pointer;background:#211723;color:#d5c3a9;box-sizing:border-box}
#dragon-stage-sharing .language-switch input{appearance:auto;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:#ffde7a}
#dragon-stage-sharing .language-switch label:has(:checked){border-color:#ffdf83;background:#4c3422;color:#fff2c8}
#dragon-stage-sharing .language-switch label:has(:focus-visible){outline:2px solid #fff1b0;outline-offset:3px}

.ranking-summary{margin:20px 14px 14px;padding:18px 12px;border-top:1px solid #795a38;color:#dfc38a;text-align:center;white-space:pre-line;overflow-wrap:anywhere;font-size:14px;line-height:2}
.ranking-summary[hidden]{display:none}
#dragon-stage-sharing .service-description{margin:24px 14px 18px;padding-top:16px;border-top:1px solid #303642;color:#aab2bf;font-size:13px;line-height:1.85;overflow-wrap:anywhere}
#dragon-stage-sharing .service-description h2{font-size:15px;font-weight:600;margin:0 0 8px;color:#bac2ce}
#dragon-stage-sharing .service-description h3{font-size:13px;font-weight:600;margin:16px 0 6px;color:#bac2ce}
#dragon-stage-sharing .service-description p{margin:0 0 10px;max-width:76em}

/* The hidden awakening permanently shatters this run's fabrication orb. */
#dragon-stage-sharing button.fabrication-orb.is-broken{opacity:1;filter:none;border:0;background:transparent;box-shadow:none;overflow:visible;cursor:not-allowed}
#dragon-stage-sharing button.fabrication-orb.is-broken::before,#dragon-stage-sharing button.fabrication-orb.is-broken::after{content:'';position:absolute;inset:3px;background:radial-gradient(circle at 30% 25%,#c7ae83,#684d43 45%,#211520 85%);border:1px solid #90745b;border-radius:50%;width:auto;height:auto;box-shadow:none}
#dragon-stage-sharing button.fabrication-orb.is-broken::before{clip-path:polygon(0 0,55% 0,40% 28%,57% 44%,30% 63%,45% 82%,30% 100%,0 100%);transform:translate(-6px,4px) rotate(-14deg)}
#dragon-stage-sharing button.fabrication-orb.is-broken::after{clip-path:polygon(67% 0,100% 0,100% 100%,46% 100%,57% 81%,42% 64%,69% 44%,52% 28%);transform:translate(7px,7px) rotate(17deg)}


/* Keep the language controls beside the title, not above the scene. */
#dragon-stage-sharing .bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 14px}
#dragon-stage-sharing .title-copy{min-width:0}
#dragon-stage-sharing .language-switch{flex-direction:column;align-items:stretch;gap:4px;font-size:12px}
#dragon-stage-sharing .language-switch legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#dragon-stage-sharing .language-switch label{padding:0 7px;gap:5px}
#dragon-stage-sharing .language-switch input{flex:0 0 16px}
#dragon-stage-sharing .actions .select-all{margin:0}
@media(max-width:480px){#dragon-stage-sharing .title-copy>strong{font-size:clamp(13px,4.2vw,19px)!important}#dragon-stage-sharing .tool-title{font-size:13px}#dragon-stage-sharing .bar{gap:8px;padding:10px 14px}#dragon-stage-sharing .ai-picker{padding:10px 14px}}
#dragon-stage-sharing .main-site-link{text-align:center;padding:14px 16px 22px;font-size:13px;line-height:1.6}
#dragon-stage-sharing .main-site-link a{display:inline-block;padding:6px 10px;color:#b9b4bd;text-decoration:underline;text-underline-offset:3px}
#dragon-stage-sharing .main-site-link a:hover{color:#ffe6a0}
#dragon-stage-sharing .main-site-link a:focus-visible{outline:2px solid #ffe6a0;outline-offset:3px;border-radius:3px}
