/* =========================================================
   AMIX GAMES AWARD 2026（web-g-games/award/2026/award.css）
   レッドカーペットの授賞式：深い赤のベルベット・金・黒。題字は Cinzel、日本語の見出しはしっぽり明朝
   年ごとに CSS を分ける（翌年のデザインを変えても、確定した年のページが崩れないように）
   角丸の物差し：--r1 2px（画像・札）／--r2 4px（ボタン・カード）。金の縁は1px
   ========================================================= */
:root {
  --bg: #0b0306;
  --velvet: #5c0614;
  --velvet2: #8a0c22;
  --ink: #f6eee2;
  --dim: rgba(246, 238, 226, 0.68);
  --mute: rgba(246, 238, 226, 0.42);
  --line: rgba(240, 199, 90, 0.28);
  --gold: linear-gradient(115deg, #fff4c2 0%, #f0c75a 30%, #b8862b 55%, #f7e1a0 78%, #c9952f 100%);
  --gold1: #f0c75a;
  --gold2: #b8862b;
  --silver: linear-gradient(115deg, #ffffff 0%, #cfd6df 35%, #8d97a3 60%, #eef2f6 100%);
  --bronze: linear-gradient(115deg, #ffe0c2 0%, #d58c4c 35%, #8a4a1c 60%, #f0b27c 100%);
  --f-cap: "Cinzel", "Shippori Mincho", serif;
  --f-it: "Cormorant Garamond", "Shippori Mincho", serif;
  --f-min: "Shippori Mincho", serif;
  --f-ja: "Noto Sans JP", system-ui, sans-serif;
  --pad: clamp(18px, 5vw, 72px);
  --r1: 2px;
  --r2: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ja); line-height: 1.8; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }   /* width/height 属性は読み込み中の場所取り用。縦横比は CSS の aspect-ratio で決める */
.aw-defs, .amxg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 幕が開くまで、ヘッダーとヒーローの文字は隠す（幕は書体がそろってから開く。幕が無い＝JavaScript が無いときは最初から出す） */
.js .hero-in, .js .top { opacity: 0; }
.js.is-open .top { opacity: 1; transition: opacity 0.8s ease 0.9s; }
.js.is-open .hero-in { opacity: 1; transition: opacity 1.1s ease 0.7s; }

/* 金の文字 */
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- ヘッダー ---- */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 22px; padding: 12px var(--pad); background: linear-gradient(180deg, rgba(11, 3, 6, 0.9), rgba(11, 3, 6, 0)); transition: background 0.3s, box-shadow 0.3s; }
.top.is-scrolled { background: rgba(11, 3, 6, 0.9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top-logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.top-mark { display: block; height: 16px; width: auto; fill: var(--ink); }
.top-sub { font-family: var(--f-cap); font-weight: 500; font-size: 10px; letter-spacing: 0.32em; color: var(--gold1); }
.top-nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--f-cap); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; }
.top-nav a { text-decoration: none; color: var(--dim); transition: color 0.2s; }
.top-nav a:hover { color: var(--gold1); }
.top-back { font-weight: 700; font-size: 12px; text-decoration: none; padding: 8px 16px; border-radius: var(--r2); border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s; }
.top-back:hover { border-color: var(--gold1); color: var(--gold1); }

/* ---- ヒーロー ---- */
/* 作品名・見出しの折り返し：auto-phrase＝日本語の文節で折る（Chrome）。対応していないブラウザは normal（1文字単位） */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px var(--pad) 120px; overflow: hidden; text-align: center;
  background: radial-gradient(60% 50% at 50% 38%, #3a0710 0%, #12030a 60%, var(--bg) 100%); }
.world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 42%, rgba(11, 3, 6, 0) 0%, rgba(11, 3, 6, 0.25) 55%, rgba(11, 3, 6, 0.8) 100%), linear-gradient(180deg, rgba(11, 3, 6, 0) 70%, var(--bg) 100%); }
.hero { place-items: start center; }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; pointer-events: none; margin-top: clamp(0px, 3vh, 40px); }   /* 題字は上に。トロフィーは下に見せる */
.hero-k { margin: 0 0 18px; font-family: var(--f-cap); font-weight: 500; font-size: clamp(10px, 1.1vw, 13px); letter-spacing: 0.42em; color: var(--dim); }
.hero-k i { font-family: var(--f-it); font-style: italic; font-weight: 400; letter-spacing: 0.06em; font-size: 1.3em; color: var(--gold1); text-transform: none; }
.hero-title { margin: 0; font-weight: 400; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hero-brand { font-family: var(--f-cap); font-weight: 500; font-size: clamp(14px, 1.9vw, 24px); letter-spacing: 0.6em; margin-right: -0.6em; color: var(--ink); }
.hero-award, .hero-year { font-family: var(--f-cap); font-weight: 900; background: var(--gold); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(240, 199, 90, 0.28)); animation: shine 8s ease-in-out infinite; }
.hero-award { font-size: clamp(60px, 10.5vw, 160px); letter-spacing: 0.08em; margin: 8px -0.08em 0 0; }
.hero-year { font-size: clamp(34px, 5.2vw, 80px); letter-spacing: 0.3em; margin-right: -0.3em; }
/* 金の光は8秒のうち約2秒で通り抜け、残りは止める（止まっている間は描きなおさない＝軽い） */
@keyframes shine { 0% { background-position: 0% 0; } 28% { background-position: 220% 0; } 100% { background-position: 220% 0; } }
.hero-ja { word-break: normal; word-break: auto-phrase; text-wrap: balance; margin: 16px 0 0; font-family: var(--f-min); font-weight: 600; font-size: clamp(15px, 1.7vw, 20px); letter-spacing: 0.14em; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9); }
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--r2); background: rgba(11, 3, 6, 0.55); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.hero-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold1); box-shadow: 0 0 10px var(--gold1); }
.hero-status.is-final .dot { background: #fff; box-shadow: 0 0 10px #fff; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-cap); font-size: 10px; letter-spacing: 0.4em; color: var(--mute); }
.hero-scroll i { width: 1px; height: 40px; background: linear-gradient(var(--gold1), transparent); animation: drop 2s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---- 節 ---- */
.sec { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--pad) 0; }
.sec-head { text-align: center; margin-bottom: clamp(30px, 5vw, 54px); }
.sec-k { margin: 0; font-family: var(--f-cap); font-weight: 500; font-size: 12px; letter-spacing: 0.5em; margin-right: -0.5em; color: var(--gold1); }
.sec-ja { margin: 10px 0 0; font-family: var(--f-min); font-weight: 700; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.3; letter-spacing: 0.12em; }
.sec-sub { margin: 12px 0 0; font-size: 14px; color: var(--dim); }
.sec-head::after { content: ""; display: block; width: 72px; height: 1px; margin: 22px auto 0; background: var(--gold); }

/* 見えたらふわっと */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero-award, .hero-year { animation: none; } }

/* 画像の額（金の縁） */
.frame { position: relative; display: block; border-radius: var(--r1); padding: 1px; background: var(--gold); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4); }
.frame img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; border-radius: 1px; }
.frame.is-silver { background: var(--silver); }
.frame.is-bronze { background: var(--bronze); }

/* ボタン */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; border-radius: var(--r2); background: var(--gold); color: #1a0d02; font-weight: 900; font-size: 14px; letter-spacing: 0.06em; text-decoration: none; box-shadow: 0 14px 34px -14px rgba(240, 199, 90, 0.7); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(240, 199, 90, 0.9); }
.btn::after { content: "→"; font-weight: 400; }

/* ---- 大賞 ---- */
.gp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gp-art { position: relative; }
.gp-art .frame { transform: perspective(1200px) rotateY(-6deg); }
.gp-laurel { position: absolute; inset: -14% -10% auto; height: 128%; width: 120%; pointer-events: none; display: flex; justify-content: space-between; opacity: 0.9; }
.gp-laurel svg { height: 100%; width: auto; fill: url(#awGold); }
.gp-laurel svg:last-child { transform: scaleX(-1); }
.gp-no { margin: 0; font-family: var(--f-cap); font-weight: 900; font-size: clamp(16px, 1.5vw, 18px); letter-spacing: 0.3em; }
.gp-name { margin: 12px 0 0; font-family: var(--f-min); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.35; letter-spacing: 0.04em; text-wrap: balance; word-break: normal; word-break: auto-phrase; }
.gp-en { margin: 8px 0 0; font-family: var(--f-it); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); color: var(--gold1); }
.gp-sub { margin: 14px 0 0; font-size: 14px; color: var(--dim); }
.gp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--r1); font-size: 12px; font-weight: 700; color: var(--dim); }
.tag.is-kids { border-color: rgba(255, 210, 63, 0.6); color: #ffd23f; }
@media (max-width: 760px) { .gp { grid-template-columns: 1fr; } .gp-art .frame { transform: none; } .gp-txt { text-align: center; } .gp-meta { justify-content: center; } }

/* ---- 2位・3位 ---- */
.ru { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 44px); }
.ru-item a { display: block; text-decoration: none; }
.ru-no { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-cap); font-weight: 900; }
.ru-no b { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.ru-no span { font-size: 13px; letter-spacing: 0.3em; }
.ru-item:nth-child(1) .ru-no { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ru-item:nth-child(2) .ru-no { background: var(--bronze); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ru-name { margin: 16px 0 0; text-align: center; font-family: var(--f-min); font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; word-break: normal; word-break: auto-phrase; text-wrap: balance; }
.ru-en { margin: 4px 0 0; text-align: center; font-family: var(--f-it); font-style: italic; font-size: 16px; color: var(--dim); }
.ru-item a:hover .frame { transform: translateY(-4px); }
.ru-item .frame { transition: transform 0.4s var(--ease); }
@media (max-width: 640px) { .ru { grid-template-columns: 1fr; } }

/* ---- TOP10（4〜10位） ---- */
.tl { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; border-top: 1px solid var(--line); }
.tl-item a { display: grid; grid-template-columns: 64px 128px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.25s; }
.tl-item a:hover { background: linear-gradient(90deg, rgba(240, 199, 90, 0.08), transparent 70%); }
.tl-no { font-family: var(--f-cap); font-weight: 900; font-size: 30px; text-align: center; }
.tl-img { width: 128px; aspect-ratio: 20 / 13; object-fit: cover; border-radius: var(--r1); }
.tl-name { display: block; font-family: var(--f-min); font-weight: 700; font-size: 18px; line-height: 1.45; word-break: normal; word-break: auto-phrase; }
.tl-en { display: block; font-family: var(--f-it); font-style: italic; font-size: 15px; color: var(--dim); }
.tl-go { font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.24em; color: var(--gold1); }
@media (max-width: 640px) { .tl-item a { grid-template-columns: 40px 96px minmax(0, 1fr); gap: 12px; } .tl-img { width: 96px; } .tl-go { display: none; } .tl-no { font-size: 24px; } .tl-name { font-size: 15px; } }

/* ---- 部門賞 ---- */
.sp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.sp-card { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r2); text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(138, 12, 34, 0.55), rgba(18, 3, 10, 0.9) 70%); border: 1px solid var(--line); }
.sp-k { margin: 0; font-family: var(--f-cap); font-weight: 500; font-size: 11px; letter-spacing: 0.4em; color: var(--gold1); }
.sp-ja { margin: 8px 0 0; font-family: var(--f-min); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.08em; }
.sp-sub { margin: 6px 0 20px; font-size: 13px; color: var(--dim); }
.sp-body a { display: block; text-decoration: none; }
.sp-name { margin: 14px 0 0; font-family: var(--f-min); font-weight: 700; font-size: 19px; line-height: 1.45; word-break: normal; word-break: auto-phrase; }
.sp-note { margin: 6px 0 0; font-size: 12px; color: var(--mute); }
.sp-card[hidden] { display: none; }
@media (max-width: 760px) { .sp { grid-template-columns: 1fr; } }

/* ---- 月間MVP ---- */
.mo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.mo-item a { display: block; text-decoration: none; padding: 14px; border-radius: var(--r2); border: 1px solid var(--line); background: rgba(18, 3, 10, 0.7); transition: border-color 0.25s, transform 0.3s var(--ease); }
.mo-item a:hover { border-color: var(--gold1); transform: translateY(-3px); }
.mo-m { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; }
.mo-m b { font-family: var(--f-cap); font-weight: 900; font-size: 20px; letter-spacing: 0.1em; }
.mo-m span { font-size: 12px; color: var(--mute); }
.mo-img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; border-radius: var(--r1); }
.mo-name { display: block; margin: 10px 0 0; font-family: var(--f-min); font-weight: 700; font-size: 15px; line-height: 1.45; word-break: normal; word-break: auto-phrase; }
.mo-item.is-now a { border-style: dashed; }
.mo-item a { position: relative; }
.mo-streak { position: absolute; top: 46px; right: 20px; padding: 2px 9px; border-radius: var(--r1); background: var(--gold); color: #1a0d02; font-size: 11px; font-weight: 900; letter-spacing: 0.04em; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.8); }   /* 同じ作品が続けて1位 */

/* ---- 集計について ---- */
.ab { max-width: 820px; margin: 0 auto; font-size: 14px; color: var(--dim); }
.ab > p { margin: 0 0 22px; }
.ab-list { margin: 0; border-top: 1px solid var(--line); }
.ab-list div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ab-list dt { font-weight: 700; color: var(--ink); }
.ab-list dd { margin: 0; }
.ab-more { margin-top: 22px !important; }
.ab-more a { color: var(--gold1); text-underline-offset: 4px; }
@media (max-width: 560px) { .ab-list div { grid-template-columns: 1fr; gap: 4px; } }

/* ---- 締め ---- */
.cta { max-width: 1180px; margin: clamp(90px, 14vh, 150px) auto 0; padding: 0 var(--pad); text-align: center; }
.cta-k { margin: 0; font-family: var(--f-cap); font-weight: 500; font-size: 11px; letter-spacing: 0.44em; color: var(--gold1); }
.cta-ja { margin: 14px 0 28px; font-family: var(--f-min); font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.6; letter-spacing: 0.06em; }

/* ---- フッター ---- */
.foot { margin-top: clamp(80px, 12vh, 130px); padding: 40px var(--pad) 50px; border-top: 1px solid var(--line); text-align: center; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 12.5px; }
.foot-nav a { color: var(--dim); text-decoration: none; }
.foot-nav a:hover { color: var(--gold1); }
.foot-c { margin: 22px 0 0; font-size: 11.5px; color: var(--mute); line-height: 2; }
.foot-c a { color: inherit; }

/* データが無いとき */
.aw-empty { text-align: center; color: var(--mute); font-size: 14px; }

/* ---- 暫定のハンコ（年内＝確定前だけ。award-2026.js が画像の額に足す） ----
   画面に入ったら、上から大きく落ちてきてポンと押される */
.stamp { position: absolute; z-index: 2; right: 5%; bottom: 7%; width: clamp(74px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: #d4142f; border: 3px solid currentColor; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.0), inset 0 0 0 5px currentColor;
  background: radial-gradient(circle, rgba(255, 246, 238, 0.86) 0 62%, rgba(255, 246, 238, 0.7) 100%);
  transform: rotate(-14deg); opacity: 0.94; pointer-events: none;
  -webkit-mask: radial-gradient(circle at 30% 70%, #000 0 55%, rgba(0, 0, 0, 0.82) 70%, #000 100%); mask: radial-gradient(circle at 30% 70%, #000 0 55%, rgba(0, 0, 0, 0.82) 70%, #000 100%); }
.stamp b { font-family: var(--f-min); font-weight: 700; font-size: clamp(20px, 2.5vw, 30px); line-height: 1; letter-spacing: 0.08em; margin-right: -0.08em; }
.stamp small { font-family: var(--f-cap); font-weight: 900; font-size: clamp(6px, 0.62vw, 8px); letter-spacing: 0.14em; line-height: 1.2; }
.ru .stamp, .sp .stamp { width: clamp(62px, 7vw, 88px); }
.ru .stamp b, .sp .stamp b { font-size: clamp(17px, 2vw, 24px); }
.rv .stamp { opacity: 0; transform: scale(2.6) rotate(-24deg); }
.rv.is-in .stamp { animation: stampIn 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; animation-delay: calc(var(--d, 0s) + 0.7s); }
@keyframes stampIn {
  0% { opacity: 0; transform: scale(2.6) rotate(-24deg); }
  55% { opacity: 1; transform: scale(0.9) rotate(-12deg); }
  75% { transform: scale(1.05) rotate(-14deg); }
  100% { opacity: 0.94; transform: scale(1) rotate(-14deg); }
}
@media (prefers-reduced-motion: reduce) { .rv .stamp, .rv.is-in .stamp { animation: none; opacity: 0.94; transform: rotate(-14deg); } }

/* OGP を撮るとき（?ogp=1）：ヘッダー・札・案内を隠す */
.is-ogp .top, .is-ogp .hero-status, .is-ogp .hero-scroll { display: none !important; }

/* ---- 幕（読み込みの演出） ----
   閉じた幕：ベルベットのひだ（くり返しのグラデーション）・中央の合わせ目の影・裾の金の房・上の飾り幕
   開く：左右にたぐり寄せられるように（動きながら横に縮む）。上の飾り幕は引き上がる */
.curtain { display: none; }
.js .curtain { display: block; position: fixed; inset: 0; z-index: 60; overflow: hidden; }
.js .curtain[hidden] { display: none; }
.curtain-half { position: absolute; top: 0; bottom: 0; width: 50.5%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0.1) 1.6%, rgba(255, 90, 110, 0.13) 3.4%, rgba(0, 0, 0, 0.12) 5.2%, rgba(0, 0, 0, 0.42) 7%),
    radial-gradient(120% 70% at 50% 0%, rgba(255, 120, 130, 0.18), transparent 60%),
    linear-gradient(180deg, #8a0c22 0%, #5c0614 55%, #2c020a 100%);
  transition: transform 1.6s cubic-bezier(0.72, 0, 0.18, 1); will-change: transform; }
.curtain-l { left: 0; transform-origin: left center; box-shadow: inset -30px 0 40px -10px rgba(0, 0, 0, 0.7); }
.curtain-r { right: 0; transform-origin: right center; box-shadow: inset 30px 0 40px -10px rgba(0, 0, 0, 0.7); }
.curtain-half::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
  background: repeating-linear-gradient(90deg, #f6d67a 0 2px, #b8862b 2px 4px, #6e4610 4px 5px); box-shadow: 0 -3px 0 #c9952f, 0 -5px 10px rgba(0, 0, 0, 0.5); }
.curtain-valance { position: absolute; left: 0; right: 0; top: 0; height: clamp(46px, 9vh, 90px); z-index: 2;
  background:
    radial-gradient(60px 26px at 30px 100%, transparent 60%, #4a0410 62%) 0 0 / 60px 100% repeat-x,
    linear-gradient(180deg, #8a0c22, #5c0614);
  border-bottom: 2px solid #c9952f; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55); transition: transform 1.2s cubic-bezier(0.72, 0, 0.18, 1) 0.15s; }
.curtain-emblem { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; line-height: 1;
  transition: opacity 0.45s ease, transform 0.45s ease; }
.ce-k { font-family: var(--f-cap); font-weight: 500; font-size: clamp(11px, 1.3vw, 15px); letter-spacing: 0.6em; margin-right: -0.6em; color: #f6eee2; }
.ce-t, .ce-y { font-family: var(--f-cap); font-weight: 900; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55)); }
.ce-t { font-size: clamp(40px, 7vw, 92px); letter-spacing: 0.08em; margin: 10px -0.08em 0 0; }
.ce-y { font-size: clamp(22px, 3.4vw, 42px); letter-spacing: 0.3em; margin-right: -0.3em; }
.ce-bar { display: block; width: clamp(120px, 16vw, 200px); height: 2px; margin-top: 22px; background: rgba(246, 238, 226, 0.18); overflow: hidden; }
.ce-bar b { display: block; height: 100%; width: calc(var(--p, 0.08) * 100%); background: var(--gold); transition: width 0.4s ease; }
.is-open .curtain { pointer-events: none; }
.is-open .curtain-emblem { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
.is-open .curtain-l { transform: translateX(-96%) scaleX(0.55); }
.is-open .curtain-r { transform: translateX(96%) scaleX(0.55); }
.is-open .curtain-valance { transform: translateY(-110%); }
/* 2回目（同じタブ）は短く */
.is-quick .curtain-half { transition-duration: 0.9s; }
.is-quick .curtain-valance { transition-duration: 0.7s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .curtain-half, .curtain-valance { transition: none; }
  .js .curtain { transition: opacity 0.5s ease; }
  .is-open .curtain { opacity: 0; }
  .is-open .curtain-l, .is-open .curtain-r, .is-open .curtain-valance { transform: none; }
}
.is-ogp .curtain { display: none !important; }
.is-ogp .hero-in, .is-ogp .top { opacity: 1 !important; }

/* 布の幕（award.js の makeCloth）：描けたら CSS の幕と入れかえる。開ききったら、両端の布もふわっと消す */
.curtain-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.has-cloth .curtain-half { display: none; }
.curtain.is-gone { opacity: 0; transition: opacity 0.7s ease; }

/* ---------- 幕を開ける操作（2026-11-11）：準備ができたら出る。音ありで開ける／音なしで開ける ---------- */
.ce-gate { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; pointer-events: auto; animation: ce-in 0.7s ease both; }
.ce-gate[hidden] { display: none; }
@keyframes ce-in { from { opacity: 0; transform: translateY(8px); } }
.curtain.is-gate .ce-bar { display: none; }
.ce-open { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 34px 12px; border: 1px solid rgba(240, 210, 140, 0.6); border-radius: 100px; background: rgba(20, 4, 8, 0.45); color: #f6eee2; cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.3s; box-shadow: 0 0 0 0 rgba(240, 210, 140, 0.4); animation: ce-pulse 2.4s ease-in-out 1s infinite; }
.ce-open-en { font-family: var(--f-cap); font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 0.32em; margin-right: -0.32em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ce-open-ja { white-space: nowrap; font-size: 12px; letter-spacing: 0.08em; color: rgba(246, 238, 226, 0.8); }
.ce-open:hover, .ce-open:focus-visible { background: rgba(60, 12, 20, 0.6); border-color: rgba(240, 210, 140, 0.95); transform: scale(1.03); }
.ce-open:focus-visible { outline: 2px solid rgba(240, 210, 140, 0.9); outline-offset: 4px; }
@keyframes ce-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 210, 140, 0); } 50% { box-shadow: 0 0 26px 2px rgba(240, 210, 140, 0.28); } }
.ce-mute { padding: 6px 14px; border: 0; background: none; color: rgba(246, 238, 226, 0.62); font-size: 12px; letter-spacing: 0.06em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ce-mute:hover, .ce-mute:focus-visible { color: #f6eee2; }
/* ヘッダーの SOUND（開いたあとに出る） */
.top-snd { display: inline-flex; align-items: center; gap: 8px; margin-left: 0; padding: 8px 14px; border-radius: var(--r2); border: 1px solid var(--line); background: none; color: inherit; font-family: var(--f-cap); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.top-snd[hidden] { display: none; }
.top-snd span { color: rgba(246, 238, 226, 0.55); }
.top-snd.is-on span { color: var(--gold1); }
.top-snd:hover, .top-snd:focus-visible { border-color: var(--gold1); color: var(--gold1); }
.top-snd-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.top-snd-bars b { width: 2px; height: 30%; background: currentColor; opacity: 0.7; }
.top-snd.is-on .top-snd-bars b { animation: snd-bar 0.9s ease-in-out infinite; }
.top-snd.is-on .top-snd-bars b:nth-child(2) { animation-delay: 0.2s; }
.top-snd.is-on .top-snd-bars b:nth-child(3) { animation-delay: 0.4s; }
@keyframes snd-bar { 0%, 100% { height: 30%; } 50% { height: 100%; } }
/* 2026-11-12：SOUND は♪と波形だけ（文字は読み上げ用に隠す）＋右にメニュー。スマホでも1行 */
.top-r { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.top-snd { gap: 7px; padding: 0 12px; height: 36px; color: var(--dim); }
.top-snd-note { width: 15px; height: 15px; fill: currentColor; opacity: 0.6; transition: opacity 0.2s; }
.top-snd.is-on { color: var(--ink); }
.top-snd.is-on .top-snd-note { opacity: 1; color: var(--gold1); }
.top-snd-bars { height: 13px; }
.top-snd-bars b { height: 18%; }
.top-snd.is-on .top-snd-bars b:nth-child(4) { animation-delay: 0.6s; }
.top-snd .top-snd-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top .amx-menu-btn { font-family: var(--f-cap); font-weight: 700; font-size: 11px; color: var(--dim); transition: color 0.2s; }
.top .amx-menu-btn:hover, .top .amx-menu-btn:focus-visible { color: var(--gold1); }
#amxMenu { --mn-bg: #12050a; --mn-ink: var(--ink); --mn-dim: var(--dim); --mn-line: var(--line); --mn-accent: var(--gold1); --mn-f-big: var(--f-cap); --mn-f-k: var(--f-cap); }
@media (max-width: 640px) { .top-snd { padding: 0 10px; height: 34px; } .top .amx-menu-btn { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .ce-open, .top-snd.is-on .top-snd-bars b { animation: none; } }
/* 共通フッター（../../css/menu.css の .amx-foot・2026-11-12）の色。字はこのページの欧文（Cinzel） */
.amx-foot { --ft-bg: var(--bg); --ft-ink: var(--ink); --ft-dim: var(--dim); --ft-mute: var(--mute); --ft-line: var(--line); --ft-accent: var(--gold1); --ft-logo: var(--gold1); --ft-f-k: var(--f-cap); }

