/* ════════════════════════════════
   限界デイズ Webアプリ v3
   テーマ: ペンキスプラッシュ・ポップ
   ════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* メインカラー */
  --pink:        #e91e63;
  --pink-deep:   #c2185b;
  --pink-light:  #f06292;
  --yellow:      #ffd600;
  --yellow-deep: #f9a825;
  --blue:        #2196f3;
  --blue-deep:   #1976d2;

  /* テキスト */
  --ink:         #1a1a1a;
  --ink-soft:    #4a4a4a;
  --ink-muted:   #8a8a8a;

  /* 背景・サーフェス */
  --paper:       #fafafa;
  --paper-warm:  #fffaf0;
  --surface:     #ffffff;
  --surface-2:   #fff8e7;

  /* 線・影 */
  --line:        #1a1a1a;
  --line-soft:   rgba(26, 26, 26, 0.18);
  --shadow-card: 0 4px 0 #1a1a1a, 0 6px 24px rgba(0,0,0,0.12);
  --shadow-btn:  0 4px 0 #1a1a1a, 0 6px 14px rgba(0,0,0,0.18);

  /* 半径 */
  --radius-card: 18px;
  --radius-btn:  14px;
}

html, body {
  height: 100%;
}

/* ── 背景 ── */
body {
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic UI", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;

  background-color: var(--paper);
  background-image: url('assets/bg-splatter.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* スマホでは背景を少し抑えた表示に */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 0;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* score-toggle が固定表示される画面では下に余白を確保 */
.container.has-fixed-toggle {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0));
}

/* ── Header logo ── */
.logo {
  text-align: center;
  user-select: none;
  width: 100%;
}

.logo-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,0.12));
}

.logo-sub {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--ink);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  background: var(--yellow);
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}

/* ── Main ── */
.main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ── Screen sections ── */
section[data-screen] {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

section[data-screen][hidden] {
  display: none;
}

.screen-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-align: center;
  width: 100%;
  padding: 0.5rem 0;
  position: relative;
}

.screen-title::after {
  content: '';
  display: block;
  width: 50%;
  max-width: 200px;
  height: 4px;
  margin: 0.4rem auto 0;
  background: var(--pink);
  border-radius: 99px;
}

/* ══════════════════════════════════════
   [start] スタート画面
   ══════════════════════════════════════ */

.start-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
}

.hero-img {
  width: 100%;
  max-width: 340px;
  max-height: 48vh;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,0.15));
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--yellow);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.start-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════
   共通ボタン
   ══════════════════════════════════════ */

.btn {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1.4rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-btn);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.1s ease, filter 0.12s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-family: inherit;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: var(--shadow-btn);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.btn-primary:hover:not(:disabled) {
  background: var(--pink-deep);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink), 0 2px 6px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-btn);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-2);
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink), 0 2px 6px rgba(0,0,0,0.15);
}

.btn-text {
  background: transparent;
  color: var(--ink-soft);
  border: 2px solid var(--line-soft);
  box-shadow: none;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 700;
}

.btn-text:hover {
  background: rgba(0,0,0,0.04);
  color: var(--ink);
}

.btn-text:active {
  transform: scale(0.98);
}

/* お題を引く 大きいメインボタン */
.btn-draw {
  width: 100%;
  min-height: 76px;
  padding: 1rem 1.5rem;
  background: var(--yellow);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: var(--radius-btn);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--ink), 0 10px 20px rgba(0,0,0,0.18);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-family: inherit;
  transition: transform 0.08s ease, box-shadow 0.1s ease, background 0.15s ease;
  position: relative;
}

.btn-draw:hover:not(:disabled) {
  background: var(--yellow-deep);
}

.btn-draw:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--ink), 0 4px 8px rgba(0,0,0,0.15);
}

.btn-draw:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ── ルールボタン ── */
.btn-rules {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 0 var(--ink), 0 6px 12px rgba(0,0,0,0.15);
}

.btn-rules:hover {
  background: var(--blue-deep);
}

.btn-rules:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}

/* ══════════════════════════════════════
   [setup] プレイヤー登録
   ══════════════════════════════════════ */

.field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.field-label {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.player-count {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.count-btn {
  flex: 1 1 0;
  min-width: 36px;
  min-height: 52px;
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, transform 0.08s ease, box-shadow 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 3px 0 var(--ink);
  font-family: inherit;
  padding: 0;
}

.count-btn:hover {
  background: var(--surface-2);
}

.count-btn[aria-pressed="true"] {
  background: var(--pink);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.player-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.player-num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 0 var(--ink);
}

.player-input {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  -webkit-appearance: none;
  appearance: none;
}

.player-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.25);
}

.player-input::placeholder {
  color: var(--ink-muted);
  font-weight: 600;
}

.hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 600;
}

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════
   [home] ホーム画面
   ══════════════════════════════════════ */

.round-info {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.4rem 1.2rem;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
}

.dealer-guide {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  line-height: 1.7;
  padding: 1rem 0.5rem;
}

/* ══════════════════════════════════════
   [topic] お題表示
   ══════════════════════════════════════ */

.type-badge-floating {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
  box-shadow: 0 4px 0 var(--ink);
}

.type-badge-floating[hidden] {
  display: none;
}

.type-badge-stop {
  background: var(--pink);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.type-badge-continue {
  background: var(--blue);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/* ── お題カード ── */
.topic-card {
  width: 100%;
  background: var(--surface);
  border: 4px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 2.5rem 1.5rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 var(--ink), 0 10px 24px rgba(0,0,0,0.15);
  position: relative;
}

.topic-card.flash {
  animation: cardFlash 0.4s ease-out;
}

@keyframes cardFlash {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.02); box-shadow: 0 8px 0 var(--ink), 0 14px 32px rgba(233, 30, 99, 0.35); }
  100% { transform: scale(1); }
}

.topic-text {
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
  color: var(--ink);
  word-break: break-word;
  letter-spacing: 0.02em;
}

.topic-text.muted {
  color: var(--ink-muted);
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 700;
}

.topic-text.error {
  color: var(--pink-deep);
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  font-weight: 700;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)  scale(1); }
}

.topic-text.animate {
  animation: fadeIn 0.25s ease forwards;
}

.topic-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ══════════════════════════════════════
   [result] 結果発表
   ══════════════════════════════════════ */

.result-card {
  width: 100%;
  background: var(--surface);
  border: 4px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 0 var(--ink), 0 10px 24px rgba(0,0,0,0.15);
  position: relative;
}

.result-card::before {
  content: '🏆';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.result-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.winner-name {
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 900;
  color: var(--pink);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.03em;
  -webkit-text-stroke: 1px var(--ink);
  text-shadow:
    3px 3px 0 var(--ink),
    -1px -1px 0 var(--ink),
     1px -1px 0 var(--ink),
    -1px  1px 0 var(--ink);
}

.rank-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.rank-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.rank-row.is-winner {
  background: var(--yellow);
  font-weight: 900;
}

.rank-pos {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: 0.04em;
}

.rank-row.is-winner .rank-pos {
  color: var(--ink);
}

.rank-name {
  font-weight: 800;
  word-break: break-all;
}

.rank-score {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

/* ══════════════════════════════════════
   得点パネル開閉トグル
   ══════════════════════════════════════ */

.score-dock {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.6rem);
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  pointer-events: none;
}

.score-dock[hidden] {
  display: none;
}

.score-dock > * {
  pointer-events: auto;
}

.score-toggle {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0.7rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 3px 0 var(--ink), 0 -6px 20px rgba(0,0,0,0.12);
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.1s ease;
}

.score-toggle:hover {
  background: var(--surface-2);
}

.score-toggle:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

.score-toggle.is-open {
  background: var(--yellow);
}

.score-toggle.is-open:hover {
  background: var(--yellow-deep);
}

.score-toggle-arrow {
  font-size: 0.85em;
  line-height: 1;
}

/* ══════════════════════════════════════
   得点パネル
   ══════════════════════════════════════ */

#score-panel {
  width: 100%;
  max-height: 50vh;
  overflow-y: auto;
  margin: 0;
  padding: 0.8rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.score-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.score-cell {
  background: var(--surface-2);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-height: 86px;
  min-width: 0;
  box-shadow: 0 2px 0 var(--ink);
}

.score-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  padding: 0.15rem 0.3rem;
  border-radius: 6px;
  width: 100%;
  word-break: break-all;
  line-height: 1.25;
  min-height: 1.4em;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.score-name:hover {
  background: rgba(0,0,0,0.06);
}

.score-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  justify-content: center;
}

.score-btn {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 2px 0 var(--ink);
  font-family: inherit;
}

.score-btn[data-score-action="inc"] {
  background: var(--pink);
  color: #fff;
}

.score-btn[data-score-action="inc"]:hover:not(:disabled) {
  background: var(--pink-deep);
}

.score-btn[data-score-action="dec"]:hover:not(:disabled) {
  background: rgba(0,0,0,0.06);
}

.score-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 0 0 var(--ink);
}

.score-btn:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: 0 2px 0 var(--ink);
}

.score-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
  min-width: 1.2em;
  text-align: center;
}

/* ══════════════════════════════════════
   フッター（リセット & ブランド）
   ══════════════════════════════════════ */

.footer-reset {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.3rem;
}

.footer-reset[hidden] {
  display: none;
}

.footer-reset .btn-text {
  width: auto;
  padding: 0.4rem 1.2rem;
  min-height: 36px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  background: transparent;
}

.footer-reset .btn-text:hover {
  background: transparent;
  color: var(--ink-soft);
}

.app-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 2px dashed var(--line-soft);
  opacity: 0.7;
}

.app-footer[hidden] {
  display: none;
}

.anaguma-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* ══════════════════════════════════════
   ダイアログ
   ══════════════════════════════════════ */

dialog#confirm-dialog,
dialog#rename-dialog {
  border: 4px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  color: var(--ink);
  min-width: 280px;
  max-width: calc(100vw - 2rem);
  box-shadow: 0 8px 0 var(--ink), 0 14px 36px rgba(0,0,0,0.3);
  font-family: inherit;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

dialog#confirm-dialog p,
dialog#rename-dialog p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  color: var(--ink);
  text-align: center;
  font-weight: 800;
}

dialog#rename-dialog input {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  margin-bottom: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

dialog#rename-dialog input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.25);
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dialog-actions .btn {
  width: 100%;
}

/* ══════════════════════════════════════
   レスポンシブ
   ══════════════════════════════════════ */

@media (max-width: 360px) {
  .score-cell {
    min-height: 82px;
    padding: 0.4rem 0.3rem;
  }
  .score-name {
    font-size: 0.74rem;
  }
  .score-btn {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }
  .score-value {
    font-size: 1.05rem;
  }
  .winner-name {
    -webkit-text-stroke: 0.5px var(--ink);
    text-shadow:
      2px 2px 0 var(--ink),
      -1px -1px 0 var(--ink),
       1px -1px 0 var(--ink),
      -1px  1px 0 var(--ink);
  }
}
