@font-face { font-family: "Pretendard Variable"; src: url("./fonts/PretendardVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --paper: #f7f5f0; --ink: #292d27; --muted: #797d72; --line: #dedfd5;
  --forest: #303d31; --serif: var(--sans);
  --sans: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-synthesis: none; scroll-behavior: smooth; scroll-padding-top: 110px;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
img, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, p { word-break: keep-all; overflow-wrap: anywhere; }
::selection { background: #d4dbc7; color: #252b22; }
:focus-visible { outline: 2px solid #69805e; outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 14px 22px; background: var(--forest); color: white; z-index: 200; }
.skip-link:focus { top: 12px; }
.page-width { width: min(1040px, calc(100% - 96px)); margin-inline: auto; }
.wordmark { font-family: var(--serif); font-size: 19px; letter-spacing: -1px; white-space: nowrap; }
.wordmark > span { color: #929b81; padding-right: 3px; }
.eyebrow { font-size: 9px; font-weight: 400; letter-spacing: 2px; line-height: 1.7; }
.icon-button { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.icon-button:hover { background: #80808014; }
/* QR is the entrance. Camera permission is requested only after a gesture. */
.scan-page, .scanner-dialog { background: #191c19; color: #f5f4ed; }
.scan-page { min-height: 100svh; background-image: radial-gradient(ellipse at 50% 42%, #3a443336, transparent 65%); }
.scan-header, .scan-footer { width: calc(100% - 96px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; }
.scan-header { height: 90px; border-bottom: 1px solid #ffffff12; }
.edition-mark { font-size: 9px; letter-spacing: 3px; color: #92998b; }
.scan-footer { padding: 26px 0; border-top: 1px solid #ffffff12; color: #949c8d; font-size: 10px; }
.scan-footer > span:last-child { font-size: 8px; letter-spacing: 2px; }
.scanner { min-height: calc(100svh - 158px); max-width: 620px; margin-inline: auto; padding: 42px 24px 30px; text-align: center; }
.scan-eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 8px; letter-spacing: 2.5px; color: #a7b39a; }
.scan-eyebrow > span { width: 4px; height: 4px; border-radius: 50%; background: #b9cba4; box-shadow: 0 0 14px #b9cba477; }
.scan-title { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 47px); font-weight: 400; letter-spacing: -2.2px; line-height: 1.45; margin-top: 19px; }
.scan-title em { font-style: normal; color: #c8d1bc; }
.scan-intro { font-size: 12px; line-height: 1.85; color: #a9afa1; margin-top: 16px; }
.scan-window { position: relative; width: 270px; height: 270px; margin: 28px auto 20px; background: #ffffff02; border: 1px solid #ffffff05; isolation: isolate; overflow: hidden; }
.scan-window::before { content: ""; position: absolute; inset: 18px; border: 1px solid #ffffff04; pointer-events: none; z-index: 2; }
.scan-window-idle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 19px; color: #a3af94; transition: opacity .45s, transform .6s; }
.scan-window-idle > span { font-size: 8px; letter-spacing: 4px; color: #849079; }
.scan-symbol { display: grid; place-items: center; width: 90px; height: 90px; border: 1px solid #7f8b7047; transform: rotate(-2deg); }
.scan-symbol svg { transform: rotate(2deg); }
.scan-corners { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.scan-corners i { position: absolute; width: 25px; height: 25px; border-color: #b5c6a0; border-style: solid; border-width: 0; transition: width .5s, height .5s, border-color .4s; }
.scan-corners i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.scan-corners i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.scan-corners i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.scan-window video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.scan-line { position: absolute; top: 12%; left: 8%; right: 8%; height: 1px; background: #b8d4a7; box-shadow: 0 -9px 22px 6px #b8d4a720; opacity: 0; z-index: 3; }
.scan-detected { position: absolute; inset: 0; display: grid; place-items: center; background: #263323d9; opacity: 0; transition: opacity .25s; color: #d6e7be; z-index: 5; }
[data-state="scanning"] .scan-window video { opacity: 1; }
[data-state="scanning"] .scan-window-idle { opacity: 0; transform: scale(.95); }
[data-state="scanning"] .scan-line { animation: scanning 2.8s ease-in-out infinite; opacity: .9; }
[data-state="loading"] .scan-symbol { animation: breathe 1.8s ease-in-out infinite; }
[data-state="detected"] .scan-detected { opacity: 1; }
[data-state="detected"] .scan-corners i { width: 50%; height: 50%; }
[data-state="error"] .scan-corners i { border-color: #c3a787; }
.scan-message { max-width: 340px; margin-inline: auto; min-height: 36px; font-size: 11px; line-height: 1.8; color: #b5bcac; white-space: pre-line; }
.scan-actions { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 16px; }
.scan-start { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; min-width: 225px; padding: 14px 28px; border: 1px solid #c6d1b7; color: #e0e7d7; font-size: 12px; transition: background .25s, color .25s, transform .25s; }
.scan-start:hover { background: #d1dbc4; color: #262e22; transform: translateY(-2px); }
.scan-start:disabled { opacity: .5; }
.scan-select { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 11px; min-height: 44px; color: #a0aa94; }
.scan-select:hover { color: #e0e7d7; }
.scan-privacy { font-size: 9px; line-height: 1.8; color: #7f8974; margin-top: 14px; }
.scan-page :focus-visible, .scanner-dialog :focus-visible { outline-color: #bbd1a4; }
/* Artwork title, original artwork, PLAY, artist, description, five goods. */
.art-header { height: 84px; width: calc(100% - 96px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.header-scan { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 11px; color: #68725e; }
.art-introduction { padding-top: 48px; }
.title-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.art-order { font-family: var(--serif); font-size: 27px; line-height: 1; }
.art-order > span { font: 8px var(--sans); letter-spacing: 1px; padding-left: 7px; color: #95998d; }
.art-introduction h1 { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 60px); font-weight: 400; letter-spacing: -2.8px; line-height: 1.4; margin: 26px 0 14px; max-width: 850px; }
.title-artist { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #717869; line-height: 1.7; }
.title-artist > span:last-child { font-size: 10px; }
.title-separator { color: #b4bbab; }
.art-stage { position: relative; margin-top: 36px; background: #ebece3; height: min(55vw, 570px); min-height: 320px; overflow: hidden; }
.art-stage.has-image { background: #e9e7e0; padding: 32px; }
.artwork-image { width: 100%; height: 100%; object-fit: contain; }
.empty-art { width: 100%; height: 100%; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8d9681; background: radial-gradient(ellipse at 50% 40%, #f8faf266, transparent 65%); }
.empty-art-frame { position: relative; width: 130px; height: 152px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid #bbc4ad91; color: #bdc5b2; }
.empty-art-frame::before { content: ""; position: absolute; inset: 10px; border: 1px solid #c3cbb75c; }
.empty-art-frame span { font: italic 52px var(--serif); font-weight: 400; }
.empty-art-frame i { position: absolute; width: 35px; height: 1px; background: #aeba9a; }
.empty-art-frame i:nth-of-type(1) { left: -16px; top: 18px; }
.empty-art-frame i:nth-of-type(2) { right: -16px; bottom: 18px; }
.empty-art > p { font-size: 12px; font-weight: 400; }
.empty-art > span { font-size: 10px; color: #a4ad98; margin-top: 8px; }
.image-caption { position: absolute; bottom: 15px; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 15px; font-size: 8px; letter-spacing: 1.5px; color: #8b957d; pointer-events: none; }
.has-image .image-caption { background: #f7f5f0cc; padding: 6px 9px; left: 13px; right: auto; bottom: 10px; font-size: 9px; letter-spacing: 0; }
.play-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); min-height: 95px; }
.play-row-label, .play-row-end { font-size: 10px; color: #8a9082; }
.play-row-end { text-align: right; }
.play-button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; padding: 11px 25px; min-height: 44px; border: 1px solid #bac2ae; border-radius: 40px; font-size: 10px; letter-spacing: 2px; transition: color .3s, background .3s, transform .3s; }
.play-button:not(:disabled):hover { background: var(--forest); color: var(--paper); transform: scale(1.04); }
.play-button:disabled { color: #8a917e; border-color: #d2d7c8; background: #ebeee6; }
.artist-story { padding-top: 78px; }
.section-label { display: flex; align-items: center; gap: 20px; color: #8b927e; }
.thin-line { height: 1px; background: var(--line); flex: 1; }
.section-label > span:last-child { font: italic 18px var(--serif); }
.artist-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; padding-block: 53px 72px; }
.artist-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 24px; }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; }
.empty-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #a3aa94; background: #e9ece2; border: 1px solid #dfe4d4; }
.empty-photo > span { font-size: 8px; }
.artist-identity h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -1.5px; }
.artist-identity h2 > span { font: 11px var(--sans); letter-spacing: 0; margin-left: 10px; color: #909680; }
.artist-identity > p { font-size: 11px; color: #909680; margin-top: 13px; }
.story-copy { padding-top: 4px; }
.story-kicker { display: block; font-size: 10px; color: #838e74; letter-spacing: 1px; margin-bottom: 26px; }
.art-description { font-family: var(--serif); font-size: 22px; letter-spacing: -.6px; line-height: 2.1; white-space: pre-line; color: #505846; }
.story-signature { display: flex; align-items: center; gap: 13px; font-size: 10px; color: #929a84; margin-top: 33px; }
.story-signature::before { content: ""; width: 22px; height: 1px; background: #aeb79b; }
.goods-section { padding-block: 30px 80px; }
.goods-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 35px 0 30px; }
.goods-heading h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -1.5px; }
.goods-heading h2 em { color: #7a8968; font-style: normal; }
.goods-heading p { font-size: 11px; color: #8a927d; padding-bottom: 3px; }
.goods-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.goods-slot { position: relative; aspect-ratio: 4 / 5; background: #efefe9; border: 1px solid #e3e5da; overflow: hidden; display: grid; place-items: center; }
.goods-number { position: absolute; top: 13px; left: 13px; font: 9px var(--serif); color: #afb6a1; }
.blank-sign { font: 24px var(--serif); color: #c4cbb6; font-weight: 400; }
.goods-slot img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.goods-note { text-align: right; font-size: 10px; color: #9aa18d; margin-top: 18px; }
.art-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 30px 135px; }
.art-footer .wordmark { font-size: 16px; color: #79826d; }
.art-footer p { font-size: 10px; color: #9aa18d; }
.scan-dock { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 15; }
.scan-dock button { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 210px; min-height: 53px; padding: 15px 23px; background: #303d31ed; color: #f3f3eb; border: 1px solid #68785d6b; border-radius: 40px; box-shadow: 0 8px 30px #23301e1f; backdrop-filter: blur(12px); font-size: 12px; transition: transform .3s, box-shadow .3s; }
.scan-dock button:hover { transform: translateY(-3px); box-shadow: 0 12px 32px #23301e33; }
.dock-arrow { margin-left: 20px; color: #aebe9b; }
/* Dialog transitions accompany entering and leaving content. */
dialog { color: var(--ink); border: 0; padding: 0; background: var(--paper); max-height: calc(100dvh - 24px); overscroll-behavior: contain; }
dialog::backdrop { background: #171d15a8; backdrop-filter: blur(8px); }
body:has(dialog[open]) { overflow: hidden; }
dialog[open] { animation: dialog-in .4s cubic-bezier(.2,.8,.2,1) both; }
dialog[data-closing] { animation: dialog-out .2s ease-in both; pointer-events: none; }
.selector-dialog { width: min(540px, calc(100% - 32px)); padding: 25px 30px 30px; }
.sheet-handle { display: none; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet-header .eyebrow { font-size: 8px; color: #8a967b; }
.sheet-header h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -1px; margin-top: 12px; line-height: 1.6; }
.sheet-description { font-size: 11px; color: #969d8a; line-height: 1.8; margin-top: 17px; }
.work-list { display: flex; flex-direction: column; margin-top: 23px; border-top: 1px solid var(--line); }
.work-choice { display: flex; align-items: center; gap: 19px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.work-choice:hover { padding-inline: 12px; background: #e9eddf88; }
.choice-number { font: italic 24px var(--serif); color: #9ea88f; }
.choice-info { flex: 1; min-width: 0; }
.choice-info strong { font-size: 14px; font-weight: 400; line-height: 1.7; display: block; word-break: keep-all; }
.choice-info small { font-size: 9px; color: #959e88; line-height: 1.8; display: block; margin-top: 6px; }
.work-choice > svg { color: #919f7f; }
.scanner-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; }
.scanner-dialog .scanner { min-height: 100dvh; padding-top: max(55px, calc((100dvh - 700px)/2)); }
.scanner-close { position: absolute; right: max(20px, env(safe-area-inset-right)); top: max(15px, env(safe-area-inset-top)); color: #d7dfcb; z-index: 2; }
.player-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; background: #000; color: #fff; }
.player-dialog video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-surface { position: relative; width: 100%; height: 100%; background: #000; }
.player-surface:fullscreen { width: 100vw; height: 100dvh; }
.player-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 50px; background: linear-gradient(#000c, transparent); z-index: 2; pointer-events: none; }
.player-top .icon-button { pointer-events: auto; border: 1px solid #ffffff60; background: #0005; }
.player-top .eyebrow { font-size: 8px; color: #bcc6b0; }
.player-top h2 { font: 16px var(--serif); margin-top: 8px; line-height: 1.6; }
.player-status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #000c; color: #d7dfcd; padding: 18px 24px; font-size: 12px; line-height: 1.9; text-align: center; max-width: 80%; pointer-events: none; }
.player-status:empty { display: none; }
.player-dialog:fullscreen { width: 100vw; height: 100dvh; }
.player-dialog :focus-visible { outline-color: #d9e5cc; }
/* Content is visible without JavaScript; enhancement adds a gentle reveal. */
.enhanced [data-reveal] { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.enhanced [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(10px); }
.enhanced [data-reveal]:focus-within { opacity: 1; transform: none; filter: none; }
.art-header, .scan-header, .scanner { animation: content-in .9s cubic-bezier(.2,.7,.2,1) both; }
.art-introduction > .title-meta { animation: content-in .6s .05s both; }
.art-introduction > h1 { animation: content-in .6s .1s both; }
.art-introduction > .title-artist { animation: content-in .6s .15s both; }
.art-introduction > .art-stage { animation: artwork-in .7s .2s both; }
.scan-dock { animation: dock-in .85s .35s both; }
body { transition: opacity .22s ease, filter .22s ease; }
body.is-leaving { opacity: 0; filter: blur(3px); pointer-events: none; }
@keyframes scanning { 0%,100% { top: 12%; opacity: .2; } 50% { top: 86%; opacity: .9; } }
@keyframes breathe { 50% { opacity: .4; transform: scale(.96); } }
@keyframes artwork-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes content-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dock-in { from { opacity: 0; bottom: 10px; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(15px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1500px) { .art-introduction { padding-top: 65px; } .art-stage { margin-top: 45px; } }
@media (max-width: 900px) {
  .page-width { width: calc(100% - 64px); }
  .artist-layout { grid-template-columns: .7fr 1.3fr; gap: 40px; }
  .art-description { font-size: 19px; }
  .goods-grid { gap: 10px; }
  .goods-heading h2 { font-size: 29px; }
}
@media (max-width: 600px) {
  :root { scroll-padding-top: 30px; }
  .page-width { width: calc(100% - 40px); }
  .scan-header, .scan-footer { width: calc(100% - 40px); }
  .scan-header { height: 69px; }
  .wordmark { font-size: 17px; }
  .edition-mark { font-size: 7px; letter-spacing: 2px; }
  .scanner { padding: 32px 20px 24px; min-height: calc(100svh - 126px); }
  .scan-title { font-size: 33px; letter-spacing: -1.5px; margin-top: 17px; }
  .scan-intro { font-size: 11px; margin-top: 13px; }
  .scan-eyebrow { font-size: 7px; letter-spacing: 2px; }
  .scan-window { width: 236px; height: 236px; margin-block: 25px 18px; }
  .scan-message { font-size: 10px; max-width: 280px; }
  .scan-actions { margin-top: 13px; }
  .scan-start { min-height: 46px; min-width: 210px; font-size: 11px; }
  .scan-privacy { font-size: 8px; margin-top: 10px; }
  .scan-footer { padding-block: 20px; font-size: 8px; gap: 15px; }
  .scan-footer > span:last-child { font-size: 6px; letter-spacing: 1px; }
  .art-header { width: calc(100% - 40px); height: 70px; }
  .header-scan { font-size: 10px; gap: 7px; }
  .art-introduction { padding-top: 31px; }
  .title-meta .eyebrow { font-size: 7px; letter-spacing: 1.6px; }
  .art-order { font-size: 21px; }
  .art-order > span { font-size: 6px; }
  .art-introduction h1 { font-size: 35px; letter-spacing: -1.6px; line-height: 1.5; margin: 22px 0 11px; }
  .title-artist { font-size: 11px; gap: 9px; }
  .title-artist > span:last-child { font-size: 9px; }
  .art-stage { min-height: 260px; height: auto; aspect-ratio: 1.15; margin-top: 27px; }
  .art-stage.has-image { padding: 19px; }
  .artwork-image { position: absolute; inset: 0; padding: 19px; }
  .empty-art { min-height: 0; height: 100%; }
  .empty-art-frame { width: 90px; height: 110px; margin-bottom: 22px; }
  .empty-art-frame span { font-size: 36px; }
  .empty-art > p { font-size: 10px; }
  .empty-art > span { font-size: 8px; }
  .image-caption { font-size: 6px; left: 14px; bottom: 12px; }
  .play-row { min-height: 83px; gap: 11px; }
  .play-row-label, .play-row-end { font-size: 8px; line-height: 1.7; }
  .play-button { padding: 10px 17px; font-size: 8px; gap: 6px; letter-spacing: 1.5px; }
  .play-button svg { width: 14px; }
  .artist-story { padding-top: 53px; }
  .section-label { gap: 15px; }
  .section-label .eyebrow { font-size: 7px; letter-spacing: 1.4px; }
  .section-label > span:last-child { font-size: 16px; }
  .artist-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 35px 45px; }
  .artist-identity { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: 1fr 1fr; column-gap: 20px; align-items: end; }
  .artist-photo { grid-row: span 2; width: 72px; height: 72px; margin: 0; }
  .empty-photo { gap: 5px; }
  .empty-photo svg { width: 26px; height: 26px; }
  .empty-photo > span { font-size: 6px; }
  .artist-identity h2 { font-size: 26px; line-height: 1.5; }
  .artist-identity h2 > span { font-size: 10px; }
  .artist-identity > p { margin-top: 5px; font-size: 10px; align-self: start; }
  .story-kicker { font-size: 9px; margin-bottom: 20px; }
  .art-description { font-size: 18px; line-height: 2.1; letter-spacing: -.5px; }
  .story-signature { font-size: 9px; margin-top: 25px; }
  .goods-section { padding-block: 28px 50px; }
  .goods-heading { flex-direction: column; align-items: start; gap: 12px; margin: 26px 0 24px; }
  .goods-heading h2 { font-size: 29px; }
  .goods-heading p { font-size: 10px; }
  .goods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .goods-slot:nth-child(n+4) { aspect-ratio: 4 / 5; }
  .goods-number { top: 9px; left: 9px; font-size: 8px; }
  .blank-sign { font-size: 19px; }
  .goods-note { font-size: 9px; text-align: left; }
  .art-footer { padding-block: 28px 125px; gap: 20px; }
  .art-footer .wordmark { font-size: 14px; }
  .art-footer p { font-size: 8px; }
  .scan-dock { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .scan-dock button { min-height: 51px; min-width: 205px; font-size: 11px; }
  .selector-dialog { width: 100%; max-width: none; max-height: 85dvh; margin: auto 0 0; padding: 12px 24px max(30px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  .sheet-handle { display: block; width: 30px; height: 3px; background: #c4caba; border-radius: 10px; margin: 0 auto 23px; }
  .sheet-header h2 { font-size: 25px; margin-top: 10px; }
  .sheet-description { font-size: 10px; }
  .work-choice { gap: 16px; }
  .choice-info strong { font-size: 13px; }
  .scanner-dialog .scanner { padding-top: max(55px, calc((100dvh - 660px)/2)); }
  .player-top { padding: max(17px, env(safe-area-inset-top)) 18px 45px; gap: 15px; }
  .player-top h2 { font-size: 13px; }
  .player-top .eyebrow { font-size: 6px; }
  .player-status { width: max-content; max-width: calc(100% - 50px); font-size: 11px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .scanner { padding-block: 20px; }
  .scan-title { font-size: 28px; }
  .scan-intro { margin-top: 8px; }
  .scan-window { width: 185px; height: 185px; margin-block: 15px; }
  .scanner-dialog .scanner { padding-top: 25px; }
}
@media (max-width: 370px) {
  .page-width { width: calc(100% - 32px); }
  .scan-title { font-size: 30px; }
  .scan-window { width: 220px; height: 220px; }
  .art-introduction h1 { font-size: 30px; }
  .play-row-label, .play-row-end { font-size: 7px; }
  .goods-heading h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .enhanced [data-reveal]:not(.is-visible) { opacity: 1; transform: none; filter: none; }
  .artwork-image { transform: none; }
  body.is-leaving { opacity: 1; filter: none; }
}

/* Full viewport camera with legible controls above the live preview. */
.wordmark { font-weight: 600; letter-spacing: -.04em; }
.art-introduction h1, .artist-identity h2, .goods-heading h2, .sheet-header h2 { font-weight: 600; letter-spacing: -.035em; }
.art-description { font-weight: 400; letter-spacing: -.02em; line-height: 1.95; }
.scan-page { height: 100dvh; overflow: hidden; }
.scan-page .scan-header { position: absolute; top: env(safe-area-inset-top); left: 24px; width: calc(100% - 48px); height: 64px; z-index: 3; border: 0; }
.scan-page .scan-footer { display: none; }
.scan-page main { height: 100%; }
.scanner, .scanner-dialog .scanner { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: none; height: 100dvh; min-height: 0; margin: 0; padding: calc(88px + env(safe-area-inset-top)) 24px max(22px, env(safe-area-inset-bottom)); animation: none; }
.scan-window { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; margin: 0; border: 0; background: #191c19; }
.scan-window::before { inset: 0; border: 0; background: linear-gradient(#0c140ec9, transparent 38%, transparent 52%, #0c140ef2); }
.scan-window video { position: absolute; inset: 0; max-width: none; }
.scan-window-idle { background: radial-gradient(ellipse at 50% 42%, #46573c88, #191c19); }
.scan-window-idle .scan-symbol { border: 0; transform: none; }
.scan-window-idle .scan-symbol svg { transform: none; }
.scan-window-idle > span { display: none; }
.scan-corners { width: min(66vw, 300px, 34dvh); height: min(66vw, 300px, 34dvh); inset: 45% auto auto 50%; transform: translate(-50%, -50%); }
.scan-corners i { border-width: 0; border-color: #e5efd9; width: 32px; height: 32px; }
.scan-line { left: 25%; right: 25%; }
.scan-window-idle { padding-bottom: 10dvh; }
.scan-heading, .scan-controls { position: relative; z-index: 1; }
.scan-title { font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1.35; letter-spacing: -.035em; margin-top: 12px; }
.scan-intro { font-size: 13px; margin-top: 12px; color: #e0e4dc; }
.scan-controls { width: min(100%, 420px); margin-inline: auto; padding-top: 16px; }
.scan-message { font-size: 13px; max-width: 100%; color: #fff; text-shadow: 0 1px 5px #000; }
.scan-actions { margin-top: 12px; }
.scan-start { min-height: 48px; font-size: 14px; background: #e4ebda; color: #243021; border-radius: 28px; }
.scan-select { font-size: 13px; color: #e0e7d7; }
.scan-privacy { font-size: 10px; color: #b7c0af; margin-top: 8px; }
.scanner-close { position: fixed; z-index: 5; background: #101b15b8; border: 1px solid #ffffff4d; }
@media (max-height: 650px) {
  .scanner, .scanner-dialog .scanner { padding-top: max(64px, env(safe-area-inset-top)); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .scan-heading .scan-eyebrow, .scan-intro, .scan-privacy { display: none; }
  .scan-title { font-size: 24px; margin: 0; }
  .scan-title br { display: none; }
  .scan-controls { padding-top: 0; }
  .scan-message { min-height: 24px; font-size: 12px; }
  .scan-actions { flex-direction: row; justify-content: center; gap: 8px; margin-top: 6px; }
  .scan-start { min-width: 140px; padding: 10px 12px; font-size: 12px; }
  .scan-select { font-size: 11px; gap: 6px; }
}
