/* SmileDice v7.7 · Screenshot-inspired My Account premium modal, scoped to this dialog. */
#sd-hub-layer .sd-hub{width:min(950px,calc(100vw - 24px));max-height:min(94dvh,1080px);border-radius:26px;border:1.5px solid #267fff;background:linear-gradient(160deg,#061530 0%,#071027 75%,#080d2b 100%);box-shadow:0 28px 110px #000e,0 0 55px #006eff3d;color:#f4f7ff}
#sd-hub-layer .sd-hub-top{padding:22px 28px 17px;min-height:90px;flex:none;background:linear-gradient(115deg,#091b41,#091733 70%,#081128);border-bottom:1px solid #1e5ca6}
#sd-hub-layer .sd-hub-title-line{display:flex;align-items:center;gap:18px;min-width:0}
#sd-hub-layer .sac-logo{width:54px;height:54px;display:grid;place-items:center;font-size:42px;text-shadow:0 0 15px #00f0ff;filter:drop-shadow(0 0 10px #0c83f7);color:#45e5f9;line-height:1}
#sd-hub-layer .sac-brand-heading{margin:0;color:#f5f7ff;font-size:clamp(20px,2.5vw,34px);line-height:1.1;font-weight:950;letter-spacing:-.04em}
#sd-hub-layer .sac-brand-heading span{color:#06dbf7}
#sd-hub-layer .sac-brand-subtitle{display:block;color:#98c4ff;letter-spacing:.29em;font-size:13px;font-weight:800;margin-top:4px}
#sd-hub-layer .sac-header-controls{display:flex;align-items:center;gap:15px;margin-left:auto}
#sd-hub-layer #sac-tip-button{height:45px;min-width:110px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #03d9ff;border-radius:13px;background:linear-gradient(120deg,#0c377a,#063a8a);box-shadow:0 0 13px #16affd60,inset 0 0 10px #1c6ac241;color:#edf6ff;font-size:15px;font-weight:900;cursor:pointer}
#sd-hub-layer #sac-tip-button:hover{filter:brightness(1.2)}
#sd-hub-layer #sd-hub-close{width:44px;height:44px;border-radius:14px;background:#0b1937;border:1px solid #5664aa;color:#e7f3ff;font-size:26px;cursor:pointer;flex:none}
#sd-hub-layer .sd-hub-tabs{flex:none;gap:9px;padding:12px 25px;border-bottom:1px solid #243f76}
#sd-hub-layer .sd-hub-tabs button{border-radius:10px}
#sd-hub-layer .sd-hub.is-premium-account .sd-hub-tabs{display:none}
#sd-hub-layer .sd-hub-body{padding:0;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-color:#2668ab #0a1533}
#sd-hub-layer .sd-hub:not(.is-premium-account) .sd-hub-body{padding:22px 25px 29px}
#sd-hub-layer .sac{padding:22px 31px 25px;color:#ebf3ff;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
#sd-hub-layer .sac-profile-row{display:flex;justify-content:space-between;gap:26px;align-items:center;min-height:156px}
#sd-hub-layer .sac-person-left{display:flex;align-items:center;gap:23px;min-width:0;flex:1}
#sd-hub-layer .sac-avatar-button{flex:none;position:relative;height:146px;width:146px;border-radius:50%;padding:6px;background:conic-gradient(#08e4ed,#8155f9,#ffce51,#19e5c6,#08e4ed);border:0;cursor:pointer;box-shadow:0 0 24px #11e1fc48,0 0 34px #7e5bf345}
#sd-hub-layer .sac-avatar-button:focus-visible{outline:3px solid #91f3ff;outline-offset:4px}
#sd-hub-layer .sac-avatar-image{height:100%;width:100%;object-fit:cover;border:3px solid #081534;border-radius:50%;display:block;min-height:0;min-width:0;aspect-ratio:1}
#sd-hub-layer .sac-online-bubble{position:absolute;right:5px;bottom:10px;width:22px;height:22px;border:3px solid #00152e;background:#1cebbf;border-radius:50%;box-shadow:0 0 12px #1dffd3}
#sd-hub-layer .sac-identity{min-width:0}
#sd-hub-layer .sac-identity h3{margin:0 0 12px;font-weight:900;font-size:clamp(24px,3vw,31px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
#sd-hub-layer .sac-rank,#sd-hub-layer .sac-member{font-size:14px;line-height:1.7;color:#aaccf3}
#sd-hub-layer .sac-rank strong{color:#2cf5ef;font-size:15px}
#sd-hub-layer .sac-member b{color:#e5edff}
#sd-hub-layer .sac-tier-hint{margin-top:8px;color:#85accf;font-size:11px;font-weight:700}
#sd-hub-layer .sac-achievements{flex:none;width:223px;align-self:flex-start;text-align:right}
#sd-hub-layer .sac-achievements h4{margin:3px 0 12px;color:#e7efff;font-size:14px}
#sd-hub-layer .sac-achievement-grid{display:grid;grid-template-columns:repeat(4,40px);gap:8px;justify-content:end}
#sd-hub-layer .sac-hex{display:flex;align-items:center;justify-content:center;width:40px;height:40px;clip-path:polygon(50% 0%,93% 24%,93% 75%,50% 100%,7% 75%,7% 24%);background:#263353;color:#526588;filter:grayscale(1);opacity:.55;font-size:16px;cursor:help}
#sd-hub-layer .sac-hex.earned{background:#123e83;border:0;box-shadow:inset 0 0 0 3px #23bcff;color:#fff;opacity:1;filter:none;text-shadow:0 0 15px #22e1ff}
#sd-hub-layer .sac-rule{height:1px;background:linear-gradient(90deg,#2267bd,transparent 95%);margin:20px 0 16px}
#sd-hub-layer .sac-stat-section{margin:0 0 21px}
#sd-hub-layer .sac-stat-section h4{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:#80baff;margin:0 0 13px;letter-spacing:.13em;font-size:15px;font-weight:850}
#sd-hub-layer .sac-tag{font-size:9px;letter-spacing:.09em;border:1px solid #315186;border-radius:6px;padding:4px 7px;color:#7eaeeb;font-weight:750}
#sd-hub-layer .sac-cards{display:grid;gap:12px;margin-bottom:12px}
#sd-hub-layer .sac-cards-two{grid-template-columns:repeat(2,minmax(0,1fr))}
#sd-hub-layer .sac-cards-three{grid-template-columns:repeat(3,minmax(0,1fr))}
#sd-hub-layer .sac-stat{display:flex;align-items:center;justify-content:center;gap:13px;min-width:0;min-height:90px;padding:16px 12px;border:1px solid #147cff;border-radius:16px;background:linear-gradient(140deg,#0b244a,#0b1b39 69%,#0b1733);box-shadow:inset 0 1px #5a84dc16,0 4px 20px #0003}
#sd-hub-layer .sac-stat-wide{min-height:94px;justify-content:flex-start;padding-left:25px}
#sd-hub-layer .sac-stat>div{min-width:0}
#sd-hub-layer .sac-stat strong{font-size:clamp(15px,1.6vw,21px);font-weight:900;line-height:1.18;color:white;display:block;overflow-wrap:anywhere}
#sd-hub-layer .sac-stat small{display:block;margin-top:4px;color:#a6cdf6;font-size:13px;line-height:1.2}
#sd-hub-layer .sac-ico{font-size:29px;line-height:1;display:block;flex:0 0 36px;text-align:center;filter:drop-shadow(0 0 6px #328df777)}
#sd-hub-layer .sac-ico.green{color:#0ae890}#sd-hub-layer .sac-ico.red{color:#ff456e}#sd-hub-layer .sac-ico.yellow{color:#ffcf35}#sd-hub-layer .sac-ico.purple{color:#bd5dff}#sd-hub-layer .sac-ico.white{color:#b7e4ff}
#sd-hub-layer .sac-wagered{min-height:90px;margin-top:10px;background:linear-gradient(100deg,#161e5c,#0a234e,#151147);border-color:#6a48fb}
#sd-hub-layer .sac-wagered strong{color:#ffce44}
#sd-hub-layer .sac-days{width:100%;min-height:81px}
#sd-hub-layer .sac-data-note{color:#a8c5e6;background:#061a3b;border:1px solid #235197;padding:12px 14px;border-radius:12px;font-size:11px;line-height:1.6;margin:13px 0}
#sd-hub-layer .sac-navigation{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:15px}
#sd-hub-layer .sac-navigation button{min-height:35px;border-radius:9px;border:1px solid #3870bc;background:#122c5f;color:#d5f0ff;padding:6px 11px;font-size:12px;font-weight:800;cursor:pointer}
#sd-hub-layer .sac-navigation button:hover{border-color:#28e4ff;background:#153f7b}
@media(max-width:700px){#sd-hub-layer .sd-hub{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:16px}
#sd-hub-layer .sd-hub-top{padding:13px 15px;min-height:69px}#sd-hub-layer .sac-logo{width:32px;height:35px;font-size:29px}
#sd-hub-layer .sac-brand-heading{font-size:22px}#sd-hub-layer .sac-brand-subtitle{font-size:9px}#sd-hub-layer #sac-tip-button{height:36px;min-width:71px;font-size:12px}
#sd-hub-layer #sd-hub-close{height:36px;width:36px;font-size:21px}#sd-hub-layer .sac-header-controls{gap:8px}
#sd-hub-layer .sac{padding:16px 14px}#sd-hub-layer .sac-profile-row{gap:10px;align-items:start}#sd-hub-layer .sac-person-left{gap:12px}#sd-hub-layer .sac-avatar-button{width:85px;height:85px;padding:4px}#sd-hub-layer .sac-online-bubble{width:16px;height:16px;border-width:2px;right:2px;bottom:3px}#sd-hub-layer .sac-identity h3{font-size:22px;margin-bottom:3px}#sd-hub-layer .sac-rank,#sd-hub-layer .sac-member{font-size:11px}#sd-hub-layer .sac-tier-hint{font-size:9px}
#sd-hub-layer .sac-achievements{width:130px}#sd-hub-layer .sac-achievements h4{font-size:11px}#sd-hub-layer .sac-achievement-grid{grid-template-columns:repeat(4,27px);gap:4px}#sd-hub-layer .sac-hex{height:27px;width:27px;font-size:12px}
#sd-hub-layer .sac-stat{min-height:77px;padding:9px 7px;gap:7px}#sd-hub-layer .sac-stat-wide{padding-left:13px}#sd-hub-layer .sac-stat strong{font-size:14px}#sd-hub-layer .sac-stat small{font-size:10px}#sd-hub-layer .sac-ico{font-size:21px;flex-basis:25px}#sd-hub-layer .sac-stat-section h4{font-size:12px;margin-bottom:9px}#sd-hub-layer .sac-cards{gap:7px;margin-bottom:7px}#sd-hub-layer .sac-tag{font-size:8px}}
@media(max-width:450px){#sd-hub-layer .sac-profile-row{flex-direction:column;gap:12px}#sd-hub-layer .sac-achievements{align-self:stretch;display:flex;justify-content:space-between;align-items:center;width:100%;gap:10px}#sd-hub-layer .sac-achievements h4{margin:0}#sd-hub-layer .sac-cards-three{grid-template-columns:1fr 1fr}#sd-hub-layer .sac-cards-three .sac-stat:nth-child(3){grid-column:1/-1}#sd-hub-layer .sac-stat{justify-content:flex-start}#sd-hub-layer .sac-avatar-button{width:82px;height:82px}}
@media(prefers-reduced-motion:reduce){#sd-hub-layer .sac *{animation:none!important;transition:none!important}}

/* v7.8 — clickable Achievements control in the Account card */
#sd-hub-layer button.sac-achievements{display:block;appearance:none;border:1px solid transparent;background:transparent;color:inherit;padding:7px 8px 9px;border-radius:14px;font:inherit;cursor:pointer;text-align:right;transition:background .2s,border-color .2s,box-shadow .2s}
#sd-hub-layer button.sac-achievements:hover,#sd-hub-layer button.sac-achievements:focus-visible{background:#132c57a8;border-color:#3185eacc;box-shadow:0 0 17px #116cfa29;outline:none}
#sd-hub-layer .sac-achievements-chevron{color:#30e9f2;font-size:15px}
#sd-hub-layer .sac-achievements-hint{display:block;color:#63d8f0;font-size:10px;margin-top:7px;font-weight:800;letter-spacing:.01em}
#sd-hub-layer .sac-achievements .sac-hex{cursor:pointer}
#sd-hub-layer .sac-navigation button[data-sac-action="achievements"]{border-color:#37c8ed;background:#0c3770;color:#abf7ff}
@media(max-width:700px){#sd-hub-layer button.sac-achievements{padding:5px}#sd-hub-layer .sac-achievements-hint{font-size:8px}}
