:root{--v-bg:#bdc9d7;--v-accent:#354e70;--v-inactive:#66768a;--v-chrome:#e3e6e8;--v-note:#f0e4bd;--max:1320px;--accent:#6e97c7;--accent-ink:#4f739c;--font-ui:Pretendard,sans-serif;--font-pixel:monospace}
html,body{height:100%;overflow:hidden}
body{background:#bdc9d7;background-image:radial-gradient(#fff3 .7px,transparent .7px);background-size:4px 4px;color:#303944}
a{text-decoration:none}
img{filter:none!important}
.profile-photo img{filter:none!important}
/* Original portfolio header: same markup,order and visual treatment. */.nav-links a.active{color:var(--accent-ink);background:rgba(110,151,199,.11);box-shadow:inset 0 0 0 1px var(--accent)}
#workspace{position:fixed;inset:94px 0 99px;overflow:hidden;min-height:0}
#page-track{height:100%;display:flex;transition:transform .5s cubic-bezier(.22,.7,.2,1);will-change:transform}
.desktop-page{flex:0 0 100%;width:100%;height:100%;min-width:0;position:relative;padding:35px max(5vw,24px) 10px;overflow:hidden;outline:none}
.window{position:relative;inset:auto;width:auto;min-width:0;max-width:none;transform:none;box-shadow:inset 1px 1px #fff,4px 5px #354e7026,8px 16px 36px #354e7010}
.window .titlebar{height:31px;min-height:31px;cursor:default}
.window .titlebar button{width:25px;height:24px}
.desktop-page.is-current .window{animation:window-open .42s .12s backwards}
@keyframes window-open{from{opacity:0;translate:0 16px;scale:.975}to{opacity:1;translate:0;scale:1}}
.welcome-copy{padding:32px 38px;background:#faf8f1}
.screen-kicker{font:10px monospace;letter-spacing:1.4px;color:#657b98}
.welcome-copy h1{font-size:clamp(38px,4.7vw,70px);line-height:1.13;letter-spacing:-3px;margin:25px 0 24px;font-weight:760}
.welcome-copy h1 span{color:#4c698e}
.welcome-description{line-height:1.8;font-size:14px;color:#616d80}
.primary{display:inline-block;margin-top:15px;background:#354e70;color:#fff;font-size:12px;padding:13px 18px}
.primary:hover{background:#435f84;color:#fff}
.portfolio-page{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.7fr);grid-template-rows:minmax(280px,1fr) minmax(180px,.75fr);gap:20px 26px}
.portfolio-explorer{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-height:0}
.portfolio-explorer .explorer-body{padding:20px 25px;overflow:auto;flex:1}
.explorer-intro{padding-bottom:14px}
.explorer-intro h1{font-size:26px;margin:10px 0}
.explorer-intro p{font-size:11px}
.folder-art{width:27px;height:27px;top:5px}
.compact{padding:26px!important}
.compact h2{font-size:25px!important;line-height:1.5!important}
.compact p{font-size:13px!important}
.file-note{display:flex;gap:14px;padding:21px 0;border-top:1px dashed #c8d0db;line-height:1.8;font-size:12px;color:#62728a}
.file-note b{font:23px monospace;color:#60728d}
.compact>.retro-button{margin-top:12px}
.document-page{display:flex;flex-direction:column}
.document-window{display:flex;flex-direction:column;min-height:0;height:100%;width:100%}
.document-path{padding:9px 14px;font:10px monospace;color:#59667b;display:flex;justify-content:space-between;border-bottom:1px solid #b8c3d2}
.document-path span{font:10px Pretendard}
.section-content{overflow:auto;min-height:0;scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a4b3c7 #eef0f3}
.document-window>.section-content{flex:1;max-height:none;padding:28px 38px}
.section-content .container,.section-content .document-slide-inner{width:100%;padding:0}
.section-content :is(h2:not(.story-title,.game-title,.other-heading,.profile-headline,.tools-title),h1.section-title){margin-top:0}
.section-content .section-title{font-size:32px;letter-spacing:1px}
.section-content .kicker{margin:0 0 10px}
.section-content .profile-grid{display:grid;grid-template-columns:300px 1fr;gap:32px}
.profile-photo{margin:0}
.profile-photo img{width:100%;height:230px;object-fit:cover;object-position:center 35%;margin:0!important}
.profile-name{font-size:23px!important;font-weight:700;margin:12px 0!important}
.profile-name small{display:block;font:11px monospace}
.meta-list{list-style:none;padding:0;margin:14px 0 0}
.meta-list li{padding:9px 0;border-top:1px solid #d7dce3;display:flex;gap:14px;font-size:12px}
.meta-list li>span{min-width:55px;color:#617187}
.meta-list strong{font-weight:500}
.contact-lines{display:grid;gap:5px}
.profile-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.profile-fact{border:1px solid #c8d1df;background:#edf1f6;padding:17px}
.profile-fact-icon svg{width:23px!important;height:23px!important;fill:none;stroke:#647e9d;stroke-width:1.5}
.profile-fact-head{display:flex;justify-content:space-between;color:#899db7}
.profile-fact h3{margin:15px 0 9px}
.profile-fact-list{list-style:none;padding:0;margin:0}
.profile-fact-list li{margin:12px 0;font-size:12px}
.profile-fact-list span{display:block;font-size:10px;color:#5c6d85;margin-top:5px}
.profile-copy .profile-headline{font-size:21px;line-height:1.6}
.tools-panel{border-top:1px solid #ccd4df;margin-top:25px;padding-top:20px}
.tools-title{font-size:18px}
.tool-icon{width:22px!important;height:22px;margin:0!important}
.tool-legal{font-size:10px!important;color:#637286!important}
#resume .type{margin-top:15px}
.essay-panel{display:grid;grid-template-columns:150px 1fr;gap:30px}
.story-list{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.story-block{padding-top:0!important;margin-bottom:20px}
.story-block .story-title{line-height:1.5}
.story-block p{font-size:13px!important}
.essay-answer .doc-actions{margin:5px 0 10px!important}
#game-log .game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#game-log .game-card .game-title{font-size:16px}
#game-log .game-card p{font-size:12px}
#game-log .other-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.taskbar{height:45px;z-index:60}
.taskbar .start{font-size:14px;font-weight:bold;min-width:80px}
.taskbar #task-buttons{display:flex;gap:5px;min-width:0;overflow:auto;scrollbar-width:none}
.taskbar #task-buttons button{font:10px monospace;white-space:nowrap;padding:9px 14px;border:1px solid #acb6c4;box-shadow:inset 1px 1px #fff;background:#e2e6ec}
.taskbar #task-buttons button.active{background:#f7f7ef;box-shadow:inset 1px 1px #9ba8ba}
.taskbar .tray{flex-shrink:0}
dialog{max-height:88dvh}
#detail-content{max-height:calc(88dvh - 110px)}
.window.is-minimized>:not(.titlebar){display:none!important}
.window.is-minimized{height:auto!important;align-self:start}
.desktop-page .window.maximized{position:absolute!important;inset:35px 5vw 10px!important;z-index:30!important;width:auto!important;height:auto!important;display:flex;flex-direction:column;overflow:auto}
.window.maximized>.section-content{flex:1;max-height:none}
.window.maximized>.welcome-copy{flex:1}
.window.maximized video{height:100%;min-height:0}
@media(max-width:1000px){.desktop-page{padding-inline:25px}.welcome-copy{padding:25px}.welcome-copy h1{font-size:50px}.portfolio-page{grid-template-columns:240px minmax(0,1fr);gap:15px}.portfolio-explorer .explorer-body{padding:16px}.explorer-intro h1{font-size:21px}.profile-facts{grid-template-columns:1fr}.section-content .profile-grid{grid-template-columns:240px 1fr}#game-log .game-grid{grid-template-columns:1fr 1fr}#game-log .other-grid{grid-template-columns:repeat(3,1fr)}.story-list{grid-template-columns:1fr}.essay-panel{grid-template-columns:110px 1fr}.document-window>.section-content{padding:24px}}
@media(max-width:620px){#workspace{inset:105px 0 94px}.desktop-page{padding:29px 12px 8px;overflow-y:auto;overscroll-behavior:contain}.welcome-copy{padding:24px}.welcome-copy h1{font-size:42px;letter-spacing:-2px;margin:18px 0}.welcome-description{font-size:12px}.portfolio-page{display:flex;flex-direction:column;gap:15px}.portfolio-explorer{width:100%;order:1;flex-shrink:0;height:auto}.document-page{overflow:hidden}.document-window>.section-content{padding:20px 16px}.document-path{font-size:8px;padding:9px}.document-path>span{display:none}.document-window>.status span{font-size:8px}.document-window>.status span:last-child{display:none}.section-content .profile-grid{grid-template-columns:1fr;gap:20px}.profile-photo img{height:300px}.profile-facts{grid-template-columns:1fr}.profile-copy .profile-headline{font-size:18px}.essay-panel{display:block}.essay-question{font-size:28px!important;margin:10px 0 20px!important}.story-list{display:block}#game-log .game-grid{grid-template-columns:1fr}#game-log .other-grid{grid-template-columns:repeat(2,1fr)}.taskbar #task-buttons button{padding:9px;font-size:9px}.taskbar .start{min-width:64px;font-size:12px}.taskbar .tray{padding:8px 6px;font-size:9px}.taskbar .tray>span{display:none}.desktop-page .window.maximized{inset:29px 12px 8px!important}.section-content .resume-details{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#page-track{transition:none}.desktop-page.is-current .window{animation:none}}
.scan-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:-28px;background:#faf8f1;padding:10px 0;z-index:2}
.scan-pagination button:disabled{opacity:.4;cursor:default}
#scan-sheet{margin:15px 0}
#detail-content .contact-lines a{display:block;padding:12px;background:#edf1f6;border:1px solid #cad4e1;margin:10px 0}
.desktop-page{touch-action:pan-y}
@font-face{font-family:'Jersey 10';src:url('../fonts/Jersey10-Regular.subset.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--font-pixel:'Jersey 10',monospace}
:is(#detail-content,.section-content) :is(.kicker,.project-kicker,.project-section-label,.year,.story-block b,.type,.tag,.other-time,.game-log-divider,.resume-details dt,.release-field span){color:#556c87}
:is(#detail-content,.section-content) :is(.resume-group-heading>span,.essay-question){color:#788fb0}
:is(#detail-content,.section-content) :is(.story-block,.timeline-item,.resume-group-heading,.analysis-details summary,.game-log-divider){border-color:#c9d3e0}
:is(#detail-content,.section-content) .game-card .number,:is(#detail-content,.section-content) .other-rank{background:#354e70dd}
@media(max-height:800px) and (min-width:621px){.welcome-copy{padding:20px 28px}.welcome-copy h1{font-size:42px;margin:15px 0}.welcome-description{font-size:12px}.welcome-copy .primary{margin-top:5px;padding:10px 14px}.compact{padding:20px!important}.compact h2{font-size:21px!important}.file-note{padding:13px 0}.portfolio-page{grid-template-rows:minmax(245px,1fr) minmax(140px,.65fr)}.portfolio-explorer .explorer-body{padding:13px 20px}.explorer-intro h1{font-size:21px}.explorer-intro p{display:none}.explorer-intro{padding-bottom:9px}}
/* Navigation belongs to the desktop: folder shortcuts,not a website header. */
.desktop-folders{position:fixed;top:55px;bottom:75px;left:16px;width:104px;z-index:45;display:flex;flex-direction:column;align-items:stretch;gap:19px;overflow-y:auto;scrollbar-width:none;padding:8px 4px}
.desktop-folder{display:flex;flex-direction:column;align-items:center;padding:10px 3px 7px;min-height:99px;flex-shrink:0;border:1px solid transparent;outline-offset:-2px}
.desktop-folder>.folder{width:48px;height:35px;margin:9px 0 10px;background:#e2c68e;border-color:#75634b;box-shadow:inset 2px 2px #f8e6b8,3px 3px #354e7022}
.desktop-folder>.folder::before{border-color:#75634b}
.desktop-folder .folder-art{width:24px;height:24px;top:4px;left:10px;color:#665e50;stroke:#665e50;fill:none;stroke-width:2}
.desktop-folder .folder-label{font:11px monospace;letter-spacing:.1px;padding:3px 5px;color:#33465e;white-space:nowrap}
.folder-caption{font-size:10px;color:#5f738e;margin-top:2px}
.desktop-folder:hover{background:#eaf1f544;border-color:#e9f1fa99}
.desktop-folder.active{background:#dce7f338;border:1px dotted #7089a7}
.desktop-folder.active .folder-label{background:#354e70;color:#fff}
.desktop-folder.active>.folder{background:#f0d59b}
.desktop-folder:focus-visible{outline:2px solid #354e70}
#workspace{inset:49px 22px 99px 132px}
.desktop-page{padding:35px 20px 10px}
.desktop-page .window.maximized{inset:35px 20px 10px!important}
@media(max-height:800px) and (min-width:621px){.desktop-folders{top:40px;gap:7px}.desktop-folder{min-height:82px;padding:8px 3px 5px}.desktop-folder>.folder{width:42px;height:30px;margin-bottom:6px}.desktop-folder .folder-art{width:20px;height:20px;left:9px}.folder-caption{font-size:9px}}
@media(min-width:621px) and (max-width:900px){.desktop-folders{width:85px;left:7px}#workspace{left:95px;right:12px}.desktop-page{padding-inline:12px}.welcome-copy{padding:20px}.welcome-copy h1{font-size:40px}.portfolio-page{grid-template-columns:200px minmax(0,1fr);gap:12px}.compact{padding:16px!important}.compact h2{font-size:20px!important}}
@media(max-width:620px){.desktop-folders{inset:33px 8px auto;width:auto;height:83px;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;overflow:visible}.desktop-folder{min-height:0;min-width:0;padding:8px 0 4px;height:80px}.desktop-folder>.folder{width:32px;height:24px;margin:6px 0 7px;box-shadow:inset 1px 1px #f8e6b8,2px 2px #354e7022}.desktop-folder>.folder::before{width:17px;height:7px;top:-8px}.desktop-folder .folder-art{width:17px;height:17px;left:5px;top:2px}.desktop-folder .folder-label{font-size:8px;letter-spacing:-.3px;padding:2px}.folder-caption{font-size:8px;margin-top:1px}#workspace{inset:128px 0 94px}.desktop-page{padding:29px 12px 8px}.desktop-page .window.maximized{inset:29px 12px 8px!important}}
/* Explorer transport: a real folder-position control in the desktop chrome. */
#workspace{bottom:147px}
#folder-path{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#page-counter{margin-left:auto;font:9px monospace;color:#6a7e98;white-space:nowrap}
.wheel-guide .mouse-wheel{fill:#6c86a6;stroke:none}
@media(max-width:620px){#workspace{bottom:146px}#page-counter{font-size:8px}}
/* A desktop greeting lives outside the Info document. */
#workspace{top:22px}
.desktop-page{padding-top:12px}
.desktop-page .window.maximized{top:12px!important}
.desktop-folders{top:27px}
@media(max-height:800px) and (min-width:621px){.welcome-copy{padding:18px 25px}.welcome-copy h1{font-size:39px;margin:13px 0}.welcome-copy .screen-kicker{font-size:9px}}
@media(max-width:620px){.desktop-folders{top:15px}.desktop-folders .desktop-folder{padding-top:8px}#workspace{top:107px}.desktop-page{padding-top:8px}.desktop-page .window.maximized{top:8px!important}}
/* Keep the published project URL visible and readable on narrow screens. */
.release-url{display:block;font-size:11px;line-height:1.7;overflow-wrap:anywhere;word-break:normal;text-decoration:underline;text-underline-offset:3px}
.release-source>span{display:block;font-size:10px;color:#556c87;margin-bottom:5px}
.release-summary{font-weight:650}
/* Verified release snapshot: distinguish browser plays from downloads. */
.release-metrics{margin:24px 0;padding:18px;border:1px solid #b7c6d8;background:#edf2f7}
:is(#detail-content,.section-content) .release-metrics h3{font-size:16px;margin:0 0 15px;line-height:1.5}
.release-metrics h3 small{display:block;font:10px monospace;color:#677f9c;margin-top:3px}
.release-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.release-metrics-grid>div{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #cbd6e3;background:#fafbf8;padding:12px;min-width:0}
:is(#detail-content,.section-content) .release-metrics-grid dt{font-size:11px;font-weight:500;color:#556e8c;line-height:1.5}
.release-metrics-grid dt small{display:block;font:9px/1.5 monospace;margin-top:3px;overflow-wrap:anywhere}
:is(#detail-content,.section-content) .release-metrics-grid dd{font:28px/1.2 monospace;color:#354e70;margin:10px 0 0}
:is(#detail-content,.section-content) .metrics-source{font-size:10px;line-height:1.7;color:#71829a;margin:14px 0 0}
#resume .release-metrics{padding:12px}
#resume .release-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:620px){.release-metrics{padding:12px}.release-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.release-metrics-grid>div{padding:10px}}
/* Portfolio gets the full available height; preview media lives inside each folder. */
.portfolio-page{grid-template-columns:minmax(245px,.65fr) minmax(0,2fr);grid-template-rows:minmax(0,1fr);gap:24px}
.portfolio-explorer{grid-column:2;grid-row:1;height:100%}
.portfolio-explorer .explorer-body{padding:30px 32px;display:flex;flex-direction:column}
.portfolio-explorer .explorer-intro{padding-bottom:24px}
.portfolio-explorer .explorer-intro h1{font-size:32px;line-height:1.35}
.portfolio-explorer .explorer-intro p{display:block;font-size:13px;line-height:1.7}
#detail.project-dialog{width:min(1340px,calc(100vw - 64px));max-width:none;height:calc(100dvh - 66px);max-height:none;display:flex;flex-direction:column;margin:auto}
#detail.project-dialog:not([open]){display:none}
#detail.project-dialog>#detail-content{flex:1;min-height:0;max-height:none;padding:28px 34px;overflow-y:auto}
#detail.project-dialog>.titlebar,#detail.project-dialog>.detail-path,#detail.project-dialog>.status{flex-shrink:0}
.project-dialog .project-heading{margin-bottom:18px;padding-bottom:18px}
.project-dialog .project-heading h2{font-size:32px!important}
.project-dialog .facts{margin:12px 0 24px!important}
.project-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:30px;align-items:start}
.project-preview{min-width:0;border:1px solid #889bb3;background:#e1e8ef}
.actual-preview{position:sticky;top:0;padding:5px;box-shadow:inset 1px 1px #fff}
.project-dialog #project-loop{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:520px;object-fit:contain;background:#1e2733}
.preview-caption{display:flex;justify-content:space-between;gap:10px;padding:11px 8px;font-size:10px;color:#546882}
.preview-caption>span:last-child{font:9px monospace}
.project-contribution .project-section-label{margin-top:0!important}
.project-dialog .project-summary{font-size:15px!important;line-height:1.85!important;margin-top:8px}
.project-contribution>h3{font-size:21px;margin:25px 0 16px}
.project-contribution ol{padding:0;list-style:none;counter-reset:contribution;display:grid;gap:15px;margin:0}
.project-contribution li{counter-increment:contribution;position:relative;padding:0 0 15px 39px;border-bottom:1px dashed #c9d3e0}
.project-contribution li:before{content:'0' counter(contribution);position:absolute;top:1px;left:0;font:18px monospace;color:#8ba0bd}
.project-contribution h4{font-size:15px;margin:0 0 5px}
.project-dialog .project-contribution li p{font-size:13px;line-height:1.8;margin:0}
.project-evidence{margin-top:28px;padding-top:22px;border-top:1px solid #cbd4e1}
.project-dialog .release-metrics-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.project-dialog .release-metrics{margin:18px 0 24px}
.project-dialog .release-summary{margin-top:0}
.concept-preview{position:relative;min-height:370px;padding:23px;background-color:#e9e6de;background-image:linear-gradient(#ffffff50 1px,transparent 1px),linear-gradient(90deg,#ffffff50 1px,transparent 1px);background-size:22px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.preview-tomorrow{background-color:#eadcda}
.preview-dice{background-color:#dee5d8}
.preview-space{background-color:#dce4ed}
.concept-label{font:10px monospace;letter-spacing:1.6px;align-self:start;color:#6b7c91}
.project-dialog .concept-icon{width:95px!important;height:95px!important;fill:none;stroke:#627691;stroke-width:1.8;margin:35px 0;animation:concept-float 3s ease-in-out infinite}
.concept-steps{display:flex;gap:10px;width:100%;justify-content:center}
.concept-steps>span{font-size:11px;background:#f8f8f1;border:1px solid #9faec0;padding:12px 9px;text-align:center;flex:1;box-shadow:2px 2px #61758d22;animation:concept-highlight 4.5s calc(var(--step)*1.5s) infinite}
.concept-steps b{display:block;font:11px monospace;color:#8296b2;margin-bottom:7px}
.project-dialog .concept-preview p{font-size:10px;color:#687f9a;text-align:center;margin:20px 0 0}
.preview-motion-toggle{font-size:10px;margin-top:14px}
.motion-paused .concept-icon,.motion-paused .concept-steps>span{animation-play-state:paused}
@keyframes concept-float{50%{transform:translateY(-7px)}}
@keyframes concept-highlight{0%,65%,100%{background:#f8f8f1}20%,45%{background:#d3e0ef}}
@media(max-width:1100px){.portfolio-page{grid-template-columns:220px minmax(0,1fr);gap:17px}.portfolio-explorer .explorer-body{padding:22px}.portfolio-explorer .explorer-intro h1{font-size:27px}.project-overview{grid-template-columns:1fr 1fr;gap:22px}.project-dialog .release-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-caption{flex-wrap:wrap}.project-dialog #project-loop{aspect-ratio:1/1}}
@media(max-width:800px){.project-overview{grid-template-columns:1fr}.actual-preview{position:static}.project-dialog #project-loop{aspect-ratio:16/10;max-height:420px}.project-dialog .project-heading h2{font-size:26px!important}#detail.project-dialog{width:calc(100vw - 22px);height:calc(100dvh - 30px)}#detail.project-dialog>#detail-content{padding:23px}.concept-preview{min-height:300px}}
@media(max-width:620px){.portfolio-page{display:flex}.portfolio-explorer{height:auto;min-height:0;flex-shrink:0}.portfolio-explorer .explorer-body{padding:20px 15px}.portfolio-explorer .explorer-intro h1{font-size:26px}.project-dialog .release-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#detail.project-dialog{width:calc(100vw - 12px);height:calc(100dvh - 18px)}#detail.project-dialog>#detail-content{padding:20px 15px}.project-dialog .project-heading h2{font-size:22px!important;overflow-wrap:anywhere}.project-dialog .project-heading .folder{flex-shrink:0}.concept-steps{gap:6px}.concept-steps>span{font-size:10px;padding:10px 5px}.concept-preview{padding:18px}.project-contribution>h3{margin-top:8px}}
@media(max-height:800px) and (min-width:621px){.portfolio-page{grid-template-rows:minmax(0,1fr)}.portfolio-explorer .explorer-body{padding:18px 22px}.portfolio-explorer .explorer-intro{padding-bottom:14px}.portfolio-explorer .explorer-intro h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.concept-icon,.concept-steps>span{animation:none!important}}
/* The project explorer itself occupies the entire right-hand workspace. */
@media(min-width:621px){#portfolio{display:grid;grid-template-columns:clamp(230px,22vw,340px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:24px;align-items:stretch;height:100%;min-height:0}#portfolio>.portfolio-explorer{grid-area:1/2;align-self:stretch;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;max-height:none}#portfolio>.portfolio-explorer>.titlebar,#portfolio>.portfolio-explorer>.window-menu,#portfolio>.portfolio-explorer>.address,#portfolio>.portfolio-explorer>.status{flex-shrink:0}#portfolio>.portfolio-explorer>.explorer-body{flex:1;min-height:0;overflow-y:auto}}
@media(min-width:621px) and (max-width:1000px){#portfolio{grid-template-columns:210px minmax(0,1fr);gap:16px}}
/* Project windows scale with the desktop,including wide displays. */
#detail.project-dialog{width:calc(100vw - 64px);max-width:1760px;height:calc(100dvh - 42px);max-height:none}
@media(min-width:1101px){.project-dialog .project-overview{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px}.project-dialog #project-loop{aspect-ratio:16/10;max-height:55dvh}.project-dialog .project-contribution li p{font-size:14px;line-height:1.9}}
@media(max-width:800px){#detail.project-dialog{width:calc(100vw - 22px);height:calc(100dvh - 30px)}}
@media(max-width:620px){#detail.project-dialog{width:calc(100vw - 12px);height:calc(100dvh - 18px)}}
/* Keep each folder and its artwork together when a grid row becomes short. */
/* Group the file icon and readable metadata instead of scattering tiny labels. */
.portfolio-explorer .explorer-intro h1{font-size:clamp(28px,2.3vw,38px);line-height:1.3;letter-spacing:-1px}
.portfolio-explorer .explorer-intro p{font-size:14px;line-height:1.75;color:#5d6b7d}
.project-dialog .project-overview{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,2.5vw,42px)}
.project-dialog .project-heading h2{font-size:clamp(26px,2.5vw,38px)!important;line-height:1.25}
.project-dialog .project-summary{font-size:16px!important;line-height:1.85!important;max-width:65ch}
.project-dialog .project-contribution>h3{font-size:23px;margin:24px 0 20px}
.project-dialog .project-contribution h4{font-size:17px;line-height:1.5;margin-bottom:7px}
.project-dialog .project-contribution li p{font-size:15px;line-height:1.85;max-width:65ch;color:#56677d}
.project-dialog .project-contribution li{padding-left:40px;padding-bottom:18px}
.project-dialog .project-contribution li:before{top:2px;font-size:19px}
.project-dialog .facts span{font-size:12px!important;padding:6px 12px!important}
.project-dialog .preview-caption{font-size:11px;line-height:1.5}
.project-dialog .release-metrics-grid dt{font-size:13px!important}
.project-dialog .release-metrics-grid dd{font-size:32px!important}
@media(max-width:800px){.project-dialog .project-overview{grid-template-columns:1fr;gap:26px}.project-dialog .project-contribution li p{font-size:14px}.project-dialog .project-contribution>h3{font-size:21px}}
@media(max-width:620px){.portfolio-explorer .explorer-intro h1{font-size:27px}.portfolio-explorer .explorer-intro p{font-size:13px}.project-dialog .project-summary{font-size:14px!important}.project-dialog .project-contribution h4{font-size:16px}.project-dialog .project-heading h2{font-size:25px!important}.project-dialog .facts span{font-size:11px!important}.project-dialog .project-contribution li p{font-size:14px}}
@media(min-width:1101px){.portfolio-explorer .explorer-body{padding:24px 28px}.portfolio-explorer .explorer-intro{padding-bottom:16px}.portfolio-explorer .explorer-intro h1{font-size:30px;margin:8px 0}.portfolio-explorer .explorer-intro p{font-size:13px}}
/* Reclaim the workspace: navigation is part of the existing taskbar. */
#workspace{bottom:55px}
.taskbar-pager{display:flex;align-items:center;gap:7px;margin-left:auto;padding-left:10px;border-left:1px solid #b0bdce;flex-shrink:0;height:31px}
.taskbar .taskbar-pager button{display:grid;place-items:center;width:31px;height:29px;padding:0;border:1px solid #a2afc2;background:#e7ebf0;box-shadow:inset 1px 1px #fff,inset -1px -1px #c3cbd7;font:18px monospace;color:#405d80;cursor:pointer}
.taskbar .taskbar-pager button:hover:not(:disabled){background:#f7f7ef}
.taskbar .taskbar-pager button:disabled{color:#9aa8ba;cursor:default;background:#dfe4eb;box-shadow:none}
.taskbar-pager #page-counter{font:10px monospace;color:#637c9b;min-width:43px;text-align:center;margin:0}
.taskbar>.tray{margin-left:5px}
.taskbar #task-buttons{flex:0 1 auto;min-width:0}
@media(max-width:620px){#workspace{bottom:58px}.taskbar-pager{gap:4px;padding-left:5px}.taskbar .taskbar-pager button{width:28px;height:30px;font-size:17px}.taskbar-pager #page-counter{font-size:9px;min-width:37px}.taskbar>.tray{display:none}.taskbar #task-buttons{flex:1;min-width:0}.taskbar .start{min-width:58px;padding:8px}}
/* A system-tray helper preserves the wheel hint without taking workspace height. */
.wheel-assistant{position:relative;flex:0 0 auto;align-self:center;margin-left:2px}
#wheel-help-toggle{display:grid;place-items:center;width:31px;height:31px;padding:3px;border:1px solid transparent;background:transparent;color:#5e7899}
#wheel-help-toggle:hover,#wheel-help-toggle[aria-expanded="true"]{background:#edf1f5;border-color:#a5b4c8;box-shadow:inset 1px 1px #fff}
.wheel-assistant svg{fill:none;stroke:currentColor;stroke-width:1.6}
.wheel-assistant .mouse-wheel{fill:currentColor;stroke:none}
#wheel-help-toggle svg{width:21px;height:26px}
#wheel-help{position:absolute;right:-8px;bottom:46px;width:276px;max-width:calc(100vw - 24px);background:#f6f4e9;border:1px solid #8498b3;box-shadow:inset 1px 1px #fff,3px 4px #354e7020;z-index:2;color:#4f698c;cursor:default;animation:tip-arrive .18s ease-out}
#wheel-help:after{content:'';position:absolute;bottom:-7px;right:18px;width:11px;height:11px;transform:rotate(45deg);background:#f6f4e9;border-right:1px solid #8498b3;border-bottom:1px solid #8498b3}
.wheel-help-head{display:flex;justify-content:space-between;align-items:center;padding:6px 7px 5px 12px;border-bottom:1px solid #d9dce0;font:8px monospace;letter-spacing:.8px;color:#5c6f88}
#wheel-help-close{display:grid;place-items:center;width:22px;height:22px;font:17px monospace;color:#6e83a0;padding:0}
#wheel-help-close:hover{background:#e1e7ed}
.wheel-help-body{display:flex;align-items:center;gap:14px;padding:15px 17px 10px}
.wheel-help-body>svg{width:30px;height:40px;flex-shrink:0}
.wheel-help-body strong{display:block;font-size:13px;font-weight:650;line-height:1.5}
.wheel-help-body span{display:block;font-size:10px;margin-top:4px;line-height:1.6;color:#5d6f8a}
#wheel-help>p{font-size:9px;line-height:1.6;margin:0 14px 12px;padding-top:8px;border-top:1px dashed #cbd2dc;color:#5c6f88}
.wheel-help-body .touch-tip{display:none}
@keyframes tip-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(hover:none) and (pointer:coarse){.wheel-help-body .pointer-tip{display:none}.wheel-help-body .touch-tip{display:block}.wheel-help-body strong.touch-tip{font-size:12px}.wheel-help-body span.touch-tip{font-size:9px}}
@media(max-width:620px){.wheel-assistant{margin-left:0}#wheel-help-toggle{width:27px;height:31px}#wheel-help{right:0;bottom:44px;width:266px}.taskbar-pager{gap:2px}.taskbar .taskbar-pager button{width:26px}}
@media(prefers-reduced-motion:reduce){#wheel-help{animation:none}}
/* Search-box styling used as a truthful,read-only current-location display. */
.taskbar-location{display:flex;align-items:center;gap:10px;width:clamp(205px,22vw,300px);min-width:180px;height:34px;padding:4px 11px;background:#f7f8f3;border:1px solid #9eafc4;box-shadow:inset 1px 1px #c4ceda,inset -1px -1px white;flex-shrink:0;color:#4c6484}
.taskbar-location>svg{width:17px;height:17px;fill:none;stroke:#7086a3;stroke-width:1.5;flex-shrink:0}
.location-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.location-caption{font-size:8px;line-height:1;color:#60728a}
.location-path{display:flex;align-items:baseline;font:11px/1.2 monospace;white-space:nowrap;min-width:0}
.location-path>span{color:#5f728a}
.location-path>strong{font-weight:600;color:#405d80;overflow:hidden;text-overflow:ellipsis}
.taskbar-location #page-counter{font:9px monospace;color:#607289;padding-left:5px;margin-left:auto;flex-shrink:0}
.taskbar #task-buttons{flex:1;min-width:0}
.taskbar-pager{margin-left:0;gap:5px}
.taskbar .tray{gap:10px}
@media(max-width:1100px){.taskbar-location{width:220px;min-width:180px}.taskbar #task-buttons button{padding:9px 10px}}
@media(max-width:620px){.taskbar-location{width:auto;min-width:0;flex:1;height:33px;padding:4px 7px;gap:7px}.taskbar-location>svg{width:14px;height:14px}.location-caption{font-size:7px}.location-path{font-size:10px}.taskbar-location #page-counter{font-size:8px;padding-left:2px}.taskbar #task-buttons{display:none}.taskbar-pager{gap:3px;padding-left:4px}.taskbar .taskbar-pager button{width:26px}.taskbar .start{min-width:56px;font-size:11px;padding:8px 6px}.wheel-assistant{margin-left:0}}
@media(max-width:350px){.taskbar-location{gap:5px;padding:4px 5px}.taskbar-location #page-counter{display:none}.location-path{font-size:9px}.taskbar-location>svg{width:13px;height:13px}}
/* Give document windows more room inside the desktop,keeping other windows unchanged. */
.desktop-page.document-page{padding:0 0 2px}
.desktop-page.document-page .document-window.maximized{inset:0 0 2px!important}
@media(max-width:620px){.desktop-page.document-page{padding:4px 6px}.desktop-page.document-page .document-window.maximized{inset:4px 6px!important}}
/* Emphasize the personal statement within Info.txt. */
.welcome-description{font-size:clamp(17px,1.35vw,21px);line-height:1.85;font-weight:450;color:#475568;word-break:keep-all;overflow-wrap:anywhere;margin:22px 0;padding-left:16px;border-left:3px solid #91a6bf}
.welcome-description strong{font-weight:750;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.welcome-description .personal-color{color:#825638;background:linear-gradient(transparent 63%,#ecddbd 63%)}
.welcome-description .adaptive-color{color:#354e70;background:linear-gradient(transparent 63%,#dce6f0 63%)}
@media(max-width:620px),(max-height:800px){.welcome-description{font-size:16px;line-height:1.8;margin:18px 0;padding-left:12px}}
/* A personal properties panel,styled as part of the desktop document. */
.identity-properties{margin-top:26px;padding:13px 15px 15px;border:1px solid #b8c3cf;background:#edf0f2;box-shadow:inset 1px 1px #fff,inset -1px -1px #d4dce3}
.identity-properties-heading{display:flex;align-items:center;gap:7px;margin-bottom:12px;color:#4a607a}
.identity-properties-icon{font-size:15px}
.identity-properties-heading h2{font:650 13px/1.5 Pretendard,sans-serif;margin:0;white-space:nowrap}
.identity-properties-heading>span:last-child{margin-left:auto;font:11px/1.5 Pretendard,sans-serif;color:#5d6d7e}
.identity-keywords{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.identity-keywords li{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;padding:12px 8px;border:1px solid #c7b28e;background:#f2e8d4;color:#775333;box-shadow:inset 1px 1px #fff9eb}
.identity-keywords li:nth-child(2){border-color:#a7bacd;background:#dfe8f1;color:#365779;box-shadow:inset 1px 1px #f5f9ff}
.identity-keywords li:nth-child(3){border-color:#adbdac;background:#e2e9de;color:#496348;box-shadow:inset 1px 1px #f5faef}
.identity-keywords li>span{font:10px/1 monospace}
.identity-keywords strong{font:750 18px/1.3 Pretendard,sans-serif;letter-spacing:.3px}
@media(max-width:620px),(max-height:800px){.identity-properties{margin-top:18px;padding:11px 12px 12px}.identity-keywords{gap:7px}.identity-keywords li{padding:10px 5px;gap:6px}.identity-keywords strong{font-size:16px}}
@media(max-width:360px){.identity-properties-heading{flex-wrap:wrap}.identity-properties-heading>span:last-child{flex-basis:100%;margin-left:22px}.identity-keywords li>span{display:none}}
/* ESSAY and GAME LOG: the shared :is(#detail-content,.section-content) cap (ID-level specificity) left an empty band under the status bar */
#workspace .document-page .document-window>.section-content{max-height:none}
/* text selection in the site's own blue rather than the browser default */
::selection{background:#c9d7e8;color:#1f3350}
/* the folder task buttons stop fitting below 900px: hide them as on phones (folders and ← → stay) */
@media(max-width:899px){.taskbar #task-buttons{display:none}}
/* cards you can open respond to the pointer: the GAME LOG card lifts 2px and its cover eases in its frame; desktop folders lift */
.game-card{transition:transform .25s cubic-bezier(.22,.7,.2,1),box-shadow .25s}
.game-card:hover{transform:translateY(-2px);box-shadow:4px 6px 0 #354e7022}
.game-cover{overflow:hidden}
.game-cover img{transition:transform .45s cubic-bezier(.22,.7,.2,1)}
.game-card:hover .game-cover img{transform:scale(1.03)}
.desktop-folder .folder{transition:transform .2s cubic-bezier(.22,.7,.2,1)}
.desktop-folder:hover .folder{transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.game-card,.game-cover img,.desktop-folder .folder{transition:none}.game-card:hover,.game-card:hover .game-cover img,.desktop-folder:hover .folder{transform:none}}
/* ESSAY and GAME LOG titles became h1 and their item titles moved up a level (h3→h2, h4→h3);
   these keep the browser margins and sizes the old tags had,so nothing moves */
:where(#workspace) h1.section-title{margin-block:.83em}
:where(#workspace) :is(.story-title,.game-title,.other-heading){margin-block:1em}
:where(#workspace) .other-heading{font-size:1.17em}
:where(#workspace) .other-meta h3{font-size:1em;margin-block:1.33em}
/* project cards show what each project was and what I did in it{grid-template-columns:92px minmax(0,1fr) auto;grid-template-rows:auto;grid-auto-rows:auto;align-content:start;row-gap:6px;column-gap:20px;padding:22px 22px 20px;text-align:left}
/* project icons: each card shows the project's own picture (COMSTOCK: its hero from the game) in place of a folder */
/* featured project: spans the whole row with its key art on the right */
.project-preview.art-preview img{display:block;width:100%;height:auto}
/* Dragon Was Here detail window: PV,gameplay shots,itch.io metrics */
.dwh-pv{position:relative;aspect-ratio:16/9;margin:0 0 14px;background:#17131c;border:1px solid #c8d1df}
.dwh-pv iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dwh-shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px}
.dwh-shots img{display:block;width:100%;height:auto;border:1px solid #c8d1df}
@media(max-width:620px){.dwh-shots{grid-template-columns:1fr}}
/* featured card: itch.io validation metrics fill the space under the roles */
/* PORTFOLIO: the explorer takes the whole page now that the Read me note is gone */
#portfolio.portfolio-page{display:flex;flex-direction:column}
#portfolio .portfolio-explorer{flex:1 1 auto;width:100%;min-height:0;height:100%}
/* cover image on every non-featured card: real screen for COMSTOCK{display:block;grid-column:1/-1;grid-row:1;margin:-22px -22px 10px;overflow:hidden;aspect-ratio:1200/525;border-bottom:2px solid #554839;background:#2a2230}
/* metric charts: columns on a shared y axis{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
/* charts sit on the card itself: no boxes inside the card{padding:10px 0 0;border:0;border-top:1px solid #c8d1df;background:none}
/* PORTFOLIO: an explorer with a list pane and a preview pane, the way the desktop already works */
#portfolio .explorer-body{display:flex;flex-direction:column}
.pf{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);flex:1 0 auto;margin-top:18px;border:1px solid #a9b4c4;background:#fff;box-shadow:inset 1px 1px #8f9aab}
.pf-list{border-right:1px solid #c8d1df;background:#f4f6f9}
.pf-list>[role=tablist]{position:sticky;top:0;display:grid;padding:4px}
.pf-cols{display:grid;grid-template-columns:1fr auto;padding:5px 12px;border-bottom:1px solid #b9c3d1;background:#e6e9ee;box-shadow:inset 0 1px #fff;font-size:11.5px;color:#46536a}
.pf-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:8px;text-align:left;color:#26313c}
.pf-item:hover{background:#e3e9f1;filter:none}
.pf-icon{grid-row:1/3;width:40px;height:40px;border:1px solid #554839;object-fit:cover;image-rendering:pixelated;background:#e3e6e8}
.pf-item:is([data-pf-key=comstock],[data-pf-key=tomorrow],[data-pf-key=dice],[data-pf-key=space]) .pf-icon{image-rendering:auto}
.pf-name{font-weight:650;font-size:14px;line-height:1.35}
.pf-type{grid-column:2;font-size:12px;line-height:1.4;color:#46536a}
.pf-state{grid-column:3;grid-row:1/3;font-size:11.5px;color:#46536a;white-space:nowrap}
.pf-item[aria-selected=true]{background:#354e70;color:#fff}
.pf-item[aria-selected=true] :is(.pf-type,.pf-state){color:#dfe7f2}
.pf-item:focus-visible{outline:2px solid #e97a35;outline-offset:-2px}
.pf-view{min-width:0}
.pf-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);grid-template-areas:"main art" "metrics metrics";gap:24px 32px;align-items:start;padding:24px 28px 28px}
.pf-panel+.pf-panel{border-top:1px solid #c8d1df}
.pf-js .pf-panel{display:none}.pf-js .pf-panel.is-on{display:grid;border-top:0;animation:pf-in .28s cubic-bezier(.22,.7,.2,1)}
@keyframes pf-in{from{opacity:.4}to{opacity:1}}
.pf-art{grid-area:art;margin:0;border:2px solid #554839;background:#2a2230}
.pf-art img{display:block;width:100%;height:auto}
.pf-main{grid-area:main;min-width:0}
.pf-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
#workspace .pf-head h2{margin:0;font:700 28px/1.25 Pretendard,sans-serif;letter-spacing:-.01em;color:#1f2d40}
.pf-badge{padding:2px 8px;border:1px solid #b9c6d6;font-size:12px;color:#354e70;background:#f4f6f9}
.pf-meta{flex-basis:100%;margin:4px 0 0;font-size:13px;color:#46536a}
.pf-desc{max-width:58ch;margin:14px 0 0;font-size:15px;line-height:1.7;color:#26313c;word-break:keep-all}
.pf-roles{display:grid;gap:12px;margin:20px 0 0;padding-top:16px;border-top:1px solid #dde3eb}
.pf-roles dt{font-weight:650;font-size:13px;color:#354e70}
.pf-roles dd{margin:2px 0 0;font-size:13.5px;line-height:1.65;color:#36404f;word-break:keep-all}
.pf-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.pf-actions .retro-button{font-size:12.5px;color:#26313c}
.pf-metrics{grid-area:metrics;min-width:0;padding-top:18px;border-top:1px solid #dde3eb}
/* charts */
.pf .file-metrics{display:block}
.pf .file-metrics-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-bottom:10px;font-weight:650;font-size:13px;color:#354e70}
.pf .fm-legend{display:inline-flex;gap:12px;font-weight:500;font-size:11.5px;color:#46536a}
.pf .fm-legend>span{display:inline-flex;align-items:center;gap:5px}
.pf .fm-legend i{display:inline-block;width:10px;height:10px;border-radius:2px}
.pf .fm-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px}
.pf .fm-charts.is-single{grid-template-columns:minmax(0,1fr)}
.pf .fm-chart{display:block}
.pf .fm-chart-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;font-weight:650;font-size:12.5px;color:#26313c}
.pf .fm-chart-title>span{font-weight:500;font-size:12px;color:#46536a}
.pf .fm-svg{display:block;width:100%;height:auto;max-height:200px;overflow:visible}
.pf .fm-charts.is-single .fm-svg{max-width:460px}
.fm-svg .g{stroke:#e3e8ef;stroke-width:1}.fm-svg .g.b{stroke:#8f9cae}
.fm-svg .ax{font:10.5px Pretendard,sans-serif;fill:#5a6577}
.fm-svg .cat{font:600 11.5px Pretendard,sans-serif;fill:#26313c}
.fm-svg .v{font:17px 'Jersey 10',monospace;fill:#233f65}.fm-svg .v.lt{fill:#5a6577}
.fm-svg g:hover>path{opacity:.8}
.pf .file-metrics-note{display:block;margin-top:8px;font-size:11.5px;line-height:1.5;color:#4b586b}
@media(max-width:1250px){.pf-panel{grid-template-columns:1fr;grid-template-areas:"art" "main" "metrics";gap:20px}.pf-art{max-width:640px}}
@media(max-width:900px){.pf{grid-template-columns:1fr}.pf-list{display:none}.pf-js .pf-panel{display:grid}.pf-js .pf-panel+.pf-panel{border-top:6px solid #e6e9ee}.pf-panel{padding:18px 16px 22px}#workspace .pf-head h2{font-size:22px}.pf-desc{font-size:14px}}
@media(max-width:520px){.pf .fm-charts{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.pf-js .pf-panel.is-on{animation:none}}
/* PORTFOLIO intro on one line, so the project list starts near the top */
#workspace #portfolio .portfolio-explorer .explorer-intro{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 16px;padding:0 0 12px}
#workspace #portfolio .portfolio-explorer .explorer-intro h1{margin:0;font-size:20px;line-height:1.4;letter-spacing:-.5px}
#workspace #portfolio .portfolio-explorer .explorer-intro h1 br{display:none}
#workspace #portfolio .portfolio-explorer .explorer-intro p{display:block;margin:0;font-size:13px;line-height:1.5}
#workspace #portfolio .pf{margin-top:14px}
/* Info: each highlight wears the colour of the keyword it stands for (나다움, 협력, 유연함) */
.welcome-description .team-color{color:#496348;background:linear-gradient(transparent 63%,#d9e4d3 63%)}
.welcome-description .name-mark{color:#26313c;font-weight:800}

.welcome-description .nw{white-space:nowrap}
/* ESSAY: the cover letter in full. A map of its three chapters, a contents list that follows the reader, and body text sized to be read */
#workspace .essay-doc{display:block}
.em-no{display:inline-grid;place-items:center;width:40px;height:40px;background:#354e70;color:#fff;font:26px/1 'Jersey 10',monospace}
.essay-read{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start;margin-top:12px}
.essay-toc{position:sticky;top:0;padding:16px 0}
#workspace .et-title{margin:0 0 12px;font-weight:800;font-size:14px;color:#1f2d40}
.essay-toc ol,.essay-toc ul{list-style:none;margin:0;padding:0}
.essay-toc>ol>li{margin-bottom:14px}
.et-ch{display:block;font-weight:700;font-size:13.5px;color:#46536a;margin-bottom:4px}
.essay-toc a{display:block;padding:5px 0 5px 12px;border-left:2px solid #d6dde7;font-size:14px;line-height:1.45;color:#46536a;text-decoration:none;word-break:keep-all}
.essay-toc a:hover{color:#1f2d40;border-left-color:#8fa0b8}
.essay-toc a.is-here{color:#1f2d40;font-weight:700;border-left-color:#354e70;background:linear-gradient(90deg,#e3e9f1,transparent)}
.essay-text{max-width:760px}
.es-ch{padding-bottom:12px}
.es-ch+.es-ch{margin-top:40px;padding-top:40px;border-top:2px solid #c9d3e0}
.es-ch-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:8px}
#workspace .es-ch-head .story-title{margin:2px 0 0;font-size:26px;line-height:1.3;letter-spacing:-.5px;color:#1f2d40}
#workspace .es-ch-sub{margin:6px 0 0;font-size:16px;color:#46536a}
.es-sec{padding-top:28px;scroll-margin-top:12px}
#workspace .es-q{margin:0 0 14px;padding-left:14px;border-left:4px solid #b5643a;font:800 21px/1.45 Pretendard,sans-serif;letter-spacing:-.3px;color:#1f2d40}
#workspace .es-sec p{margin:0 0 16px;font-size:17px!important;line-height:1.9;color:#26313c!important;word-break:keep-all}
#workspace .essay-doc .essay-answer{margin-top:32px}
@media(max-width:1200px){.essay-read{grid-template-columns:1fr;gap:24px}.essay-toc{position:static}}
@media(max-width:620px){#workspace .es-sec p{font-size:16px!important}#workspace .es-q{font-size:19px}#workspace .es-ch-head .story-title{font-size:22px}}
.essay-text{background:#fff;border:1px solid #d6dde7;padding:36px 44px 28px;max-width:860px}@media(max-width:620px){.essay-text{padding:22px 18px 16px}}
/* wide screens: the white page fills the window, and each chapter's two sections sit side by side so lines stay readable */
@media(min-width:1500px){
  .essay-text{max-width:none}
  .es-ch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;align-items:start}
  .es-ch-head{grid-column:1/-1}
}
/* ESSAY: one column of larger text (3/5) beside a photo for each chapter (2/5); less room above the letter */
#workspace #essay .section-content{padding-top:20px}
#workspace #essay .section-title{margin:0 0 12px}
#workspace #essay .essay-read{margin-top:0}
#workspace #essay .essay-toc{padding-top:6px}
#workspace #essay .essay-text{max-width:none;padding:30px 40px 24px}
@media(min-width:1500px){#workspace #essay .es-ch{display:block}}
.es-ch-body{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:44px;align-items:start}
.es-photo{position:sticky;top:14px;margin:30px 0 0;border:2px solid #554839;background:#2a2230;overflow:hidden}
.es-photo img{display:block;width:100%;height:auto;max-height:68vh;object-fit:cover}
#workspace #essay .es-ch-head .story-title{font-size:30px}
#workspace #essay .es-ch-sub{font-size:17px}
#workspace #essay .es-q{font-size:24px}
#workspace #essay .es-sec p{font-size:19px!important;line-height:1.9}
#workspace #essay .em-no{width:46px;height:46px;font-size:30px}
@media(max-width:1200px){.es-ch-body{grid-template-columns:1fr;gap:8px}.es-photo{position:static;max-width:520px}#workspace #essay .es-sec p{font-size:17px!important}#workspace #essay .es-q{font-size:21px}}
@media(max-width:620px){#workspace #essay .essay-text{padding:22px 18px 16px}#workspace #essay .es-sec p{font-size:16px!important}#workspace #essay .es-ch-head .story-title{font-size:24px}}

/* AI WORK: one entry per way of working, each with room for a picture */
#workspace #ai .section-content{padding-top:20px}
#workspace #ai .section-title{margin:0 0 6px}
#workspace #ai .section-lead{margin:0 0 26px;font-size:17px;color:#46536a}
#workspace .es-photo img{margin:0}
/* GAME LOG: totals up top, a one-line lesson on every game */
.log-totals{display:flex;flex-wrap:wrap;gap:12px 40px;margin:18px 0 6px}
.log-totals p{display:flex;align-items:baseline;gap:10px;margin:0!important}
.log-totals b{font:44px/1 'Jersey 10',monospace;color:#233f65;letter-spacing:.5px}
#workspace .log-totals span{font-size:15px;font-weight:600;color:#26313c}
#workspace .log-totals-note{margin:4px 0 0;font-size:12.5px;color:#4b586b}
#game-log .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#workspace #game-log .game-meta{margin:2px 0 8px;font-size:13px;color:#4b586b}
#workspace #game-log .game-lesson{margin:0 0 10px;padding:10px 12px;border-left:3px solid #b5643a;background:#fffdf7;font-size:15px!important;line-height:1.7;font-weight:600;color:#1f2d40!important;word-break:keep-all}
.game-cover--noimg{height:140px;margin:0 0 16px;display:grid;place-content:center;text-align:center;gap:4px;border:1px solid #c5b7ce;color:#fff}
.game-cover--noimg.is-aion{background:radial-gradient(circle at 50% 30%,#7fb3ff 0%,#2c4f8f 45%,#141f3d 100%)}
.game-cover--noimg.is-uwo{background:radial-gradient(circle at 50% 30%,#f0d08a 0%,#2f6b8f 45%,#11314a 100%)}
.gc-name{font:800 26px/1.2 Pretendard,sans-serif;letter-spacing:-.5px;text-shadow:0 2px 8px #0008}
.gc-en{font:20px/1 'Jersey 10',monospace;letter-spacing:1px;opacity:.9}
#game-log .other-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#workspace #game-log .other-note{margin:6px 0 0;font-size:13.5px;line-height:1.65;color:#36404f;word-break:keep-all}
#workspace #game-log .other-meta h3{margin:8px 0 2px}
@media(max-width:1200px){#game-log .game-grid{grid-template-columns:1fr 1fr}#game-log .other-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){#game-log .game-grid{grid-template-columns:1fr}#game-log .other-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){#game-log .other-grid{grid-template-columns:1fr}}
/* GAME LOG: analysis button with a clear press, opened state while its pop-up is up */
#workspace #game-log .analysis-open{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:4px;padding:10px 12px;border:1px solid #354e70;background:#fff;color:#233f65;font:700 14px/1.2 Pretendard,sans-serif;box-shadow:inset -2px -2px #c9d3e0,inset 2px 2px #fff;transition:background .15s,color .15s,transform .08s}
#workspace #game-log .analysis-open::after{content:'↗';font-weight:400}
#workspace #game-log .analysis-open:hover{background:#e3e9f1;filter:none}
#workspace #game-log .analysis-open:active{transform:translateY(1px);box-shadow:inset 2px 2px #9fb0c6,inset -1px -1px #fff;background:#d6dfeb}
#workspace #game-log .analysis-open.is-open{background:#354e70;color:#fff;box-shadow:inset 2px 2px #233f65}
#workspace #game-log .analysis-open.is-open::after{content:'열림'}
#workspace #game-log .analysis-open:focus-visible{outline:3px solid #e97a35;outline-offset:2px}
#workspace #game-log .game-card:has(.analysis-open.is-open){border-color:#354e70;box-shadow:0 0 0 2px #354e70}
/* the pop-up */
#detail-content .analysis-pop{display:grid;gap:14px}
#detail-content .analysis-pop .ap-cover{width:100%;max-height:260px;object-fit:cover;margin:0;border:1px solid #c5b7ce}
#detail-content .analysis-pop .ap-meta{margin:0;font-size:14px;color:#4b586b}
#detail-content .analysis-pop .ap-lesson{margin:0;padding:12px 14px;border-left:4px solid #b5643a;background:#fffaf2;font-size:17px;line-height:1.7;font-weight:700;color:#1f2d40;word-break:keep-all}
#detail-content .analysis-pop dl{margin:0;display:grid;gap:12px}
#detail-content .analysis-pop dl>div{padding:12px 14px;border:1px solid #d6dde7;background:#fff}
#detail-content .analysis-pop dt{font-weight:800;font-size:14px;color:#354e70}
#detail-content .analysis-pop dd{margin:4px 0 0;font-size:16px;line-height:1.75;color:#26313c;word-break:keep-all}
#workspace #ai .aw-block{margin-top:34px}
#workspace #ai .aw-block>.story-title{margin:0 0 16px;font-size:22px;color:#1f2d40}
.aw-track{--g:30px;--w:calc((100% - 4 * var(--g)) / 5);position:relative;padding-top:46px}
.aw-loop{position:absolute;top:8px;left:calc(2 * (var(--w) + var(--g)) + 20px);width:calc(var(--w) + var(--g) + 4px);height:30px;border:2px dashed #6f87a8;border-bottom:0}
.aw-loop::after{content:'';position:absolute;left:-7px;bottom:-8px;border:6px solid transparent;border-top:8px solid #6f87a8;border-bottom:0}
.aw-loop span{position:absolute;left:50%;top:-11px;transform:translateX(-50%);padding:0 8px;background:#fff;font-size:13px;font-weight:700;color:#355b8c;white-space:nowrap}
.aw-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--g)}
.aw-step{position:relative}
.aw-step:not(:last-child)::after{content:'';position:absolute;top:19px;left:48px;right:calc(-1 * var(--g) + 8px);height:2px;background:#354e70}
.aw-step+.aw-step::before{content:'';position:absolute;top:14px;left:-10px;border:6px solid transparent;border-left:8px solid #354e70;border-right:0}
.aw-node{display:grid;place-items:center;width:40px;height:40px;background:#354e70;color:#fff;font:26px/1 'Jersey 10',monospace}
.is-gate .aw-node{width:48px;height:48px;margin:-4px 0 -4px -4px;background:#233f65;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.is-gate::after{left:52px!important}
#workspace #ai .aw-step h3{margin:14px 0 6px;font-size:18px;line-height:1.35;color:#1f2d40}
#workspace #ai .aw-step p{margin:0;font-size:15.5px;line-height:1.7;color:#26313c;word-break:keep-all}
#workspace #ai .aw-step p.aw-ex{margin-top:10px;font-size:14px;color:#46536a}
.aw-branch{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:4px}
.aw-branch li{display:flex;align-items:baseline;gap:8px;font-size:14px;color:#26313c}
.aw-branch b{flex:none;min-width:3.2em;padding:1px 0;text-align:center;font-size:13px;color:#fff}
.aw-branch .ok b{background:#2f6b45}.aw-branch .fix b{background:#355b8c}.aw-branch .drop b{background:#8d3a2c}
.aw-rules,.aw-uses{margin:0;border-bottom:1px solid #c8d1df}
.aw-rules>div,.aw-uses>div{display:grid;grid-template-columns:minmax(13em,.75fr) 2fr;gap:28px;padding:16px 0;border-top:1px solid #c8d1df}
.aw-rules>div:hover,.aw-uses>div:hover{background:#f4f6f9}
.aw-rules dt{font-size:18px;font-weight:700;line-height:1.5;color:#1f2d40;word-break:keep-all}
.aw-rules dd,.aw-uses dd{margin:0;max-width:46em;font-size:16px;line-height:1.75;color:#26313c;word-break:keep-all}
.aw-uses dt{font-size:16px;font-weight:700;color:#354e70}
.aw-record{display:grid;grid-template-columns:auto 1fr;gap:36px;align-items:center}
.aw-units{margin:0}
.aw-units ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,26px);gap:5px}
.aw-units li{height:26px;background:#354e70}
.aw-units li.drop{background:repeating-linear-gradient(135deg,#fff 0 4px,#c9d3e0 4px 6px);outline:2px solid #8d3a2c;outline-offset:-2px}
.aw-key{display:flex;gap:16px;margin:10px 0 0;font-size:13px;color:#46536a}
.aw-key span{display:inline-flex;align-items:center;gap:6px}
.aw-key i{width:12px;height:12px;background:#354e70}.aw-key i.drop{background:#fff;outline:2px solid #8d3a2c;outline-offset:-2px}
#workspace #ai .aw-case-line{margin:0;max-width:52em;font-size:17px;line-height:1.85;color:#26313c;word-break:keep-all}
.aw-case-line b{font:28px/1 'Jersey 10',monospace;color:#233f65;padding:0 2px}
@media(max-width:1250px){.aw-track{padding-top:0}.aw-loop{display:none}.aw-flow{grid-template-columns:1fr;gap:0}.aw-step{display:grid;grid-template-columns:48px 1fr;column-gap:18px;padding-bottom:22px}.aw-step>*:not(.aw-node){grid-column:2}.aw-node{grid-row:1/span 4}#workspace #ai .aw-step h3{margin-top:8px}.aw-step:not(:last-child)::after{top:44px;bottom:0;left:19px;right:auto;width:2px;height:auto}.is-gate::after{left:19px!important;top:48px}.aw-step+.aw-step::before{display:none}}
@media(max-width:820px){.aw-rules>div,.aw-uses>div{grid-template-columns:1fr;gap:4px}.aw-record{grid-template-columns:1fr;gap:18px}}
.aw-nw{white-space:nowrap}
#workspace #ai .aw-proof,#workspace #ai .aw-play{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:5px 10px;border:1px solid #354e70;background:#fff;color:#233f65;font:700 13px/1.2 Pretendard,sans-serif;box-shadow:inset -2px -2px #c9d3e0,inset 2px 2px #fff;cursor:pointer;transition:background .15s,transform .08s}
#workspace #ai .aw-proof::after{content:'↗';font-weight:400}
#workspace #ai .aw-proof:hover,#workspace #ai .aw-play:hover{background:#e3e9f1}
#workspace #ai .aw-proof:active,#workspace #ai .aw-play:active{transform:translateY(1px);box-shadow:inset 2px 2px #9fb0c6}
#workspace #ai .aw-proof.is-open{background:#354e70;color:#fff}
#workspace #ai .aw-play{background:#354e70;color:#fff;box-shadow:inset -2px -2px #233f65,inset 2px 2px #5a7398}
#workspace #ai .aw-play:hover{background:#233f65}
#workspace #ai :is(.aw-proof,.aw-play):focus-visible{outline:3px solid #e97a35;outline-offset:2px}
.aw-acts{display:flex;flex-wrap:wrap;gap:8px}.aw-acts>*{margin-top:10px!important}
.aw-rules dd>.aw-proof,.aw-uses dd>.aw-proof{margin-left:0}
#workspace #ai dd>.aw-proof{display:flex;width:max-content}
#workspace #ai dd>.aw-acts{display:flex;width:max-content}
#detail-content .pf{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%}
#detail-content .pf-note{margin:0;font-size:15.5px;line-height:1.75;color:#26313c;word-break:keep-all}
#detail-content .pf-quote{margin:0;padding:12px 16px;background:#f4f6f9;border:1px solid #d6dde7;font-size:16px;line-height:1.7;color:#1f2d40;word-break:keep-all}
#detail-content .pf-quote::before{content:'“';margin-right:2px;color:#6f87a8;font-weight:700}
#detail-content .pf-quote::after{content:'”';margin-left:2px;color:#6f87a8;font-weight:700}
#detail-content .pf-log{margin:0;padding:12px 16px;background:#1f2d40;color:#e3e9f1;font:13.5px/1.75 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
#detail-content .pf-shot{margin:0}
#detail-content .pf-shot img{display:block;width:100%;height:auto;margin:0;border:1px solid #c8d1df}
#game-window{width:min(1500px,96vw);height:min(940px,92vh);max-width:none;max-height:none;padding:0;border:1px solid #233f65;background:#e3e6e8;box-shadow:8px 10px 0 #354e7033,0 20px 50px #0006;flex-direction:column}
#game-window[open]{display:flex}
#game-window::backdrop{background:#1f2d4099}
#game-window .titlebar{flex:none}
#game-window iframe{flex:1;width:100%;border:0;background:#fff}
#game-window .status{flex:none}
#close-game{width:28px;height:24px;border:1px solid #c8d1df;background:#e3e6e8;color:#26313c;font:16px/1 monospace;cursor:pointer;box-shadow:inset 1px 1px #fff}
@media(max-width:700px){#game-window{width:100vw;height:100dvh;border:0}}
