/* Shared geometry: reserve the same iOS safe area before every tab renders. */
html body,html body.academy{padding-top:env(safe-area-inset-top,0px)!important}
html body>.pg-site-header{box-sizing:border-box!important;height:76px!important;min-height:76px!important;max-height:76px!important;margin:0!important;padding:0 max(28px,calc((100vw - 1120px)/2))!important;display:flex!important;align-items:center!important;gap:24px!important;background:var(--ac-bg,var(--pg-bg))!important;border-bottom:1px solid var(--ac-line,var(--pg-line))!important}
.pg-site-header .brand{font:800 18px/1.2 system-ui,sans-serif!important;display:flex!important;align-items:center!important;gap:9px!important;letter-spacing:-.4px!important;color:var(--ac-text,var(--pg-text))!important}
.pg-site-header .brand>img{display:block!important;width:30px!important;height:30px!important;border-radius:50%!important;object-fit:contain!important;background:#000!important}
.pg-site-header .brand small{display:none!important}.pg-site-header .brand span{color:inherit!important}
.pg-site-header .topnav{margin-left:auto!important;height:auto!important}
.pg-site-header summary.pg-menu-button{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border:0!important;border-radius:50%!important;list-style:none!important;background:transparent!important;color:var(--ac-text,var(--pg-text))!important}
.pg-site-header .pg-menu-button svg{width:24px!important;height:24px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important}
.pg-site-header summary::-webkit-details-marker{display:none!important}
body.range-page::before{content:'';position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--pg-bg);z-index:1010;pointer-events:none}
.ht-story{padding:15px 17px;background:#202b3d;border:1px solid #405068;border-radius:15px;margin:14px 0;color:#f1f5fc}.academy .ht-story p{color:#f1f5fc!important;font-size:13px;line-height:1.7;margin:0 0 12px!important}.ht-story ol{display:flex;gap:8px;overflow-x:auto;list-style:none;padding:0 0 6px;margin:0}.ht-story li{flex:0 0 auto;display:grid;gap:5px;padding:9px 12px;background:#ffffff0b;border:1px solid #ffffff18;border-radius:10px;font-size:12px}.ht-story li span{font-size:10px;color:#b9c9e3}.ht-story li:last-child{border-color:#8ab4ff;background:#314361}.ht-story li strong{color:#fff}
/* Quiet surfaces, with depth coming from the artwork and the interaction. */
.ld-actions a{border:1px solid #172c4810!important;box-shadow:0 3px 12px #14233e07!important;transition:transform .25s ease,box-shadow .25s ease!important}
.ld-actions .ld-continue a{background:#202e46!important}.ld-action-range{background:#e8eef3!important}.ld-action-practice{background:#eee9e1!important}
.ld-actions .ld-continue a:before{border:1px solid #ffffff35!important;background:#ffffff0a!important;box-shadow:none!important;border-radius:50%!important;width:54px!important;height:54px!important;transform:none;color:#fff}
.range-art{transform:rotate(-5deg);filter:none;transition:transform .35s}.range-art i{box-shadow:none;border:1px solid #3655770c;transition:background .25s,transform .25s}.practice-art{transform:rotate(-5deg)}.practice-art i{box-shadow:0 3px 9px #30271918;transition:transform .35s}.ld-action>b{display:grid;place-items:center;width:28px;height:28px;border:1px solid currentColor;border-radius:50%;font-size:15px;opacity:.55;transition:transform .25s,opacity .25s}
.ld-overview,.ld-chart,.ld-local-stats>div{box-shadow:none}.ld-heading>a{border:1px solid var(--ac-line);background:transparent}.ld-actions .ld-continue a:after{content:'';position:absolute;width:110px;height:110px;border:1px solid #ffffff09;border-radius:50%;right:-24px;top:-35px;pointer-events:none}
.pt-heading{padding:18px 0 24px}.pt-heading h1{margin:0!important;font-size:29px}.ht-room:not(.is-playing) .ht-heading{display:none}.pt-lobby.is-configuring>.pt-heading{display:none}
.pt-topic{border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;transition:transform .2s}
.pt-art{border-radius:15px;background:var(--pt-bg);box-shadow:none;border:1px solid #00000006;transition:transform .3s,filter .3s}.pt-art:after{content:'';position:absolute;left:17%;right:-20%;bottom:-36%;height:100%;border:1px solid #ffffff45;border-radius:50%;transform:rotate(-22deg);pointer-events:none}.pt-art>strong{font-size:21px;letter-spacing:-.7px;font-weight:750;z-index:2}.pt-mini-cards{right:20px;bottom:5px;transition:transform .3s}.pt-mini-cards i{box-shadow:0 4px 12px #00000012;border:1px solid #00000008}.pt-name,.pt-sub{padding:0}.pt-name{font-size:17px;margin:13px 0 4px}.pt-sub{color:var(--ac-text)!important;opacity:.7}
.pt-config{border:0;border-radius:0;padding:0;margin:0}.pt-back{display:block;padding:4px 0 17px;min-height:44px}.pt-config h2{margin:24px 0 7px!important;font-size:29px}.pt-config>p{margin:0 0 20px!important;opacity:.7}.pt-preview{overflow:hidden;border-radius:20px;background:#141e29;padding:22px 30px;color:white}.pt-preview-felt{position:relative;height:220px;border:1px solid #55746666;border-radius:110px;background:#223b35;box-shadow:inset 0 0 50px #00000013;max-width:560px;margin:auto}.pt-preview-seat{position:absolute;left:50%;top:-9px;transform:translateX(-50%);padding:7px 14px;border:1px solid #ffffff25;border-radius:20px;background:#26323c;font-size:11px;white-space:nowrap}.pt-preview-pot{position:absolute;top:43px;left:0;right:0;text-align:center;font-size:20px;font-weight:600;color:#eff7f2}.pt-preview-board{position:absolute;top:76px;left:0;right:0;display:flex;justify-content:center;gap:5px}.pt-preview-board i,.pt-preview-hand i{display:grid;place-items:center;width:32px;height:44px;border-radius:4px;background:#faf9f5;color:#16212c;font:700 17px Georgia;font-style:normal}.pt-preview-board .red,.pt-preview-hand .red{color:#ad4742}.pt-preview-hand{position:absolute;bottom:29px;left:0;right:0;display:flex;justify-content:center;gap:5px}.pt-preview-hand i{width:41px;height:55px;transform:rotate(-6deg);box-shadow:0 3px 9px #0002}.pt-preview-hand i+ i{transform:rotate(7deg)}.pt-preview-position{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:10px;color:#cbded6}
.pt-story{padding:0;background:none;border:0;font-size:13px;line-height:1.85}.pt-story p{margin:0 0 16px!important}.pt-story ol{list-style:none;padding:0 0 0 17px;margin:0;border-left:1px solid var(--ac-line)}.pt-story li{position:relative;padding:0 0 13px 5px}.pt-story li:before{content:'';position:absolute;left:-21px;top:8px;width:7px;height:7px;border-radius:50%;background:#668b80}.pt-story strong{display:block;font-size:14px;margin-top:16px;font-weight:650}.pt-config #tableStart{display:flex;align-items:center;justify-content:space-between;width:100%;border-radius:13px;background:#1766e8;color:#fff;padding:17px 22px;min-height:54px;font-size:16px;margin:23px 0 12px;transition:background .2s,transform .2s}.pt-config #tableStart span{font-size:22px}.pt-config>small{opacity:.65}.pt-config[hidden]{display:none!important}
.pt-config:not([hidden]){animation:room-enter .35s ease both}.ht-room.is-playing #tableGame{animation:room-enter .4s ease both}.pt-config:not([hidden]) .pt-preview-hand i{animation:hand-deal .45s ease both}.pt-config:not([hidden]) .pt-preview-hand i+i{animation-delay:.08s}
.academy.gc-clean .g3-cover{position:relative;overflow:hidden;border:1px solid #ffffff15;box-shadow:0 4px 16px #0000000c;border-radius:16px;transition:box-shadow .25s,transform .25s}.academy.gc-clean .g3-cover:after{content:'강의 보기 ↗';position:absolute;right:14px;bottom:14px;background:#111b28df;color:white;padding:9px 13px;border:1px solid #ffffff30;border-radius:30px;font-size:11px;font-weight:650;transition:transform .25s,background .25s}.academy.gc-clean .g3-cover-img{transition:transform .45s ease!important}.academy.gc-clean .g3-cover:focus-visible,.pt-topic:focus-visible,.ld-actions a:focus-visible{outline:3px solid #4586e8;outline-offset:4px}.ac-course-chapters{display:none!important}
@keyframes room-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes hand-deal{from{opacity:0;translate:0 15px}to{opacity:1;translate:0 0}}
@media(hover:hover){.ld-actions a:hover{transform:translateY(-2px);box-shadow:0 8px 22px #14233e10!important}.ld-action:hover>b{transform:translate(2px,-2px);opacity:1}.ld-action:hover .range-art{transform:rotate(0)}.ld-action:hover .range-art i:nth-child(5){transform:scale(1.12);background:#1766e8}.ld-action:hover .practice-art i:first-child{transform:rotate(-9deg) translateX(-3px)}.ld-action:hover .practice-art i:last-child{transform:rotate(23deg) translate(3px,6px)}.pt-topic:hover .pt-mini-cards{transform:rotate(-2deg) translateY(-5px)}.pt-topic:hover .pt-art{filter:brightness(1.025)}.academy.gc-clean .g3-course:hover .g3-cover{box-shadow:0 10px 25px #00000014}.academy.gc-clean .g3-course:hover .g3-cover-img{transform:scale(1.035)}.academy.gc-clean .g3-cover:hover:after{background:#1766e8;transform:translateY(-2px)}}
.pt-topic:active,.ld-actions a:active,.academy.gc-clean .g3-cover:active,#tableStart:active{transform:scale(.985)}
@media(max-width:700px){html body>.pg-site-header{height:64px!important;min-height:64px!important;max-height:64px!important;padding:0 20px!important;gap:15px!important}.pg-site-header .brand>img{width:28px!important;height:28px!important}.pg-site-header .brand{font-size:17px!important}.pt-grid{gap:23px 14px}.pt-name{font-size:16px}.pt-art>strong{font-size:19px;max-width:100px}.pt-art{aspect-ratio:1.32}.pt-mini-cards{right:14px}.pt-config h2{font-size:26px}.pt-preview{padding:23px 16px 18px}.pt-preview-felt{height:210px}.pt-story{font-size:12px}.ld-actions .ld-continue a:before{transform:translateY(-50%)}.ld-heading h1{font-size:27px}.range-page-title{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.pt-config,.pt-preview *,.ht-room.is-playing #tableGame,.pt-topic *,.ld-actions *,.academy.gc-clean .g3-cover,.academy.gc-clean .g3-cover *{animation:none!important;transition:none!important}.pt-topic:active,.ld-actions a:hover,.ld-actions a:active,.academy.gc-clean .g3-cover:active{transform:none!important}}

/* Keep the classroom shortcut adjacent to the settings menu. */
.pg-site-header .ac-header-room{margin-left:auto!important;margin-right:0!important}.pg-site-header:has(.ac-header-room) .topnav{margin-left:0!important;flex:none!important}
.ring-replay-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-size:13px}.ring-replay-bar button{padding:9px 12px;border:1px solid #ffffff30;border-radius:10px;background:transparent;color:#e2eafa;font:inherit;font-size:11px}.ring-seats{position:absolute;inset:0;pointer-events:none;z-index:4}.ring-seat{position:absolute;transform:translate(-50%,-50%);width:68px;padding:7px 3px;border-radius:11px;background:#263039;border:1px solid #61726e;color:#eaf1ed;text-align:center;line-height:1.4;opacity:.45}.ring-seat strong,.ring-seat span{display:block;font-size:10px}.ring-seat span{font-size:9px}.ring-seat.is-player{display:none}.ring-replaying .ring-seat{opacity:1}.ring-replaying .ring-seat.is-player{display:block}.ring-replaying .ring-seat.is-folded{opacity:.35}.ring-replaying .ring-seat.is-acting{opacity:1;border-color:#8ec6ab;background:#36564b;box-shadow:0 0 0 3px #8ec6ab20}.ring-replaying .ht-hero,.ring-replaying .ht-villain{visibility:hidden}.ring-replaying .ht-console,.ring-replaying .ht-notebook{display:none}.ht-room .ht-table{margin:5px 32px 20px}.ht-room .ht-center{max-width:72%}
@media(max-width:700px){.ring-seat{width:53px;padding:5px 2px}.ring-seat strong{font-size:9px}.ring-seat span{font-size:8px}.ht-room .ht-table{margin-left:24px;margin-right:24px}.ht-room .ht-center{max-width:none}.ht-room .ht-center .ht-card{width:30px;height:43px;font-size:17px}.ring-replay-bar{font-size:12px}.ring-replay-bar button{font-size:10px}}
/* Studio-like cards: a near-white canvas and a broad, low-contrast shadow. */
html:not([data-pg-theme=dark]) .ld-home{--studio-card:#fff;--studio-shadow:0 2px 14px #2029380c,0 7px 22px #20293806}
html:not([data-pg-theme=dark]) body.ac-home{background:#fcfcfd!important}
html:not([data-pg-theme=dark]) .ld-actions a,html:not([data-pg-theme=dark]) .ld-actions .ld-continue a{background:var(--studio-card)!important;color:#20242b!important;border:1px solid #18203104!important;box-shadow:var(--studio-shadow)!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-continue strong{color:#20242b!important}html:not([data-pg-theme=dark]) .ld-actions .ld-continue span{color:#606874!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-continue a:before{background:#eef3fb!important;border:0!important;color:#3269b4!important}html:not([data-pg-theme=dark]) .ld-actions .ld-continue a:after{display:none}
html:not([data-pg-theme=dark]) .ld-overview,html:not([data-pg-theme=dark]) .ld-chart,html:not([data-pg-theme=dark]) .ld-local-stats>div{background:#fff;box-shadow:var(--studio-shadow);border:1px solid #18203104}
.pt-art{box-shadow:0 2px 12px #20293809,0 6px 18px #20293804}.pt-config .pt-preview{box-shadow:0 4px 16px #2029380c}
html[data-pg-theme=dark] .ld-actions a{box-shadow:0 3px 15px #0002!important;border:1px solid #ffffff0b!important}
.ht-room .ht-villain{min-width:0;width:70px;transform:translate(-50%,-50%);z-index:5;gap:3px;padding:5px 2px;border-radius:12px;background:#253039;border:1px solid #566962;text-align:center}.ht-room .ht-villain>strong{font-size:11px}.ht-room .ht-villain .ht-card{width:24px;height:32px;font-size:13px}.ht-room .ht-villain .ht-action-tag{font-size:9px;padding:3px}.ht-room .ht-hero{z-index:5}
/* Color gives each action an identity; surfaces keep a soft, quiet edge. */
html:not([data-pg-theme=dark]) body.ac-home{background:#f5f6f2!important}
.ld-home{padding-top:26px!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-continue a{background:radial-gradient(ellipse at 100% 0%,#367768 0%,transparent 65%),#183f36!important;color:#fff!important;box-shadow:0 8px 24px #254a3c18!important;border:1px solid #ffffff12!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-continue strong{color:#fff!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-continue span{color:#d4e4db!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-continue a:before{background:#d9eedc!important;color:#254b3d!important;border:1px solid #fff4!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-action-range{background:linear-gradient(135deg,#e5edf9,#dce7f4)!important;color:#263e61!important}
html:not([data-pg-theme=dark]) .ld-actions .ld-action-practice{background:linear-gradient(135deg,#fae9d7,#f2dbc9)!important;color:#674b38!important}
.ld-action-art{transition:transform .25s ease}.ld-actions .range-art{transform:rotate(-3deg)}.ld-actions .practice-art{transform:rotate(-6deg)}
html:not([data-pg-theme=dark]) .ld-overview{background:#ffffffb8;border:1px solid #fff;box-shadow:0 3px 16px #20382c06}
.ld-overview .ld-main-stat strong{color:#3c7f61}.ld-overview .ld-stat:nth-child(2) strong{color:#476eac}.ld-overview .ld-stat:nth-child(3) strong{color:#977140}
.home-series{margin:30px 0}.home-series .ld-section-head{margin-bottom:15px}.home-series h2{font-size:19px!important;margin:0!important;letter-spacing:-.5px}.home-series .ld-section-head>a{font-size:12px;color:var(--ac-muted)}
.home-series-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-series-grid a{display:block;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px #162b4210;transition:transform .2s ease}.home-series-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
@media(max-width:700px){.ld-home{padding-top:22px!important}.home-series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-series-grid a{border-radius:12px}.ld-actions .ld-action{min-height:200px}.home-series{margin-top:27px}}
@media(hover:hover){.home-series-grid a:hover{transform:translateY(-2px)}.ld-action-range:hover .range-art{transform:rotate(0deg)}.ld-action-practice:hover .practice-art{transform:rotate(0deg)}}
@media(prefers-reduced-motion:reduce){.home-series-grid a,.ld-action-art{transition:none!important}}
/* Catalog loading reserves the first viewport instead of growing from an empty page. */
.academy .classroom-feed{min-height:calc(100svh - 76px)}
