.tr-share{color:#eaf2ff;background:#111c2e;border:1px solid #526581;border-radius:20px;padding:24px;width:min(540px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-shadow:0 24px 90px #0009}.tr-share::backdrop{background:#020814c9;backdrop-filter:blur(6px)}.tr-share h2{margin:0 0 16px}.tr-share p{line-height:1.55}.tr-share a{color:#8adfc9}.tr-share input[readonly]{display:block;width:100%;box-sizing:border-box;padding:12px;background:#07101d;color:#fff;border:1px solid #526581;border-radius:8px}.tr-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0}.tr-consent input{width:20px;height:20px;flex-shrink:0}.tr-share button,.tr-share-actions a{display:inline-block;padding:11px 15px;border-radius:9px;border:1px solid #668a9c;background:#183544;color:#fff;font:inherit;text-decoration:none;cursor:pointer}.tr-share button:disabled{opacity:.6;cursor:wait}.tr-share-actions{display:flex;gap:9px;flex-wrap:wrap}.tr-share [hidden]{display:none!important}.tr-share :focus-visible{outline:3px solid #89f2d0;outline-offset:3px}.shared-result{max-width:800px;margin:40px auto;padding:24px;color:#eaf2ff;font:17px/1.6 system-ui}.shared-result img{max-width:100%;height:auto;border-radius:16px}.shared-result a{color:#8adfc9}.shared-result dl{display:grid;grid-template-columns:1fr 2fr;gap:8px}.shared-result dd{margin:0;overflow-wrap:anywhere}.shared-result h1{line-height:1.2}.shared-result .notice{border-left:3px solid #8adfc9;padding-left:16px}.shared-result-body{background:#0c1420;margin:0}

.tr-share .tr-consent{align-items:center}.tr-share .tr-consent input[type="checkbox"]{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;padding:0;align-self:center}
/* Saved result: the same card hierarchy and typography as the calculator popup. */
.shared-result-body{background:radial-gradient(ellipse at 50% 15%,#213246 0, #0c1420 65%);min-height:100vh}
.game-hok{--gold:#7bdbc4;--green:#7bdbc4}.game-mcgg{--gold:#c3a0ff;--green:#c3a0ff}
.shared-header{max-width:960px;margin:auto;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.shared-header>a:last-child{font-size:13px;color:var(--muted)}
.shared-shell{width:min(760px,calc(100% - 32px));margin:24px auto 48px}
.shared-popup{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:40px;text-align:center;box-shadow:0 24px 90px #0005;overflow-wrap:anywhere}
.shared-popup h1{font-size:clamp(30px,6vw,48px);line-height:1.15;margin:16px 0 8px;color:var(--gold)}
.shared-popup .result-mark{object-fit:contain;display:block;margin:12px auto;width:110px;height:110px}
.shared-popup .result-stars{color:var(--gold);font-size:28px;margin:0 0 16px}.shared-popup .score-grid{margin:24px 0}.shared-popup .score-grid b{font-size:30px}
.shared-popup .netline{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:8px 0;text-align:left}.shared-popup .calculation-detail{text-align:left;margin:20px 0}.shared-popup progress{width:100%;accent-color:var(--gold)}
.shared-popup .verification{font-size:12px;color:var(--muted)}.shared-popup .result-actions{display:flex;justify-content:center;margin-top:26px}.shared-popup .primary{display:inline-block;border-radius:10px;padding:13px 20px;background:var(--gold);color:#0c1420;font-weight:750}
.shared-footer{text-align:center;color:var(--muted);font-size:13px;margin-top:28px}.shared-footer nav{justify-content:center;flex-wrap:wrap;gap:18px}.shared-footer a{text-decoration:underline}
.shared-ad{margin:36px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:150px}.shared-ad>p{font-size:11px;letter-spacing:.08em;color:var(--muted);text-align:center}
@media(max-width:520px){.shared-header{padding:16px}.shared-header>a:last-child{max-width:150px;text-align:right}.shared-popup{padding:26px 18px}.shared-popup .score-grid{gap:8px}.shared-popup .score-grid span{font-size:10px}.shared-popup .score-grid b{font-size:25px}.shared-shell{margin-top:10px}}
