/* SLAHub — Sung Jinwoo Skills / Stage 104. Entirely scoped to .sj-page. */
.sj-page{--sj-gold:#ffd329;--sj-text:#f0f5ff;--sj-muted:#a9bdd8;--sj-line:#354e6e;--sj-surface:#142238;--sj-card:#111c2f;max-width:1530px;margin:0 auto;padding:6px 0 44px;color:var(--sj-text);font:inherit;line-height:1.5;width:100%}
.sj-page *{box-sizing:border-box}
.sj-page button,.sj-page input,.sj-page select{font:inherit}
.sj-page button{cursor:pointer}
.sj-page button:disabled{opacity:.55;cursor:not-allowed}
.sj-page button:focus-visible,.sj-page input:focus-visible,.sj-page select:focus-visible{outline:2px solid var(--sj-gold);outline-offset:2px}
.sj-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0 1px}
.sj-top h1{color:var(--sj-gold);font-size:24px;line-height:1.2;font-weight:800;margin:0}
.sj-top p{font-size:13px;color:#c8d5e8;margin:5px 0 0}
.sj-summary{flex:none;display:flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid #405879;border-radius:24px;background:#18293f;font-size:12px;font-weight:700;color:#b8cce9}
.sj-summary strong{font-size:15px;color:#fff}.sj-summary span{color:#64809f;margin:0 2px}
.sj-toolbar{background:rgba(18,34,54,.80);border:1px solid var(--sj-line);border-radius:12px;padding:11px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;margin:0 0 20px}
.sj-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.sj-tabs button{border:1px solid #395477;background:#1b2e49;color:#d4e1f2;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;transition:background .15s,border .15s}
.sj-tabs button:hover{background:#294465;border-color:#5f81ab}.sj-tabs button.is-current{color:#171b21;background:var(--sj-gold);border-color:var(--sj-gold)}
.sj-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sj-controls input,.sj-controls select{background:#0f1e32;border:1px solid #425d7f;color:#e8f0ff;padding:8px 9px;height:35px;line-height:normal;border-radius:7px;font-size:12px;outline:none}
.sj-controls input{min-width:170px;width:220px}.sj-controls input::placeholder{color:#8499b3}
.sj-controls label{font-size:12px;color:#b9c9db;display:flex;align-items:center;gap:6px;white-space:nowrap;font-weight:700}
.sj-controls select{min-width:75px}.sj-controls select option{background:#101d2e}
.sj-section{margin:0 0 31px}.sj-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 1px 11px;padding:0 0 8px;border-bottom:1px solid #344a67}
.sj-section-head h2{font-size:17px;color:#f3f6ff;font-weight:850;margin:0}.sj-section-head span{font-size:11px;color:#adbed5;background:#1c2b42;border:1px solid #314c70;border-radius:50px;padding:3px 8px;font-weight:700}
.sj-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch}
.sj-skill-card{min-width:0;background:linear-gradient(155deg,#16253a,#101a2c 60%);border:1px solid #314660;border-radius:12px;padding:15px 16px 18px;min-height:190px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:box-shadow .15s,border-color .15s}
.sj-skill-card:hover{border-color:#516b8e}.sj-skill-card.is-selected{border-color:#e3be21;box-shadow:inset 0 0 0 1px rgba(245,205,35,.13),0 4px 22px rgba(0,0,0,.10)}
.sj-skill-head{display:flex;align-items:center;gap:13px;min-height:75px;margin:0 0 12px}
.sj-hex{width:72px;height:75px;flex:0 0 72px;display:flex;justify-content:center;align-items:center;clip-path:polygon(50% 0%,96% 25%,96% 75%,50% 100%,4% 75%,4% 25%);background:#617c9f;padding:5px}
.sj-hex-inner{clip-path:polygon(50% 0%,96% 25%,96% 75%,50% 100%,4% 75%,4% 25%);background:linear-gradient(160deg,#314b6c,#13263f);height:100%;width:100%;display:flex;align-items:center;justify-content:center}
.sj-skill-icon{width:76%;height:76%;object-fit:contain;filter:brightness(1.22) drop-shadow(0 0 3px rgba(188,226,255,.3))}
.sj-glyph{font-size:33px;font-weight:900;color:#fff}
.sj-skill-meta{min-width:0;flex:1}
.sj-skill-meta h3{font-size:16px;color:#f5f7fd;margin:0 0 8px;line-height:1.22;font-weight:850;overflow-wrap:anywhere}
.sj-head-tags{display:flex;flex-wrap:wrap;gap:6px}
.sj-tag{display:inline-flex;justify-content:center;align-items:center;padding:4px 8px;border-radius:40px;font-size:11px;line-height:1.15;font-weight:800;white-space:nowrap}
.sj-kind{background:#302d15;color:#ffdf28;border:1px solid #6d6317}
.sj-rune-count{background:#293242;color:#cad5e5;border:1px solid #41536b}
.sj-effect{background:#193b49;color:#80ecdf;border:1px solid #2e6670}
.sj-runes{display:flex;justify-content:space-around;align-items:flex-start;gap:4px;padding:12px 8px 9px;margin:0 0 12px;background:linear-gradient(125deg,rgba(255,255,255,.035),rgba(255,255,255,.012));border:1px solid #36465b;border-radius:9px}
.sj-rune{position:relative;flex:0 1 68px;min-width:0;width:68px;padding:3px 0 1px;background:transparent;border:1px solid transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transition:transform .12s,box-shadow .12s,border-color .12s}
.sj-rune:hover{transform:translateY(-2px);border-color:#6685a7;background:rgba(81,113,156,.17)}
.sj-rune.is-active{background:rgba(255,213,47,.075);border-color:#e8bc1c;box-shadow:0 0 14px rgba(255,219,68,.17)}
.sj-rune-base{height:56px;width:56px;object-fit:contain;display:block;filter:drop-shadow(0 3px 3px rgba(0,0,0,.28))}
.sj-rune-symbol{position:absolute;top:13px;left:50%;transform:translateX(-50%);height:36px;width:36px;object-fit:contain;filter:brightness(1.14) drop-shadow(0 0 2px rgba(255,255,255,.4));pointer-events:none}
.sj-rune-fallback{display:none;position:absolute;top:18px;left:0;width:100%;text-align:center;font-size:25px;color:#e9f2ff;pointer-events:none}
.sj-rune-base:not([src]),.sj-rune-base[src=""]{display:none}
.sj-rune-name{font-size:10px;font-weight:750;color:#cbd7ea;line-height:1.2;max-width:100%;text-align:center;margin-top:3px;white-space:normal;overflow-wrap:anywhere}
.sj-rune.is-active .sj-rune-name{color:#ffe17c}
.sj-element{position:absolute;right:0;top:38px;min-width:19px;height:19px;line-height:19px;text-align:center;font-size:12px;background:#0f1b2b;border-radius:5px;border:1px solid #526784;z-index:2}
.sj-detail{margin-top:12px;padding:13px 14px 14px;background:linear-gradient(120deg,#0a1527,#111d30);border:1px solid #2c3f57;border-left:3px solid var(--sj-gold);border-radius:9px;min-width:0}
.sj-detail-kicker{display:flex;flex-wrap:wrap;gap:4px;font-size:10px;color:#a5bbd3;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:0 0 7px}.sj-detail-kicker b{color:#e9d77d}
.sj-detail-title{color:#f9fbff;font-size:14px;line-height:1.3;font-weight:850;margin:0 0 8px}
.sj-detail-description{font-size:12px;line-height:1.55;color:#d4ddeb;margin:0 0 12px;overflow-wrap:anywhere}
.sj-stats{border-top:1px solid #26394f;border-bottom:1px solid #26394f;padding:8px 0;display:grid;gap:5px}
.sj-stats>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:12px;line-height:1.45}
.sj-stats span{color:#bdcadd}.sj-stats strong{color:#ffda72;font-weight:850;text-align:right}
.sj-additional{margin-top:10px;color:#d9e4f1;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.sj-tags{display:flex;gap:6px;margin-top:9px;flex-wrap:wrap}
.sj-empty,.sj-loading{border:1px solid #365174;border-radius:10px;padding:28px;text-align:center;background:#15243b;color:#bfd1e4;font-size:13px}
.sj-loading button{background:#ffda32;border:0;color:#101827;border-radius:7px;padding:6px 14px;margin-left:10px;font-weight:800}
@media(max-width:1340px){.sj-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sj-toolbar{flex-direction:column}.sj-controls input{flex:1;width:auto}}
@media(max-width:850px){.sj-grid{grid-template-columns:1fr}.sj-skill-card{min-height:0}.sj-top{flex-wrap:wrap}.sj-runes{justify-content:flex-start;gap:8px}.sj-rune{flex:0 1 76px;width:76px}}
@media(max-width:560px){.sj-page{padding-bottom:22px}.sj-top h1{font-size:21px}.sj-summary{font-size:11px}.sj-toolbar{padding:8px}.sj-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.sj-tabs button{padding:8px 6px}.sj-controls{display:grid;grid-template-columns:1fr 1fr;width:100%}.sj-controls input{width:100%;grid-column:1/-1}.sj-controls label{justify-content:space-between}.sj-controls select{max-width:120px}.sj-skill-card{padding:13px}.sj-runes{flex-wrap:wrap}.sj-rune{flex:0 0 64px;width:64px}}
@media(prefers-reduced-motion:reduce){.sj-page *, .sj-page *::before,.sj-page *::after{transition:none!important;scroll-behavior:auto!important}}

/* Stage 104: image compositing and row geometry. Runic art is PNG-only;
   no rune-name text underneath small icons (title and detail provide names). */
.sj-skill-head{min-height:76px}
.sj-hex-inner{position:relative}
.sj-glyph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;color:#daeaff}
.sj-skill-icon{position:relative;z-index:1;width:78%;height:78%;display:block}
.sj-runes{display:flex;align-items:center;justify-content:space-evenly;gap:6px;min-height:88px;padding:10px 8px;margin-bottom:14px;overflow:visible}
.sj-rune{flex:0 1 72px;min-width:0;width:72px;min-height:70px;padding:3px;border:1px solid transparent;border-radius:8px;position:relative;display:flex;align-items:center;justify-content:center}
.sj-rune-art{display:block;position:relative;width:60px;height:60px;flex:0 0 60px}
.sj-rune-base{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1;object-fit:contain}
.sj-rune-symbol{display:block;position:absolute;top:12px;left:12px;transform:none;width:36px;height:36px;z-index:2;object-fit:contain}
.sj-rune-fallback{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;height:100%;top:0;left:0;font-size:28px;color:#f3edf9;background:radial-gradient(circle at 40% 30%,#8f344c,#651b39 65%,#300a22);clip-path:polygon(50% 0,88% 22%,100% 65%,65% 100%,18% 88%,0 38%);pointer-events:none}
.sj-element{right:0;top:auto;bottom:2px;z-index:4;font-size:12px;line-height:18px;height:19px}
.sj-rune-name{display:none!important}
.sj-rune:hover{transform:translateY(-1px)}
.sj-rune.is-active{background:rgba(255,213,47,.08)}
.sj-rune.is-active .sj-rune-art{filter:drop-shadow(0 0 6px rgba(255,211,47,.3))}
.sj-image-failed{display:none!important}
.sj-page .sj-rune img,.sj-page .sj-hex img{font-size:0;color:transparent;text-indent:-9999px}
/* Keep each skill card compact when other cards in a row have open details. */
.sj-skill-card{min-height:0}
@media(max-width:480px){.sj-runes{gap:4px;padding:8px 4px}.sj-rune{width:60px;flex-basis:60px;min-height:62px}.sj-rune-art{width:52px;height:52px;flex-basis:52px}.sj-rune-symbol{top:10px;left:10px;width:32px;height:32px}}
/* Stage 104 sidebar link: remove the old disabled presentation without
   changing any other COMING SOON entries. */
[data-sjw-nav="1"]{pointer-events:auto!important;opacity:1!important;filter:none!important;cursor:pointer!important}
[data-sjw-nav="1"] .soon,[data-sjw-nav="1"] .soon-badge,[data-sjw-nav="1"] [class*="coming-soon"]{display:none!important}

/* Stage 105 — actual images use CSS backgrounds, so zero-byte PNGs never show broken img text. */
.sj-page .sj-asset-layer{display:block!important;background-size:contain;background-repeat:no-repeat;background-position:center;font-size:0!important;color:transparent!important;text-indent:0!important}
.sj-page .sj-skill-icon{position:relative;z-index:1}
.sj-page .sj-rune-base{position:absolute;inset:0}
.sj-page .sj-rune-symbol{position:absolute;top:12px;left:12px;transform:none}
.sj-assets-notice{margin:0 0 14px;padding:10px 13px;border:1px solid #76602a;border-radius:9px;background:#262319;color:#f5dda6;font-size:12px;line-height:1.45}
.sj-assets-notice strong{color:#ffe8b1}
.sj-assets-notice a{color:#c4dfff;text-decoration:underline}


/* Stage 106 — display original element images; remove decorative polygon behind runes. */
.sj-page .sj-rune-fallback{display:none!important;background:none!important;clip-path:none!important}
.sj-page .sj-rune .sj-element{
 position:absolute;right:0;bottom:1px;top:auto;z-index:5;
 display:block;width:21px;height:21px;min-width:0;padding:0;
 border:0;border-radius:0;background:transparent;box-shadow:none;
 font-size:0;line-height:0;pointer-events:none;
}
.sj-page .sj-rune .sj-element-icon{
 display:block;position:absolute;inset:0;width:100%;height:100%;
 background-repeat:no-repeat;background-position:center;background-size:contain;
 filter:drop-shadow(0 1px 2px rgba(0,0,0,.65));
}
@media(max-width:480px){.sj-page .sj-rune .sj-element{width:19px;height:19px;bottom:0}}


/* Stage 107 — independent skill detail panels, no ornamental star, readable descriptions. */
.sj-page .sj-glyph{display:none!important}
.sj-page .sj-hex-inner .sj-skill-icon{position:relative;z-index:1}
.sj-page .sj-expand-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sj-page .sj-expand-actions button{padding:8px 10px;background:#1b2e49;border:1px solid #405e82;border-radius:7px;color:#dce9f9;font-size:12px;font-weight:750;line-height:1.2;white-space:nowrap}
.sj-page .sj-expand-actions button:hover{background:#2a4060;border-color:#7b9cc2}
.sj-page .sj-default-toggle{display:block;align-self:flex-start;padding:7px 11px;margin:4px 0 8px;background:#1a2c46;border:1px solid #415c7c;border-radius:7px;color:#dbe8f9;font-size:12px;font-weight:750}
.sj-page .sj-default-toggle:hover{border-color:var(--sj-gold);color:#ffe184}
/* Yellow highlighted numbers and white explanatory text are both slightly larger. */
.sj-page .sj-detail{padding:15px 16px 16px}
.sj-page .sj-detail-kicker{font-size:11px}
.sj-page .sj-detail-title{font-size:15.5px}
.sj-page .sj-detail-description,.sj-page .sj-additional{font-size:13.5px;line-height:1.65}
.sj-page .sj-stats>div{font-size:13px;line-height:1.55}
.sj-page .sj-stats strong{font-size:13.5px}
.sj-page .sj-tags .sj-tag{font-size:12px}
@media(max-width:560px){.sj-page .sj-expand-actions{justify-content:flex-start;width:100%}.sj-page .sj-expand-actions button{flex:1}}

/* Stage 108 — distinct types, no auto-open hints or API source footer. */
.sj-page .sj-kind--regular{
 background:rgba(21,117,121,.22);
 border-color:#1c8d91;
 color:#60e3db;
}
.sj-page .sj-kind--break{
 background:rgba(151,87,25,.24);
 border-color:#b4762f;
 color:#ffc078;
}


/* Stage 110 — game-text descriptions with inline highlighted values and effect artwork. */
.sj-page .sj-detail{margin-top:13px;background:linear-gradient(150deg,#10151c,#0e131a);border-color:#2b3038;border-left:3px solid #ffda2a;border-radius:10px;padding:16px 17px 17px}
.sj-page .sj-detail-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.sj-page .sj-detail-art{display:block;flex:0 0 49px;width:49px;height:49px;position:relative}
.sj-page .sj-detail-art-image{display:block;width:100%;height:100%;}
.sj-page .sj-detail-heading-text{display:flex;align-items:flex-start;flex-direction:column;gap:3px;min-width:0}
.sj-page .sj-detail-title{font-size:15px;line-height:1.28;font-weight:800;color:#fff;margin:0}
.sj-page .sj-detail-element{display:inline-flex;gap:5px;align-items:center;color:#b3c1d0;font-size:12px;line-height:20px}
.sj-page .sj-detail-element .sj-element{position:static;display:inline-block;flex:0 0 18px;width:18px;height:18px;min-width:0;border:0;border-radius:0;background:transparent;pointer-events:none}
.sj-page .sj-detail-element .sj-element-icon{display:block;inset:0;position:relative;width:18px;height:18px;background-size:contain;background-position:center;background-repeat:no-repeat}
.sj-page .sj-detail-description,.sj-page .sj-description-row,.sj-page .sj-buff-note{font-size:13.5px;line-height:1.55;color:#dbe1e8}
.sj-page .sj-detail-description{margin:0 0 10px}
.sj-page .sj-detail-lines{display:flex;flex-direction:column;gap:3px}
.sj-page .sj-description-row{display:flex;align-items:flex-start;gap:6px;min-height:20px;overflow-wrap:anywhere}
.sj-page .sj-description-row>span{min-width:0;flex:1}
.sj-page .sj-description-row span[style],.sj-page .sj-buff-note span[style]{font-weight:500}
.sj-page .sj-description-effect{padding-left:1px}
.sj-page .sj-effect-image{display:inline-block;flex:0 0 22px;width:22px;height:22px;align-self:flex-start;margin-top:-1px}
.sj-page .sj-buff-note{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;margin:1px 0 4px 8px;background:rgba(68,83,110,.15);border-left:2px solid #627e9e;border-radius:4px}
.sj-page .sj-buff-note>span{min-width:0}
.sj-page .sj-buff-note .sj-effect-image{margin-top:1px}
@media(max-width:560px){.sj-page .sj-detail{padding:13px}.sj-page .sj-detail-description,.sj-page .sj-description-row,.sj-page .sj-buff-note{font-size:13px}}

/* Stage 110: specific no-rune skill icons use validated PNG endpoint in /api/. */
