/* =========================================================
   鈴木優香チャンネル 動画大賞2026
   ゆうか屋さんのトーン（ピンク #df005c / クリーム / 丸ゴシック）を踏襲。
   スマホ基準で組み、600px・960px から段組みを増やす。
   ボタンに影は付けない。動きは控えめ。
   ========================================================= */

:root {
  --gold: #c9a24a;
  --gold-hi: #f1d98c;
  --gold-grad: linear-gradient(135deg, #f3dd96 0%, #d4ad55 45%, #b58a2e 70%, #e9cd7c 100%);
  --red-deep: #7d0a1c;
  --cream: #fbf6ee;
  --cream-2: #f3e9d8;
  --pink: #b5122b;   /* アワードの赤 */
  --pink-mid: #d9283f;
  --pink-soft: #e6d3a3;   /* 淡い金 */
  --pink-bg: #f7e9e2;
  --yellow: #d8b45c;   /* 金 */
  --yellow-bg: #f6ecd0;
  --mint: #58cbb6;
  --mint-bg: #d7f4ee;
  --ink: #3a1d20;
  --ink-soft: #94767a;
  --line: #eadcc4;
  --white: #fff;

  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --card-shadow: 0 14px 30px -20px rgba(58, 29, 32, .38);

  /* 端末内蔵の書体のみ（Webフォントを読み込まない＝表示の切り替わりが起きない） */
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", sans-serif;
  --serif: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", serif;
  --en: Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1120px;
  --header-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  background-color: var(--cream);
  background-image: radial-gradient(rgba(181, 18, 43, .045) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
.en { font-family: var(--en); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--pink-mid); outline-offset: 2px; border-radius: 10px; }

/* ---------- ボタン（影なし） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: var(--pill);
  font-weight: 700; font-size: 14.5px; letter-spacing: .03em;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:visited { color: #fff; }
.btn-primary:hover { background: #980e23; }
.btn-primary:disabled { background: var(--pink-soft); color: #fff; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--pink-soft); color: var(--pink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:visited { color: #fff; }
.btn-dark:hover { background: #24100f; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 13px; }
.btn-sm .ico { width: 16px; height: 16px; }

.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 12px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-mark { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--pink); }
.brand-mark b { margin-left: .4em; color: var(--ink); }
.brand-name { font-weight: 900; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-cta {
  flex: none;
  padding: 7px 16px; border-radius: var(--pill);
  background: var(--pink); color: #fff !important;
  font-weight: 700; font-size: 12.5px;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(rgba(223, 0, 92, .06) 1.4px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(180deg, var(--pink-bg) 0%, var(--cream) 100%);
}
.hero-inner { display: grid; gap: 0; padding-top: 28px; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--pink); }
.hero h1 {
  margin-top: 8px;
  font-weight: 900; font-size: clamp(30px, 8.6vw, 54px); line-height: 1.38; letter-spacing: .01em;
}
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .06em; }
.hero-lead { margin-top: 14px; font-size: 14px; line-height: 1.9; max-width: 30em; }

.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; max-width: 460px; }
.hero-facts li {
  background: var(--white); border-radius: 16px; padding: 10px 8px 9px;
  text-align: center; border: 1.5px solid var(--pink-soft);
}
.fact-label { display: block; font-size: 10.5px; color: var(--ink-soft); font-weight: 700; letter-spacing: .04em; }
.fact-val { display: block; font-weight: 900; font-size: 13px; line-height: 1.4; margin-top: 2px; }
.fact-val b { font-family: var(--en); font-size: 22px; color: var(--pink); margin-right: 1px; }
.hero-btn { margin-top: 22px; width: 100%; max-width: 460px; }

/* 丸い顔写真アイコン（スマホは見出しの上、タブレット以上は右カラム） */
.hero-icon {
  position: relative; order: -1;
  width: 148px; margin: 0 0 18px;
}
.hero-icon::before {
  content: ""; position: absolute; inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 184, .32) 0%, rgba(255, 143, 184, 0) 70%);
}
.hero-icon img {
  position: relative; width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--white);
  outline: 2px solid var(--pink-soft); outline-offset: 4px;
  opacity: 0; transform: scale(.96);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-icon img.ready { opacity: 1; transform: none; }
.hero-copy { padding-bottom: 36px; }

/* ---------- セクション見出し ---------- */
.nominees { padding-top: 44px; }
.section-head { text-align: center; margin-bottom: 18px; }
.section-head .en { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--pink); margin-bottom: 4px; }
.section-head h2 { display: inline-block; position: relative; font-weight: 900; font-size: clamp(22px, 5.6vw, 32px); }
.section-head h2::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 6px;
  border-radius: 6px; background: var(--pink-soft); z-index: -1;
}
.section-head .lead { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- ツールバー（スクロールで上に固定） ---------- */
.toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  padding: 10px 0 8px;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.toolbar.is-stuck { border-bottom-color: var(--line); }
.toolbar .wrap { padding: 0; }
.toolbar-row { display: flex; gap: 8px; padding: 0 18px; }
.search {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 6px 0 14px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--pill);
  transition: border-color .2s var(--ease);
}
.search:focus-within { border-color: var(--pink-mid); }
.search .ico { color: var(--ink-soft); }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 16px; /* iOSのズーム防止 */
}
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-soft); }
.search-clear:hover { background: var(--pink-bg); color: var(--pink); }

.sort {
  position: relative; flex: none;
  display: flex; align-items: center;
  height: 44px; padding: 0 12px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--pill);
}
.sort .ico { width: 16px; height: 16px; color: var(--ink-soft); pointer-events: none; }
.sort select {
  appearance: none; -webkit-appearance: none;
  border: 0; outline: 0; background: transparent;
  font-size: 13px; font-weight: 700; padding: 0 2px 0 6px; cursor: pointer;
}

.chips {
  display: flex; gap: 6px; margin-top: 8px; padding: 0 18px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 14px;
  border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white);
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip small { font-family: var(--en); font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.chip:hover { border-color: var(--pink-soft); }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.chip:disabled { opacity: .4; cursor: default; }
.chips-month .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }

/* ---------- 件数・おまかせ ---------- */
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 12px; }
.result-bar p { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }
.result-bar p b { font-family: var(--en); font-size: 17px; color: var(--ink); margin-right: 2px; }

/* ---------- カード ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 40px; }
.card {
  position: relative;
  background: var(--white); border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .25s var(--ease);
  content-visibility: auto; contain-intrinsic-size: auto 330px;
}
.card.is-picked { border-color: var(--pink); }
.card.is-voted::after {
  content: "投票済み"; position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: var(--pill);
  background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 900;
}
.card-thumb {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; background: var(--cream-2); overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-thumb .dur {
  position: absolute; right: 8px; bottom: 8px;
  padding: 1px 8px; border-radius: 8px;
  background: rgba(40, 20, 30, .78); color: #fff; font-family: var(--en); font-size: 11.5px; font-weight: 700;
}
.card-thumb .play {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--pink);
  opacity: 0; transform: scale(.9);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.card-thumb .play .ico { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
@media (hover: hover) {
  .card:hover .card-thumb img { transform: scale(1.03); }
  .card:hover .card-thumb .play { opacity: 1; transform: none; }
}
.card-body { padding: 12px 14px 14px; }
.card-meta { display: flex; align-items: center; gap: 8px; font-family: var(--en); font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
.card-meta .no { color: var(--pink); }
.card-title {
  margin-top: 4px;
  font-size: 14.5px; font-weight: 700; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 3.2em;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.tag {
  padding: 1px 9px; border-radius: var(--pill);
  background: var(--cream-2); font-size: 11px; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.pick-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  height: 36px; padding: 0 14px 0 10px;
  border-radius: var(--pill); border: 1.5px solid var(--pink-soft);
  color: var(--pink); font-size: 12.5px; font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pick-btn .circle {
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor;
}
.pick-btn .circle .ico { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.pick-btn:hover { background: var(--pink-bg); }
.pick-btn[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.pick-btn[aria-pressed="true"] .circle { background: #fff; color: var(--pink); border-color: #fff; }
.pick-btn[aria-pressed="true"] .circle .ico { opacity: 1; }
.pick-btn:disabled { opacity: .45; cursor: default; background: none; }

.empty { text-align: center; padding: 50px 0 70px; color: var(--ink-soft); font-size: 14px; }
.empty .btn { margin-top: 14px; }

/* ---------- 投票きろく ---------- */
.history { padding: 30px 0 50px; background: var(--white); border-top: 1.5px dashed var(--line); }
.history-list { display: grid; gap: 10px; max-width: 640px; margin: 0 auto; }
.history-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 14px; background: var(--cream);
}
.history-list img { width: 92px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; flex: none; }
.history-list .h-date { font-family: var(--en); font-size: 11.5px; font-weight: 700; color: var(--pink); }
.history-list .h-title { font-size: 13px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 36px 0 calc(110px + var(--safe-b)); text-align: center; }
.footer-title { font-weight: 900; font-size: 15px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.footer-links a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--pink-soft); }
.footer-links a:visited { color: var(--pink-soft); }
.footer-links .ico { width: 14px; height: 14px; }
.footer-note { margin: 16px auto 0; max-width: 34em; font-size: 11.5px; line-height: 1.8; opacity: .75; }
.copy { margin-top: 14px; font-size: 11px; opacity: .55; letter-spacing: .08em; }

/* ---------- 下部ドック ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0 10px calc(10px + var(--safe-b));
  pointer-events: none;
  animation: dockIn .35s var(--ease);
}
@keyframes dockIn { from { transform: translateY(110%); } to { transform: none; } }
.dock-inner {
  pointer-events: auto;
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 8px;
  background: var(--white); border-radius: 22px;
  border: 1.5px solid var(--pink-soft);
  box-shadow: 0 18px 40px -16px rgba(58, 29, 32, .45);
}
.dock-thumb { width: 72px; aspect-ratio: 16/9; border-radius: 10px; object-fit: cover; flex: none; }
.dock-text { flex: 1; min-width: 0; line-height: 1.4; }
.dock-label { font-size: 10.5px; font-weight: 700; color: var(--pink); letter-spacing: .04em; }
.dock-title { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .btn { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.dock-wait { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 4px 6px; }
.dock-wait .ring {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: conic-gradient(var(--pink) var(--p, 0%), var(--pink-bg) 0);
}
.dock-wait .ring span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--pink); }
.dock-wait .ring .ico { width: 17px; height: 17px; }
.dock-time { font-family: var(--en); font-weight: 700; font-size: 19px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ---------- 詳細シート ---------- */
.sheet, .modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(40, 12, 16, .55); animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.sheet-panel {
  position: relative; width: 100%; max-height: calc(100dvh - 24px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream); border-radius: 26px 26px 0 0;
  padding-bottom: calc(18px + var(--safe-b));
  animation: up .35s var(--ease);
  outline: 0;
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-grip { width: 40px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .85); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 3; }
.sheet-close { position: absolute; top: 10px; right: 10px; z-index: 3; }
.player { position: relative; aspect-ratio: 16 / 9; background: #1d1015; border-radius: 26px 26px 0 0; overflow: hidden; }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player-start {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35));
}
.player-start span {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--pink); color: #fff;
}
.player-start .ico { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 4px; }
.sheet-body { padding: 16px 18px 0; }
.sheet-meta { font-family: var(--en); font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.sheet-meta .no { color: var(--pink); margin-right: 8px; }
.sheet-body h3 { margin-top: 4px; font-size: 17px; font-weight: 900; line-height: 1.6; }
.sheet-body .tags { margin-top: 10px; }
.sheet-body .tag { background: var(--white); }
.sheet-actions { display: grid; gap: 8px; margin-top: 18px; }
.sheet-actions .btn .ico { width: 16px; height: 16px; }
.sheet-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.sheet-nav span { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.nav-btn { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 8px; border-radius: var(--pill); font-size: 13px; font-weight: 700; }
.nav-btn:hover:not(:disabled) { background: var(--pink-bg); color: var(--pink); }
.nav-btn:disabled { opacity: .3; cursor: default; }

/* ---------- モーダル ---------- */
.modal-panel {
  position: relative; width: 100%;
  max-height: calc(100dvh - 24px); overflow-y: auto;
  background: var(--cream); border-radius: 26px 26px 0 0;
  padding: 24px 18px calc(18px + var(--safe-b));
  animation: up .35s var(--ease);
}
.modal-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--pink); text-align: center; }
.modal-panel h3 { text-align: center; font-size: 18px; font-weight: 900; margin-top: 2px; }
.pick-card { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 10px; background: var(--white); border-radius: 16px; }
.pick-card img { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; flex: none; }
.pick-card .pc-no { font-family: var(--en); font-size: 11.5px; font-weight: 700; color: var(--pink); }
.pick-card .pc-title { font-size: 13px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.modal-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.modal-note .ico { width: 15px; height: 15px; }
.form-error { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--pink-bg); color: var(--pink); font-size: 13px; font-weight: 700; text-align: center; }
.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 18px; }
.modal-actions-col { grid-template-columns: 1fr; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.thanks-panel { text-align: center; }
.thanks-mark {
  display: grid; place-items: center; width: 62px; height: 62px; margin: 4px auto 10px;
  border-radius: 50%; background: var(--pink); color: #fff;
}
.thanks-mark .ico { width: 30px; height: 30px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-panel .pick-card { text-align: left; }
.thanks-next { margin-top: 14px; font-size: 13px; font-weight: 700; line-height: 1.7; }
.thanks-next b { color: var(--pink); }

/* ---------- トースト ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); z-index: 100;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px);
  padding: 10px 18px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-align: center;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   タブレット（600px〜）
   ========================================================= */
@media (min-width: 600px) {
  :root { --header-h: 64px; }
  .wrap { padding: 0 28px; }
  .toolbar-row, .chips { padding: 0 28px; }
  .brand-name { font-size: 15px; }
  .header-cta { padding: 9px 20px; font-size: 13px; }

  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 10px; padding-top: 40px; }
  .hero-inner { align-items: center; }
  .hero-copy { padding-bottom: 48px; }
  .hero-icon { order: 0; width: min(100%, 280px); margin: 0 auto 24px; justify-self: center; }
    .hero-btn { width: auto; }


  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .sheet, .modal { align-items: center; padding: 24px; }
  .sheet-panel { max-width: 720px; border-radius: 26px; animation-name: pop; }
  .modal-panel { max-width: 460px; border-radius: 26px; padding: 28px 26px 24px; animation-name: pop; }
  @keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
  .sheet-grip { display: none; }
  .sheet-actions { grid-template-columns: 1.4fr 1fr; }
  .sheet-body { padding: 18px 24px 4px; }
  .sheet-panel { padding-bottom: 18px; }

  .dock { padding-bottom: calc(16px + var(--safe-b)); }
  .toast { bottom: calc(110px + var(--safe-b)); }
}

/* =========================================================
   PC（960px〜）
   ========================================================= */
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; padding-top: 56px; }
  .hero-copy { padding-bottom: 72px; }
  .hero-lead { font-size: 15px; }
  .hero-icon { width: 340px; }
  
  .toolbar .wrap { display: grid; grid-template-columns: 1fr; }
  .chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }

  .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .card:hover { transform: translateY(-3px); }
}

@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  :root { --wrap: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---- 見出しの折り返し・PCの写真サイズ調整 ---- */
.hero h1 .nw { white-space: nowrap; }
@media (min-width: 600px) and (max-width: 959px) {
  .hero h1 { font-size: clamp(28px, 5.2vw, 42px); }
}
@media (min-width: 960px) {
  .hero h1 { font-size: clamp(40px, 4.2vw, 56px); }
}


/* =========================================================
   アワード配色（赤 × 金）
   ========================================================= */
.brand-mark { color: var(--gold); }
.header-cta { background: var(--pink); }

/* ヒーローは深い赤に金のきらめき */
.hero {
  color: #fff;
  background:
    radial-gradient(rgba(241, 217, 140, .16) 1.2px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(120% 80% at 80% 10%, #c61a35 0%, rgba(198, 26, 53, 0) 60%),
    linear-gradient(170deg, #a3102a 0%, var(--red-deep) 100%);
  border-bottom: 3px solid var(--gold);
}
.hero-kicker { color: var(--gold-hi); }
.hero h1 { color: #fffaf0; }
.hero h1 .hl {
  background: none;
  color: transparent;
  background-image: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
}
.hero-lead { color: rgba(255, 248, 236, .9); }
.hero-facts li { background: rgba(255, 255, 255, .07); border-color: rgba(241, 217, 140, .55); }
.fact-label { color: rgba(255, 240, 210, .75); }
.fact-val { color: #fffaf0; }
.fact-val b { color: var(--gold-hi); }
.hero-btn { background: var(--gold-grad); color: var(--red-deep) !important; }
.hero-btn:hover { background: var(--gold-grad); filter: brightness(1.06); }
.hero-icon::before { background: radial-gradient(circle, rgba(241, 217, 140, .35) 0%, rgba(241, 217, 140, 0) 70%); }
.hero-icon img { border-color: #fffaf0; outline-color: var(--gold); }

/* 見出しの下線・番号を金に */
.section-head .en, .modal-kicker { color: var(--gold); }
.section-head h2::after { background: var(--yellow-bg); height: 7px; }
.card-meta .no, .sheet-meta .no, .pick-card .pc-no, .history-list .h-date { color: var(--pink); }
.card.is-voted::after { background: var(--gold-grad); color: var(--red-deep); }
.card.is-picked { border-color: var(--gold); outline: 2px solid var(--pink); outline-offset: -4px; }
.pick-btn { border-color: var(--line); }
.pick-btn[aria-pressed="true"] .circle { color: var(--pink); }
.chips-month .chip[aria-pressed="true"] { background: var(--red-deep); border-color: var(--red-deep); color: var(--gold-hi); }
.chips-month .chip[aria-pressed="true"] small { color: rgba(241, 217, 140, .8); }

/* ドック・完了 */
.dock-inner { border-color: var(--pink-soft); }
.dock-label { color: var(--gold); }
.dock-wait .ring { background: conic-gradient(var(--gold) var(--p, 0%), var(--yellow-bg) 0); }
.dock-wait .ring span { color: var(--pink); }
.thanks-mark { background: var(--gold-grad); color: var(--red-deep); }
.player-start span { background: var(--pink); }

/* 投票きろく・フッター */
.history { border-top-color: var(--pink-soft); }
.site-footer { background: var(--red-deep); border-top: 3px solid var(--gold); }
.footer-title { color: var(--gold-hi); }
.footer-links a, .footer-links a:visited { color: #f6e3b0; }
:focus-visible { outline-color: var(--gold); }

/* =========================================================
   ヒーロー写真を大きく（バッジなし）
   ========================================================= */
.hero-icon { order: -1; width: min(72vw, 300px); margin: 6px auto 26px; }
.hero-icon img {
  border: 0; outline: 0;
  /* 金の細い輪を二重に。白ぶちはやめて背景の赤になじませる */
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 9px rgba(125, 10, 28, .9), 0 0 0 10.5px rgba(241, 217, 140, .55);
}
.hero-icon::before { inset: -22%; background: radial-gradient(circle, rgba(241, 217, 140, .28) 0%, rgba(241, 217, 140, 0) 68%); }
.nominees { padding-top: 40px; }
@media (max-width: 599px) {
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-facts, .hero-btn { margin-left: auto; margin-right: auto; }
}
@media (min-width: 600px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-icon { order: 0; width: min(100%, 340px); margin: 0 auto 30px; }
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; padding-top: 48px; }
  .hero-copy { padding-bottom: 60px; }
  .hero-icon { width: min(460px, 60vh); margin-bottom: 34px; }
}

/* =========================================================
   アワード書体：見出し＝明朝 / 英字・数字＝Didot / 本文＝角ゴシック
   ========================================================= */
.hero h1, .section-head h2, .brand-name, .footer-title,
.modal-panel h3, .sheet-body h3, .thanks-next, .hero-badge {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: .04em;
}
.hero h1 { line-height: 1.42; }
.hero h1 .hl { font-weight: 800; }
.section-head h2 { font-size: clamp(24px, 5.8vw, 34px); }
.card-title { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; line-height: 1.65; }
.sheet-body h3 { font-size: 18px; line-height: 1.65; }
.fact-val { font-family: var(--serif); font-weight: 600; }
.fact-val b, .dock-time, .result-bar p b, .card-meta, .sheet-meta, .pick-card .pc-no, .history-list .h-date { font-family: var(--en); font-weight: 700; }
.fact-val b { font-size: 24px; }
.hero-kicker, .brand-mark, .section-head .en, .modal-kicker, .copy { font-family: var(--en); font-weight: 700; letter-spacing: .22em; }
.card-thumb .dur { font-family: var(--font); }
.btn, .chip, .pick-btn, .header-cta { font-family: var(--font); letter-spacing: .06em; }
.hero-btn { font-family: var(--serif); font-weight: 800; letter-spacing: .1em; }
@media (max-width: 420px) {
  .hero-kicker { font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
}

/* =========================================================
   背景：水玉をやめて、幕とつながるビロード＋スポットライトに
   ========================================================= */
body {
  background-image: none;
  background-color: var(--cream);
}
.hero {
  background:
    /* スポットライト */
    radial-gradient(55% 70% at 74% 38%, rgba(255, 214, 150, .20) 0%, rgba(255, 214, 150, 0) 70%),
    radial-gradient(90% 60% at 20% 0%, rgba(214, 40, 66, .45) 0%, rgba(214, 40, 66, 0) 70%),
    /* ごく薄いビロードのひだ */
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .10) 0, rgba(0, 0, 0, 0) 30px,
      rgba(255, 255, 255, .035) 46px, rgba(0, 0, 0, 0) 62px, rgba(0, 0, 0, .10) 92px),
    linear-gradient(175deg, #a3102a 0%, #860c20 55%, #6e0918 100%);
  box-shadow: inset 0 -1px 0 rgba(241, 217, 140, .35);
}
@media (max-width: 599px) {
  .hero {
    background:
      radial-gradient(80% 45% at 50% 22%, rgba(255, 214, 150, .22) 0%, rgba(255, 214, 150, 0) 70%),
      repeating-linear-gradient(90deg,
        rgba(0, 0, 0, .10) 0, rgba(0, 0, 0, 0) 22px,
        rgba(255, 255, 255, .035) 34px, rgba(0, 0, 0, 0) 46px, rgba(0, 0, 0, .10) 68px),
      linear-gradient(175deg, #a3102a 0%, #860c20 55%, #6e0918 100%);
  }
}

/* 内蔵書体用の微調整：ヒラギノ明朝は W3/W6 なので太字は 600 に統一 */
.hero h1, .section-head h2, .brand-name, .footer-title,
.modal-panel h3, .sheet-body h3, .thanks-next, .hero-btn { font-weight: 600; }
.card-title { font-weight: 600; }
body { font-weight: 400; }
