:root {
  --night: #0c0a08;
  --night-2: #15110d;
  --night-3: #201a14;
  --ink: #efe6d4;
  --ink-2: #b9ab94;
  --ink-3: #84776a;
  --ink-mid: #a99b85;
  --ink-lit: #d7ccb7;
  --paper: #ece1cd;
  --paper-hi: #f6eedd;
  --paper-ink: #241b13;
  --paper-ink-2: #5d4e40;
  --rule: rgba(239, 230, 212, 0.18);
  --rule-2: rgba(239, 230, 212, 0.36);
  --paper-rule: rgba(36, 27, 19, 0.2);
  --pink: #ff7a9e;
  --pink-deep: #e04e78;
  --chosen: inset 0 -1px 0 var(--ink);
  --lamp: #ffb56b;
  --display: "Archivo", "Pretendard Variable", system-ui, sans-serif;
  --serif: "Newsreader", "Noto Serif KR", "Times New Roman", serif;
  --body: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 44px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html { background: var(--night); }
html.dragging, html.dragging #gl { cursor: grabbing !important; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
kbd { display: inline-block; font: 600 0.74em/1 var(--display); letter-spacing: 0.04em; padding: 3px 5px 2px; border: 1px solid var(--rule-2); border-radius: 2px; color: var(--ink-2); vertical-align: 0.08em; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; z-index: 0; }

#veil { position: fixed; inset: 0; background: var(--night); z-index: 1; pointer-events: none; opacity: 1; transition: opacity 1.6s var(--ease); }
body.room #veil, body.ready #veil, body.entered #veil { opacity: 0; }
body.entered #veil.dip { opacity: 0.92; transition-duration: 0.14s; }

#marks { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; contain: strict; transition: opacity 0.25s ease; }
body:not(.entered) #marks { visibility: hidden; }

html.building #marks { opacity: 0; }

#gate { position: fixed; inset: 0; z-index: 20; isolation: isolate;
  --gw: 37.96vh; --gh: calc(var(--gw) * 0.5625); --gx: calc(50vw - var(--gw) / 2); --gy: 21.76vh; --u: calc(var(--gw) / 100);
  --gk: clamp(0.75px, calc(var(--u) / 2.4), 1px);
  --low-drop: 1.192; --lx: var(--gx); --ly: calc(var(--gy) + var(--gh) * var(--low-drop)); --lw: var(--gw); --lh: var(--gh);
  transition: opacity 0.55s var(--ease), visibility 0s 0.55s; }
#gate.ready { cursor: pointer; }
#gate.leaving { opacity: 0; visibility: hidden; pointer-events: none; }

.gate-screen { position: absolute; left: var(--gx); top: var(--gy); width: var(--gw); height: var(--gh); display: grid; grid-template-columns: 100%; place-items: center; }
.gate-low { position: absolute; left: var(--lx); top: var(--ly); width: var(--lw); height: var(--lh); display: flex; justify-content: center; align-items: center; }
#gate.settling :is(.gate-screen, .gate-low) { transition: left 0.9s var(--ease), top 0.9s var(--ease), width 0.9s var(--ease), height 0.9s var(--ease); }

#gate.settling :is(.gate-title, .gate-sub, .gate-enter, .gate-low .lang-switch) { transition: font-size 0.9s var(--ease), margin 0.9s var(--ease), padding 0.9s var(--ease); }
#gate.settling .gate-low .lang-switch button { transition: color 0.2s, box-shadow 0.2s, padding 0.9s var(--ease); }

.gate-boot { position: relative; width: max-content; display: grid; justify-items: center; text-align: center; }

.gate-title { margin: 0; font: 800 max(calc(var(--gk) * 17), min(calc(var(--u) * 3.3), 34px))/1 var(--display); font-stretch: 114%; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
.gate-sub { margin: max(calc(var(--gk) * 7), min(calc(var(--u) * 1.15), 13px)) 0 0; font: 600 max(calc(var(--gk) * 9), min(calc(var(--u) * 1.12), 11.5px))/1 var(--display); color: var(--ink-2); white-space: nowrap; }

.sub { --track: 0.17em; letter-spacing: var(--track); }
.sub i { font-style: normal; letter-spacing: calc(var(--track) + var(--k, 0em)); }
.sub .t1 { --k: -0.01em; } .sub .t35 { --k: -0.035em; } .sub .t4 { --k: -0.04em; } .sub .t6 { --k: -0.06em; } .sub .l1 { --k: 0.01em; }
.sub .end { letter-spacing: 0; }

.gate-load { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gate-bar { position: relative; height: 1px; }
.gate-bar i { position: absolute; left: 0; right: 0; top: 0; height: 1px; transform: scaleX(0); transform-origin: left; transition: transform 0.35s linear; }
.gate-line { margin: 0; }

.gate-go { margin-top: max(calc(var(--gk) * 8), min(calc(var(--u) * 2.4), 26px)); opacity: 0; visibility: hidden; }
#gate.ready .gate-go { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease) 0.25s, visibility 0s; }
.gate-enter { display: inline-flex; align-items: baseline; gap: 0.9em; border: 0; border-radius: 0; background: none; padding: calc(var(--gk) * 9) calc(var(--gk) * 10); color: var(--ink);
  font: 600 max(calc(var(--gk) * 14.5), min(calc(var(--u) * 2.05), 19px))/1 var(--body); box-shadow: inset 0 -1px 0 transparent; cursor: pointer; }

.gate-enter kbd { border: 0; padding: 0; font-size: 0.62em; letter-spacing: 0.08em; color: var(--ink-2); vertical-align: 0; }
.gate-enter:disabled { cursor: progress; }

.gate-enter:focus-visible { outline: 0; }
html.keys .gate-enter:focus-visible { box-shadow: inset 0 -1px 0 var(--rule-2); }
#gate.ready .gate-enter span { animation: gate-wait 2.8s ease-in-out infinite; }
@keyframes gate-wait { 0%, 100% { opacity: 1; } 50% { opacity: 0.46; } }

.gate-set { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - var(--gutter) * 2);
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 22px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.sound-switch, .lang-switch { display: flex; align-items: center; gap: 4px; font: 600 12.5px/1 var(--body); color: var(--ink-2); }
.sound-switch span { margin-right: 6px; }
.sound-switch button, .lang-switch button { border: 0; border-radius: 0; background: none; padding: 10px 8px 11px; font: inherit; color: var(--ink-2); box-shadow: inset 0 -1px 0 transparent; transition: color 0.2s, box-shadow 0.2s; }
.sound-switch button:hover, .lang-switch button:hover { color: var(--ink); }
.sound-switch button[aria-pressed="true"], .lang-switch button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
@media (max-width: 900px) {
  .gate-set { left: var(--gutter); bottom: calc(var(--gutter) * 0.66 + env(safe-area-inset-bottom, 0px)); justify-content: center; }
}
.lang-switch[hidden], .lang-switch button[hidden] { display: none; }
.lang-switch button { white-space: nowrap; }

.gate-low .lang-switch { flex: none; gap: 0; font-size: max(calc(var(--gk) * 12.5), min(calc(var(--u) * 1.75), 16px)); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.gate-low .lang-switch button { position: relative; padding: calc(var(--gk) * 16) calc(var(--gk) * 10) calc(var(--gk) * 11); }
.gate-low .lang-switch button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 40px; transform: translateY(-50%); }

#gate:is(.blocked, .failed) { --gk: 1px; }
#gate:is(.blocked, .failed) .gate-screen { left: 0; width: 100%; }
#gate:is(.blocked, .failed) .gate-boot { width: min(max(calc(var(--u) * 46), 280px), 86vw); max-width: none; }

#gate.blocked .gate-screen { height: auto; min-height: var(--gh); box-sizing: border-box; padding-block: clamp(14px, calc(var(--u) * 4), 28px); }

#gate:is(.blocked, .failed) :is(.gate-go, .gate-bar, .gate-low), #gate.blocked .gate-set { display: none; }
#gate:is(.blocked, .failed) .gate-load { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; justify-self: stretch; margin-top: clamp(12px, calc(var(--u) * 3), 30px); }
#gate:is(.blocked, .failed) .gate-line { display: grid; justify-items: center; gap: clamp(6px, calc(var(--u) * 1.1), 12px); padding-top: clamp(4px, calc(var(--u) * 0.9), 10px);
  font-size: clamp(12.5px, calc(var(--u) * 1.6), 14.5px); line-height: 1.6; color: var(--ink-2); text-align: center; word-break: keep-all; }

#gate.failed .gate-status { text-wrap: balance; }
#gate.blocked .gate-status span { display: block; text-wrap: balance; }
#gate.blocked .gate-status span:first-child { color: var(--ink); }

:root:lang(ja) #gate.blocked .gate-status span { word-break: auto-phrase; }
.gate-anyway { padding: 6px; color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }

#demo { position: fixed; left: 0; top: 0; z-index: 3; transform-origin: 0 0; overflow: hidden; border-radius: var(--demo-r, 10px); outline: 0;
  background: #0b0907; opacity: 0; transition: opacity 0.5s var(--ease); contain: layout paint style; isolation: isolate; will-change: transform; overscroll-behavior: contain; }
#demo.on { opacity: 1; }
#demo .demo-slot { position: absolute; inset: 0; }
#demo::after { content: ""; position: absolute; inset: 0; z-index: 2147483647; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 233, 207, 0.045), rgba(255, 233, 207, 0) 16%); box-shadow: inset 0 0 0 1px rgba(239, 230, 212, 0.1); }
body:not(.entered) #demo { display: none; }

#demo-sheet { position: fixed; inset: 0; z-index: 14; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--night); color: var(--ink);
  transform: translateY(100%); transition: transform 0.34s var(--ease); overscroll-behavior: contain; touch-action: manipulation; outline: 0; }
#demo-sheet.open { transform: none; }
#demo-sheet[hidden] { display: none; }
.ds-bar { display: flex; align-items: center; gap: 14px; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
  background: var(--night-2); border-bottom: 1px solid var(--rule-2); }
.ds-name { flex: 1; min-width: 0; }
.ds-title { margin: 0; font: 800 18px/1.1 var(--display); letter-spacing: 0.005em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-kind { margin: 5px 0 0; min-height: 1.35em; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-close { flex: none; min-width: 64px; min-height: 44px; border: 0; padding: 11px 16px; border-radius: 0; background: none; color: var(--ink);
  font-size: 14px; font-weight: 650; box-shadow: inset 0 -1px 0 var(--ink); }
.ds-body { position: relative; min-height: 0; overflow: hidden; background: #0b0907; isolation: isolate; contain: layout paint style; }
.ds-body .demo-slot { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }

@media (max-aspect-ratio: 3/4) {
  #gate { --gw: 27.07vh; --gy: 32.56vh; }
}
@media (hover: none) and (pointer: coarse) {
  .gate-enter kbd { display: none; }

  .gate-enter, .sound-switch button { position: relative; }
  .gate-enter::after { content: ""; position: absolute; left: -10px; right: -10px; top: 50%; height: 44px; transform: translateY(-50%); }
  .sound-switch button::after { content: ""; position: absolute; inset: -5px -2px; }

  .p-close kbd, .c-close kbd { display: none; }

  .c-card:focus { outline: 0; }
}

@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
  #contact .c-close { top: calc(var(--ct) - 16px); right: calc(var(--cp) - 12px); min-width: 44px; min-height: 44px; padding: 10px 12px; }
}

.hud-top, .hud-bottom { z-index: 5; transition: opacity 0.9s var(--ease) 0.8s; }
body:not(.entered) .hud-top, body:not(.entered) .hud-bottom { opacity: 0; pointer-events: none; }
body:not(.entered) .hud-top *, body:not(.entered) .hud-bottom * { pointer-events: none; }
.hud-top { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: calc(var(--gutter) - 11px + env(safe-area-inset-top, 0px)) var(--gutter) 0; pointer-events: none; }
.hud-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 168px; z-index: -1; pointer-events: none; transition: height 0.9s var(--ease);
  background: linear-gradient(rgba(9, 7, 5, 0.74), rgba(9, 7, 5, 0.38) 42%, rgba(9, 7, 5, 0)); }
.hud-top > * { pointer-events: auto; }
.wordmark { display: grid; gap: 8px; padding: 8px 0 6px; text-decoration: none; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

.wordmark b { margin-left: -1px; font: 800 19px/1 var(--display); font-stretch: 116%; letter-spacing: 0.012em; color: var(--ink); }
.wordmark span { font: 600 10px/1 var(--display); color: var(--ink-2); }
.menu { display: flex; gap: 2px; }

.menu a { display: flex; align-items: baseline; gap: 7px; padding: 10px 11px 11px; border-radius: 0; text-decoration: none;
  font: 600 clamp(12.5px, 9.4px + 0.34vw, 14px)/1 var(--display); letter-spacing: 0.09em; color: var(--ink-lit); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 -1px 0 transparent; transition: color 0.2s, box-shadow 0.2s; }
.menu a i { font-style: normal; font-weight: 500; font-size: 0.86em; letter-spacing: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.menu a:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--rule-2); }

.menu a[aria-current] { color: var(--ink); box-shadow: var(--chosen); }
.menu a[aria-current] i { color: var(--ink-lit); }

.menu-lang { display: flex; align-items: baseline; margin-left: 12px; }
.menu-lang button { border: 0; background: none; padding: 10px 7px 11px; border-radius: 0; font: 600 clamp(12.5px, 9.4px + 0.34vw, 14px)/1 var(--display); letter-spacing: 0.09em;
  color: var(--ink-2); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); box-shadow: inset 0 -1px 0 transparent; transition: color 0.2s, box-shadow 0.2s; }
.menu-lang button[hidden] { display: none; }
.menu-lang .lang-now { color: var(--ink-lit); box-shadow: inset 0 -1px 0 var(--rule-2); }
.menu-lang button:hover { color: var(--ink); }
.menu-lang button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }

.hud-bottom { position: fixed; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) calc(var(--gutter) * 0.66 + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.hud-bottom::before { content: ""; position: absolute; inset: auto 0 0 0; height: var(--foot-shade, 150px); z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(9, 7, 5, 0.7), rgba(9, 7, 5, 0.32) 44%, rgba(9, 7, 5, 0)); }
.hud-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }

.hint { margin: 0; padding: 0 0 9px; display: flex; flex-wrap: wrap; gap: 5px 20px; max-width: 64vw; font-size: 13px; line-height: 1.35; color: var(--ink-2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.7); transition: opacity 0.7s var(--ease); }
.hint span:first-child { color: var(--ink); font-weight: 600; }
.hint.rest { opacity: 0; }

@keyframes hint-seat { from { opacity: 0; } }
.hint { animation: hint-seat 0.7s var(--ease); }

body:is(:not([data-place]), [data-place="home"]) .hint { position: absolute; left: 50%; right: auto; bottom: calc(100% + 4px); transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25em 1.6em; width: max-content; max-width: calc(100vw - var(--gutter) * 2); padding: 0; text-align: center; text-wrap: balance; pointer-events: none;
  font-size: clamp(16px, 0.55vw + 7.5px, 18px); font-weight: 500; line-height: 1.3; color: var(--ink); animation: none; transition: opacity 0.3s ease; }
body:is(:not([data-place]), [data-place="home"]) .hint.rest { transition-duration: 0.4s; }
body:is(:not([data-place]), [data-place="home"]) .hint span:first-child { font-weight: 500; }
body:is(:not([data-place]), [data-place="home"]) .hint::before { content: ""; position: absolute; inset: -0.95em -3.2em; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(9, 7, 5, 0.55), rgba(9, 7, 5, 0.4) 52%, rgba(9, 7, 5, 0)); }
@media (min-width: 901px) {

  .hud-bottom { padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); }

  body:is([data-place="program"]) .hud-top::before { height: 104px; }
  body:is(:not([data-place]), [data-place="home"]) .hud-bottom::before { left: auto; width: min(460px, 60vw); height: 140px;
    background: radial-gradient(ellipse 100% 100% at 100% 100%, rgba(9, 7, 5, 0.76), rgba(9, 7, 5, 0.34) 48%, rgba(9, 7, 5, 0) 100%); }
}
.hud-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; pointer-events: auto; }
.sound-btn, .guide-btn, .again-btn, .rate-btn, .set-btn { border: 0; background: none; padding: 10px 10px 11px; border-radius: 0; white-space: nowrap;
  font: 600 12.5px/1 var(--body); color: var(--ink-2); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); box-shadow: inset 0 -1px 0 var(--rule-2); transition: color 0.2s, box-shadow 0.2s; }
.sound-btn:hover, .guide-btn:hover, .again-btn:hover, .rate-btn:hover, .set-btn:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.sound-btn[aria-pressed="true"], .guide-btn[aria-pressed="true"], .rate-btn[aria-pressed="true"] { color: var(--ink); }
.rate-btn { font-variant-numeric: tabular-nums; }
.guide-btn[hidden], .again-btn[hidden] { display: none; }

.set { display: flex; flex-direction: row-reverse; align-items: center; gap: 4px; }
.set-more { display: flex; align-items: center; gap: 4px; }
.set-more[hidden] { display: none; }
.set-btn[aria-expanded="true"] { color: var(--ink); box-shadow: var(--chosen); }

.back-btn { display: inline-flex; align-items: center; gap: 9px; margin-right: 8px; border: 0; border-radius: 0; padding: 10px 10px 11px; white-space: nowrap;
  background: none; color: var(--ink); font: 600 12.5px/1 var(--body); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); box-shadow: inset 0 -1px 0 var(--ink); transition: box-shadow 0.2s; }
.back-btn[hidden] { display: none; }

@media (hover: hover) { .back-btn:hover, .p-cta:hover, .ds-close:hover { box-shadow: inset 0 -2px 0 var(--ink); } }
.back-btn:active, .p-cta:active, .ds-close:active { color: var(--ink-2); box-shadow: inset 0 -1px 0 var(--rule-2); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.menu a.glow:not([aria-current]) { color: var(--ink); }
.menu a.glow:not([aria-current]) i { color: var(--ink-lit); }
.tally { margin: 0 10px 0 0; padding: 10px 0 11px; font: 600 12.5px/1 var(--body); color: var(--ink-2); font-variant-numeric: tabular-nums;
  white-space: nowrap; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); pointer-events: none; }
.tally[hidden] { display: none; }
body.guide-off .tally { display: none; }
#found { position: fixed; left: 0; top: 0; z-index: 8; pointer-events: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font: 600 12px/1 var(--body); color: var(--ink); text-shadow: 0 1px 2px #000, 0 0 12px rgba(0, 0, 0, 0.85); opacity: 0; }
#found[hidden] { display: none; }
#found::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
#found.on { animation: found-in 1.7s var(--ease) both; }
@keyframes found-in { 0% { opacity: 0; translate: 0 5px; } 14% { opacity: 1; translate: 0 0; } 74% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -3px; } }

#tag { position: fixed; inset: 0; z-index: 8; pointer-events: none; --tag-ink: #f3e6cf;
  --tag-shade: 0 0 1px rgba(14, 9, 5, 0.9), 0 0 3px rgba(14, 9, 5, 0.85), 0 0 8px rgba(14, 9, 5, 0.8), 0 0 8px rgba(14, 9, 5, 0.7), 0 0 18px rgba(14, 9, 5, 0.6); }
#tag .tag-svg { position: fixed; inset: 0; width: 100%; height: 100%; overflow: visible; }
#tag .tag-name { position: fixed; left: 0; top: 0; white-space: nowrap; color: var(--tag-ink); opacity: 0;
  font: 400 24px/1 var(--tag-face, "Gaegu"), var(--body); letter-spacing: -0.05em; word-spacing: -0.1em; text-shadow: var(--tag-shade);
  padding: 16px 20px; margin: -16px -20px;
  -webkit-mask: linear-gradient(90deg, #000 50%, transparent 58%) 100% 0 / 250% 100% no-repeat; mask: linear-gradient(90deg, #000 50%, transparent 58%) 100% 0 / 250% 100% no-repeat;
  transition: opacity 0.2s ease, -webkit-mask-position 0.6s cubic-bezier(0.35, 0, 0.3, 1), mask-position 0.6s cubic-bezier(0.35, 0, 0.3, 1); }
#tag .tag-name.on { opacity: 0.95; filter: blur(0); -webkit-mask-position: 0 0; mask-position: 0 0; }

#tag .tag-name::before { content: attr(data-name); position: absolute; left: 20px; top: 16px; z-index: -1; color: transparent; text-shadow: none;
  -webkit-text-stroke: 4px rgba(14, 9, 5, 0.55); filter: blur(0.8px); }
#tag .tag-name.off { opacity: 0; filter: blur(2px); transition: opacity 0.42s ease, filter 0.42s ease; }

#tag .tag-name.noface { font: 300 16px/1 var(--body); letter-spacing: 0.03em; word-spacing: 0; }
#tag .tag-name.noface::before { -webkit-text-stroke-width: 3px; }
#tag .tag-pen { fill: none; stroke: var(--tag-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.86;
  filter: drop-shadow(0 0 1.5px rgba(14, 9, 5, 0.9)) drop-shadow(0 0 5px rgba(14, 9, 5, 0.6)); }
#tag .tag-shaft { transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.3, 1) 0.3s; }
#tag .tag-head { transition: stroke-dashoffset 0.15s ease-out 0.68s; }
#tag .tag-g { transition: opacity 0.42s ease; }
#tag .tag-g.off { opacity: 0; }

body { --col: min(360px, calc(100vw - 2 * var(--gutter))); --pad: 16px; --lift: 72px; --clear: 20px; --top: 12px; --fade: 56px; --deep: 0.98; }

#panel { position: fixed; right: calc(var(--gutter) - var(--pad)); top: 50%; transform: translateY(-50%); z-index: 6; pointer-events: auto;
  width: calc(var(--col) + 2 * var(--pad)); max-height: calc(100vh - 220px); overflow: auto; scrollbar-width: none;
  padding: calc(var(--clear) + var(--top)) var(--pad) var(--fade); scroll-padding-block: calc(var(--clear) + var(--top) + 12px) calc(var(--fade) + 12px);
  --edge: linear-gradient(transparent var(--clear), #000 calc(var(--clear) + var(--top)), #000 calc(100% - var(--fade)),
    rgba(0, 0, 0, 0.7) calc(100% - var(--fade) * 0.72), rgba(0, 0, 0, 0.2) calc(100% - 8px), transparent);
  -webkit-mask: var(--edge); mask: var(--edge); }
#panel:empty { display: none; }
#panel:not(:focus-within) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

body:has(#panel:focus-within)::after { content: ""; position: fixed; inset: 0 0 0 auto; z-index: 4; pointer-events: none;
  width: calc(var(--gutter) + var(--col) + var(--pad) + var(--lift));
  background: linear-gradient(90deg, rgba(9, 7, 5, 0), rgba(9, 7, 5, 0.82) calc(var(--lift) * 0.55), rgba(9, 7, 5, 0.9) var(--lift),
    rgba(9, 7, 5, var(--deep)) calc(var(--lift) + var(--pad))); }

.p-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font: 600 11px/1 var(--display); letter-spacing: 0.15em; color: var(--ink-2); }
.p-ko { font: 500 11.5px/1 var(--body); letter-spacing: 0; color: var(--ink-mid); }

.p-num { font-weight: 500; letter-spacing: 0; color: var(--ink-mid); font-variant-numeric: tabular-nums; }
.p-count { margin-left: auto; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-mid); font-variant-numeric: tabular-nums; }
.p-count b { font-weight: 600; color: var(--ink); }

.p-title { margin: 0 0 0 -0.04em; font: 800 clamp(22px, calc(var(--col) * 0.072), 27px)/1.04 var(--display); font-stretch: 116%; letter-spacing: 0.012em; color: var(--ink); overflow-wrap: anywhere; }
.p-title-ko { margin: 12px 0 0; font: 500 14.5px/1.4 var(--body); color: var(--ink-2); }

.p-cta { display: flex; align-items: center; gap: 9px; width: max-content; margin: 19px 0 0; padding: 11px 3px 12px 1px; border: solid transparent; border-width: 5px 0; border-radius: 0;
  background: none; color: var(--ink); font: 600 12.5px/1 var(--body); letter-spacing: 0; box-shadow: inset 0 -1px 0 var(--ink); }
.p-try::before { content: ""; flex: none; width: 9px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

.p-summary, .p-lead { margin: 24px 0 0; font-size: 15px; line-height: 1.66; color: var(--ink); word-break: keep-all; }
.p-lead { margin-top: 0; }
.p-try + .p-summary { margin-top: 19px; }
.p-meta { margin: 24px 0 0; display: grid; gap: 12px; }
.p-meta div { display: grid; grid-template-columns: 1fr; gap: 2px; font-size: 14.5px; line-height: 1.55; }
.p-meta dt { font: 600 12px/1.4 var(--body); color: var(--ink-mid); }
.p-meta dd { margin: 0; color: var(--ink-2); word-break: keep-all; }

.p-meta dd.p-who { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.p-who b { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.p-who small { font-size: 13px; color: var(--ink-mid); }
.p-faces { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; isolation: isolate; background: #000; }
.p-faces i { position: absolute; inset: 0; background-repeat: no-repeat; background-size: calc(var(--n) * 100%) 100%; background-position: calc(var(--i) * 100% / (var(--n) - 1)) 0;
  opacity: 0; mix-blend-mode: plus-lighter; animation: p-face calc(var(--n) * 1.5s) linear infinite; animation-delay: calc((var(--i) - var(--n)) * 1.5s - 0.5s); }
@keyframes p-face { 0% { opacity: 0; } 3.3333% { opacity: 1; } 10% { opacity: 1; } 13.3333% { opacity: 0; } 100% { opacity: 0; } }
@supports not (mix-blend-mode: plus-lighter) { .p-faces i { animation-timing-function: step-end; } }
.p-points { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: pt; display: grid; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.p-points li { counter-increment: pt; padding-left: 38px; position: relative; word-break: keep-all; }
.p-points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 0.36em; font: 500 11px/1 var(--display); color: var(--ink-mid); font-variant-numeric: tabular-nums; }

.p-role, .p-next { margin: 24px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; }
.p-next { margin-top: 12px; }

.p-file { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "code nav" "cap cap"; align-items: center; gap: 6px 12px; margin-top: 24px; }
.p-file .code { grid-area: code; font: 600 11px/1 var(--display); letter-spacing: 0.1em; color: var(--ink-mid); white-space: nowrap; }
.p-file .cap { grid-area: cap; min-width: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); word-break: keep-all; }
.fnav { grid-area: nav; display: flex; align-items: center; height: 16px; margin-right: -15px; font: 500 11px/1 var(--display); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fnav button { width: 44px; height: 44px; margin: -14px 0; border: 0; background: none; border-radius: 2px; font-size: 19px; line-height: 1; color: var(--ink); }
.fnav button:focus-visible { outline-offset: -6px; }

.p-foot { margin: 8px 0 0; }
.p-nav { display: flex; justify-content: space-between; gap: 12px; }
.p-nav button, .p-link { position: relative; border: 0; padding: 16px 10px; border-radius: 2px; background: none; font: 600 12.5px/1 var(--body); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.p-nav button::after, .p-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--rule); }
.p-nav button:first-child, .p-link { padding-left: 0; }
.p-nav button:hover, .p-link:hover { color: var(--ink); }
.p-nav button:hover::after, .p-link:hover::after { background: var(--ink); }
.p-nav button:not(.p-close) { display: inline-flex; align-items: baseline; gap: 7px; }
.p-nav .mk { font: 500 15px/0.8 var(--display); color: var(--ink-mid); }
.p-close { margin-left: auto; }
.p-link { display: inline-block; margin-top: 8px; }

.p-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.p-list button { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: baseline; padding: 15px 0 14px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; }
.p-list .n, .p-list .y { font: 500 11px/1 var(--display); letter-spacing: 0.02em; color: var(--ink-mid); font-variant-numeric: tabular-nums; }
.p-list .t { font: 600 13px/1.2 var(--display); font-stretch: 100%; letter-spacing: 0.06em; color: var(--ink); }
.p-list button:hover .n { color: var(--ink); }

#contact { position: fixed; inset: 0; z-index: 15; display: grid; place-items: center; padding: var(--gutter); background: rgba(8, 6, 4, 0.66); opacity: 0; transition: opacity 0.26s var(--ease); }
#contact.open { opacity: 1; }
#contact[hidden] { display: none; }
.c-card { position: relative; width: min(500px, 100%); padding: 36px 34px 30px; border-radius: 2px; color: var(--paper-ink);
  background: linear-gradient(168deg, var(--paper-hi), var(--paper) 46%, #e3d6bd); box-shadow: 0 34px 90px -34px #000, inset 0 0 0 1px rgba(36, 27, 19, 0.08);
  transform: translateY(10px); transition: transform 0.34s var(--ease); }
#contact.open .c-card { transform: none; }
.c-card :focus-visible { outline-color: var(--paper-ink); }
.c-kind { margin: 0 0 14px; font: 600 11px/1 var(--display); letter-spacing: 0.18em; color: var(--paper-ink-2); }
.c-title { margin: 0; font: 500 34px/1.05 var(--serif); letter-spacing: -0.01em; }
.c-text { margin: 16px 0 24px; font-size: 15px; line-height: 1.72; color: var(--paper-ink); word-break: keep-all; }
.c-label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--paper-ink-2); }
#c-msg { display: block; width: 100%; resize: vertical; padding: 13px 14px; border: 0; border-radius: 2px; font: 15px/1.7 var(--body); color: var(--paper-ink);
  background: rgba(255, 252, 243, 0.55); box-shadow: inset 0 0 0 1px var(--paper-rule); color-scheme: light; }
#c-msg:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }
.c-row { display: flex; gap: 10px 18px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.c-copy { border: 0; border-radius: 2px; padding: 13px 20px; background: var(--paper-ink); color: var(--paper-hi); font-weight: 650; box-shadow: inset 0 -2px 0 var(--pink-deep); transition: background 0.2s; }
.c-copy:hover { background: #3a2c1f; }
.c-x { font-size: 14px; color: var(--paper-ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.c-also { font-size: 13px; color: var(--paper-ink-2); }
.c-done { margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: var(--paper-ink); }
.c-done::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--pink-deep); vertical-align: 0.06em; }
.c-close { position: absolute; top: 16px; right: 16px; border: 0; background: none; padding: 6px; font-size: 13px; color: var(--paper-ink-2); }
.c-close kbd { border-color: var(--paper-rule); color: var(--paper-ink-2); }

@media not all and (max-width: 900px) {
  .c-head, .c-seal, .c-cut, .c-send { display: none; }
  .c-top, .c-stub { display: contents; }
}

@media (max-width: 900px) {
  #contact { grid-template-rows: minmax(0, 1fr); }
  .c-card { --ct: 28px; --cp: 24px; --stamp: #b82a55; max-height: 100%; overflow: auto; overscroll-behavior: contain; padding: var(--ct) var(--cp) 20px; }
  .c-card ::selection { background: rgba(36, 27, 19, 0.16); color: inherit; }
  .c-kind { display: none; }

  .c-head { display: flex; align-items: baseline; gap: 8px; margin: 0; padding-bottom: 11px; border-bottom: 2.5px solid var(--paper-ink); font: 600 12px/1 var(--body); color: var(--paper-ink-2); }
  .c-head b { font: 600 12px/1 var(--display); letter-spacing: 0.08em; color: var(--paper-ink); }

  .c-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--paper-ink); }
  .c-title { font: 700 23px/1.2 var(--body); letter-spacing: 0.2em; }
  .c-seal { position: relative; flex: none; width: 112px; height: 46px; min-width: 0; margin: -6px 0 0; padding: 0; border: 1px dashed rgba(184, 42, 85, 0.5); border-radius: 6px; }
  .c-seal legend { margin-left: 9px; padding: 0 5px; font: 400 11px/1 var(--body); letter-spacing: 0.14em; color: var(--stamp); }

  .c-stamp { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 104px; height: 32px; margin: -16px 0 0 -52px; border: 2.5px solid var(--stamp); border-radius: 5px;
    font: 700 14px/1 var(--body); letter-spacing: 0.08em; white-space: nowrap; color: var(--stamp); mix-blend-mode: multiply; pointer-events: none; opacity: 0; transform: rotate(-3deg) scale(1.28); }
  .c-stamp::after { content: ""; position: absolute; inset: 2px; border: 1px solid var(--stamp); border-radius: 2.5px; }
  .c-card.stamped .c-stamp { opacity: 0.94; transform: rotate(-3deg); transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.09s linear; }

  .c-text { margin: 14px 0 0; font-size: 13.5px; line-height: 1.65; }

  .c-label { margin: 20px 0 1px; font: 700 15px/1.3 var(--body); color: var(--paper-ink); }
  #c-msg { resize: none; padding: 0; border-radius: 0; box-shadow: none; font: 500 16px/30px var(--body); color: #38353a;
    background: radial-gradient(circle at 1.5px 27.5px, rgba(36, 27, 19, 0.6) 0.75px, transparent 1.15px) 0 0 / 5px 30px repeat local; }
  #c-msg:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: -11px 0 0 -9px var(--paper-ink); }

  .c-stub { position: relative; margin: 20px calc(var(--cp) * -1) 0; padding: 19px var(--cp) 0;
    background: linear-gradient(90deg, rgba(46, 36, 31, 0.78) 56%, transparent 56%) 0 0 / 5px 1.5px repeat-x; }
  .c-cut { position: absolute; left: 6px; top: -6px; width: 16px; height: 13px; fill: none; stroke: var(--paper-ink-2); stroke-width: 1; stroke-linecap: round; }
  .c-send { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 0; }
  .c-send b { font: 700 15px/1.3 var(--body); }
  .c-addr { font: 600 14px/1.3 var(--display); letter-spacing: 0.01em; }
  .c-row { gap: 0 22px; margin-top: 4px; }
  .c-copy, .c-x { display: inline-flex; align-items: center; min-height: 44px; border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; color: var(--paper-ink); text-decoration: underline; }
  .c-copy { font: 700 15px/1.3 var(--body); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: none; }
  .c-x { font-size: 14.5px; font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 6px; }
  .c-copy:hover { background: none; }
  .c-copy:hover, .c-x:hover { text-decoration-color: var(--stamp); }
  .c-copy:active { transform: translateY(1px); }
  .c-also { margin-left: auto; }

  .c-done { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .c-done::before { content: none; }

  .c-close { top: calc(var(--ct) - 7px); right: calc(var(--cp) - 6px); line-height: 1; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .c-card.stamped .c-stamp { transition: none; } }

@media (max-width: 900px) and (forced-colors: active) { .c-stamp { mix-blend-mode: normal; } }

.noscript { padding: 40px; }
.noscript span { display: block; }

@font-face { font-family: "Pretendard Latin"; font-style: normal; font-display: swap; font-weight: 45 920;
  src: url(https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2) format("woff2-variations");
  unicode-range: U+20-22, U+27-2a, U+2c-3b, U+3f, U+41-5d, U+61-7b, U+7d, U+a0-a1, U+ab, U+ad-ae, U+b7, U+bb, U+bf, U+2013-2014, U+201c-201d, U+2122; }
:root:lang(ja) {
  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP";
  --display: "Archivo", "Pretendard Latin", var(--jp), "Pretendard Variable", system-ui, sans-serif;
  --serif: "Newsreader", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
  --body: "Pretendard Latin", var(--jp), "Pretendard Variable", system-ui, sans-serif;
}

:root:lang(ja) * { word-break: normal; line-break: strict; }

:root:lang(ja) #tag .tag-name:not(.noface) { font-size: 20px; letter-spacing: 0; word-spacing: 0; }

@media (max-width: 900px) {

  .hud-top { flex-direction: column; gap: 11px; padding-top: calc(13px + env(safe-area-inset-top, 0px)); }
  .hud-top::before { height: 150px; }
  .wordmark { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 11px; padding: 3px 0; }
  .wordmark b { margin-left: 0; font-size: 16px; }
  .wordmark span { display: none; }
  .menu { display: flex; justify-content: space-between; width: 100%; gap: 0; }

  .menu a { position: relative; justify-content: center; padding: 16px 1px 17px; font-size: clamp(11px, calc(3.9vw - 2.9px), 12.5px); letter-spacing: 0.04em; }
  .menu a::after { content: ""; position: absolute; inset: 0 -3px; }

  .wordmark { position: relative; }
  .wordmark::after { content: ""; position: absolute; inset: -13px -10px -6px 0; }
  .menu a i { display: none; }

  .menu-lang { position: absolute; top: calc(8px + env(safe-area-inset-top, 0px)); right: calc(var(--gutter) - 7px); margin: 0; }
  .menu-lang.open { gap: 12px; }
  .menu-lang button { position: relative; padding: 10px 7px; font-size: 12px; }
  .menu-lang button::after { content: ""; position: absolute; inset: -6px; }

  .hud-foot { justify-content: flex-end; }
  .hint { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(100% + 2px); max-width: none; padding: 0; }
  .hint span + span { display: none; }

  body:is(:not([data-place]), [data-place="home"]) .hint { bottom: calc(100% + 6px); font-size: clamp(15px, 4.1vw, 16px); }

  .tally { margin-right: 4px; }
  .hud-tools:has(.back-btn:not([hidden])) .tally { display: none; }

  .hud-tools { flex: 1; pointer-events: none; }
  .hud-tools > * { pointer-events: auto; }
  .set { order: -1; margin-right: auto; flex-direction: row; position: relative; }
  .set-btn { padding-left: 0; }

  .set-more { position: absolute; left: 0; bottom: 100%; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 10px; }
  .set-more button { padding-left: 0; }
  .hud-bottom:has(.set-btn[aria-expanded="true"]) { --foot-shade: 300px; }
  .hud-foot:has(.set-btn[aria-expanded="true"]) .hint, .hud-bottom:has(.set-btn[aria-expanded="true"]) #panel { visibility: hidden; }

  .set-btn, .set-more button, .back-btn { position: relative; }
  .set-btn::after { content: ""; position: absolute; inset: -5px -12px -6px calc(var(--gutter) * -1); }
  .set-more button::after { content: ""; position: absolute; inset: -5px -12px -5px calc(var(--gutter) * -1); }
  .back-btn::after { content: ""; position: absolute; inset: -5px -8px -6px; }
}
@media (max-width: 340px) {
  .menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .menu a { font-size: clamp(11px, 3.4vw, 12px); }
}

@media (max-aspect-ratio: 3/4) {

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) .hud-bottom {
    --lift: 20px; --gap: 12px; --clear: 14px; --top: 10px; --fade: clamp(32px, 5vh, 44px); }

  body:is([data-place="look"]) .hud-bottom { --room: var(--screen-room-look, calc(50vh - 27.2vw - 57px - var(--gutter) * 0.66 - env(safe-area-inset-bottom, 0px))); }
  body:is([data-place="program"]) .hud-bottom { --room: var(--screen-room-program, calc(50vh - 27.2vw - 57px - var(--gutter) * 0.66 - env(safe-area-inset-bottom, 0px))); }

  body:is([data-place="look"], [data-place="program"]) .hud-bottom { --sheet: max(88px, calc(var(--room) - 10px - var(--gap))); }

  body:is([data-place="look"], [data-place="github"]) .hud-bottom { --deep: 0.88; }
  body:is([data-place="program"]) .hud-bottom { --deep: 0.98; }
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) .hud-bottom::before {
    inset: calc(-1 * var(--lift)) 0 0; height: auto;
    background: linear-gradient(rgba(9, 7, 5, 0), rgba(9, 7, 5, 0.82) calc(var(--lift) * 0.55), rgba(9, 7, 5, 0.9) calc(var(--lift) + var(--clear)),
      rgba(9, 7, 5, var(--deep)) calc(var(--lift) + var(--clear) + 40px)); }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]):has(#panel:focus-within)::after { content: none; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel {
    position: relative; inset: auto; transform: none; width: auto; height: auto; overflow: auto; clip-path: none; white-space: normal;
    max-height: min(calc(36vh - 4px), calc(64vh - 195px)); margin: 0 calc(var(--gutter) * -1) 10px; padding: calc(var(--clear) + var(--top)) var(--gutter) var(--fade); }
  body:is([data-place="look"], [data-place="program"]) #panel { max-height: var(--sheet); }
  body:is([data-place="program"]) #panel { min-height: var(--sheet); }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) .hud-top::before {
    height: 112px; background: linear-gradient(rgba(9, 7, 5, 0.94), rgba(9, 7, 5, 0.9) 64%, rgba(9, 7, 5, 0)); }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) .hint { display: none; }

  .hud-bottom::before, #panel { transition: opacity 0.3s ease; }
  body.blender-open .hud-bottom::before { opacity: 0; }
  body.blender-open #panel { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; }

  #panel .p-title { font-size: clamp(22px, 6.6vw, 27px); }

  #panel .p-close { display: none; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel :is(.p-head, .p-list:not(:focus-within), .p-foot:not(:focus-within), .fnav:not(:focus-within)) {
    position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-file:not(:has(.cap:not(:empty))):not(:focus-within) {
    position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .fnav:focus-within { margin-top: 14px; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel :is(.p-year, .p-file .code) { display: none; }
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-meta:not(:has(> div:not(.p-year))) { display: none; }
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-file { display: block; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel :is(.p-meta div, .p-points, .p-role, .p-next, .p-file .cap, .p-title-ko, .p-who b) { font-size: 15px; }
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-meta dd { color: var(--ink); }
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-who small { font-size: 12px; }

  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-points li { padding-left: 18px; }
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) #panel .p-points li::before { content: ""; top: 12px; width: 8px; height: 1px; background: var(--ink-mid); }

  body:is([data-place="look"]) #panel .p-ask { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 12px; margin-top: 24px; }
  body:is([data-place="look"]) #panel .p-ask .p-meta { margin: 0; }
  body:is([data-place="look"]) #panel .p-ask .p-link { position: static; margin: 0; padding-right: 0; background: linear-gradient(var(--rule), var(--rule)) 0 calc(100% - 5px) / 100% 1px no-repeat; }
  body:is([data-place="look"]) #panel .p-ask .p-link:hover { background-image: linear-gradient(var(--ink), var(--ink)); }
  body:is([data-place="look"]) #panel .p-ask .p-link::after { content: none; }
  body:is([data-place="look"]) #panel .p-ask .p-link::before { content: ""; position: absolute; inset: -6px calc(var(--gutter) * -1); }
  body:is([data-place="look"]) #panel[data-mode="focus"] .p-ask { display: none; }

  body:is([data-place="look"]) #panel > :is(.p-head + .p-ask, .p-head + .p-list + .p-ask) { margin-top: 0; }
}

@media (max-aspect-ratio: 3/4) and (max-height: 640px) {
  body:is([data-place="look"], [data-place="program"], [data-place="github"]) .hud-bottom { --top: 6px; --fade: 32px; }
  #panel .p-head { margin-bottom: 8px; }
  #panel .p-try { margin-top: 5px; }
  #panel .p-try + .p-summary { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  #veil { transition-duration: 0.14s !important; }
  #gate.ready .gate-enter span { animation: none; }
  #found.on { animation: none; opacity: 1; }
  .p-faces i { animation: none; }
  .p-faces i:first-child { opacity: 1; }

  #tag * { transition-delay: 0s !important; }
  #tag .tag-name { filter: none !important; }
}
