@import url("./vendor/fonts.css");
:root{--blue:#3469e1;--ink:#171b25;--paper:#ecebe6}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans KR',sans-serif;letter-spacing:-.045em}button,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #edaa49;outline-offset:4px}[hidden]{display:none!important}header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d7d7d0;margin:0 6%}.brand{text-decoration:none;color:var(--blue);font-size:35px;font-weight:900;letter-spacing:-4px;display:flex;align-items:end}.brand-dot{width:9px;height:9px;background:var(--blue);margin:0 0 10px 9px}.edition,.pill,.eyebrow,.art-label,footer{font-size:11px;letter-spacing:.12em;font-weight:600}.pill{border:1px solid #bbbeb9;padding:8px 11px;border-radius:30px}.hero{padding:66px 6% 64px;display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center}.eyebrow{color:var(--blue);margin:0 0 24px}h1{font-size:clamp(52px,6.9vw,99px);line-height:1.14;letter-spacing:-.075em;margin:0;font-weight:900}h1 em{font-style:normal;color:var(--blue)}.description{font-size:15px;line-height:1.9;color:#64666b;margin:28px 0}.actions{display:flex;gap:10px;flex-wrap:wrap}button.primary,button.secondary{border:0;padding:17px 20px;font-size:14px;display:flex;justify-content:space-between;align-items:center;gap:20px}.primary{background:var(--blue);color:white}.secondary{background:#e5e5df;color:var(--ink)}.hint{font-size:11px;color:#787b7c;margin-top:15px}.art{position:relative;background:#e7e4da;padding:24px 24px 0;transform:rotate(2deg);box-shadow:12px 16px 0 #e2e0d9}.art canvas{width:100%;aspect-ratio:2/3;display:block;max-height:560px;object-fit:cover}.art-label{padding:16px 0;display:flex;justify-content:space-between;font-size:9px}.steps{display:grid;grid-template-columns:repeat(3,1fr);margin:0 6%;border-top:1px solid #caccC6;border-bottom:1px solid #caccc6;padding:28px 0;gap:32px}.steps>div{display:flex;gap:18px}.steps b{color:var(--blue);font-size:12px;margin-top:3px}.steps p{font-size:14px;font-weight:700;margin:0}.steps span{font-size:12px;color:#74777a;display:block;font-weight:400;line-height:1.7;margin-top:7px}.settings{padding:64px 6%}.section-title .eyebrow{margin-bottom:12px}h2{font-size:30px;letter-spacing:-.06em;margin:0 0 10px}.section-title>p:last-child{font-size:13px;color:#74777a}.upload-grid{margin-top:28px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.upload{background:#eae9e3;border:1px solid #d7d8d0;display:flex;flex-direction:column;padding:20px;position:relative;cursor:pointer}.number{font-size:10px;letter-spacing:.08em;color:#585d64;margin-bottom:16px}.upload img{width:100%;height:180px;object-fit:contain;margin-bottom:18px}.upload strong{font-size:13px}.upload small{font-size:11px;color:#707478;margin-top:5px}.upload input{margin-top:14px;width:100%;font-size:11px}.setup-note{padding:4px 8px}.setup-note h3{font-size:22px;margin:0 0 18px}.setup-note p{font-size:12px;line-height:1.9;color:#74777a}.quality{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:22px 0}.quality select{padding:7px;background:transparent;border:1px solid #bcbeb6}.text-button{display:block;border:0;background:transparent;color:var(--blue);padding:8px 0;font-size:12px;text-align:left}.muted{color:#74777a}#saveStatus{font-size:12px;color:var(--blue)}footer{border-top:1px solid #caccc6;margin:0 6%;padding:24px 0 32px;display:flex;justify-content:space-between;color:#757b81;font-size:9px}#experience{position:fixed;inset:0;background:#101321;z-index:10}#arContainer,#previewCanvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}#arContainer canvas{position:absolute;inset:0}.exp-top,.exp-bottom{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:calc(22px + env(safe-area-inset-top)) 24px 20px;z-index:4}.exp-top{top:0;background:linear-gradient(#0008,transparent)}.exp-brand{font-size:11px;letter-spacing:.2em;color:white}.exp-top button,.exp-bottom button{color:white;background:#141c2a99;backdrop-filter:blur(12px);border:1px solid #ffffff40;padding:12px 18px;border-radius:30px;font-size:13px}.exp-bottom{bottom:0;justify-content:center;gap:12px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}#expStatus{position:absolute;bottom:110px;left:5%;right:5%;text-align:center;color:white;font-size:15px;text-shadow:0 1px 6px black;z-index:4;pointer-events:none}#scanner{position:absolute;width:min(65vw,340px);height:min(98vw,510px);top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}#scanner i{position:absolute;width:25px;height:25px;border:2px solid #ffffffb0}#scanner i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0}#scanner i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0}#scanner i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0}#scanner i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0}#loading,#error{position:absolute;inset:0;z-index:6;background:#101321ed;display:grid;place-items:center;color:white;padding:30px}.loading-inner{text-align:center;max-width:420px}.loading-inner h2{font-size:26px}.loading-inner p{line-height:1.8;font-size:14px;color:#fff;white-space:pre-line}.loading-inner button{margin:24px auto 0}.loading-inner>button:not(.primary){background:transparent;border:1px solid #ffffff66;color:white;padding:10px 30px;border-radius:30px}progress{width:100%;height:5px;accent-color:#6685ff}.spinner{width:36px;height:36px;border:2px solid #fff2;border-top-color:#8ca2ff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 28px}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1400px){main{max-width:1440px;margin:auto}}@media(max-width:760px){header{height:76px}.edition{display:none}.hero{padding-top:40px;gap:35px;grid-template-columns:1fr}.intro h1{font-size:64px}.art{margin:10px 10px 0;max-width:420px;justify-self:center;width:90%;padding:18px 18px 0}.art canvas{max-height:440px}.steps{grid-template-columns:1fr;gap:24px;margin-top:20px}.upload-grid{grid-template-columns:1fr 1fr;gap:12px}.upload{padding:12px}.upload img{height:130px}.setup-note{grid-column:1/-1;padding-top:20px}.settings{padding-top:44px}footer{display:block;line-height:2.3}footer span{display:block}.description{font-size:14px}}

#arContainer{z-index:0;isolation:isolate}

.poster-picker{display:flex;align-items:center;gap:20px;margin-top:26px;font-size:14px}.poster-picker select{padding:12px 16px;background:#fff;border:1px solid #c7c9c3;color:#3469e1;max-width:75%}

/* Exhibition entrance: no artwork, captions, or tracking information before entry. */
.entrance{min-height:100svh;max-width:none;position:relative;overflow:hidden}
.entrance-header{height:auto;min-height:150px;justify-content:center;text-align:center;border:0;margin:0;padding:50px 24px 24px;position:relative;z-index:1}
.entrance-header h1{font-size:clamp(20px,2.5vw,34px);font-weight:600;line-height:1.65;letter-spacing:-.055em;color:#3469e1;max-width:900px;margin:0}
.entrance-stage{min-height:calc(100svh - 150px);display:grid;place-items:center;padding:36px 24px 140px;position:relative}
.entrance-actions{position:relative;z-index:1;justify-content:center;gap:16px}
.entrance-actions button{min-width:240px;min-height:64px;padding:20px 24px;font-size:16px;transition:background .2s,transform .2s}
.entrance-actions button:hover{transform:translateY(-2px)}
.entrance-actions .secondary{border:1px solid #c9cbc8;background:transparent}
.entrance-fragments{position:absolute;width:420px;height:420px;right:-250px;bottom:-180px;transform:rotate(22deg);opacity:.09;pointer-events:none}
.entrance-fragments i{position:absolute;background:#3469e1;width:180px;height:180px}
.entrance-fragments i:nth-child(2){left:195px;top:0}.entrance-fragments i:nth-child(3){left:0;top:195px}.entrance-fragments i:nth-child(4){left:195px;top:195px}
.details{position:fixed;inset:0;background:var(--paper);z-index:8;overflow:auto;overscroll-behavior:contain}
.details-header{display:flex;align-items:center;justify-content:space-between;padding:24px 6%;border-bottom:1px solid #d7d7d0;color:var(--blue);font-size:16px;font-weight:600;position:sticky;top:0;background:var(--paper);z-index:1}
.details-header button{padding:10px 18px;font-size:14px;border:1px solid #c7c9c3}
.details .settings{max-width:1440px;margin:auto;padding-top:40px}
.detail-play{border:0;padding:13px 22px;display:flex;gap:20px;align-items:center;margin:20px 0}
.details .upload{cursor:default}.details .upload img{height:280px}
@media(max-width:760px){.entrance-header{min-height:142px;padding:36px 24px 20px}.entrance-header h1{font-size:22px;max-width:330px;text-wrap:balance}.entrance-stage{min-height:calc(100svh - 142px);padding-bottom:120px}.entrance-actions{width:min(100%,320px);flex-direction:column}.entrance-actions button{width:100%;min-width:0;min-height:64px}.details .upload img{height:180px}.details-header{font-size:14px}.details .section-title h2{font-size:26px}}

/* Left-aligned exhibition wordmark and a single wide camera entry. */
.entrance-header{justify-content:flex-start;text-align:left;min-height:156px;padding:40px 6% 24px}
.wordmark{display:flex;flex-direction:column;gap:6px;text-align:left;line-height:1.3;letter-spacing:-.055em}
.entrance-header h1.wordmark{margin:0;max-width:none}
.wordmark-main{font-size:34px;font-weight:900;line-height:1.2;display:block}
.wordmark-sub{font-size:20px;font-weight:600;line-height:1.45;display:block}
.entrance-stage{min-height:calc(100svh - 156px);padding:56px 6% 140px}
.entrance-content{width:min(100%,860px);position:relative;z-index:1}
.entrance-copy{font-size:clamp(19px,2.2vw,29px);line-height:1.9;letter-spacing:-.045em;font-weight:500;margin:0 0 52px;color:#3469e1}
.entrance-copy span{display:block}.entrance-copy span:last-child{margin-top:18px;font-size:.77em;color:#74777a;font-weight:400;line-height:1.85}
.entrance-actions{width:100%;display:block}
.entrance-actions button{width:100%;min-width:0;min-height:88px;font-size:21px;padding:26px 36px;justify-content:space-between}
.exp-top{align-items:flex-start;padding-top:calc(24px + env(safe-area-inset-top))}
.exp-brand.wordmark{letter-spacing:-.055em;gap:4px;max-width:calc(100% - 100px)}
.exp-brand .wordmark-main{font-size:27px}.exp-brand .wordmark-sub{font-size:16px}
#scanner{width:min(calc(100vw - 64px),calc((100svh - 250px)*2/3),680px);height:auto;aspect-ratio:2/3;top:calc(50% + 14px)}
#scanner i{width:40px;height:40px;border-width:3px}
#expStatus{bottom:calc(36px + env(safe-area-inset-bottom));font-size:clamp(16px,2vw,22px);padding:12px 14px;left:4%;right:4%}
@media(max-width:760px){.entrance-header{padding:30px 7% 18px;min-height:136px}.entrance-header h1.wordmark{max-width:none}.wordmark-main{font-size:29px}.wordmark-sub{font-size:17px}.entrance-stage{min-height:calc(100svh - 136px);padding:42px 7% 100px}.entrance-copy{font-size:21px;margin-bottom:38px}.entrance-copy span:last-child{font-size:16px}.entrance-actions{width:100%}.entrance-actions button{min-height:84px;padding:24px;font-size:19px}.exp-brand .wordmark-main{font-size:23px}.exp-brand .wordmark-sub{font-size:14px}.exp-top{padding-left:20px;padding-right:20px}#scanner{width:min(calc(100vw - 44px),calc((100svh - 220px)*2/3));top:calc(50% + 16px)}}
@media(orientation:landscape) and (max-height:550px){.entrance-header{padding-top:24px;min-height:112px}.entrance-stage{padding:20px 7% 40px;min-height:calc(100svh - 112px)}.entrance-copy{font-size:18px;margin-bottom:22px}.entrance-actions button{min-height:64px}#scanner{width:calc((100svh - 140px)*2/3);top:53%}.exp-brand .wordmark-main{font-size:21px}.exp-brand .wordmark-sub{font-size:13px}#expStatus{bottom:8px;font-size:15px}}

/* Sandblasted glass: diffuse cobalt forms behind an opaque, fine-grained surface. */
.entrance{background:#ecebe6;isolation:isolate}
.entrance::before{content:"";position:absolute;inset:-40px;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 86% 25%,#3469e164,transparent 39%),radial-gradient(ellipse at 12% 90%,#7e9edb70,transparent 44%),linear-gradient(112deg,#eff0ed 14%,#d7e0ef 50%,#f4f4ef 84%);filter:blur(26px)}
.entrance::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-color:#f5f5f044;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath fill='%23909aa4' opacity='.16' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");box-shadow:inset 0 0 100px #ffffff70}
.entrance-fragments{right:-50px;bottom:-90px;width:520px;height:520px;transform:rotate(-18deg);opacity:.28;z-index:-1;filter:blur(2px)}
.entrance-fragments i{width:240px;height:240px;background:linear-gradient(135deg,#ffffff9c,#afc7ef66 65%,#ffffffa6);border:1px solid #ffffffb8;box-shadow:inset 2px 2px 14px #ffffffb0,14px 20px 52px #57729d30;border-radius:5px}
.entrance-fragments i:nth-child(2){left:255px;top:0}.entrance-fragments i:nth-child(3){left:0;top:255px}.entrance-fragments i:nth-child(4){left:255px;top:255px}
.entrance-copy{font-size:clamp(19px,2.2vw,29px);font-weight:500;color:#3469e1;line-height:1.9;margin-bottom:36px}
.entrance-copy span,.entrance-copy span:last-child{font-size:inherit;color:inherit;font-weight:inherit;line-height:inherit;margin:0}
.entrance-instruction{font-size:1rem;line-height:1.7;color:#3469e1;font-weight:500;letter-spacing:-.035em;margin:0 0 16px}
.entrance-actions button{justify-content:center;background:#3469e1;box-shadow:0 10px 30px #3469e125;border:1px solid #ffffff60}
.entrance-actions button:hover{background:#2459d2}
@media(max-width:760px){.entrance-copy{font-size:21px}.entrance-copy span:last-child{font-size:inherit}.entrance-instruction{font-size:1rem}.entrance-fragments{right:-280px;opacity:.22}}
@media(orientation:landscape) and (max-height:550px){.entrance-copy{font-size:18px;margin-bottom:20px}}

/* White typography remains readable over the camera and preparation screens. */
#experience{color:#fff}#experience .eyebrow{color:#fff}

/* Place the introduction and entry button slightly lower as one group. */
.entrance-copy,.entrance-instruction{color:#303238}
.entrance-content{top:clamp(24px,4svh,40px)}
@media(orientation:landscape) and (max-height:550px){.entrance-content{top:12px}}

/* A quieter secondary entry opens the exhibition text. */
.entrance-actions .explanation-button{margin-top:0;min-height:56px;padding:15px 24px;font-size:16px;font-weight:500;justify-content:center;background:#ecebe680;color:#303238;border:1px solid #30323840;box-shadow:none;backdrop-filter:blur(14px)}
.entrance-actions .explanation-button:hover{background:#ecebe6}
.exhibition-explanation{width:min(760px,calc(100vw - 40px));max-height:calc(100svh - 56px);padding:0;border:1px solid #ffffffb0;border-radius:12px;background:#ecebe6;color:#303238;box-shadow:0 24px 100px #101c3850;overflow:auto;overscroll-behavior:contain}
.exhibition-explanation::backdrop{background:#101c3870;backdrop-filter:blur(12px)}
.explanation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 32px;position:sticky;top:0;z-index:1;background:#ecebe6f5;backdrop-filter:blur(14px);border-bottom:1px solid #30323820;font-size:14px;color:#3469e1;font-weight:600}
.explanation-toolbar form{margin:0}.explanation-close{padding:10px 16px;border:1px solid #30323835;border-radius:30px;color:#303238;background:transparent;font-size:14px}
.explanation-article{padding:32px 40px 40px}.explanation-article h2{font-size:clamp(24px,3vw,32px);line-height:1.5;color:#3469e1;font-weight:700;letter-spacing:-.045em;margin:0 0 28px;text-wrap:balance}
.explanation-article p{font-size:17px;line-height:1.95;font-weight:400;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:break-word;margin:0 0 24px}.explanation-article p:last-child{margin-bottom:0}
@media(max-width:760px){.explanation-toolbar{padding:14px 20px}.explanation-article{padding:24px 24px 32px}.explanation-article p{font-size:16px}.exhibition-explanation{width:calc(100vw - 28px);max-height:calc(100svh - 40px)}}

.entrance-actions{display:flex;flex-direction:column;gap:14px}
.entrance-actions button{display:flex;align-items:center;gap:10px}
.button-icon{width:24px;height:24px;flex:0 0 auto}
.explanation-button .button-icon{width:21px;height:21px}

/* Equal side-by-side actions with visible touch and keyboard feedback. */
.entrance-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}
.entrance-actions button,.entrance-actions .explanation-button{width:100%;min-width:0;min-height:88px;margin:0;padding:24px 20px;font-size:20px;line-height:1.4;gap:10px;position:relative;overflow:hidden;transition:background .16s,transform .12s,box-shadow .16s,filter .12s}
.entrance-actions .button-icon,.entrance-actions .explanation-button .button-icon{width:24px;height:24px}
.entrance-actions button:active,.entrance-actions button.is-pressed{transform:translateY(2px) scale(.975);filter:brightness(.9);box-shadow:inset 0 3px 12px #101c3825}
.entrance-actions button::after{content:"";position:absolute;inset:0;pointer-events:none;background:currentColor;opacity:0}
.entrance-actions button.tap-feedback::after{animation:button-tap .3s ease-out}
@keyframes button-tap{from{opacity:.18}to{opacity:0}}
@media(max-width:760px){.entrance-actions{gap:12px}.entrance-actions button,.entrance-actions .explanation-button{min-height:80px;padding:20px 12px;font-size:18px;gap:8px}}
@media(max-width:360px){.entrance-actions{gap:10px}.entrance-actions button,.entrance-actions .explanation-button{font-size:16px;padding:18px 8px}.entrance-actions .button-icon,.entrance-actions .explanation-button .button-icon{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.entrance-actions button{transition:none}.entrance-actions button.tap-feedback::after{animation:none}.entrance-actions button:active,.entrance-actions button.is-pressed{transform:none}}

/* Mosaic samples the artwork description itself and stays inside its window. */
.explanation-pixels{position:absolute;left:0;z-index:3;display:block;pointer-events:none}
.exhibition-explanation[aria-busy="true"]{touch-action:none}

/* Keep Korean words and title phrases together on narrow screens. */
.entrance-copy,.entrance-instruction{word-break:keep-all;overflow-wrap:normal;text-wrap:pretty}
.explanation-article h2{word-break:keep-all;overflow-wrap:normal;text-wrap:wrap}
.explanation-article .title-phrase{display:inline-block;white-space:nowrap}

.offline-preparation{position:absolute;bottom:24px;left:7%;right:7%;text-align:center;color:#303238;font-size:14px;z-index:1}.offline-preparation p{margin:0;line-height:1.6}.offline-preparation button{margin:8px auto 0;padding:8px 16px;border:1px solid #3469e1;background:transparent;color:#3469e1;font-size:14px}
