/* One workspace layout; native study components keep their shared form and controls. */
body.sj-industry-page :is(#region-main,#page-content,#region-main-box,.edly-main){width:100%!important;max-width:none!important;min-width:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.sj-industry-page :is(.bottom-region-main-box,#region-main){padding:0!important}
html body.sj-industry-page.s3-premium #page#page.container.bottom-region-main-box{padding:0!important;margin-top:0!important}
html body.sj-industry-page.s3-premium #page#page{border:0!important;border-radius:0!important;box-shadow:none!important}
html body.sj-industry-page.s3-premium :is(#region-main#region-main,.edly-main){border:0!important;margin:0!important;padding:0!important}
body.sj-industry-page #sidebar-toggle-btn{display:none!important}
body.sj-industry-page #sjindustry-app{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-width:0}
#sjindustry-app#sjindustry-app #workspace{margin:0!important;padding:0!important;max-width:none!important;width:100%;min-width:0}
#sjindustry-app#sjindustry-app .industry-topbar{position:relative;display:flex;align-items:center;gap:12px;height:62px;min-height:62px;padding:0;margin:0 0 12px;background:linear-gradient(115deg,#fff 55%,#e9faf8);border:1px solid #d2e9e7;border-radius:12px;box-shadow:none}
#sjindustry-app .industry-menu{position:relative;flex:0 0 auto;z-index:30}
#sjindustry-app .industry-menu>summary{list-style:none;display:grid;place-items:center;width:36px;height:36px;border:1px solid #bddfdb;border-radius:10px;background:#fff;color:#087e7f;font-size:24px;line-height:1;cursor:pointer}
#sjindustry-app .industry-menu>summary::-webkit-details-marker{display:none}
#sjindustry-app .industry-menu>summary:hover,#sjindustry-app .industry-menu[open]>summary{background:#dff6f1}
#sjindustry-app .industry-menu>summary:focus-visible{outline:3px solid #1682ce;outline-offset:3px}
#sjindustry-app#sjindustry-app .industry-menu .industry-picker{position:absolute;top:calc(100% + 10px);left:0;display:block!important;width:280px;max-width:calc(100vw - 20px);padding:10px!important;margin:0!important;background:#fff;border:1px solid #d3e7e5;border-radius:14px;box-shadow:0 18px 50px #183b4b26}
#sjindustry-app#sjindustry-app .industry-menu .home-link{display:flex;margin:0 0 6px!important;padding:12px!important;border-radius:10px;border-bottom:1px solid #e5efef;font-size:14px;font-weight:700;color:#14666c}
#sjindustry-app#sjindustry-app .industry-menu #industries{display:grid!important;grid-template-columns:1fr;gap:4px;overflow:visible;max-width:none;padding:0}
#sjindustry-app#sjindustry-app .industry-menu .industry-link{display:flex!important;padding:11px 13px!important;gap:12px;border:1px solid transparent!important;border-radius:10px!important;background:transparent;font-size:14px!important;white-space:normal}
#sjindustry-app#sjindustry-app .industry-menu .industry-link:hover{background:#f2f8f8}
#sjindustry-app#sjindustry-app .industry-menu .industry-link.active{background:#e6f7f3;color:#087568;border-color:#b9dfd6!important}
#sjindustry-app#sjindustry-app .industry-menu .industry-icon{display:grid!important;place-items:center;width:32px;height:32px;background:#edf6f5;border-radius:8px;color:#197c76;font-size:18px}
#sjindustry-app#sjindustry-app .industry-menu .industry-link small{display:block!important;font-size:11px;color:#859998;margin-top:2px}
#sjindustry-app .industry-heading{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
#sjindustry-app .industry-kicker{font-size:16px;font-weight:800;color:#233f49;white-space:nowrap;font-style:normal}
#sjindustry-app#sjindustry-app #industry-title{font-size:26px!important;line-height:1.2;margin:0!important;letter-spacing:0;color:rgb(255,0,0);font-weight:800;font-style:normal}
#sjindustry-app #industry-title>span{display:none}
#sjindustry-app#sjindustry-app .hero-stats{display:flex;align-items:center;gap:6px;margin:0 0 0 8px;flex-wrap:wrap;justify-content:flex-start;color:#2a575e}
#sjindustry-app#sjindustry-app .hero-stats>span{display:inline-flex;align-items:center;white-space:nowrap;font-size:12px!important;font-weight:750;padding:6px 9px!important;background:#fff0f7;color:#20262e;border:1px solid #f3b4d0!important;border-radius:7px}
#sjindustry-app#sjindustry-app #modes.mode-tabs{padding:0!important;margin:0 0 12px!important;border:0!important;background:transparent!important;max-width:100%;box-sizing:border-box}
@media(min-width:768px){#sjindustry-app#sjindustry-app #modes.mode-tabs{padding-inline-start:10%!important}}
#sjindustry-app#sjindustry-app .learning-layout{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(210px,16vw,280px)!important;gap:14px!important;align-items:start;min-width:0;width:100%}
#sjindustry-app#sjindustry-app .learning-main{width:100%;min-width:0;grid-row:auto}
#sjindustry-app#sjindustry-app .toolbar{display:flex;align-items:center;gap:12px;margin:0 0 10px!important;padding:0;min-height:40px}
#sjindustry-app .study-heading{display:flex;align-items:baseline;gap:7px;flex-shrink:0}
#sjindustry-app #study-count{font:700 15px/1.3 'Segoe UI',Arial,sans-serif;color:#000}
#sjindustry-app #study-count[hidden],#sjindustry-app #study-search[hidden]{display:none!important}
#sjindustry-app#sjindustry-app #study-search{width:clamp(185px,18vw,270px);max-width:100%;height:32px;padding:5px 10px;border:1px solid #cad9d4;border-radius:8px;background:#fff;color:#172b43;font:12px/1.4 'Segoe UI',Arial,sans-serif}
#sjindustry-app#sjindustry-app .toolbar .eyebrow{font-size:11px!important;letter-spacing:0!important;text-transform:none;color:#51616b;font-weight:600;font-style:normal;line-height:1.3}
#sjindustry-app#sjindustry-app .toolbar h2{font-size:19px!important;line-height:1.25;margin:0;color:#172b43;font-style:normal}
#sjindustry-app .lesson-stepper{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;flex:1}
#sjindustry-app#sjindustry-app #current-lesson{margin:0;min-width:0;font:700 14px/1.4 'Segoe UI',Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#000!important;text-align:center;overflow-wrap:anywhere;transform:none!important}
#sjindustry-app#sjindustry-app .lesson-step{display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}
#sjindustry-app .lesson-step:disabled{opacity:.28;filter:grayscale(.5)}
#sjindustry-app .lesson-step:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px)}
#sjindustry-app .lesson-step-art{display:block;width:28px;height:29.5px;background-image:url('/bao-han-tu/navigation-reference-e1fb698f180a38aa.png');background-repeat:no-repeat;background-size:130.0445px 73.243px;pointer-events:none;border-radius:5px}
#sjindustry-app .lesson-step-art.prev{background-position:-13.5335px -19.6145px}
#sjindustry-app .lesson-step-art.next{background-position:-88.4335px -19.6145px}
#sjindustry-app .toolbar-actions{display:flex;gap:5px;flex-shrink:0;margin-left:auto}
#sjindustry-app#sjindustry-app .toolbar-actions button{min-height:30px;font-size:11px;padding:5px 8px;border-radius:8px}
#sjindustry-app#sjindustry-app #content{width:100%;min-width:0;max-width:none}
#sjindustry-app#sjindustry-app .sj-native-study{width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent}
#sjindustry-app#sjindustry-app .sj-native-frame{display:block;width:100%;max-width:none;border:0;border-radius:12px;background:transparent}
#sjindustry-app#sjindustry-app .lesson-rail{position:static!important;grid-row:auto!important;align-self:start;display:block!important;width:100%;max-height:none!important;overflow:visible!important;padding:12px!important;background:#fff;border:1px solid #d6e6e8;border-radius:12px}
#sjindustry-app#sjindustry-app .lesson-rail[hidden]{display:none!important}
#sjindustry-app#sjindustry-app .lesson-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
#sjindustry-app#sjindustry-app .lesson-title h2{font-size:15px!important;margin:0;font-style:normal}
#sjindustry-app#sjindustry-app .lesson-title span{display:block!important;font-size:10px!important;color:#63717a}
#sjindustry-app #lesson-toggle{display:none}
#sjindustry-app#sjindustry-app .all-lessons{width:100%!important;float:none!important;margin:0 0 8px!important;padding:8px!important;font-size:11px!important;text-align:left;border-radius:8px}
#sjindustry-app#sjindustry-app .lesson-grid{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px;overflow:visible!important}
#sjindustry-app#sjindustry-app .lesson{min-width:0!important;width:100%;min-height:0!important;font:600 12px/1.5 'Segoe UI',Arial,sans-serif!important;color:#111!important;padding:9px 10px!important;text-align:left;border-radius:8px;letter-spacing:0;font-style:normal!important}
#sjindustry-app#sjindustry-app .lesson.active{color:#000!important;background:#ffff00;border-color:#d7bd00}
#sjindustry-app#sjindustry-app .lesson b{display:inline!important;font:700 12px/1.5 'Segoe UI',Arial,sans-serif!important;color:inherit!important;margin:0}
#sjindustry-app#sjindustry-app .daily-progress{display:flex!important;margin-top:12px;font-size:11px}
#sjindustry-app#sjindustry-app .pdf-reader{width:100%;border:1px solid #cfd6de;border-radius:10px;overflow:hidden;background:#e9edf2;box-shadow:0 4px 16px #172b4310}
#sjindustry-app#sjindustry-app .pdf-reader-toolbar{display:flex;align-items:center;flex-wrap:wrap;padding:8px 10px;background:#ffff00;gap:8px;color:#000}
#sjindustry-app#sjindustry-app .pdf-reader-title{display:flex;align-items:center;gap:7px;min-width:0;flex:1;font:700 12px/1.3 'Segoe UI',Arial,sans-serif!important;color:#000}
#sjindustry-app .pdf-brand-logo{display:block;flex:0 0 auto;width:60px;height:24px;object-fit:contain;border:0;border-radius:3px}
#sjindustry-app .pdf-reader-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit!important;max-width:280px}
#sjindustry-app#sjindustry-app .pdf-reader-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0;color:#000}
#sjindustry-app#sjindustry-app .pdf-reader-controls button,#sjindustry-app#sjindustry-app .pdf-reader-controls a{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px!important;height:30px;min-width:28px;border:1px solid #c2ab00!important;border-radius:5px;background:#fff!important;color:#20262e!important;font:600 13px/1 'Segoe UI',Arial,sans-serif!important;text-decoration:none;box-shadow:none}
#sjindustry-app .pdf-reader-controls button:disabled{opacity:.45}
#sjindustry-app .pdf-reader-controls button:hover:not(:disabled),#sjindustry-app .pdf-reader-controls a:hover{background:#fff9c4!important}
#sjindustry-app#sjindustry-app .pdf-reader-controls label{display:flex;align-items:center;gap:4px;margin:0;font:600 12px/1.2 'Segoe UI',Arial,sans-serif;color:#000}
#sjindustry-app#sjindustry-app #pdf-page{width:42px;height:30px;padding:3px!important;border:1px solid #b5a44b;border-radius:4px;background:#fff;color:#171b20;text-align:center;font:12px 'Segoe UI',Arial,sans-serif}
#sjindustry-app #pdf-zoom{width:125px;height:30px;padding:3px 5px!important;border:1px solid #b5a44b;border-radius:4px;background:#fff;color:#171b20;font:11px 'Segoe UI',Arial,sans-serif}
#sjindustry-app#sjindustry-app .pdf-viewport{position:relative;height:auto!important;max-height:none!important;min-height:0;padding:16px;background:#dfe4eb;overflow:auto;scrollbar-color:#9ba6b5 #e0e5ed;overscroll-behavior:auto}
#sjindustry-app .pdf-sheet-stage{display:flex;justify-content:center;align-items:flex-start;min-width:100%;width:max-content;min-height:240px;margin:0 auto}
#sjindustry-app .pdf-canvas{display:block;max-width:none!important;flex:0 0 auto;background:#fff;box-shadow:0 2px 9px #172b4333}
#sjindustry-app .pdf-render-status{position:absolute;top:26px;left:50%;transform:translateX(-50%);z-index:1;margin:0;padding:10px 14px;max-width:90%;width:max-content;border-radius:7px;background:#fff;color:#334155;box-shadow:0 2px 12px #172b4320;font:12px/1.5 'Segoe UI',Arial,sans-serif;text-align:center}
#sjindustry-app#sjindustry-app .pdf-reader-bottom{display:flex;justify-content:space-between;align-items:center;background:#f5f7fa;color:#4c5f71;padding:7px 10px;font:11px/1.4 'Segoe UI',Arial,sans-serif}
#sjindustry-app#sjindustry-app .pdf-reader:fullscreen{display:flex!important;flex-direction:column!important;width:100vw!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;min-height:0!important}
#sjindustry-app#sjindustry-app .pdf-reader:fullscreen .pdf-viewport{flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;overscroll-behavior:contain}
#sjindustry-app#sjindustry-app .pdf-reader:fullscreen :is(.pdf-reader-toolbar,.pdf-reader-bottom){flex:0 0 auto}
#sjindustry-app .pdf-page-row{margin-top:10px}
@media(max-width:1100px) and (min-width:768px){#sjindustry-app .industry-kicker{font-size:14px}#sjindustry-app#sjindustry-app #industry-title{font-size:23px!important}#sjindustry-app#sjindustry-app .hero-stats>span{font-size:10px!important;padding:5px 7px!important}#sjindustry-app#sjindustry-app .toolbar{flex-wrap:wrap;gap:4px 10px}#sjindustry-app .lesson-stepper{order:3;flex-basis:100%}}
@media(max-width:767px){
 #sjindustry-app#sjindustry-app .industry-topbar{display:grid;grid-template-columns:32px minmax(0,1fr);gap:5px 8px;height:auto;min-height:68px;padding:0;margin-bottom:10px;border-radius:9px}
 #sjindustry-app .industry-menu>summary{width:32px;height:32px;font-size:22px;border-radius:8px}
 #sjindustry-app .industry-heading{gap:5px}#sjindustry-app .industry-kicker{font-size:12px}#sjindustry-app#sjindustry-app #industry-title{font-size:21px!important}
 #sjindustry-app#sjindustry-app .hero-stats{grid-column:2;margin:0;gap:4px}#sjindustry-app#sjindustry-app .hero-stats>span{font-size:9px!important;padding:4px 5px!important;border-radius:5px}
 #sjindustry-app#sjindustry-app .learning-layout{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 #sjindustry-app#sjindustry-app .lesson-rail{position:static!important;grid-row:1!important;max-height:none!important;padding:8px!important;border-radius:9px}
 #sjindustry-app#sjindustry-app .lesson-title{margin:0}#sjindustry-app#sjindustry-app .lesson-title h2{font-size:13px!important}#sjindustry-app#sjindustry-app .lesson-title span{display:none!important}
 #sjindustry-app#sjindustry-app #lesson-toggle{display:block;font:600 11px/1.4 'Segoe UI',Arial,sans-serif;max-width:72%;padding:6px 8px;text-align:left;background:#fff6be;color:#222;border-color:#e4cf58}
 #sjindustry-app#sjindustry-app .lesson-rail:not(.is-open) :is(.lesson-grid,.all-lessons,.daily-progress){display:none!important}
 #sjindustry-app#sjindustry-app .lesson-rail.is-open .lesson-title{margin-bottom:8px}#sjindustry-app#sjindustry-app .lesson-rail.is-open .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible!important}
 #sjindustry-app#sjindustry-app .toolbar{flex-wrap:wrap;gap:5px 8px;margin-bottom:8px!important}#sjindustry-app .study-heading{gap:6px}#sjindustry-app#sjindustry-app .toolbar h2{font-size:17px!important}#sjindustry-app#sjindustry-app .toolbar .eyebrow{font-size:10px!important}
 #sjindustry-app .lesson-stepper{order:3;flex-basis:100%;gap:4px}#sjindustry-app#sjindustry-app #current-lesson{font-size:13px!important}#sjindustry-app#sjindustry-app .lesson-step{width:38px;height:40px;flex-basis:38px}
 #sjindustry-app .toolbar-actions{flex:1;justify-content:flex-end;min-width:0}#sjindustry-app#sjindustry-app #study-search{width:100%;min-width:80px;font-size:10px}
 #sjindustry-app#sjindustry-app .pdf-reader-toolbar{padding:7px;gap:6px}#sjindustry-app#sjindustry-app .pdf-reader-title{flex-basis:100%;font-size:11px!important}#sjindustry-app .pdf-reader-title strong{max-width:none}
 #sjindustry-app#sjindustry-app .pdf-reader-controls{gap:4px;width:100%}#sjindustry-app#sjindustry-app .pdf-reader-controls button,#sjindustry-app#sjindustry-app .pdf-reader-controls a{min-width:24px;padding:4px 5px!important;height:28px;font-size:12px!important}
 #sjindustry-app #pdf-zoom{width:104px;height:28px;font-size:10px}#sjindustry-app#sjindustry-app #pdf-page{width:34px;height:28px}
 #sjindustry-app .pdf-download-label{display:none}#sjindustry-app#sjindustry-app .pdf-viewport{padding:10px;height:auto;min-height:0}#sjindustry-app#sjindustry-app .pdf-reader-bottom{font-size:10px;padding:6px 8px}
}
@media(prefers-reduced-motion:reduce){#sjindustry-app .lesson-step{transition:none}}

/* Yellow PDF bar with neutral controls and one clear download action. */
#sjindustry-app#sjindustry-app .pdf-reader-controls a.pdf-download{background:#20262e!important;color:#fff!important;border-color:#20262e!important}
#sjindustry-app#sjindustry-app .pdf-reader-controls a.pdf-download:hover{background:#39434e!important;border-color:#39434e!important}
#sjindustry-app#sjindustry-app .pdf-reader-controls :is(button,a,input,select):focus-visible{outline:2px solid #20262e!important;outline-offset:2px}

/* Keep only page, zoom and community signature under the PDF. */
#sjindustry-app#sjindustry-app .pdf-reader-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;color:#20262e;font-weight:750}
#sjindustry-app #pdf-scale{grid-column:2;text-align:center}
#sjindustry-app .pdf-page-row:has(#manage-link[hidden]){display:none}
#sjindustry-app#sjindustry-app .learning-footer{color:#20262e;font-weight:750}

/* Arcade surfaces are scoped to Game; other study modes keep their native design. */
#sjindustry-app .sj-arcade{--arc-bg:#101222;--arc-line:#343953;--arc-text:#f5f6ff;--arc-muted:#c1c6df;--arc-violet:#bda4ff;--arc-mint:#63eed0;position:relative;isolation:isolate;overflow:hidden;padding:24px;border:1px solid #343953;border-radius:18px;background:radial-gradient(ellipse at 100% 0,#503b8b40,transparent 55%),#101222;color:var(--arc-text)!important;font-family:'Segoe UI',Arial,sans-serif!important;box-shadow:0 12px 32px #1012221a}
#sjindustry-app .sj-arcade{--sj-font-mixed:'Segoe UI',Arial,sans-serif;--sj-font-vi:'Segoe UI',Arial,sans-serif;--sj-font-control:'Segoe UI',Arial,sans-serif}
#sjindustry-app#sjindustry-app .sj-arcade,#sjindustry-app#sjindustry-app .sj-arcade *{box-sizing:border-box;font-family:'Segoe UI',Arial,sans-serif!important}
#sjindustry-app#sjindustry-app .sj-arcade [lang=ja]{--sj-font-mixed:'Yu Gothic','Meiryo',sans-serif;font-family:'Yu Gothic','Meiryo',sans-serif!important}
#sjindustry-app .sj-arcade :is(h3,p){margin:0;color:inherit!important}
#sjindustry-app .sj-arcade svg{display:block;width:22px;height:22px;flex-shrink:0}
#sjindustry-app .arcade-top{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--arc-line)}
#sjindustry-app .arcade-brand{display:flex;align-items:center;gap:8px;font-size:11px!important;font-weight:800!important;letter-spacing:1px!important;color:#fff!important;white-space:nowrap}
#sjindustry-app .arcade-brand>svg{color:var(--arc-violet)!important;width:25px;height:25px}
#sjindustry-app .arcade-brand>b{padding:3px 6px;border:1px solid #62508b;border-radius:4px;color:#d9caff!important;font-size:9px!important;letter-spacing:1.4px!important}
#sjindustry-app .arcade-tag{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:9px!important;font-weight:750!important;letter-spacing:1px!important;color:var(--arc-mint)!important}
#sjindustry-app .arcade-tag:before,#sjindustry-app .arcade-lobby-footer i{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--arc-mint);box-shadow:0 0 8px #63eed044}
#sjindustry-app .arcade-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 0}
#sjindustry-app .sj-arcade .arcade-eyebrow{font-size:10px!important;font-weight:800!important;letter-spacing:1.8px!important;color:var(--arc-violet)!important;line-height:1.5}
#sjindustry-app .arcade-hero h3{margin:9px 0 10px;font-size:clamp(27px,2.7vw,41px)!important;font-weight:800!important;line-height:1.17;letter-spacing:-1.2px!important}
#sjindustry-app .arcade-hero h3 span{color:#c2a9ff!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit}
#sjindustry-app .sj-arcade .arcade-copy{font-size:12px!important;line-height:1.7;color:var(--arc-muted)!important}
#sjindustry-app .arcade-record{display:flex;align-items:center;gap:12px;background:#1b1d33;border:1px solid #45415f;padding:16px 20px;border-radius:12px}
#sjindustry-app .arcade-record>svg{width:30px;height:30px;color:#ffd37d!important}
#sjindustry-app .arcade-record>span{color:var(--arc-muted)!important;font-size:9px!important;font-weight:700!important;letter-spacing:1px!important}
#sjindustry-app .arcade-record strong{display:flex;align-items:baseline;gap:6px;font-size:30px!important;color:#fff!important;line-height:1.3;letter-spacing:-1px!important;font-variant-numeric:tabular-nums}
#sjindustry-app .arcade-record small{font-size:11px!important;letter-spacing:0!important;font-weight:600!important;color:var(--arc-muted)!important}
#sjindustry-app .arcade-games{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#sjindustry-app .sj-arcade .arcade-mode{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:20px;text-align:left;min-width:0;min-height:246px;border:1px solid #665097;border-radius:13px;background:linear-gradient(135deg,#322453,#1d1d36);color:#f5f6ff!important;box-shadow:0 4px 0 #080b16;transition:border-color .16s,transform .16s}
#sjindustry-app .sj-arcade .arcade-mode:hover{background:linear-gradient(135deg,#413064,#252340);border-color:#bd9bff;transform:translateY(-2px)}
#sjindustry-app .sj-arcade .arcade-mode:active{transform:translateY(1px)}
#sjindustry-app .sj-arcade .arcade-memory{border-color:#376d6b;background:linear-gradient(135deg,#153b3e,#182b35)}
#sjindustry-app .sj-arcade .arcade-memory:hover{background:linear-gradient(135deg,#1c4b4b,#1b353f);border-color:#63eed0}
#sjindustry-app .arcade-mode-top{display:flex;align-items:center;gap:9px;margin-bottom:18px}
#sjindustry-app .arcade-mode-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#be9eff24;color:#c8acff!important;border:1px solid #9978cf}
#sjindustry-app .arcade-memory .arcade-mode-icon{background:#63eed019;border-color:#478e85;color:#82ffe3!important}
#sjindustry-app .arcade-mode-tag{font-size:9px!important;font-weight:800!important;letter-spacing:1.4px!important;color:#e2ceff!important}
#sjindustry-app .arcade-memory .arcade-mode-tag{color:#a5f9e7!important}
#sjindustry-app .arcade-mode>strong{position:relative;z-index:1;font-size:21px!important;line-height:1.3;font-weight:800!important;letter-spacing:-.5px!important;margin-bottom:9px;padding-right:50px;color:#fff!important}
#sjindustry-app .arcade-mode-copy{position:relative;z-index:1;display:block;color:#e2ddf2!important;font-size:12px!important;line-height:1.7;margin-bottom:18px}
#sjindustry-app .arcade-memory .arcade-mode-copy{color:#d0eeea!important}
#sjindustry-app .arcade-rules{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:10px!important;line-height:1.6;color:#d3c4ed!important;margin-top:auto;margin-bottom:14px}
#sjindustry-app .arcade-rules i{font-style:normal;color:#8e80a8!important}
#sjindustry-app .arcade-memory .arcade-rules{color:#b1dcd7!important}
#sjindustry-app .arcade-launch{display:flex;align-items:center;justify-content:space-between;width:100%;padding:9px 12px;background:#c8acff;border:1px solid #d6c2ff;color:#181126!important;font-size:12px!important;font-weight:800!important;border-radius:7px}
#sjindustry-app .arcade-launch svg{width:18px;height:18px}
#sjindustry-app .arcade-memory .arcade-launch{background:#79eed6;border-color:#a2f6e4;color:#0e292b!important}
#sjindustry-app .arcade-mode-art{position:absolute;pointer-events:none;right:18px;top:22px}
#sjindustry-app .arcade-clock{display:flex;flex-direction:column;align-items:center;justify-content:center;width:68px;height:68px;transform:rotate(9deg);border:2px solid #c2a2ff55;border-radius:50%;background:#be9eff0c;color:#d6c2ff!important;font-size:26px!important;font-weight:800!important;line-height:1}
#sjindustry-app .arcade-clock small{display:block;font-size:8px!important;letter-spacing:1.6px!important;margin-top:4px;color:#d6c2ff!important}
#sjindustry-app .arcade-tiles{display:flex;gap:3px;align-items:center;transform:rotate(-8deg);right:13px;top:34px}
#sjindustry-app .arcade-tiles i{display:grid;place-items:center;width:27px;height:38px;background:#234f50;border:1px solid #62d8c3;border-radius:5px;color:#b5ffe9!important;font:bold 20px 'Yu Gothic','Meiryo',sans-serif!important;box-shadow:0 3px 0 #081d20}
#sjindustry-app .arcade-tiles i:nth-child(2){transform:translateY(-8px);background:#397a71}
#sjindustry-app .arcade-lobby-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px;color:var(--arc-muted)!important;font-size:10px!important;line-height:1.6}
#sjindustry-app .arcade-lobby-footer>span:first-child{display:flex;align-items:center;gap:7px}
#sjindustry-app .sj-arcade button:focus-visible{outline:3px solid #f7d97e!important;outline-offset:4px}
#sjindustry-app .sj-arcade .arcade-quiet{padding:5px 8px;border:1px solid #505571;border-radius:6px;background:transparent;color:#ecedff!important;font-size:11px!important;font-weight:700!important;white-space:nowrap}
#sjindustry-app .sj-arcade .arcade-quiet:hover{background:#292d48;border-color:#a49bcc}
#sjindustry-app .arcade-top>.arcade-quiet{margin-left:auto}
#sjindustry-app .arcade-top>.arcade-quiet+.arcade-tag{margin-left:0}
#sjindustry-app .arcade-hud{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:12px;padding:17px 0 15px;align-items:center}
#sjindustry-app .arcade-hud>div{display:grid;gap:2px}
#sjindustry-app .arcade-hud>div>span{font-size:9px!important;font-weight:700!important;letter-spacing:1.3px!important;color:#c1c6df!important}
#sjindustry-app .arcade-hud strong{font-size:28px!important;font-weight:800!important;color:#fff!important;line-height:1.2;font-variant-numeric:tabular-nums}
#sjindustry-app .arcade-hud .arcade-combo{text-align:center}
#sjindustry-app .arcade-hud #streak-label{background:#302648;border:1px solid #67518d;border-radius:6px;padding:7px 12px;color:#ddc8ff!important;font-size:13px!important;font-weight:800!important;display:block}
#sjindustry-app .arcade-time{text-align:right}
#sjindustry-app .arcade-time strong{color:#89f4e2!important}
#sjindustry-app #game-time small{font-size:14px!important;margin-left:3px;font-weight:700!important}
#sjindustry-app .arcade-time-track{height:5px;border-radius:5px;overflow:hidden;background:#2d314a}
#sjindustry-app .arcade-time-track>span{height:100%;display:block;border-radius:5px;background:linear-gradient(90deg,#a48bff,#74f4da);transition:width .22s linear}
#sjindustry-app .arcade-question{display:flex;flex-direction:column;justify-content:center;text-align:center;min-height:182px;padding:18px 14px 16px}
#sjindustry-app .arcade-question-index{font-size:10px!important;font-weight:800!important;letter-spacing:1px!important;color:#d4c1ff!important;margin-bottom:8px!important}
#sjindustry-app .arcade-question-index>span{color:#aeb7d6!important;font-weight:650!important;font-size:9px!important}
#sjindustry-app .sj-arcade .arcade-question-label{font-size:15px!important;font-weight:800!important;line-height:1.45;color:#f1efff!important;margin:0 0 8px}
#sjindustry-app .arcade-term{font:750 clamp(34px,3.6vw,52px)/1.35 'Yu Gothic','Meiryo',sans-serif!important;color:#fff!important;overflow-wrap:anywhere}
#sjindustry-app .arcade-kana{font:750 19px/1.7 'Yu Gothic','Meiryo',sans-serif!important;color:#d9c7ff!important;margin-top:5px}
#sjindustry-app .arcade-meaning{font-size:25px!important;line-height:1.45;font-weight:800!important;color:#fff!important;max-width:650px;margin:5px auto;overflow-wrap:anywhere}
#sjindustry-app .arcade-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#sjindustry-app .sj-arcade .arcade-choice{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;min-height:68px;border:1px solid #555e82;border-bottom:3px solid #3b425f;border-radius:9px;background:#20263e;color:#fff!important;font-size:14px!important;font-weight:750!important;line-height:1.5!important;transition:background .12s,border-color .12s;opacity:1}
#sjindustry-app .sj-arcade .arcade-choice:hover:not(:disabled){border-color:#c4a8ff;background:#332c50}
#sjindustry-app .arcade-choice>em{display:grid;place-items:center;flex:0 0 29px;width:29px;height:31px;border:1px solid #b29cdf;border-radius:6px;background:#bca4ff;color:#18112c!important;font:900 14px/1 'Segoe UI',Arial,sans-serif!important;font-style:normal}
#sjindustry-app .arcade-choice>span{min-width:0;overflow-wrap:anywhere}
#sjindustry-app .arcade-choice>i{margin-left:auto;font-style:normal}
#sjindustry-app .sj-arcade .arcade-choice.correct{background:#153f37!important;border-color:#6be0b8!important;color:#ebfff7!important;opacity:1!important}
#sjindustry-app .arcade-choice.correct>em{background:#8cf1c9;border-color:#bbffe4;color:#073a27!important}
#sjindustry-app .arcade-choice.correct>i:after{content:'✓';color:#9dffdc!important;font-size:20px!important;font-weight:900!important}
#sjindustry-app .sj-arcade .arcade-choice.wrong{background:#4c2438!important;border-color:#ff91b3!important;color:#fff0f6!important;opacity:1!important}
#sjindustry-app .arcade-choice.wrong>em{background:#ffb0cb;border-color:#ffd0df;color:#4f1029!important}
#sjindustry-app .arcade-choice.wrong>i:after{content:'×';color:#ffb3cc!important;font-size:23px!important}
#sjindustry-app .arcade-feedback{min-height:30px;margin:12px 0 0!important;text-align:center;font-size:12px!important;line-height:1.5;font-weight:750!important;color:#c6cce4!important}
#sjindustry-app .arcade-feedback.arcade-hit{color:#8ff8cb!important}
#sjindustry-app .arcade-feedback.bad{color:#ffb9d0!important;background:transparent;border:0}
#sjindustry-app .arcade-arena-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--arc-line);padding-top:12px;color:#c1c6df!important;font-size:10px!important;line-height:1.5}
#sjindustry-app .arcade-arena-footer kbd{display:inline-grid;place-items:center;min-width:17px;height:18px;padding:1px 4px;background:#2b3049;color:#fff!important;border:1px solid #59617e;border-radius:3px;box-shadow:0 2px 0 #080b17;font:700 10px 'Segoe UI',sans-serif!important}
#sjindustry-app .has-combo .arcade-hud #streak-label{background:#593c26;border-color:#d49553;color:#ffdfa8!important}
#sjindustry-app .time-low .arcade-time strong{color:#ffacc9!important}
#sjindustry-app .time-low .arcade-time-track>span{background:#ff82b0}
#sjindustry-app .arcade-result-main{text-align:center;padding:25px 0 8px}
#sjindustry-app .arcade-medal{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 16px;border:1px solid #987b41;border-radius:18px;background:radial-gradient(circle,#654f26,#2b2530);color:#ffda8d!important;box-shadow:0 0 30px #ffcd7c12}
#sjindustry-app .arcade-medal>svg{width:36px;height:36px}
#sjindustry-app .arcade-result-main h3{font-size:24px!important;line-height:1.3;font-weight:800!important;margin:8px 0 0;color:#fff!important}
#sjindustry-app .arcade-final-score{font-size:72px!important;font-weight:850!important;line-height:1.1;margin:20px 0;color:#d5baff!important;font-variant-numeric:tabular-nums;letter-spacing:-3px!important}
#sjindustry-app .arcade-final-score>span{display:block;margin-top:6px;letter-spacing:2px!important;font-size:10px!important;font-weight:700!important;color:#c5c9e1!important}
#sjindustry-app .arcade-result-stats{display:grid;grid-template-columns:repeat(3,1fr);max-width:550px;margin:0 auto 22px;border:1px solid #3c425f;border-radius:10px;background:#1d2238;padding:15px 5px}
#sjindustry-app .arcade-result-stats>div{display:grid;gap:5px;padding:0 5px}
#sjindustry-app .arcade-result-stats>div+div{border-left:1px solid #3c425f}
#sjindustry-app .arcade-result-stats strong{color:#fff!important;font-size:24px!important;font-weight:800!important;font-variant-numeric:tabular-nums}
#sjindustry-app .arcade-result-stats strong>small{font-size:13px!important;color:#c5c9e1!important}
#sjindustry-app .arcade-result-stats span{font-size:9px!important;font-weight:700!important;letter-spacing:.6px!important;color:#c5c9e1!important}
#sjindustry-app .arcade-result-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
#sjindustry-app .sj-arcade :is(.arcade-primary,.arcade-secondary){display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:40px;padding:9px 17px;border-radius:7px;font-weight:800!important;font-size:12px!important}
#sjindustry-app .sj-arcade .arcade-primary{border:1px solid #cdb5ff;background:#c5a8ff;color:#171027!important;box-shadow:0 3px 0 #62468d}
#sjindustry-app .sj-arcade .arcade-primary:hover{background:#d7bfff;border-color:#e8dcff}
#sjindustry-app .sj-arcade .arcade-secondary{background:#252a42;color:#ece9ff!important;border:1px solid #626486}
#sjindustry-app .sj-arcade .arcade-secondary:hover{background:#343a56;border-color:#9c9cc6}
#sjindustry-app .arcade-primary svg{width:18px;height:18px}
#sjindustry-app .sj-arcade .arcade-result-note{margin-top:18px;color:#bec5df!important;font-size:11px!important}
#sjindustry-app .arcade-result-note>b{color:#ffe0a3!important}
#sjindustry-app .arcade-match{--arc-violet:#81e8d4;--arc-mint:#81e8d4;background:radial-gradient(ellipse at 100% 0,#28675640,transparent 55%),#101b25}
#sjindustry-app .arcade-match-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 0}
#sjindustry-app .arcade-match-heading h3{font-size:22px!important;font-weight:800!important;line-height:1.3;margin-top:7px;color:#fff!important}
#sjindustry-app #match-score{flex-shrink:0;display:grid;text-align:center;font-size:27px!important;font-weight:800!important;color:#8af2d9!important;padding:9px 15px;border:1px solid #3c786d;border-radius:9px;background:#163f3d;line-height:1.2}
#sjindustry-app #match-score>small{display:block;font-size:8px!important;letter-spacing:1px!important;color:#d4f6eb!important;margin-top:5px}
#sjindustry-app .arcade-match-labels{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-bottom:7px;color:#c8e6df!important;font-size:9px!important;font-weight:800!important;letter-spacing:1px!important}
#sjindustry-app .arcade-match-labels>span:last-child{text-align:right}
#sjindustry-app .arcade-match-grid{position:relative;margin-top:0;gap:9px 50px;isolation:isolate}
#sjindustry-app .sj-arcade .arcade-match-grid button{min-height:58px;border-radius:8px;border:1px solid #4d6b74;border-bottom:3px solid #354e58;background:#1e3540;color:#fff!important;padding:10px 13px;font-size:13px!important;line-height:1.4!important;font-weight:750!important;opacity:1;overflow-wrap:anywhere}
#sjindustry-app .sj-arcade .arcade-match-grid button[data-side=left]{font-family:'Yu Gothic','Meiryo',sans-serif!important;font-size:21px!important}
#sjindustry-app .sj-arcade .arcade-match-grid button:hover:not(:disabled){background:#284d52;border-color:#82e3ca}
#sjindustry-app .sj-arcade .arcade-match-grid button.selected{background:#386764;color:#fff!important;border-color:#90f2dc}
#sjindustry-app .sj-arcade .arcade-match-grid button.matched{background:#143d36;color:#b6f5df!important;border-color:#50b98e;opacity:1}
#sjindustry-app .sj-arcade .arcade-match-grid button.mismatch{background:#482e3e;border-color:#ff96bc}
#sjindustry-app .arcade-match-grid .match-connections path{stroke:#81e8c5;stroke-width:2}
#sjindustry-app .arcade-match-grid .match-connections circle{fill:#81e8c5}
#sjindustry-app .arcade-match .arcade-medal{background:#1c493f;border-color:#6cb99b;color:#a2f8dc!important}
#sjindustry-app .arcade-match .arcade-final-score{color:#9af2d8!important}
@media(min-width:1600px){#sjindustry-app .sj-arcade{padding:30px}#sjindustry-app .arcade-mode>strong{font-size:25px!important}#sjindustry-app .arcade-mode-copy{font-size:14px!important}#sjindustry-app .arcade-rules{font-size:12px!important}#sjindustry-app .arcade-question{min-height:220px}#sjindustry-app .sj-arcade .arcade-choice{font-size:16px!important;min-height:80px}}
@media(max-width:1100px) and (min-width:768px){#sjindustry-app .sj-arcade{padding:18px}#sjindustry-app .arcade-hero{gap:12px}#sjindustry-app .arcade-record{padding:12px}#sjindustry-app .arcade-record>svg{width:23px}#sjindustry-app .arcade-record strong{font-size:26px!important}#sjindustry-app .arcade-mode{padding:15px}#sjindustry-app .arcade-games{gap:10px}#sjindustry-app .arcade-mode-art{opacity:.6;transform:scale(.8) rotate(7deg);right:10px;top:15px}#sjindustry-app .arcade-mode>strong{font-size:19px!important;padding-right:0}#sjindustry-app .arcade-mode-copy{font-size:11px!important}#sjindustry-app .arcade-rules{font-size:9px!important}#sjindustry-app .arcade-tag{font-size:8px!important;letter-spacing:.5px!important}}
@media(max-width:767px){
 #sjindustry-app .sj-arcade{padding:16px 13px;border-radius:12px}
 #sjindustry-app .arcade-top{gap:8px;padding-bottom:12px;flex-wrap:wrap}
 #sjindustry-app .arcade-brand{font-size:9px!important;letter-spacing:.6px!important;gap:5px}#sjindustry-app .arcade-brand>b{font-size:7px!important;padding:3px 4px}#sjindustry-app .arcade-brand>svg{width:20px;height:20px}
 #sjindustry-app .arcade-tag{font-size:7px!important;letter-spacing:.3px!important;gap:4px}#sjindustry-app .arcade-top>.arcade-quiet+.arcade-tag{display:none}
 #sjindustry-app .arcade-hero{padding:20px 0;gap:12px;align-items:flex-end}#sjindustry-app .arcade-hero h3{font-size:27px!important;letter-spacing:-.8px!important}#sjindustry-app .sj-arcade .arcade-eyebrow{font-size:8px!important;letter-spacing:1px!important}#sjindustry-app .sj-arcade .arcade-copy{font-size:10px!important}
 #sjindustry-app .arcade-record{flex-shrink:0;display:grid;gap:5px;padding:9px 10px;text-align:center}#sjindustry-app .arcade-record>svg{margin:auto;width:23px;height:23px}#sjindustry-app .arcade-record>span{font-size:7px!important;letter-spacing:.3px!important}#sjindustry-app .arcade-record strong{font-size:24px!important;justify-content:center}#sjindustry-app .arcade-record small{font-size:9px!important}
 #sjindustry-app .arcade-games{grid-template-columns:1fr;gap:14px}#sjindustry-app .sj-arcade .arcade-mode{min-height:226px;padding:18px}#sjindustry-app .arcade-mode>strong{font-size:22px!important}#sjindustry-app .arcade-mode-copy{font-size:12px!important}#sjindustry-app .arcade-mode-art{right:20px;top:20px}
 #sjindustry-app .arcade-lobby-footer{align-items:flex-start;font-size:9px!important;gap:7px;flex-direction:column}
 #sjindustry-app .arcade-hud{gap:7px;padding:14px 0}#sjindustry-app .arcade-hud>div>span{font-size:8px!important;letter-spacing:.7px!important}#sjindustry-app .arcade-hud strong{font-size:25px!important}#sjindustry-app .arcade-hud #streak-label{font-size:10px!important;padding:7px 5px;white-space:nowrap}
 #sjindustry-app .arcade-question{min-height:175px;padding:17px 0}#sjindustry-app .sj-arcade .arcade-question-label{font-size:14px!important}#sjindustry-app .arcade-term{font-size:37px!important}#sjindustry-app .arcade-kana{font-size:18px!important}#sjindustry-app .arcade-meaning{font-size:21px!important}
 #sjindustry-app .arcade-answers{grid-template-columns:1fr;gap:9px}#sjindustry-app .sj-arcade .arcade-choice{min-height:55px;font-size:13px!important;padding:9px 10px;gap:10px}#sjindustry-app .arcade-choice>em{width:28px;height:29px;flex-basis:28px;font-size:14px!important}
 #sjindustry-app .arcade-feedback{font-size:11px!important;min-height:30px}#sjindustry-app .arcade-arena-footer{font-size:9px!important}#sjindustry-app .sj-arcade .arcade-quiet{font-size:10px!important;padding:5px 7px}
 #sjindustry-app .arcade-result-main{padding-top:22px}#sjindustry-app .arcade-result-main h3{font-size:21px!important}#sjindustry-app .arcade-final-score{font-size:62px!important}#sjindustry-app .arcade-result-stats strong{font-size:22px!important}#sjindustry-app .arcade-result-stats span{font-size:7px!important;letter-spacing:.3px!important}#sjindustry-app .arcade-result-actions{gap:9px}#sjindustry-app .sj-arcade :is(.arcade-primary,.arcade-secondary){font-size:11px!important;padding:9px 12px}
 #sjindustry-app .arcade-match-heading{padding:20px 0;gap:9px}#sjindustry-app .arcade-match-heading h3{font-size:19px!important}#sjindustry-app #match-score{font-size:23px!important;padding:7px 10px}#sjindustry-app .arcade-match-labels{gap:25px;font-size:8px!important}#sjindustry-app .arcade-match-grid{gap:9px 25px}#sjindustry-app .sj-arcade .arcade-match-grid button{font-size:11px!important;min-height:65px;padding:9px 6px}#sjindustry-app .sj-arcade .arcade-match-grid button[data-side=left]{font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){#sjindustry-app .sj-arcade *{transition:none!important;animation:none!important}}

/* Keep the lobby introduction secondary to the game choices. */
#sjindustry-app .arcade-lobby{padding-top:18px}
#sjindustry-app .arcade-lobby .arcade-top{padding-bottom:11px}
#sjindustry-app .arcade-lobby .arcade-hero{padding:18px 0 20px;gap:18px}
#sjindustry-app .arcade-lobby .arcade-hero h3{font-size:clamp(22px,2vw,28px)!important;line-height:1.25;letter-spacing:-.6px!important;margin:7px 0 6px}
#sjindustry-app .arcade-lobby .arcade-hero h3 br{display:none}
#sjindustry-app .arcade-lobby .arcade-hero h3 span:before{content:' '}
#sjindustry-app .arcade-lobby .arcade-record{gap:8px;padding:10px 12px;border-radius:9px}
#sjindustry-app .arcade-lobby .arcade-record>svg{width:23px;height:23px}
#sjindustry-app .arcade-lobby .arcade-record>span{font-size:8px!important;letter-spacing:.6px!important}
#sjindustry-app .arcade-lobby .arcade-record strong{font-size:23px!important;line-height:1.25}
#sjindustry-app .arcade-lobby .arcade-record small{font-size:10px!important}
@media(max-width:767px){
 #sjindustry-app .arcade-lobby{padding-top:12px}
 #sjindustry-app .arcade-lobby .arcade-top{padding-bottom:10px}
 #sjindustry-app .arcade-lobby .arcade-hero{padding:14px 0 16px;gap:10px;align-items:center}
 #sjindustry-app .arcade-lobby .arcade-hero h3{font-size:20px!important;line-height:1.25;margin:6px 0}
 #sjindustry-app .arcade-lobby .arcade-hero .arcade-eyebrow{font-size:7px!important;letter-spacing:.8px!important}
 #sjindustry-app .arcade-lobby .arcade-record{gap:4px;padding:8px}
 #sjindustry-app .arcade-lobby .arcade-record>svg{width:19px;height:19px}
 #sjindustry-app .arcade-lobby .arcade-record>span{font-size:7px!important;letter-spacing:.2px!important}
 #sjindustry-app .arcade-lobby .arcade-record strong{font-size:21px!important}
 #sjindustry-app .arcade-lobby .arcade-record small{font-size:9px!important}
}

/* Compact gameplay status: combo in the header, score/time beneath the time bar. */
#sjindustry-app .arcade-arena .arcade-top{flex-wrap:nowrap;border-bottom:0;padding-bottom:0;margin-bottom:12px;gap:12px}
#sjindustry-app .arcade-arena .arcade-combo{display:flex;align-items:center;gap:7px;margin:0 auto;padding:6px 10px;border:1px solid #67518d;border-radius:6px;background:#302648;white-space:nowrap}
#sjindustry-app .arcade-arena .arcade-combo>span{font-size:9px!important;font-weight:750!important;letter-spacing:.7px!important;color:#c1c6df!important}
#sjindustry-app .arcade-arena .arcade-combo #streak-label{padding:0;background:none;border:0;border-radius:0;font-size:12px!important;font-weight:800!important;color:#ddc8ff!important;line-height:1.4}
#sjindustry-app .arcade-arena .arcade-top>.arcade-quiet{margin-left:0}
#sjindustry-app .arcade-arena .arcade-hud{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0 3px}
#sjindustry-app .arcade-arena .arcade-hud>div{display:flex;align-items:baseline;gap:7px}
#sjindustry-app .arcade-arena .arcade-hud strong{font-size:20px!important;line-height:1.2}
#sjindustry-app .arcade-arena .arcade-hud>div>span{font-size:9px!important;letter-spacing:.7px!important}
#sjindustry-app .arcade-arena #game-time small{font-size:11px!important}
#sjindustry-app .arcade-arena.has-combo .arcade-combo{background:#593c26;border-color:#d49553}
#sjindustry-app .arcade-arena.has-combo .arcade-combo #streak-label{color:#ffdfa8!important}
@media(max-width:767px){
 #sjindustry-app .arcade-arena .arcade-top{gap:6px;margin-bottom:10px}
 #sjindustry-app .arcade-arena .arcade-brand>b{display:none}
 #sjindustry-app .arcade-arena .arcade-brand>svg{width:18px;height:18px}
 #sjindustry-app .arcade-arena .arcade-combo{padding:5px 6px;gap:4px}
 #sjindustry-app .arcade-arena .arcade-combo>span{font-size:7px!important;letter-spacing:0!important}
 #sjindustry-app .arcade-arena .arcade-combo #streak-label{font-size:9px!important}
 #sjindustry-app .arcade-arena .arcade-top>.arcade-quiet{font-size:9px!important;padding:5px}
 #sjindustry-app .arcade-arena .arcade-hud{padding:6px 0 2px}
 #sjindustry-app .arcade-arena .arcade-hud strong{font-size:18px!important}
 #sjindustry-app .arcade-arena .arcade-hud>div>span{font-size:8px!important}
}

/* Readings over kanji and compact matching header. */
#sjindustry-app .sj-arcade ruby{ruby-position:over;ruby-align:center;font-size:inherit!important;font-weight:inherit!important;line-height:1.5!important}
#sjindustry-app .sj-arcade ruby rt{font-size:10.5px!important;font-weight:750!important;color:#e4d5ff!important;line-height:1.3!important;letter-spacing:0!important;text-transform:none}
#sjindustry-app .arcade-choice>span[lang=ja]{font-size:18px!important;line-height:1.7!important;font-weight:750!important}
#sjindustry-app .arcade-choice:has(ruby){padding-top:15px;padding-bottom:12px}
#sjindustry-app .arcade-match-grid ruby rt{font-size:10.5px!important;color:inherit!important}
#sjindustry-app .arcade-match:not(.arcade-result){padding-top:18px}
#sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top{padding-bottom:10px}
#sjindustry-app .arcade-match-heading{padding:12px 0 13px;gap:12px}
#sjindustry-app .arcade-match-heading>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
#sjindustry-app .arcade-match-heading .arcade-eyebrow{font-size:9px!important;letter-spacing:1px!important}
#sjindustry-app .arcade-match-heading h3{font-size:18px!important;margin:0;line-height:1.4}
#sjindustry-app #match-score{display:flex;align-items:baseline;gap:5px;font-size:21px!important;padding:6px 10px;border-radius:7px;white-space:nowrap}
#sjindustry-app #match-score>small{margin-top:0;font-size:8px!important;letter-spacing:.5px!important}
#sjindustry-app .arcade-match-labels>span{font-size:9px!important;letter-spacing:.6px!important}
/* Every completed pair keeps one color, one number and a visible connecting line. */
#sjindustry-app .sj-arcade .arcade-match-grid button{position:relative;z-index:2}
#sjindustry-app .sj-arcade .arcade-match-grid button.matched{background:var(--pair-bg,#153f38)!important;border-color:var(--pair-color,#75efcc)!important;color:var(--pair-text,#c1ffe9)!important;opacity:1!important;padding-inline:26px}
#sjindustry-app .arcade-pair-number{position:absolute;top:5px;left:6px;display:grid;place-items:center;width:17px;height:17px;border-radius:5px;background:var(--pair-color);color:#101222!important;font:850 10px/1 'Segoe UI',Arial,sans-serif!important}
#sjindustry-app .sj-arcade .arcade-match-grid>svg.match-connections{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;pointer-events:none;overflow:visible;z-index:1}
#sjindustry-app .arcade-match-grid .match-connections path{stroke:var(--pair-color,#75efcc)!important;stroke-width:3!important;fill:none!important;stroke-linecap:round}
#sjindustry-app .arcade-match-grid .match-connections circle{fill:var(--pair-color,#75efcc)!important}
#sjindustry-app .arcade-match .arcade-complete{color:#c5ffe8!important;padding:10px;border:1px solid #467d6b;background:#15372f;border-radius:8px;min-height:0}
@media(max-width:767px){
 #sjindustry-app .arcade-match:not(.arcade-result){padding-top:12px}
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top{padding-bottom:9px}
 #sjindustry-app .arcade-match-heading{padding:10px 0;gap:7px}
 #sjindustry-app .arcade-match-heading>div{display:block}
 #sjindustry-app .arcade-match-heading .arcade-eyebrow{font-size:7px!important}
 #sjindustry-app .arcade-match-heading h3{font-size:15px!important;margin-top:4px}
 #sjindustry-app #match-score{font-size:18px!important;padding:6px 7px;gap:3px}
 #sjindustry-app #match-score>small{font-size:7px!important;letter-spacing:0!important}
 #sjindustry-app .arcade-match-labels>span{font-size:8px!important}
 #sjindustry-app .arcade-choice>span[lang=ja]{font-size:18px!important}
 #sjindustry-app .arcade-match-grid ruby rt{font-size:9px!important}
 #sjindustry-app .sj-arcade .arcade-match-grid button.matched{padding-inline:17px}
 #sjindustry-app .arcade-pair-number{top:3px;left:3px;width:13px;height:13px;font-size:8px!important;border-radius:4px}
 #sjindustry-app .arcade-match-grid .match-connections path{stroke-width:2.5!important}
}

/* Unsolved options use red on hover; completed pairs keep their own vivid colors. */
#sjindustry-app .sj-arcade .arcade-match-grid button:not(:disabled):not(.matched):hover{background:#ff0000!important;border-color:#ff0000!important;color:#fff!important}
#sjindustry-app .sj-arcade .arcade-match-grid button:not(:disabled):not(.matched):hover :is(ruby,rb,rt,span){color:#fff!important}
#sjindustry-app .arcade-match-grid button.matched .arcade-pair-number{background:#fff!important;color:#101222!important;box-shadow:0 0 0 1px #10122226}
#sjindustry-app .sj-arcade .arcade-match-grid button.matched{box-shadow:inset 0 -3px 0 #0000001f}

/* Four white practice answers: less empty space, stronger text, cloze type at65%. */
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choices{gap:10px}
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice{position:relative;min-height:76px!important;height:auto;padding:9px 54px!important;gap:0;align-items:center;justify-content:center;text-align:center;font-size:17px!important;line-height:1.45!important;font-weight:750!important}
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>span{display:block;width:100%;flex:1;text-align:center;font-weight:750!important}
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>span:not([lang=ja]){font-size:17px!important;line-height:1.45!important}
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>span[lang=ja]{position:relative;top:.08em;line-height:1.4!important}
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>em{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-weight:800!important;color:#294b5c}
#sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>i{position:absolute;right:11px;top:50%;transform:translateY(-50%)}
#sjindustry-app#sjindustry-app#sjindustry-app[data-mode=cloze] .rapid-practice .choice>span[lang=ja]{font-size:32.5px!important;line-height:1.4!important}
#sjindustry-app#sjindustry-app#sjindustry-app[data-mode=cloze] .rapid-practice .choice ruby{font-size:inherit!important}
#sjindustry-app#sjindustry-app#sjindustry-app[data-mode=cloze] .rapid-practice .choice rt{font-size:.45em!important;line-height:1.25!important;font-weight:750!important}
/* Reaction: bring the question up; retain answer fonts and center within shorter cards. */
#sjindustry-app .arcade-arena .arcade-question{min-height:0!important;padding:4px 10px 8px;justify-content:flex-start}
#sjindustry-app .arcade-arena .arcade-question-index{margin-bottom:4px!important}
#sjindustry-app .arcade-arena .arcade-question-label{margin-bottom:4px!important}
#sjindustry-app .arcade-arena .arcade-kana{margin-top:1px}
#sjindustry-app .arcade-arena .arcade-hud{padding-bottom:0}
#sjindustry-app .sj-arcade .arcade-choice{position:relative;min-height:54.4px;padding:3px 48px!important;justify-content:center;gap:0;text-align:center}
#sjindustry-app .arcade-choice>span{position:relative;top:1px;display:block;width:100%;text-align:center}
#sjindustry-app .arcade-choice>span[lang=ja]{top:3px}
#sjindustry-app .arcade-choice>span:not([lang=ja]){font-size:17px!important;line-height:1.4!important}
#sjindustry-app .arcade-choice>em{position:absolute;left:10px;top:50%;transform:translateY(-50%)}
#sjindustry-app .arcade-choice>i{position:absolute;right:10px;top:50%;transform:translateY(-50%);margin:0}
#sjindustry-app .sj-arcade .arcade-choice:not(:disabled):hover{background:#ff0000!important;border-color:#ff0000!important;color:#fff!important}
#sjindustry-app .sj-arcade .arcade-choice:not(:disabled):hover :is(span,ruby,rb,rt,em,i){color:#fff!important}
#sjindustry-app .sj-arcade .arcade-choice:not(:disabled):hover>em{background:#ffffff22;border-color:#ffffff99}
/* Matching: keep the introduction in one compact header and cards at85% height. */
#sjindustry-app .arcade-match:not(.arcade-result){padding-top:14px}
#sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top{display:flex;align-items:center;flex-wrap:nowrap;gap:14px;min-height:44px;padding-bottom:6px;margin-bottom:10px}
#sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top>.arcade-tag{display:none}
#sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top>.arcade-brand{flex-shrink:0}
#sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top>.arcade-quiet{margin-left:0;flex-shrink:0}
#sjindustry-app .arcade-match .arcade-top .arcade-match-heading{display:flex;align-items:center;justify-content:space-between;flex:1;min-width:0;padding:0;gap:12px}
#sjindustry-app .arcade-match .arcade-top .arcade-match-heading>div{display:block;min-width:0}
#sjindustry-app .arcade-match .arcade-top .arcade-match-heading h3{font-size:16px!important;margin:3px 0 0;line-height:1.3}
#sjindustry-app .arcade-match .arcade-top .arcade-match-heading .arcade-eyebrow{font-size:8px!important;letter-spacing:.7px!important}
#sjindustry-app .sj-arcade .arcade-match-grid button{display:flex;align-items:center;justify-content:center;min-height:49.3px;padding:3px 10px;text-align:center}
#sjindustry-app .arcade-match-value{display:block;width:100%;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;text-align:center;overflow-wrap:anywhere}
#sjindustry-app .arcade-match-value:has(ruby){position:relative;top:2.5px;padding-top:5px}
@media(max-width:1100px) and (min-width:768px){
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top{gap:10px}
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top .arcade-brand>b{display:none}
 #sjindustry-app .arcade-match .arcade-top .arcade-match-heading h3{font-size:14px!important}
}
@media(max-width:767px){
 #sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice{min-height:70px!important;padding:8px 46px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>em{left:8px}
 #sjindustry-app#sjindustry-app#sjindustry-app .rapid-practice .choice>i{right:8px}
 #sjindustry-app#sjindustry-app#sjindustry-app[data-mode=cloze] .rapid-practice .choice>span[lang=ja]{font-size:29.9px!important}
 #sjindustry-app .sj-arcade .arcade-choice{min-height:44px;padding:3px 45px!important}
 #sjindustry-app .arcade-choice>em{left:9px}
 #sjindustry-app .arcade-choice>i{right:9px}
 #sjindustry-app .arcade-arena .arcade-question{padding:3px 4px 7px}
 #sjindustry-app .arcade-match:not(.arcade-result){padding-top:12px}
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top{display:flex;gap:6px;min-height:0;padding-bottom:6px;margin-bottom:6px}
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top>.arcade-brand{font-size:0!important;gap:0}
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top .arcade-brand>b{display:none}
 #sjindustry-app .arcade-match:not(.arcade-result)>.arcade-top>.arcade-quiet{font-size:9px!important;padding:4px;white-space:nowrap}
 #sjindustry-app .arcade-match .arcade-top .arcade-match-heading{gap:7px}
 #sjindustry-app .arcade-match .arcade-top .arcade-match-heading .arcade-eyebrow{display:none}
 #sjindustry-app .arcade-match .arcade-top .arcade-match-heading h3{font-size:13px!important;margin:0}
 #sjindustry-app .arcade-match .arcade-top #match-score{font-size:16px!important;padding:4px 6px}
 #sjindustry-app .sj-arcade .arcade-match-grid button{min-height:55.25px;padding:3px 6px}
 #sjindustry-app .arcade-match-value:has(ruby){padding-top:4px}
}

/* A continuous red writing line inside the existing red parentheses. */
#sjindustry-app#sjindustry-app#sjindustry-app[data-mode=cloze] .rapid-practice .cloze-sentence .blank{position:relative;border-bottom:0!important;color:#ff0000!important}
#sjindustry-app#sjindustry-app#sjindustry-app[data-mode=cloze] .rapid-practice .cloze-sentence .blank:after{content:'';position:absolute;left:1.05em;right:1.05em;bottom:.22em;height:0;border-bottom:2px solid #ff0000;pointer-events:none}

/* Device-persistent practice pacing, shared by quiz and cloze. */
#sjindustry-app .practice-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#sjindustry-app .practice-mode-picker{display:inline-flex;gap:3px;border:1px solid #cbd9df;background:#edf3f6;padding:3px;border-radius:10px;max-width:100%}
#sjindustry-app .practice-mode-option{min-height:32px;padding:5px 12px;border:0;border-radius:7px;background:transparent;color:#334b5c;font-size:14px!important;font-weight:750!important;white-space:nowrap;box-shadow:none}
#sjindustry-app .practice-mode-option[aria-pressed=true][data-practice-mode=skim]{background:#ffff00;color:#000}
#sjindustry-app .practice-mode-option[aria-pressed=true][data-practice-mode=review]{background:#00d4ec;color:#000}
#sjindustry-app .practice-mode-option:focus-visible{outline:3px solid #0000ff;outline-offset:2px}
#sjindustry-app .practice-intro{max-width:760px;margin:0 auto;padding:22px 0}
#sjindustry-app .practice-intro-kicker{font-size:12px!important;font-weight:800;letter-spacing:.1em;color:#546a7b;margin:0 0 8px}
#sjindustry-app .practice-intro h3{font-size:25px!important;line-height:1.35;margin:0 0 18px;color:#112d40;font-weight:800}
#sjindustry-app .practice-mode-help{background:#f4f9fc;border-left:4px solid #00bcd4;border-radius:8px;padding:12px 18px;margin:18px 0}
#sjindustry-app .practice-mode-help p{font-size:16px!important;line-height:1.6;margin:4px 0;color:#173c50}
#sjindustry-app .practice-device-note{font-size:14px!important;line-height:1.5;color:#536778;margin:12px 0 20px}
#sjindustry-app .practice-review-nav{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}
#sjindustry-app .practice-review-nav button{padding:9px 14px;min-height:38px;font-size:14px!important;font-weight:750!important}
#sjindustry-app .practice-review-nav button:disabled{opacity:.4;cursor:default}
@media(max-width:767px){
 #sjindustry-app .rapid-practice .board-top{align-items:flex-start;gap:10px;flex-wrap:wrap}
 #sjindustry-app .practice-tools{width:100%;justify-content:flex-start;gap:6px}
 #sjindustry-app .practice-intro{padding:8px 0}
 #sjindustry-app .practice-intro h3{font-size:21px!important}
 #sjindustry-app .practice-mode-help{padding:10px 12px}
 #sjindustry-app .practice-review-nav{width:100%;justify-content:space-between}
}

/* Keep the manual next action legible and bring it above the mobile rail. */
#sjindustry-app#sjindustry-app .practice-review-nav [data-action=practice-next]{min-width:148px;scroll-margin-top:80px;scroll-margin-bottom:24px}
#sjindustry-app#sjindustry-app .practice-review-nav .practice-next-ready{background:#ffff00!important;color:#000!important;border:2px solid #d6b800!important;font-weight:800!important;opacity:1!important;box-shadow:0 0 0 3px #ece2ff;transition:none!important}
#sjindustry-app#sjindustry-app .practice-review-nav .practice-next-ready:hover{background:#ffe43b!important;color:#000!important}
#sjindustry-app#sjindustry-app .practice-review-nav .practice-next-ready:focus{outline:3px solid #7229d4!important;outline-offset:3px;box-shadow:0 0 0 6px #f0e6ff}
#sjindustry-app .rapid-practice .challenge-progress{scroll-margin-top:80px}
@media(max-width:767px){
 #sjindustry-app#sjindustry-app .practice-review-nav [data-action=practice-next]{scroll-margin-bottom:100px;min-height:44px;min-width:140px}
}

/* Clear Japanese labels and a restrained chevron treatment for the industry chooser. */
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu > summary {
 background:linear-gradient(145deg,#fff 0%,#edf8f6 100%)!important;
 border:1px solid #bed9d5!important;border-radius:13px!important;color:#176b64!important;
 box-shadow:0 3px 10px #244f4910,inset 0 1px 0 #fff!important;
 transition:background .16s ease,box-shadow .16s ease;
}
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu > summary:is(:hover,:focus-visible),
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu[open] > summary {
 background:linear-gradient(145deg,#f7fffd 0%,#def2ec 100%)!important;
 box-shadow:0 4px 12px #244f491a,inset 0 1px 0 #fff!important;
}
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu .industry-back-icon {
 width:25px!important;height:25px!important;stroke-width:2.6;
}
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu .industry-home-arrow {
 width:23px!important;height:23px!important;color:#366e67!important;stroke-width:2.2;
}
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu #industries .industry-link small,
html body #sjindustry-app#sjindustry-app#sjindustry-app #industry-menu #industries .industry-link small * {
 font-family:"Noto Sans JP","Yu Gothic","Meiryo",sans-serif!important;
 font-size:14px!important;font-weight:900!important;font-synthesis:weight!important;
 line-height:1.5!important;letter-spacing:.045em!important;color:#152e38!important;
 -webkit-text-stroke:.18px currentColor;opacity:1!important;
}

/* Touch reader: full-width sharp pages, native one-finger scrolling, explicit zoom guidance. */
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-touch-hint{display:none!important}
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-viewport{overflow-anchor:none!important;touch-action:pan-x pan-y!important}
@media(max-width:991px){
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-toolbar{gap:7px!important;padding:8px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls{display:grid!important;grid-template-columns:44px minmax(64px,1fr) 44px 44px 44px!important;gap:6px!important;align-items:center!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls :is(button,a){width:44px!important;max-height:none!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:7px!important;font-size:20px!important;border-radius:8px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls label{justify-content:center!important;gap:5px!important;font-size:14px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-page{width:46px!important;height:44px!important;font-size:16px!important;border-radius:7px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-zoom{grid-row:2!important;grid-column:2 / span 2!important;width:100%!important;height:44px!important;font-size:14px!important;border-radius:8px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app [data-action=pdf-zoom-out]{grid-row:2!important;grid-column:1!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app [data-action=pdf-zoom-in]{grid-row:2!important;grid-column:4!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app [data-action=pdf-fullscreen]{grid-row:2!important;grid-column:5!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-touch-hint{display:block!important;margin:0!important;padding:7px 8px!important;background:#fffef0!important;color:#344659!important;font:600 11px/1.5 Arial,sans-serif!important;text-align:center!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-viewport{padding:6px!important;scrollbar-width:thin!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-bottom{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:8px!important;font-size:12px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-bottom-navigation{order:3!important;width:100%!important;display:flex!important;gap:8px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-bottom-navigation button{flex:1!important;min-height:44px!important;font-size:14px!important;font-weight:700!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-scale{margin-left:auto!important;font-size:12px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-topbar{flex-wrap:wrap!important}
 /* Keep the thank-you action readable instead of an unlabeled heart. */
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-thanks{flex:0 0 auto!important;grid-column:1 / -1!important;grid-row:3!important;justify-self:end!important;align-self:center!important;margin:3px 6px 5px auto!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-thanks>summary{width:auto!important;height:auto!important;min-height:40px!important;padding:7px 11px!important;gap:7px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .thanks-label{display:inline!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
}


/* One compact row, including the labeled thank-you action. */
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .hero-stats>span{background:#fff!important}
@media(max-width:991px){
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-topbar{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;padding:4px!important;min-height:38px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-heading{flex:1 1 auto!important;min-width:0!important;gap:3px!important;overflow:hidden!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #industry-title{flex:0 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .hero-stats{flex:0 0 auto!important;width:auto!important;max-width:none!important;gap:3px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .hero-stats>span{flex:0 0 auto!important;width:40px!important;min-height:32px!important;padding:3px 2px!important;font-size:9px!important;line-height:1.25!important;display:flex!important;align-items:center!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-thanks{flex:0 0 auto!important;margin:0!important;align-self:center!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-thanks>summary{width:auto!important;min-height:32px!important;height:32px!important;padding:4px 6px!important;gap:4px!important;border-radius:7px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .thanks-label{font-size:11px!important;line-height:1.25!important;white-space:nowrap!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .thanks-heart svg{width:15px!important;height:15px!important}
}
@media(max-width:767px){
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-kicker{display:none!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #industry-title{font-size:clamp(12px,3.35vw,18px)!important}
}
@media(max-width:359px){
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-topbar{gap:3px!important;padding-inline:3px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .hero-stats{gap:2px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .hero-stats>span{width:34px!important;font-size:8px!important;padding-inline:1px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .industry-thanks>summary{padding-inline:4px!important;gap:3px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .thanks-label{font-size:10px!important}
}

/* Smaller vector speaker in matching games; keep the full tap area. */
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .arcade-match .sj-match-word>.match-speak-btn{position:absolute!important;right:6px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;padding:6px!important;border:1px solid #ffffff8c!important;border-radius:50%!important;background:#ffffffe0!important;color:#163640!important;box-shadow:none!important;line-height:1!important;z-index:2}
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .arcade-match .sj-match-word>.match-speak-btn:after{content:'';position:absolute;inset:-7px}
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .arcade-match .sj-match-word>.match-speak-btn svg{display:block;width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;pointer-events:none}
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .arcade-match .sj-match-word>.match-speak-btn:hover{background:#fff!important;color:#0b716b!important;border-color:#fff!important}
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .arcade-match .sj-match-word>.match-speak-btn:focus-visible{outline:2px solid #75ffdf!important;outline-offset:3px!important}
#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .arcade-match .sj-match-word>[data-action=match]{padding-right:43px!important}
@media(max-width:991px){
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-title{display:none!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-toolbar{display:flex!important;flex-wrap:nowrap!important;padding:6px!important;gap:0!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;gap:3px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls>*{grid-row:auto!important;grid-column:auto!important;flex:0 0 auto!important;box-sizing:border-box!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls :is(button,a){width:clamp(28px,8.2vw,34px)!important;min-width:0!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:4px!important;font-size:18px!important;border-radius:7px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls>a:not(.pdf-download){display:none!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-controls label{width:58px!important;gap:2px!important;justify-content:center!important;font-size:12px!important;white-space:nowrap!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-page{width:28px!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:1px!important;font-size:16px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-zoom{flex:1 1 0!important;width:0!important;min-width:50px!important;height:40px!important;min-height:40px!important;padding:2px!important;font-size:11px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-reader-bottom{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;padding:6px!important;font-size:11px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-position{grid-column:1!important;grid-row:1!important;font-size:11px!important;white-space:nowrap!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app #pdf-scale{grid-column:3!important;grid-row:1!important;margin:0!important;font-size:11px!important;white-space:nowrap!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-bottom-navigation{grid-column:2!important;grid-row:1!important;order:0!important;width:auto!important;min-width:0!important;display:flex!important;justify-content:center!important;gap:4px!important}
 #sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app#sjindustry-app .pdf-bottom-navigation button{flex:1 1 0!important;min-width:0!important;width:auto!important;min-height:36px!important;height:36px!important;margin:0!important;padding:4px 5px!important;font-size:11px!important;line-height:1.25!important}
}
