/* 掼蛋网页版样式：绿色牌桌 + 棕色皮革桌边（参照图1），无外部依赖，纯 CSS */
:root {
  --card-w: 62px;
  --card-h: 90px;
  --stack-step: 24px; /* 同列内每张牌露出的高度 */
  --card-mini-w: 44px;
  --card-mini-h: 64px;
  --gold: #f5b942;
  --gold-deep: #e07b39;
  --red: #d21f2b;
  --ink: #22303c;
  --green-1: #14a273;
  --green-2: #0f7a5c;
  --green-3: #0a5c44;
  --green-4: #063f31;
  --leather-1: #7a4a22;
  --leather-2: #4a2c12;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #07382a 0%, #02120c 70%);
  color: #eef3f6;
  -webkit-tap-highlight-color: transparent;
}
#app { max-width: 980px; margin: 0 auto; padding: 8px 12px 28px; }
.hidden { display: none !important; }

/* ---------- 顶栏 ---------- */
#topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 2px 10px;
}
.top-left, .top-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: transparent; border: none; color: #fff; cursor: pointer;
  font-size: 20px; line-height: 1.1; padding: 2px 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.icon-btn span { font-size: 12px; font-weight: 600; }
.icon-btn:hover { filter: brightness(1.25); }
.score-chip {
  font-size: 15px; font-weight: 700; color: #fff;
  border-radius: 8px; padding: 4px 10px; min-width: 62px; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35);
}
.score-chip b { font-size: 20px; margin-left: 2px; }
.score-chip.us { background: linear-gradient(180deg, #4a9ef0, #1e6fd9 60%, #185cb8); }
.score-chip.them { background: linear-gradient(180deg, #9aa7b1, #6b7a86 60%, #55636e); }
.timer {
  font-size: 15px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 5px 9px; font-variant-numeric: tabular-nums;
}
.sound-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 18px; cursor: pointer; flex: 0 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  transition: transform .1s ease, background .15s ease;
}
.sound-btn:hover { background: rgba(255,255,255,.22); }
.sound-btn:active { transform: scale(.92); }
.sound-btn.muted { opacity: .55; }

/* ---------- 信息行（级牌/主花色/局数） ---------- */
.info-line { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip {
  font-size: 13px; color: #dbe7ff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 4px 11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  white-space: nowrap;
}
.chip b { color: #ffd76a; }
.red { color: #ff8a94; }

/* ---------- 牌桌 ---------- */
#table {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  grid-template-rows: auto;
  gap: 8px;
  background: radial-gradient(ellipse at 50% 38%, var(--green-1) 0%, var(--green-2) 46%, var(--green-3) 76%, var(--green-4) 100%);
  border: 3px solid var(--leather-1);
  border-radius: 22px;
  box-shadow: inset 0 0 70px rgba(0,0,0,.45), inset 0 0 0 6px rgba(255,255,255,.05), 0 8px 24px rgba(0,0,0,.5);
  padding: 14px 14px 26px;
  min-height: 300px;
}
/* 棕色皮革桌边（底部） */
#table::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
  background: linear-gradient(180deg, var(--leather-1) 0%, var(--leather-2) 100%);
  border-top: 2px dashed rgba(255,255,255,.28);
  z-index: 0;
}
#table::after {
  content: "掼蛋";
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  font-size: 120px; font-weight: 900; letter-spacing: 20px;
  color: rgba(255,255,255,.05);
  pointer-events: none; white-space: nowrap; z-index: 0;
}
#table > * { position: relative; z-index: 1; }

/* ---------- 座位 ---------- */
.seat {
  display: flex; align-items: center; gap: 10px;
  background: rgba(2, 20, 12, .45);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
}
.seat.north {
  flex: 0 1 auto; padding: 6px 12px; gap: 8px;
  min-width: 0; background: rgba(2, 20, 12, .45);
}
.seat.west, .seat.east { flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.seat.west { grid-column: 1; grid-row: 1; }
.seat.east { grid-column: 3; grid-row: 1; }
.avatar-wrap { position: relative; flex: 0 0 auto; }
.avatar {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, #ffe08a, #f5b942 45%, #e07b39);
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 3px 8px rgba(0,0,0,.45);
}
.avatar.big { width: 58px; height: 58px; font-size: 34px; border-radius: 12px; }
.seat.west .avatar { background: linear-gradient(135deg, #a8d8ff, #4a90e2 55%, #2b5cb8); }
.seat.east .avatar { background: linear-gradient(135deg, #b8f0c8, #37b268 55%, #1e7a4c); }
.seat.south .avatar { background: linear-gradient(135deg, #ffe9a8, #ffc94d 50%, #ff9a3d); }
.count-badge {
  position: absolute; right: -6px; bottom: -4px;
  min-width: 24px; height: 24px; padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08a, #f5a623);
  border: 2px solid #fff;
  color: #4a2c00; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,.5);
}
.count-badge b { line-height: 1; }
.seat.active { outline: 2px solid var(--gold); outline-offset: 2px; }
.seat.active .avatar { animation: avatarPulse 1.3s ease-in-out infinite; }
@keyframes avatarPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245,185,66,.9), 0 0 10px rgba(245,185,66,.45); }
  50% { box-shadow: 0 0 0 3px rgba(245,185,66,.9), 0 0 22px rgba(245,185,66,.9); }
}
.seat-name { font-size: 15px; font-weight: 700; color: #fff; }
.tag {
  font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,.18); vertical-align: 1px;
}
.tag.team1 { background: rgba(210,31,43,.55); }
.rank-badge {
  display: inline-block; font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #5aa9ff, #1e6fd9);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 6px; padding: 1px 8px; margin-top: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
}
.seat.east .rank-badge { background: linear-gradient(180deg, #f0785a, #c23b1e); }
.beans {
  font-size: 13px; color: #ffd76a; font-weight: 700; margin-top: 3px;
  background: rgba(0,0,0,.25); border-radius: 999px; padding: 2px 9px;
  display: inline-block;
}
.seat-status { font-size: 13px; min-height: 20px; color: #ffe08a; margin-top: 3px; font-weight: 700; }
.seat-status.pass {
  color: #e8eef4; background: rgba(255,255,255,.16);
  border-radius: 999px; padding: 1px 10px; display: inline-block;
}

/* ---------- 桌面中央 ---------- */
#center {
  grid-column: 2; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 6px; text-align: center;
}
#doubleRow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-double, .btn-nodouble {
  font-size: 17px; font-weight: 800; letter-spacing: 1px;
  padding: 10px 22px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45);
  transition: filter .12s ease, transform .08s ease;
  white-space: nowrap;
}
.btn-double {
  background: linear-gradient(180deg, #ffe08a 0%, #f5a623 55%, #e07b39 100%);
  color: #4a2400; text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn-nodouble {
  background: linear-gradient(180deg, #8ec9ff, #4a90e2 60%, #2b5cb8); color: #fff;
}
.btn-double:hover, .btn-nodouble:hover { filter: brightness(1.12); }
.btn-double:active, .btn-nodouble:active { transform: translateY(1px) scale(.98); }
.turn-timer {
  display: flex; align-items: center; gap: 2px;
  background: radial-gradient(circle at 50% 35%, #ffe08a, #f5a623 70%);
  border: 2px solid #fff;
  border-radius: 50%; width: 52px; height: 52px;
  box-shadow: 0 3px 8px rgba(0,0,0,.45);
  font-size: 20px; color: #4a2400; font-weight: 800;
  justify-content: center;
}
.turn-timer .tt-icon { font-size: 20px; margin-right: -2px; }
#roomInfo { font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.5); }
#centerLabel { font-size: 12px; letter-spacing: 6px; color: rgba(255,255,255,.55); }
#tablePlay { min-height: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#tablePlay .placeholder { color: rgba(255,255,255,.55); font-size: 13px; padding-top: 34px; }
#tablePlay .play-label {
  font-size: 14px; font-weight: 700; color: #ffe08a;
  background: rgba(0,0,0,.3); border-radius: 999px; padding: 3px 12px;
}
#tablePlay .play-cards { display: flex; flex-wrap: wrap; justify-content: center; }
#tablePlay .play-cards .card { margin-left: -14px; }
#tablePlay .play-cards .card:first-child { margin-left: 0; }
#tablePlay .play-cards.animate .card { animation: popIn .3s cubic-bezier(.2,.7,.3,1.25) both; }
#tablePlay .play-cards.animate .card:nth-child(3n+2) { animation-delay: .04s; }
#tablePlay .play-cards.animate .card:nth-child(3n) { animation-delay: .08s; }
@keyframes popIn {
  from { transform: translateY(12px) scale(.82); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
#message {
  font-size: 14px; color: #fff;
  background: rgba(2, 20, 12, .5); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 6px 14px; max-width: 100%;
}
#log { font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.6; max-height: 52px; overflow: hidden; }
#log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 南家手牌区 ---------- */
#southArea { margin-top: 12px; }
#hand {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  min-height: 204px; padding: 16px 0 0;
}
/* 同点牌叠成一列：每列是一组同点牌，列内牌上下叠放，只露出每张牌的上沿 */
.hand-col { display: flex; flex-direction: column; flex: 0 0 auto; margin-left: -6px; }
.hand-col:first-child { margin-left: 0; }
.hand-col .card + .card { margin-top: calc(-1 * (var(--card-h) - var(--stack-step))); }
/* 理牌时整列抬高（级牌 / 炸弹组） */
.hand-col.raised { transform: translateY(-12px); }
#hand .card { cursor: pointer; transition: transform .13s ease, box-shadow .13s ease, margin-top .13s ease; }
#hand .card:hover { transform: translateY(-8px); }
#hand .card.selected {
  transform: translateY(-18px);
  box-shadow: 0 0 0 2px var(--gold), 0 0 16px rgba(245,185,66,.85), 0 10px 16px rgba(0,0,0,.5);
}
#hand.dealing .card { animation: dealIn .45s cubic-bezier(.2,.7,.3,1.15) both; }
#hand.dealing .card:nth-child(3n+2) { animation-delay: .06s; }
#hand.dealing .card:nth-child(3n) { animation-delay: .12s; }
@keyframes dealIn {
  from { transform: translateY(26px) rotate(5deg); opacity: 0; }
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

/* ---------- 南家底部栏 ---------- */
#southBar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 10px; padding: 8px 10px;
  background: rgba(2, 20, 12, .45);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
}
#seat-south { flex: 0 0 auto; background: transparent; border: none; box-shadow: none; padding: 0; }
.mult-chip {
  font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #ff9a3d, #e07b39);
  border-radius: 999px; padding: 6px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.4);
  white-space: nowrap;
}
.mult-chip b { font-size: 17px; }
.flush-ind {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: #fff;
}
.fi-label { color: #ffe08a; }
.fi-suit {
  font-size: 22px; color: #5a6b7a; opacity: .55;
  transition: color .15s ease, opacity .15s ease, text-shadow .15s ease;
}
.fi-suit.red { color: #7a4a52; }
.fi-suit.on { opacity: 1; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 4px rgba(255,255,255,.8); }
.fi-suit.red.on { color: #ff5a6e; text-shadow: 0 0 10px rgba(255,90,110,.9); }
#turnHint { color: #ffe08a; font-size: 13px; font-weight: 700; }
.south-btns { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 扑克牌 ---------- */
.card {
  width: var(--card-w); height: var(--card-h);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 70%, #e9edf2 100%);
  border-radius: 8px; border: 1px solid #c3c9d1;
  box-shadow: 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.7);
  color: #1c2733;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 4px 3px; flex: 0 0 auto; user-select: none;
  position: relative;
}
.card.red { color: var(--red); }
.card .corner { align-self: flex-start; font-weight: 800; line-height: 1.05; text-align: center; }
.card .corner .r { font-size: 18px; display: block; }
.card .corner .s { font-size: 15px; display: block; }
.card .pip { font-size: 32px; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.12); }
.card .pip.small { font-size: 22px; }
.card.joker { background: linear-gradient(180deg, #fff8e1 0%, #ffefc2 70%, #ffe3a1 100%); }
.card.joker.red { color: #c21807; }
.card.joker .pip { font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: 1px; }
.card.joker .corner .r { font-size: 13px; }
.card .wild-badge {
  position: absolute; right: 2px; bottom: 2px;
  font-size: 10px; font-weight: 800; color: #fff; background: #c2185b;
  border-radius: 6px; padding: 1px 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.card .level-badge {
  position: absolute; right: 2px; top: 2px;
  font-size: 10px; font-weight: 800; color: #fff; background: #2e9e5b;
  border-radius: 6px; padding: 1px 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.card .joker-tag {
  position: absolute; left: 1px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 8px; font-weight: 800; letter-spacing: 2px;
  color: rgba(120, 70, 0, .55);
}
.card.mini { width: var(--card-mini-w); height: var(--card-mini-h); padding: 3px 2px; border-radius: 6px; }
.card.mini .corner .r { font-size: 13px; }
.card.mini .corner .s { font-size: 11px; }
.card.mini .pip { font-size: 20px; }
.card.mini.joker .pip { font-size: 11px; }
.card.mini .joker-tag { display: none; }

/* ---------- 按钮 ---------- */
#controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.btn {
  font-size: 16px; font-weight: 800; letter-spacing: 3px;
  padding: 11px 26px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(180deg, #5aa9ff, #1e6fd9 60%, #185cb8); color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45);
  transition: filter .12s ease, transform .08s ease;
}
.btn:hover:not(:disabled) { filter: brightness(1.14); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.btn.primary {
  background: linear-gradient(180deg, #ffe08a 0%, #f5a623 55%, #e07b39 100%);
  color: #4a2400;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn.start {
  background: linear-gradient(180deg, #7be495 0%, #2fbf5f 55%, #1e7a4c 100%);
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.btn.big { font-size: 18px; padding: 13px 34px; }
.btn.sort {
  font-size: 14px; letter-spacing: 1px; padding: 9px 16px;
  background: linear-gradient(180deg, #8ec9ff, #4a90e2 60%, #2b5cb8);
}
.btn.sort.on {
  background: linear-gradient(180deg, #ffe08a 0%, #f5a623 55%, #e07b39 100%);
  color: #4a2400; text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn.chat {
  font-size: 14px; letter-spacing: 1px; padding: 9px 16px;
  background: linear-gradient(180deg, #5ed68a, #27a35c 60%, #1d7a44);
}

/* ---------- 结算遮罩 ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(2, 8, 26, .72);
  display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px;
  backdrop-filter: blur(2px);
}
.overlay.hidden { display: none; }
.result-card {
  background: linear-gradient(180deg, #fdf8ec, #f6ecd4);
  color: var(--ink); border-radius: 20px;
  padding: 30px 34px; text-align: center; max-width: 430px; width: 100%;
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
  border: 3px solid #d9a441;
  animation: popIn .35s cubic-bezier(.2,.7,.3,1.2) both;
}
.result-card h2 { font-size: 26px; margin-bottom: 10px; }
.result-card p { font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.result-card .btn { margin-top: 10px; }
.result-card.win {
  background: linear-gradient(180deg, #fff7d6 0%, #ffe9a8 55%, #ffd76a 100%);
  border-color: #f5b942;
  box-shadow: 0 0 0 4px rgba(245,185,66,.35), 0 16px 48px rgba(0,0,0,.55);
}
.result-card.win h2 { color: #b26a00; }
.result-card.lose {
  background: linear-gradient(180deg, #eef2f7, #dbe3ec);
  border-color: #8fa3b8;
}
.result-card.lose h2 { color: #4a5a6a; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px);
  background: rgba(0,0,0,.82); color: #fff; font-size: 14px; font-weight: 700;
  border-radius: 999px; padding: 10px 20px; z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 规则 ---------- */
#rules { margin-top: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.75; }
#rules summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.rules-body { padding-top: 8px; color: #c9d6ee; }
.rules-body b { color: #fff; }
.rules-body ul { padding-left: 20px; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 640px) {
  :root { --card-w: 46px; --card-h: 68px; --stack-step: 18px; --card-mini-w: 34px; --card-mini-h: 50px; }
  .score-chip { font-size: 13px; min-width: 52px; padding: 3px 8px; }
  .score-chip b { font-size: 17px; }
  .chip { font-size: 12px; padding: 3px 9px; }
  #table { grid-template-columns: 92px 1fr 92px; padding: 8px 8px 22px; min-height: 280px; border-radius: 16px; }
  #table::after { font-size: 72px; letter-spacing: 12px; }
  .seat { padding: 7px 6px; gap: 5px; border-radius: 11px; }
  .seat.north { padding: 4px 8px; }
  .avatar { width: 36px; height: 36px; font-size: 21px; border-radius: 8px; }
  .avatar.big { width: 44px; height: 44px; font-size: 26px; }
  .count-badge { min-width: 20px; height: 20px; font-size: 11px; right: -4px; }
  .seat-name { font-size: 13px; }
  .rank-badge { font-size: 10px; padding: 1px 6px; }
  .beans { font-size: 11px; padding: 1px 7px; }
  .seat-status { font-size: 11px; min-height: 17px; }
  #hand { padding-top: 10px; min-height: 152px; }
  .hand-col { margin-left: -20px; }
  .hand-col:first-child { margin-left: 0; }
  .hand-col.raised { transform: translateY(-9px); }
  #hand .card.selected { transform: translateY(-13px); }
  #tablePlay .play-cards .card { margin-left: -10px; }
  .card .corner .r { font-size: 14px; }
  .card .corner .s { font-size: 11px; }
  .card .pip { font-size: 22px; }
  .card.joker .pip { font-size: 12px; }
  .btn { font-size: 14px; padding: 10px 18px; letter-spacing: 2px; }
  .btn-double, .btn-nodouble { font-size: 14px; padding: 8px 14px; }
  .turn-timer { width: 44px; height: 44px; font-size: 17px; }
  .turn-timer .tt-icon { font-size: 17px; }
  .btn.sort, .btn.chat { font-size: 13px; padding: 8px 12px; }
  #message { font-size: 13px; }
  #turnHint { font-size: 12px; }
  .timer { font-size: 13px; padding: 4px 7px; }
}
