/* ==========================================================================
   神準一發 (NQ OneShot)
   簡約清晰、手機優先社群風格
   ========================================================================== */

:root {
  /* --- 色彩規範：1個深藍主色 + 中性灰 + 獎牌金 --- */
  --bg: #0f141c;
  --surface: #171d27;
  --surface-2: #1e2633;
  --surface-3: #273142;
  --surface-card: #171d27;

  --line: #263040;
  --line-strong: #364459;

  --text-main: #f1f5f9;
  --text-sub: #cbd5e1;
  --text-muted: #8090a7;
  --text-dim: #5c6b80;

  /* 主強調色：乾淨沉穩的寶石藍，不使用青藍光暈與霓虹發光 */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #2563eb;

  /* 勝負標記 */
  --win: #10b981;
  --win-bg: rgba(16, 185, 129, 0.12);
  --win-border: rgba(16, 185, 129, 0.35);

  --lose: #ef4444;
  --lose-bg: rgba(239, 68, 68, 0.1);
  --lose-border: rgba(239, 68, 68, 0.3);

  /* 金色：僅專供冠軍、獎牌與前三名使用 */
  --gold: #f59e0b;
  --gold-bg: rgba(245, 158, 11, 0.14);
  --gold-border: rgba(245, 158, 11, 0.4);

  /* LINE 官方規範綠色 */
  --line-green: #06C755;
  --line-green-hover: #05b34c;

  /* --- 字體規範 --- */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* --- 圓角與間距 --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   全域基底樣式
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 14px 24px;
}

/* ==========================================================================
   頂部標頭（簡潔乾淨）
   ========================================================================== */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 29, 39, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  text-align: center;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-logo-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-info {
  text-align: left;
}

header.top h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  background: var(--surface-2);
  color: var(--text-sub);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}

header.top .sub {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 1px;
}

/* ==========================================================================
   卡片容器
   ========================================================================== */
.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.muted {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 8px;
}

/* ==========================================================================
   首頁主角：今日題目與填答區（視覺焦點強化）
   ========================================================================== */
.hero-question-card {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-top: 3px solid var(--primary);
  padding: 20px 16px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-question-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.hero-question-card .daily-question-summary {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.daily-question-toggle {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.daily-question-toggle .when-open,
.daily-question[open] .daily-question-toggle .when-closed {
  display: none;
}

.daily-question[open] .daily-question-toggle .when-open {
  display: inline;
}

.hero-question-desc {
  color: var(--text-sub);
  font-size: 13.5px;
  margin-bottom: 14px;
}

.countdown-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  margin: 12px 0 14px;
  text-align: center;
}

.countdown {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin: 2px 0;
}

.countdown.past {
  color: var(--lose);
}

.countdown-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 巨幅點位輸入框 */
.prediction-input-wrap {
  position: relative;
  margin: 10px 0 8px;
}

.prediction-input-wrap input[type=number] {
  font-size: 26px;
  text-align: center;
  padding: 14px 50px 14px 16px;
  background: #11161f;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 700;
}

.prediction-input-wrap input[type=number]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.prediction-unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

/* 微調按鈕 */
.quick-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.step-btn {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-sub);
  border-radius: var(--radius-xs);
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.step-btn:hover,
.step-btn:active {
  background: var(--surface-3);
  color: var(--text-main);
}

/* ==========================================================================
   表單輸入
   ========================================================================== */
.field {
  margin-bottom: 12px;
  text-align: left;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 5px;
}

input[type=number],
input[type=text],
input[type=date],
input[type=time],
select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  color: var(--text-main);
  font-size: 15px;
  font-family: var(--font-sans);
  appearance: none;
  -webkit-appearance: none;
}

input[type=number] {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  background: #11161f;
}

input[type=time] {
  appearance: auto;
  -webkit-appearance: auto;
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
}

.week-nav .btn {
  width: auto;
  margin: 0;
  padding: 8px 12px;
}

.week-nav strong {
  text-align: center;
  font-size: 13px;
}

.weekday-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.weekday-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-sub);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.weekday-option strong {
  color: var(--text-main);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.weekday-option:hover {
  border-color: var(--primary);
}

.weekday-option.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.weekday-option.selected strong {
  color: #ffffff;
}

.weekday-option:focus-visible,
.week-nav .btn:focus-visible {
  outline: 2px solid var(--text-main);
  outline-offset: 2px;
}

.question-editor,
.question-result-editor {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.question-editor h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.question-editor-actions {
  display: flex;
  gap: 8px;
}

.question-editor-actions .btn {
  flex: 1;
}

.question-result-editor strong {
  display: block;
  margin-bottom: 4px;
}

.daily-question + .daily-question {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

/* ==========================================================================
   按鈕
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
  margin-top: 8px;
}

.btn:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* LINE 登入按鈕（遵循官方綠色） */
.btn.line {
  background: var(--line-green);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 16px;
}

.btn.line:hover:not(:disabled) {
  background: var(--line-green-hover);
}

.line-icon-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn.secondary {
  background: var(--surface-2);
  color: var(--text-main);
  border: 1px solid var(--line);
}

.btn.secondary:hover:not(:disabled) {
  background: var(--surface-3);
}

.btn.danger {
  background: var(--lose);
}

/* 次要登入方式手風琴 */
.guest-accordion {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.guest-accordion summary {
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  list-style: none;
}

.guest-accordion summary::-webkit-details-marker {
  display: none;
}

.guest-accordion summary:hover {
  color: var(--text-sub);
}

.guest-box {
  margin-top: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
}

/* ==========================================================================
   狀態訊息
   ========================================================================== */
.status-msg {
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  display: none;
}

.status-msg:not(:empty) {
  display: block;
}

.status-msg.ok {
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-msg.err {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   使用者資訊橫條
   ========================================================================== */
.user-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logout-btn {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.logout-btn:hover {
  color: var(--text-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.stat-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

/* ==========================================================================
   對戰卡片（兩兩對決）
   ========================================================================== */
.match-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  margin-bottom: 10px;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.match-row .side {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 8px;
  text-align: center;
  min-width: 0;
}

.match-row .side.win {
  background: var(--win-bg);
  border-color: var(--win-border);
}

.match-row .side .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-row .side.win .name {
  color: #34d399;
}

.match-row .side .val {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
}

.match-row .side .muted {
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin-top: 2px;
  color: var(--text-muted);
}

.match-row .vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ==========================================================================
   排行榜
   ========================================================================== */
table.lb {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.leaderboard-card {
  overflow-x: auto;
}

table.lb th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 11.5px;
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line-strong);
}

table.lb td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.lb tr.me {
  background: rgba(37, 99, 235, 0.1);
}

table.lb tr.me td:first-child {
  position: relative;
}

table.lb tr.me td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: var(--primary);
  border-radius: var(--radius-pill);
}

/* 前三名獎牌（金色僅留給前三名與冠軍） */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}

.rank-1, .rank-2, .rank-3 {
  font-size: 15px;
}

table.lb td:nth-child(3),
table.lb td:nth-child(4) {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

table.lb td:nth-child(3) {
  color: var(--text-main);
  font-weight: 700;
}

/* 標籤 */
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  color: var(--text-sub);
  white-space: nowrap;
}

.badge.qualified {
  background: var(--win-bg);
  border-color: var(--win-border);
  color: #34d399;
}

.badge.admin {
  background: var(--surface-3);
  border-color: var(--line-strong);
  color: var(--text-sub);
}

/* ==========================================================================
   底部導覽列
   ========================================================================== */
nav.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  background: rgba(23, 29, 39, 0.98);
  border-top: 1px solid var(--line);
  max-width: 480px;
  margin: 0 auto;
  padding: 6px 8px 8px;
}

nav.tabbar a {
  flex: 1;
  text-align: center;
  padding: 4px 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  user-select: none;
}

nav.tabbar a .ic {
  display: inline-flex;
  font-size: 17px;
  line-height: 1;
}

nav.tabbar a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

a {
  color: var(--text-main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

details summary {
  color: var(--text-muted);
  font-size: 12.5px;
  cursor: pointer;
}

@media (max-width: 360px) {
  .countdown {
    font-size: 25px;
  }
}


/* ==========================================================================
   互動回饋：按壓、載入、Toast、卡片淡入
   ========================================================================== */
.btn { transition: background 0.15s ease, transform 0.1s ease; }
.btn:active:not(:disabled), .step-btn:active:not(:disabled) { transform: scale(0.97); }

.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.done { background: var(--win) !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 20px);
  max-width: 88vw;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: #059669; border-color: #10b981; }
.toast.err { background: #b91c1c; border-color: #ef4444; }

.card { animation: fadeUp 0.35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

input:focus { outline: none; border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
input.shake { animation: shake 0.35s ease; border-color: var(--lose) !important; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  .card, .btn.loading::after, input.shake { animation: none; }
  .toast, .btn { transition: none; }
}

/* ==========================================================================
   填答區手感優化：狀態清楚、點擊回饋、長按連發、載入骨架
   ========================================================================== */
html { scroll-behavior: smooth; }
button, .step-btn, .btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* 數字輸入框：去掉瀏覽器內建上下箭頭，改完數字有輕微彈跳回饋 */
.prediction-input-wrap input[type=number] { -moz-appearance: textfield; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.prediction-input-wrap input[type=number]::-webkit-outer-spin-button,
.prediction-input-wrap input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.prediction-input-wrap input.bump { animation: bump 0.18s ease; }
@keyframes bump { 50% { transform: scale(1.025); } }

/* 微調鈕：加大到手指好按的 44px，+ 綠 − 紅一眼分辨 */
.quick-steps { gap: 8px; }
.step-btn {
  min-height: 44px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: background 0.12s ease, transform 0.08s ease, border-color 0.12s ease;
}
.step-btn.plus { color: #6ee7b7; }
.step-btn.minus { color: #fca5a5; }
.step-btn.plus:hover:not(:disabled), .step-btn.plus.holding { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.4); }
.step-btn.minus:hover:not(:disabled), .step-btn.minus.holding { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }
.step-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 送出鈕：已送出＝綠色描邊；有未送出的修改＝藍色實心 */
.submit-btn { min-height: 50px; font-size: 15.5px; font-weight: 700; margin-top: 4px; }
.submit-btn.saved {
  background: var(--win-bg);
  color: #34d399;
  box-shadow: inset 0 0 0 1px var(--win-border);
}
.submit-btn.saved:hover:not(:disabled) { background: rgba(16, 185, 129, 0.18); }
.submit-btn.just-saved { animation: savedPop 0.5s ease; }
@keyframes savedPop { 0% { transform: scale(0.97); } 40% { transform: scale(1.02); } 100% { transform: none; } }

/* 未送出的草稿提示：琥珀色，提醒還沒生效 */
.status-msg.draft {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
}
.status-msg { transition: background 0.2s ease, color 0.2s ease; }

/* 倒數快到時變色提醒 */
.countdown { transition: color 0.3s ease; }
.countdown.urgent { color: var(--gold); }
.countdown.critical { color: var(--lose); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.55; } }

/* 題目載入骨架 */
.skeleton { display: grid; gap: 12px; }
.sk-line, .sk-block {
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.sk-line { height: 16px; }
.sk-line.w60 { width: 60%; height: 20px; }
.sk-line.w40 { width: 40%; }
.sk-line.btnlike { height: 50px; }
.sk-block { height: 68px; }
.sk-block.tall { height: 110px; }
@keyframes shimmer { to { background-position: -200% 0; } }

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