/* The website around the game: /about/, /feedback/, /support/, /privacy/.
   Same lantern-and-washi palette as the game, kept separate from styles.css so
   the game's stylesheet stays the game's. */
:root{
  --night:#0b1222;
  --night-2:#141d33;
  --wood:#3c2614;
  --wood-edge:#8c562d;
  --washi:#f2ebdd;
  --washi-dim:#e4d9c2;
  --ink:#2b1f14;
  --ink-soft:#5c4a36;
  --lantern:#f3c568;
  --lantern-bright:#ffd98a;
  --moss:#5f7d4f;
  --momiji:#b9482e;
  --radius:14px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--night);
  color:var(--washi);
  font-family:"Zen Maru Gothic","Hiragino Sans","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.6;
}
a{color:var(--lantern-bright)}
a:hover{color:#fff0c4}
img{max-width:100%;height:auto;display:block}

.site-nav{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;gap:6px 16px;flex-wrap:wrap;
  padding:10px 16px;
  background:rgba(11,18,34,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(243,197,104,.18);
}
.site-nav .brand{display:flex;align-items:baseline;gap:8px;margin-right:auto;color:var(--washi);text-decoration:none;font-weight:700}
.site-nav .brand b{font-family:"Shippori Mincho",serif;font-size:20px;color:var(--lantern-bright)}
.site-nav .brand span{font-size:12px;color:rgba(242,235,221,.7)}
.site-nav a.nav-link{color:var(--washi);text-decoration:none;font-size:14px;padding:6px 2px;border-bottom:2px solid transparent}
.site-nav a.nav-link[aria-current="page"]{border-bottom-color:var(--lantern)}
.site-nav a.nav-play{
  padding:8px 16px;border-radius:999px;background:var(--lantern);color:var(--ink);
  font-weight:800;text-decoration:none;font-size:14px;
}

.wrap{max-width:860px;margin:0 auto;padding:24px 16px 48px}
h1,h2,h3{font-family:"Shippori Mincho","Hiragino Mincho ProN",serif;line-height:1.3}
h1{font-size:clamp(28px,6vw,44px);margin:0 0 8px;color:var(--lantern-bright)}
h2{font-size:24px;margin:36px 0 10px;color:var(--lantern-bright)}
h3{font-size:18px;margin:20px 0 6px}
p{margin:0 0 12px}
.lead{font-size:18px;color:rgba(242,235,221,.9)}
.muted{color:rgba(242,235,221,.7);font-size:14px}

.card{
  background:linear-gradient(180deg,rgba(60,38,20,.92),rgba(43,27,15,.94));
  border:1px solid rgba(203,145,85,.45);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}
.paper{background:var(--washi);color:var(--ink);border:1px solid var(--wood-edge)}
.paper a{color:#7a4a1c}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:10px 20px;border-radius:999px;
  border:1px solid var(--wood-edge);background:transparent;color:var(--washi);
  font:inherit;font-weight:700;text-decoration:none;cursor:pointer;
}
.btn-primary{background:linear-gradient(180deg,#ffd98a,#f0b552);color:var(--ink);border-color:#d99a3c;box-shadow:0 4px 0 #9a6420}
.btn-primary:hover{color:var(--ink);filter:brightness(1.04)}
.btn:disabled{opacity:.55;cursor:default}

/* Product page */
.hero{
  position:relative;min-height:min(70vh,560px);display:flex;align-items:flex-end;
  background:linear-gradient(180deg,rgba(11,18,34,.15) 0%,rgba(11,18,34,.55) 55%,var(--night) 100%),
    url("assets/title/lantern-alley-title-v1.webp") center/cover no-repeat;
}
.hero .wrap{padding-bottom:20px;width:100%}
.hero-kon{width:104px;height:104px;margin:0 0 -6px -10px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.55))}
.hero + .wrap > section:first-child h2{margin-top:12px}
.hero h1{font-size:clamp(40px,10vw,72px);text-shadow:0 4px 18px rgba(0,0,0,.6)}
.hero .tag{font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:rgba(242,235,221,.8)}
.hero .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:14px}
.feature h3{margin-top:0;color:var(--lantern-bright)}
.feature img{border-radius:10px;margin-bottom:12px;aspect-ratio:16/10;object-fit:cover;width:100%}
.steps{counter-reset:step;list-style:none;padding:0;margin:0}
.steps li{counter-increment:step;position:relative;padding:0 0 14px 44px}
.steps li::before{
  content:counter(step);position:absolute;left:0;top:0;
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--lantern);color:var(--ink);font-weight:900;
}
.shots{list-style:none;margin:12px 0 0;padding:0 0 8px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.shots figure{margin:0}
.shots img{width:100%;aspect-ratio:420/775;object-fit:cover;object-position:top;border-radius:16px;border:1px solid rgba(243,197,104,.35);box-shadow:0 10px 24px rgba(0,0,0,.45);background:var(--night-2)}
.shots figcaption{margin-top:8px;font-size:14px;text-align:center;color:rgba(242,235,221,.85)}
.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.badge{padding:4px 12px;border-radius:999px;border:1px solid rgba(243,197,104,.45);font-size:13px;color:var(--lantern-bright)}

/* Feedback board */
.fb-open{margin:16px 0 0}
.fb-write{margin-top:16px;scroll-margin-top:72px}
.fb-form-actions{display:flex;flex-wrap:wrap;gap:10px}
.paper .btn-quiet{color:var(--ink);border-color:#b99b78}
.fb-filters .count{font-weight:400;opacity:.75}
.fb-form{display:grid;gap:12px}
.fb-form label{display:grid;gap:4px;font-weight:700;font-size:14px}
.fb-form .hint{font-weight:400;font-size:13px;color:var(--ink-soft)}
.fb-form input,.fb-form textarea,.fb-form select{
  width:100%;font:inherit;font-size:16px;padding:10px 12px;border-radius:10px;
  border:1px solid #b99b78;background:#fffcf4;color:var(--ink);
}
.fb-form textarea{min-height:120px;resize:vertical}
.fb-types{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0}
.fb-types legend{font-weight:700;font-size:14px;margin-bottom:6px}
.fb-types label{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid #b99b78;background:#fffcf4;font-weight:700;cursor:pointer}
.fb-types input{width:auto;margin:0}
.fb-types label:has(input:checked){background:#f3c568;border-color:#c98f2f}
.fb-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.fb-status{min-height:1.5em;font-weight:700}
.fb-status.ok{color:var(--moss)}
.fb-status.err{color:var(--momiji)}
.fb-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.fb-filters button{min-height:36px;padding:4px 14px;font-size:14px}
.fb-filters button[aria-pressed="true"]{background:var(--lantern);color:var(--ink);border-color:var(--lantern)}
.fb-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.fb-post{padding:14px 16px}
.fb-post header{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:6px;font-size:13px;color:rgba(242,235,221,.75)}
.fb-post .type{padding:2px 10px;border-radius:999px;font-weight:800;font-size:12px;background:rgba(243,197,104,.18);color:var(--lantern-bright)}
.fb-post .type.bug{background:rgba(185,72,46,.28);color:#ffb39f}
.fb-post .type.japanese{background:rgba(95,125,79,.32);color:#cfe7c2}
.fb-post p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.fb-empty{padding:18px;text-align:center}
.notice{padding:12px 14px;border-radius:10px;background:rgba(243,197,104,.12);border:1px solid rgba(243,197,104,.4);color:var(--washi)}

/* Text pages */
.doc .card{line-height:1.7}
.doc ul{padding-left:20px;margin:0 0 12px}
.doc li{margin-bottom:6px}

.site-foot{border-top:1px solid rgba(243,197,104,.18);padding:20px 16px 36px;text-align:center;font-size:13px;color:rgba(242,235,221,.65)}
.site-foot a{margin:0 8px}

@media (max-width:760px){
  /* A swipeable strip on phones and small tablets: about one and a half screens show. */
  .shots{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:12px -16px 0;padding:0 16px 8px;scroll-padding:0 16px}
  .shots li{flex:0 0 62%;scroll-snap-align:start}
}
@media (max-width:520px){
  .site-nav{gap:4px 12px}
  .site-nav .brand span{display:none}
  /* The brand already goes to the About page; one row on a phone. */
  .site-nav a.nav-about{display:none}
  .wrap{padding:18px 16px 40px}
  .card{padding:14px}
}
