/* Studio Akatsuki UI subset; license in assets/OFL-AkatsukiChip16.txt. */
@font-face { font-family: "Akatsuki Chip"; src: url("assets/akatsuki-chip16-bold.woff2?v=d8ec912ef5746d1962c1719b") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0020-007E,U+6681; }
:root { --pale: #f7e9ca; --ink: #382820; --paper: #ebdcc0; --chip: "Akatsuki Chip",monospace; --mincho: "Yu Mincho","Hiragino Mincho ProN","BIZ UDPMincho",serif; --sans: "Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif; color-scheme: dark; font-family: var(--sans); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--pale); background: #161318; }
button { cursor: pointer; color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; }
[hidden] { display: none !important; }
a:focus-visible,button:focus-visible { outline: 2px dashed #ffe8ae; outline-offset: 4px; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; z-index: 10; inset: 10px auto auto 10px; padding: 12px; color: var(--ink); background: var(--paper); }
.studio-wordmark,.dawn-wordmark { font: 400 1em/1 var(--chip); font-synthesis: none; white-space: nowrap; }
.veranda { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate; background: #1c191f; }
.panorama { position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.panorama::-webkit-scrollbar { display: none; }
.scene { position: relative; height: 100%; width: max(100%,179.1667vh); width: max(100%,179.1667dvh); }
.hero-art,.hero-mosaic,.scene-props { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.hero-art { user-select: none; }
.scene picture { display: block; }
.scene::after { content: ""; position: absolute; inset: 73% 0 0; background: linear-gradient(transparent,#1710153b 60%,#160f16a6); pointer-events: none; }
.lake-ripple { position: absolute; top: 63%; left: 53%; width: 2.2%; height: .32%; opacity: 0; background: #dbb59c; box-shadow: -7px 4px #c7a397; pointer-events: none; animation: lake-water 9s steps(4,end) infinite; }
@keyframes lake-water { 0%,68%,95%,100% { opacity: 0; } 69% { transform: scaleX(.45); } 77% { opacity: .75; } 91% { opacity: .3; transform: translate(3px,2px) scaleX(1.3); } }
.prop-hit { position: absolute; z-index: 1; min-height: 44px; cursor: pointer; touch-action: pan-x; }
.prop-table { left: 10%; bottom: 6%; width: 39%; height: 25%; }
.prop-map { right: 3%; bottom: 1%; width: 20%; height: 27%; }
.prop-water { left: 43%; top: 43%; width: 15%; height: 25%; }
.water-label { position: absolute; top: 100%; left: 47%; transform: translate(-50%,-20%); color: #372e35; text-shadow: 0 1px #e2bfa8; font: 700 12px/1.4 var(--mincho); letter-spacing: .14em; white-space: nowrap; }
.prop-water:hover .water-label, .veranda:has(.gallery-link:focus-visible) .water-label { color: #221b22; text-decoration: underline; text-underline-offset: 3px; }
.mast { position: absolute; z-index: 3; top: max(env(safe-area-inset-top),1.4%); left: max(3.2%,env(safe-area-inset-left)); right: max(3.2%,env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 14px; pointer-events: none; }
.mast h1 { margin: 0; font: inherit; }
.mast a { pointer-events: auto; }
.brand, .mast nav, .mast nav a { display: flex; align-items: center; }
.brand { min-height: 44px; gap: 9px; text-shadow: 0 2px #131015; }
.brand img { width: clamp(26px,3vw,39px); height: auto; image-rendering: pixelated; }
.brand .studio-wordmark { font-size: clamp(27px,3.2vw,42px); }
.mast nav { gap: clamp(18px,2.6vw,42px); }
.mast nav a { min-height: 44px; gap: 8px; font-size: 14px; text-shadow: 0 2px #160c12; }
.mast nav a:hover { color: #ffe3a5; }
.letter-symbol { position:absolute; pointer-events:none; }
.letter-icon { flex:none; width:29px; height:24px; }
.mast nav .letter-link {
  justify-content:center; gap:7px; min-height:46px; padding:3px 14px 3px 10px; white-space:nowrap;
  border:1px solid #d6a77a; border-radius:2px; box-shadow:inset 0 0 0 2px #492f29,0 2px #27191c;
  color:#fff1cd; background:#703f32; font-size:1rem; font-weight:700;
}
.mast nav .letter-link:hover,.mast nav .letter-link:focus-visible { color:#fff6dc; background:#814a39; }
.art-icon { position:relative; width:16px; height:14px; overflow:hidden; border:1px solid currentColor; opacity:.9; }
.art-icon::before { content: ""; position: absolute; left: 2px; top: 2px; width: 2px; height: 2px; background: currentColor; }
.art-icon::after { content: ""; position: absolute; width: 11px; height: 10px; left: 5px; top: 6px; border: 1px solid currentColor; transform: rotate(-45deg); }
.destination {
  position: absolute; z-index: 2; display: grid; justify-items: start; gap: 3px;
  width: max-content; max-width: 44%; min-height: 44px; padding: 9px clamp(13px,1.3vw,22px) 11px;
  color: #fff0cd; text-shadow: 1px 2px #24191b,-1px -1px #24191b,1px -1px #24191b,-1px 1px #24191b,0 3px 5px #1b1017;
}
.destination .keshi-wordmark { font-size: clamp(26px,3.2vw,51px); line-height: 1.22; }
.destination .dawn-wordmark { font-size: clamp(31px,3.15vw,52px); line-height: 1.12; letter-spacing: .025em; }
.destination small { font-size: clamp(13px,1vw,15px); line-height: 1.45; color: #f6e9d4; }
.selection-label { display: inline-flex; align-items: center; gap: 8px; color: #edd2a2; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.selection-label i { width: 5px; height: 5px; background: #f1c387; transform: rotate(45deg); box-shadow: 1px 1px #392820; }
.card-table { left: 5%; bottom: 27%; }
.travel-desk { right: 4%; bottom: 49%; }
.destination:hover,.destination:focus-visible,.veranda:has(.prop-table:hover) .card-table,.veranda:has(.prop-map:hover) .travel-desk {
  color: #ffe4a9;
}
@media (pointer: coarse) and (hover: none) {
  .destination {
    border: 1px solid #d3ac7d; border-radius: 3px; background: #30212a;
    box-shadow: inset 0 0 0 3px #443239, 0 3px 0 #1a1419; text-shadow: 0 1px #211822;
  }
  .destination:hover,.destination:focus-visible,.veranda:has(.prop-table:hover) .card-table,.veranda:has(.prop-map:hover) .travel-desk {
    border-color: #ffe2a7; background: #50343a; box-shadow: inset 0 0 0 3px #67474b, 0 3px 0 #1a1419;
  }
}
.studio-links {
  position:absolute; z-index:2; right:max(3%,env(safe-area-inset-right)); bottom:max(4px,env(safe-area-inset-bottom));
  display:flex; align-items:center; gap:clamp(8px,1.3vw,20px);
}
.studio-links a {
  display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:0 6px; color:#fff0d1;
  font:600 .82rem/1.4 var(--sans); text-decoration:underline; text-underline-offset:4px;
  text-shadow:0 1px 2px #1e1317,0 0 5px #1e1317;
}
.studio-links .studio-news {color:#ffdda4;}
.studio-news span {font:600 .9rem/1 var(--sans);}
.departing-card { position: fixed; width: clamp(72px,13vw,140px); height: auto; transform-origin: center; pointer-events: none; image-rendering: pixelated; z-index: 5; }
dialog { width: min(550px,92vw); max-height: 91dvh; overflow: auto; padding: 0; border: 1px solid #8b7456; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #171217d4; }
dialog form { margin: 0; }
dialog button:focus-visible,dialog a:focus-visible { outline-color: #b96443; }
.scene-return { position:absolute; z-index:1; left:clamp(8px,1.8vw,15px); top:clamp(7px,1.5vw,12px); }
.return-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:5px 13px;
  border:1px solid #c5a582; border-radius:2px; color:#fff0cd; background:#302725;
  box-shadow:inset 0 0 0 2px #4b3e35,0 2px 0 #271e1a; font:700 .94rem/1.35 var(--sans); white-space:nowrap;
}
.return-button:hover,.return-button:focus-visible { background:#49382d; }
.dialog-art { display: block; width: 100%; height: auto; max-height: 34dvh; object-fit: cover; image-rendering: pixelated; }
.dialog-content { padding: 20px clamp(18px,3vw,32px) 26px; }
#detail-title { margin: 0; font-size: clamp(32px,5vw,48px); }
.dialog-content .reading { margin: 2px 0 12px; font-size: 13px; }
.dialog-content p,dd { font-size: 15px; line-height: 1.7; }
dl { display: flex; flex-wrap: wrap; gap: 9px 21px; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #a79172; }
dt { font-size: 12px; }
dd { margin: 0; }
dd.studio-wordmark { font-size: 20px; }
.art-viewer { width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; color: #e9e2cc; background: #111c1c; border: 0; }
.art-viewer[open] { display: grid; grid-template-rows: 58px minmax(0,1fr) 100px; margin: 0; padding-inline: 4vw; }
.gallery-head,.gallery-controls { display: flex; align-items: center; }
.gallery-head { justify-content: space-between; font: 16px/1.3 var(--mincho); letter-spacing: .1em; }
.gallery-controls button { min-width: 44px; min-height: 44px; border: 0; color: #eee3cc; background: transparent; }
.art-stage { position: relative; min-height: 0; }
#art-full,.art-mosaic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.art-mosaic { pointer-events: none; }
.gallery-controls { justify-content: center; gap: clamp(15px,3.5vw,60px); }
.gallery-controls button { font: 36px/1 Georgia,serif; }
.art-legend { min-width: 8em; text-align: center; }
.art-legend h2 { margin: 0; font: 600 clamp(20px,2.3vw,28px)/1.4 var(--mincho); letter-spacing: .08em; }
#art-original { display: inline-flex; align-items: center; min-height: 44px; color: #c6c7b8; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.art-viewer button:focus-visible,.art-viewer a:focus-visible { outline-color: #dbc79c; }
#support-letter {
  width:min(744px,calc(100% - 28px)); max-width:none; max-height:calc(100dvh - 24px);
  border:1px solid #b99c74; background:#efe2c6; box-shadow:0 14px 48px #0d1214b8;
}
.postbox-view { width:100%; height:auto; }
.letter-page { padding:clamp(16px,3vw,25px) clamp(17px,4vw,38px) 16px; background:linear-gradient(110deg,#f5e8ca,#eee0c3 75%,#e2cfac); }
#support-title { margin:0; color:#493125; font:700 clamp(1.45rem,3vw,2rem)/1.26 var(--mincho); letter-spacing:.06em; }
#support-message { margin:7px 0 0; color:#4d382b; font:500 1rem/1.65 var(--sans); }
.letter-signature { display:block; text-align:right; margin-top:3px; font-size:23px; color:#684331; }
.letter-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 16px; margin-top:11px; padding-top:12px; border-top:1px solid #c3a785; }
.send-letter {
  display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:46px;
  padding:6px 13px; border:1px solid #72402d; border-radius:2px;
  background:#843e2e; color:#fff0d1; box-shadow:inset 0 0 0 2px #9b5842; font-weight:700; line-height:1.35;
}
.send-letter:hover,.send-letter:focus-visible { background:#733428; }
.send-letter .letter-icon { width:25px; height:21px; }
.ofuse-profile { display:inline-flex; align-items:center; justify-content:center; min-height:44px; color:#644331; font-size:.91rem; text-decoration:underline; text-underline-offset:4px; }
@media (max-width:540px) {
  .mast { gap:5px; }
  .mast nav { gap:clamp(7px,2.3vw,14px); }
  .mast nav .letter-link { padding-inline:7px 9px; gap:4px; font-size:.94rem; }
  .mast .letter-icon { width:25px; height:21px; }
  .letter-actions { justify-content:center; padding-top:8px; margin-top:8px; }
  .send-letter { width:100%; }
  .letter-page { padding-block:14px 6px; }
  .letter-signature { font-size:20px; }
  #dawn-detail { width:calc(100% - 22px); max-height:calc(100dvh - 20px); }
  #dawn-detail .dialog-art { max-height:29dvh; }
  .dialog-content { padding:13px 16px 16px; }
  .dialog-content p:not(.reading) { margin:7px 0; }
  .dialog-content dl { margin-top:8px; padding-top:6px; gap:3px 13px; }
}
@media (max-width:360px) {
  .mast .brand { gap:4px; }
  .mast .brand img { width:23px; }
  .mast .brand .studio-wordmark { font-size:24px; }
}
@media (min-aspect-ratio: 43/24) {
  .panorama { display: flex; overflow: hidden; }
  .scene { flex: none; width: 179.1667vh; width: 179.1667dvh; }
  .panorama::before,.panorama::after { content: ""; flex: 1; min-width: 0; background: #1c191f url("assets/games-veranda.png?v=5a516278e755bc2ec19a87dd") no-repeat left center / auto 100%; image-rendering: pixelated; transform: scaleX(-1); }
  .panorama::after { background-position: right center; }
  .card-table { left: calc((100vw - 179.1667dvh) / 2 + 9dvh); }
  .travel-desk { right: calc((100vw - 179.1667dvh) / 2 + 6.8dvh); }
}
@media (max-aspect-ratio: 1/1) and (pointer: coarse) and (hover: none) {
  .veranda {
    display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto minmax(48px,1fr);
    align-content: start; height: auto; min-height: 100svh; overflow: clip;
    background: linear-gradient(#201923,#241b21 65%,#19161c);
  }
  .mast { grid-area: 1 / 1; position: relative; align-self: start; inset: auto; padding: max(8px,env(safe-area-inset-top)) 4% 14px; background: linear-gradient(#17121bea,transparent); }
  .mast nav { gap: clamp(13px,4vw,26px); }
  .mast nav a { gap: 5px; }
  .panorama { position: relative; grid-area: 1 / 1; inset: auto; width: min(100%,max(28rem,62svh)); justify-self: center; overflow: clip; }
  .scene { width: 100%; height: auto; }
  .hero-art { position: static; width: 100%; height: auto; }
  .hero-mosaic { display: none; }
  .prop-hit { touch-action: manipulation; }
  .prop-table { left: 6%; bottom: 12%; width: 43%; height: 14%; }
  .prop-map { right: 1%; bottom: 12%; width: 17%; height: 13%; }
  .prop-water { left: 37%; top: 46%; width: 26%; height: 15%; }
  .lake-ripple { left: 52%; top: 60%; }
  .destination {
    position: relative; inset: auto; width: min(92%,36rem); max-width: none; justify-self: center;
    grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 2px 8px;
    padding: 9px clamp(12px,3.8vw,20px) 10px; margin-top: 10px;
  }
  .selection-label { grid-area: 1 / 2; justify-self: end; letter-spacing: 0; }
  .selection-label i { display: none; }
  .destination .keshi-wordmark,.destination .dawn-wordmark { grid-area: 1 / 1; }
  .destination .keshi-wordmark { font-size: clamp(25px,7vw,36px); }
  .destination .dawn-wordmark { font-size: clamp(26px,7.2vw,38px); }
  .destination small { grid-column: 1 / -1; font-size: .83rem; }
  .studio-links { position: static; justify-content: center; align-self: end; gap: 10px; padding: 6px 4% max(4px,env(safe-area-inset-bottom)); }
}
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  .mast { top: 2px; }
  .brand .studio-wordmark { font-size: 25px; }
  .brand img { width: 23px; }
  .destination { gap: 0; }
  .destination .keshi-wordmark { font-size: 24px; }
  .destination .dawn-wordmark { font-size: 29px; }
  .selection-label { font-size: 11px; }
  .card-table { bottom: 27%; }
  .art-viewer[open] { grid-template-rows: 48px minmax(0,1fr) 72px; }
  .art-legend h2 { font-size: 18px; }
  #support-letter { width:min(744px,calc(100% - 22px)); max-height:calc(100dvh - 12px); }
  #support-letter .postbox-view { height:clamp(66px,32dvh,152px); object-fit:cover; object-position:60% 50%; }
  .letter-page { padding:8px clamp(12px,3vw,24px) 7px; }
  #support-title { font-size:1.36rem; }
  #support-message { margin-top:3px; font-size:1rem; line-height:1.37; }
  #support-letter .letter-signature { display:none; }
  .letter-actions { margin-top:5px; padding-top:5px; justify-content:start; }
  .send-letter { width:auto; }
  #dawn-detail[open] { display:grid; grid-template-columns:minmax(0,34%) minmax(0,1fr); width:min(760px,calc(100% - 22px)); max-height:calc(100dvh - 12px); }
  #dawn-detail .dialog-art { width:100%; height:100%; max-height:none; object-fit:cover; }
  .dialog-content { padding:11px clamp(12px,2vw,22px); }
  #detail-title { font-size:clamp(29px,4.7vw,42px); }
  .dialog-content .reading { margin:1px 0 4px; }
  .dialog-content p:not(.reading) { margin:5px 0; font-size:1rem; line-height:1.45; }
  .dialog-content dl { margin-top:6px; padding-top:6px; gap:3px 13px; }
}
/* Desktop artwork and its two entrance labels share the same 688 × 384 frame. */
@media (hover: hover), (pointer: fine) {
  .veranda {
    --frame-width: min(100vw, 179.166667dvh);
    --frame-height: min(100dvh, 55.813953vw);
    --unit: min(1vw, 1.79166667dvh);
  }
  .panorama { top: 50%; bottom: auto; height: var(--frame-height); transform: translateY(-50%); overflow: hidden; }
  .scene { width: var(--frame-width); }
  .card-table {
    left: calc((100% - var(--frame-width)) / 2 + 5 * var(--unit));
    bottom: calc(50% - .23 * var(--frame-height));
  }
  .travel-desk {
    right: calc((100% - var(--frame-width)) / 2 + 4 * var(--unit));
    bottom: calc(50% - .01 * var(--frame-height));
  }
  .destination { gap: calc(.18 * var(--unit)); min-height: 0; padding: calc(.55 * var(--unit)) calc(1.3 * var(--unit)) calc(.66 * var(--unit)); }
  .destination::before { content: ""; position: absolute; inset: 50% 0 auto; height: max(100%,44px); transform: translateY(-50%); }
  .destination .keshi-wordmark { font-size: calc(3.2 * var(--unit)); }
  .destination .dawn-wordmark { font-size: calc(3.15 * var(--unit)); }
  .destination small { font-size: calc(.95 * var(--unit)); }
  .selection-label { font-size: calc(.76 * var(--unit)); gap: calc(.5 * var(--unit)); }
  .selection-label i { width: calc(.32 * var(--unit)); height: calc(.32 * var(--unit)); }
}
@media (prefers-reduced-motion: reduce) { *,*::after,*::before { animation: none !important; } }
