/* ============ 麻雀道場 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #1a3a28;
  color: #f0ead8;
  user-select: none;
  -webkit-user-select: none;
}

.hidden { display: none !important; }
.screen { position: fixed; inset: 0; }

/* ---------- ボタン ---------- */
.btn {
  font-size: 20px;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid #8a7a50;
  background: #f5efdd;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  transition: transform .08s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-big { font-size: 26px; padding: 18px 40px; min-width: 340px; }
.btn-primary { background: #b02020; color: #fff; border-color: #7a1515; }
.btn-action {
  font-size: 28px; font-weight: bold; padding: 14px 34px;
  border-radius: 12px; border: 3px solid #7a1515;
  background: #c62828; color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.btn-action.secondary { background: #4a5a6a; border-color: #2a3a48; }
.btn-action.gold { background: #b8860b; border-color: #8a6508; }

/* ---------- 音ボタン ---------- */
#btn-sound {
  position: fixed; top: 10px; right: 12px; z-index: 300;
  font-size: 26px; background: rgba(0,0,0,.35); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 10px;
  padding: 6px 12px; cursor: pointer;
}
#btn-sound:hover { background: rgba(0,0,0,.55); }

/* ---------- ホーム ---------- */
#screen-home {
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  background: radial-gradient(ellipse at center, #275c3c 0%, #142e1f 100%);
}
/* margin:auto なら内容が画面より高くても上が切れない */
.home-inner { text-align: center; margin: auto; padding: 24px 16px; }
.title { font-size: 64px; letter-spacing: .15em; text-shadow: 0 4px 12px rgba(0,0,0,.5); }
.subtitle { font-size: 22px; margin: 6px 0 16px; opacity: .85; }
#home-avatar {
  cursor: pointer; margin: 0 auto 12px; display: block; width: fit-content;
  transition: transform .1s;
}
#home-avatar:hover { transform: scale(1.06); }
.pchar-portrait { width: 96px; height: 112px; margin: 0 auto; }
.pchar-portrait svg { width: 100%; height: 100%; display: block; }
.pchar-name { font-size: 25px; font-weight: bold; margin-top: 6px; }
.pchar-title { font-size: 15px; color: #ffd75e; }
.pchar-hint { font-size: 12px; opacity: .55; margin-top: 2px; }
.rank-badge {
  display: inline-block; font-size: 28px; font-weight: bold;
  background: rgba(0,0,0,.35); border: 2px solid #c9b872;
  color: #ffd75e; border-radius: 12px; padding: 8px 30px; margin-bottom: 20px;
}
.rank-badge .pts { font-size: 18px; color: #f0ead8; margin-left: 14px; }
.home-buttons { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.home-note { margin-top: 18px; font-size: 17px; opacity: .75; line-height: 1.7; }
.voice-credit { margin-top: 14px; font-size: 12px; opacity: .5; line-height: 1.6; max-width: 640px; margin-left: auto; margin-right: auto; }
#daily-badge { font-size: 17px; color: #b02020; }

/* ---------- 牌 ---------- */
.tile {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: var(--tw, 46px); height: calc(var(--tw, 46px) * 1.38);
  background: linear-gradient(#fdfaf1, #f3ecd8);
  border: 1px solid #999;
  border-bottom: calc(var(--tw, 46px) * .16) solid #c9a86a;
  border-radius: 5px;
  color: #222;
  font-weight: bold;
  cursor: default;
  position: relative;
  flex-shrink: 0;
}
.tile svg { width: 94%; height: 96%; display: block; }
.tile.red5 { background: linear-gradient(#fdf3ec, #f8e3d5); }
.tile.back {
  background: linear-gradient(#2a5a8a, #1d4468);
  border-bottom-color: #16334e;
}
.tile.sideways { transform: rotate(90deg); margin: 0 calc(var(--tw, 46px) * .19); }
.tile.dim { opacity: .38; }
/* 横倒し(左右の家の手牌・山用) */
.tile.lay {
  width: calc(var(--tw, 46px) * 1.38); height: var(--tw, 46px);
  border-bottom-width: calc(var(--tw, 46px) * .14);
}

/* ---------- 対局画面 ---------- */
#screen-game { background: radial-gradient(ellipse at center, #2c6743 0%, #17331f 100%); }
#table { position: absolute; inset: 0; }

#center-info {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 12px 22px; z-index: 5;
}
#round-label { font-size: 27px; font-weight: bold; letter-spacing: .1em; }
/* ドラは中央に大きく常時表示(山の中のめくれ演出も併用) */
#dora-row { margin-top: 8px; display: flex; align-items: center; gap: 8px; justify-content: center; }
#dora-row .label { font-size: 17px; opacity: .85; }
#dora-tiles { display: inline-flex; gap: 3px; --tw: 42px; }
#wall-left { font-size: 16px; margin-top: 6px; opacity: .9; }
#stick-info { font-size: 15px; margin-top: 2px; color: #ffd75e; }

/* ---------- 山(壁牌) ---------- */
#walls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wall-row { position: absolute; display: flex; gap: 1px; --tw: 15px; }
.wall-top { left: calc(50% - 138px); top: calc(46% - 156px); }
.wall-bottom { left: calc(50% - 138px); top: calc(46% + 128px); }
.wall-left { left: calc(50% - 178px); top: calc(46% - 138px); flex-direction: column; }
.wall-right { left: calc(50% + 152px); top: calc(46% - 138px); flex-direction: column; }
.wall-row .tile.taken { visibility: hidden; }
.wall-row .dora-flip {
  --tw: 24px;
  margin-top: -10px;
  box-shadow: 0 0 10px 3px rgba(255, 215, 94, .9);
  z-index: 3;
}

/* 各家パネル */
.seat-area {
  position: absolute; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.seat-panel {
  background: rgba(0,0,0,.45); border-radius: 10px; padding: 6px 16px;
  font-size: 19px; text-align: center; border: 1px solid transparent;
  white-space: nowrap;
}
.seat-panel.turn { border-color: #ffd75e; box-shadow: 0 0 12px rgba(255,215,94,.5); }
.seat-panel .nm { font-weight: bold; }
.seat-panel .wind { color: #ffd75e; margin-right: 6px; }
.seat-panel .sc { font-size: 22px; }
.seat-panel .riichi-stick {
  display: inline-block; width: 52px; height: 8px; background: #eee; border-radius: 4px;
  position: relative; margin-left: 8px; vertical-align: middle;
}
.seat-panel .riichi-stick::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 7px; height: 7px; background: #d02020; border-radius: 50%;
}
.furiten-badge { color: #ff8a8a; font-size: 14px; margin-left: 8px; }

#seat-2 { top: 8px; left: 50%; transform: translateX(-50%); }
/* 広い画面ではパネルと手牌を横並びにして、上の河(3段)との重なりを防ぐ */
@media (min-width: 901px) {
  #seat-2 { flex-direction: row; gap: 12px; }
}
#seat-1 { right: 10px; top: 50%; transform: translateY(-50%); }
#seat-3 { left: 10px; top: 50%; transform: translateY(-50%); }
#seat-0 { bottom: 190px; left: 14%; }

.opp-hand { display: flex; gap: 1px; --tw: 26px; }
.opp-hand.vert { flex-direction: column; --tw: 24px; }
.opp-melds { display: flex; gap: 8px; --tw: 26px; flex-wrap: wrap; max-width: 220px; justify-content: center; }
.meld-group { display: flex; gap: 1px; align-items: flex-end; }

/* 河
   位置は牌サイズ(--tw)から自動計算。回転はすべて中心基準 */
.river {
  position: absolute; z-index: 3;
  display: grid; grid-template-columns: repeat(6, auto);
  gap: 2px;
  --tw: 36px;
  --rw: calc(6 * (var(--tw) + 2px) + 8px);   /* 河の幅(6枚分) */
  --rh: calc(3 * (var(--tw) * 1.38 + 2px));  /* 河の高さ(3段分) */
  --rvoff: 158px;  /* 中央から上下の河までの距離 */
  --rgap: 182px;   /* 中央から左右の河までの距離 */
  justify-content: start; align-content: start;
  width: var(--rw);
  min-height: var(--rh);
}
#river-0 { left: calc(50% - var(--rw) / 2); top: calc(46% + var(--rvoff)); }
#river-2 { left: calc(50% - var(--rw) / 2); top: calc(46% - var(--rvoff) - var(--rh)); transform: rotate(180deg); }
#river-1 { left: calc(50% + var(--rgap) + var(--rh) / 2 - var(--rw) / 2); top: calc(46% - var(--rh) / 2); transform: rotate(-90deg); }
#river-3 { left: calc(50% - var(--rgap) - var(--rh) / 2 - var(--rw) / 2); top: calc(46% - var(--rh) / 2); transform: rotate(90deg); }

/* 自分エリア */
#my-area {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-bottom: 14px;
}
#my-hand { display: flex; gap: 3px; align-items: flex-end; --tw: 58px; }
#my-hand .tile { cursor: pointer; transition: transform .1s; }
#my-hand .tile:hover { transform: translateY(-8px); }
#my-hand .tile.selected { transform: translateY(-16px); box-shadow: 0 0 0 3px #ffd75e; }
#my-hand .tile.drawn-gap { margin-left: 16px; }
#my-hand .tile.riichi-ok { box-shadow: 0 0 0 3px #7ec8ff; }
#my-hand .tile.locked { cursor: default; opacity: .8; }
#my-melds { display: flex; gap: 10px; --tw: 40px; position: absolute; right: 14px; bottom: 14px; }
#action-bar { display: flex; gap: 14px; min-height: 66px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* キャラクター */
.seat-panel .face { font-size: 22px; margin-right: 6px; }
.seat-panel .pface { display: inline-block; vertical-align: middle; }
.seat-panel .pface svg { width: 34px; height: 40px; display: inline-block; border-radius: 6px; }
.portrait svg, .cportrait svg, .iportrait svg, .zface svg { display: block; width: 100%; height: 100%; }
.cutin .cportrait { display: block; width: 104px; height: 121px; filter: drop-shadow(0 5px 9px rgba(0,0,0,.5)); }
.iportrait { display: inline-block; width: 84px; height: 98px; flex-shrink: 0; }
.bubble {
  position: absolute; z-index: 60;
  background: #fff; color: #222; padding: 7px 16px; border-radius: 14px;
  font-size: 18px; box-shadow: 0 3px 10px rgba(0,0,0,.4);
  white-space: nowrap; animation: bubbleIn .2s ease-out; pointer-events: none;
}
@keyframes bubbleIn { from { transform: scale(.6); opacity: 0; } }
.bubble.s0 { left: 50%; bottom: 240px; transform: translateX(-140%); }
.bubble.s2 { left: 50%; top: 110px; transform: translateX(8%); }
.bubble.s1 { right: 200px; top: 32%; }
.bubble.s3 { left: 200px; top: 32%; }

.intro-row {
  display: flex; align-items: center; gap: 18px;
  font-size: 22px; padding: 12px 8px; border-bottom: 1px dashed #ccc;
  text-align: left;
}
.intro-row .face { font-size: 44px; }
.intro-row .ititle { color: #8a6d3b; font-size: 15px; }
.intro-row .inm { font-weight: bold; font-size: 26px; margin-right: 12px; }
.intro-row .ialias { font-weight: normal; font-size: 17px; color: #777; }
.intro-row .istars { color: #b8860b; font-size: 18px; }
.intro-row .iintro { color: #666; font-size: 17px; }
.intro-row .irec { color: #b0567a; font-weight: bold; }
.intro-row.hidden-char { background: #f6ecec; border-radius: 10px; }

/* 雀士名鑑 */
.zukan-inner { max-width: 1100px; }
#zukan-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px; text-align: left;
}
.zukan-card {
  background: rgba(0,0,0,.35); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  text-align: center;
}
.zukan-card.locked { opacity: .8; }
.zface { width: 120px; height: 140px; }
.zukan-card .ztitle { color: #ffd75e; font-size: 15px; }
.zukan-card .zname { font-size: 26px; font-weight: bold; }
.zukan-card .zalias { font-size: 16px; font-weight: normal; opacity: .75; }
.pchar-alias { font-size: 16px; font-weight: normal; opacity: .75; }
.zukan-card .zstars { color: #ffd75e; font-size: 17px; }
.zukan-card .zstyle { font-size: 16px; color: #9ecbff; }
.zukan-card .zdesc { font-size: 15px; opacity: .85; line-height: 1.6; }
.zukan-card .zrec { font-size: 16px; color: #ffb08a; margin-top: 4px; }
.zukan-card .zvoice { font-size: 12px; opacity: .5; }

/* 対局終了時のひとこと */
.end-quote { font-size: 19px; color: #555; margin: 6px 0; }

/* 牌の動き */
@keyframes tileIn { from { transform: translateY(-18px) scale(.7); opacity: 0; } }
.anim-deal { animation: tileIn .25s ease-out both; }
@keyframes tilePop { from { transform: scale(.4); opacity: .1; } }
.anim-pop { animation: tilePop .18s ease-out; }
.tile.sideways.anim-pop { animation: none; } /* リーチ宣言牌は回転を優先 */

/* キャラのカットイン: 座っている席からヒョイッと飛び出す */
.cutin {
  position: absolute; z-index: 55; pointer-events: none;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(115deg, rgba(15,8,5,.92), rgba(60,15,12,.88));
  border: 2px solid rgba(255,215,94,.8);
  border-radius: 16px; padding: 10px 26px;
  box-shadow: 0 8px 26px rgba(0,0,0,.55);
}
.cutin .cface { font-size: 66px; line-height: 1; filter: drop-shadow(0 4px 7px rgba(0,0,0,.55)); }
.cutin .cbody { text-align: left; }
.cutin .caction {
  font-size: 42px; font-weight: bold; color: #fff; line-height: 1.05;
  text-shadow: 0 0 16px #d02020, 0 3px 6px rgba(0,0,0,.7);
  letter-spacing: .05em;
}
.cutin .cname { font-size: 17px; color: #ffd75e; font-weight: bold; }
.cutin .cline { font-size: 16px; color: #f0ead8; margin-top: 2px; }
/* 席ごとの出現位置と飛び出す方向 */
.cutin.s0 { left: 50%; bottom: 250px; animation: popUp 1.3s cubic-bezier(.2,1.5,.4,1) both; }
.cutin.s2 { left: 50%; top: 110px; animation: popDown 1.3s cubic-bezier(.2,1.5,.4,1) both; }
.cutin.s1 { right: 150px; top: 40%; animation: popFromRight 1.3s cubic-bezier(.2,1.5,.4,1) both; }
.cutin.s3 { left: 150px; top: 40%; animation: popFromLeft 1.3s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes popUp {
  0% { transform: translate(-50%, 90px) scale(.15) rotate(-5deg); opacity: 0; }
  18% { transform: translate(-50%, 0) scale(1); opacity: 1; }
  82% { transform: translate(-50%, 0) scale(1); opacity: 1; }
  100% { transform: translate(-50%, 12px) scale(.7); opacity: 0; }
}
@keyframes popDown {
  0% { transform: translate(-50%, -90px) scale(.15) rotate(5deg); opacity: 0; }
  18% { transform: translate(-50%, 0) scale(1); opacity: 1; }
  82% { transform: translate(-50%, 0) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -12px) scale(.7); opacity: 0; }
}
@keyframes popFromRight {
  0% { transform: translate(90px, 0) scale(.15) rotate(5deg); opacity: 0; }
  18% { transform: translate(0, 0) scale(1); opacity: 1; }
  82% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(12px, 0) scale(.7); opacity: 0; }
}
@keyframes popFromLeft {
  0% { transform: translate(-90px, 0) scale(.15) rotate(-5deg); opacity: 0; }
  18% { transform: translate(0, 0) scale(1); opacity: 1; }
  82% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-12px, 0) scale(.7); opacity: 0; }
}

/* 流れている曲名 */
#song-label {
  position: absolute; left: 14px; top: 12px; z-index: 40;
  background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; padding: 5px 14px;
  font-size: 15px; color: #d8e8d8; pointer-events: none;
  animation: songIn .4s ease-out, songOut .6s ease-in 3.4s both;
}
@keyframes songIn { from { opacity: 0; transform: translateX(-12px); } }
@keyframes songOut { to { opacity: 0; } }

/* 鳴き表示 */
#callout {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 64px; font-weight: bold; color: #fff;
  text-shadow: 0 0 20px #b02020, 0 4px 8px rgba(0,0,0,.6);
  z-index: 50; pointer-events: none;
  animation: callout .9s ease-out;
}
@keyframes callout {
  0% { transform: translate(-50%,-50%) scale(.4); opacity: 0; }
  25% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}

/* ---------- オーバーレイ ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center; z-index: 100;
}
.overlay-card {
  background: #f8f4e6; color: #222; border-radius: 16px;
  padding: 30px 40px; max-width: min(860px, 94vw); max-height: 92vh; overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  text-align: center;
}
.overlay-card h2 { font-size: 32px; margin-bottom: 14px; }
.overlay-card h3 { font-size: 24px; margin: 10px 0; }
.win-hand { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; --tw: 52px; margin: 14px 0; align-items: flex-end; }
.win-hand .gap { width: 14px; }
.yaku-list { display: inline-block; text-align: left; font-size: 23px; margin: 10px 0; }
.yaku-list li { list-style: none; display: flex; justify-content: space-between; gap: 40px; padding: 3px 0; border-bottom: 1px dashed #ccc; }
.yaku-list .han { font-weight: bold; }
.score-line { font-size: 34px; font-weight: bold; margin: 14px 0; color: #b02020; }
.dora-reveal { display: flex; gap: 20px; justify-content: center; margin: 10px 0; font-size: 18px; align-items: center; }
.dora-reveal .tiles { display: inline-flex; gap: 2px; --tw: 42px; }
.standings { font-size: 24px; margin: 16px 0; }
.standings .row { display: flex; justify-content: space-between; gap: 60px; padding: 8px 4px; border-bottom: 1px solid #ddd; }
.standings .row.me { background: #fff3d0; font-weight: bold; }
.rank-change { font-size: 26px; margin: 14px 0; }
.rank-change .up { color: #b02020; font-weight: bold; }
.rank-change .down { color: #1a4a9a; font-weight: bold; }
.tenpai-table { font-size: 20px; margin: 10px auto; }
.tenpai-table td { padding: 4px 18px; }

/* ---------- デイリー・成績 ---------- */
#screen-daily, #screen-record, #screen-zukan {
  background: radial-gradient(ellipse at center, #275c3c 0%, #142e1f 100%);
  overflow-y: auto; display: block;
}
.daily-inner { max-width: 860px; margin: 0 auto; padding: 34px 20px 60px; text-align: center; }
.daily-inner h2 { font-size: 38px; margin-bottom: 16px; }
#daily-status { font-size: 20px; margin-bottom: 18px; color: #ffd75e; }
.problem-card {
  background: rgba(0,0,0,.35); border-radius: 14px; padding: 22px; margin-bottom: 20px;
}
.problem-card .q { font-size: 22px; margin-bottom: 14px; }
.problem-hand { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; --tw: 52px; }
.problem-hand .tile { cursor: pointer; transition: transform .1s; }
.problem-hand .tile:hover { transform: translateY(-8px); }
.grade { font-size: 60px; font-weight: bold; margin: 8px 0; }
.grade.S { color: #ffd75e; } .grade.A { color: #ff9558; }
.grade.B { color: #9ecbff; } .grade.C { color: #aaa; }
.answer-table { margin: 12px auto; font-size: 18px; border-collapse: collapse; background: rgba(0,0,0,.25); border-radius: 10px; }
.answer-table td, .answer-table th { padding: 6px 14px; border-bottom: 1px solid rgba(255,255,255,.15); }
.answer-table .best { color: #ffd75e; font-weight: bold; }
.answer-table .mini-tiles { display: inline-flex; gap: 1px; --tw: 24px; vertical-align: middle; }
.daily-nav { margin-top: 26px; }

#record-content { font-size: 20px; }
.record-card { background: rgba(0,0,0,.35); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.record-card h3 { color: #ffd75e; margin-bottom: 10px; font-size: 24px; }
.pt-bar { background: rgba(255,255,255,.15); border-radius: 8px; height: 18px; max-width: 420px; margin: 8px auto; overflow: hidden; }
.pt-bar .fill { height: 100%; background: linear-gradient(90deg, #c9a852, #ffd75e); border-radius: 8px; }
.history-row { display: flex; justify-content: space-between; max-width: 460px; margin: 0 auto; padding: 4px 8px; border-bottom: 1px dashed rgba(255,255,255,.2); font-size: 18px; }

/* ---------- 低めの画面(ノートPC等) ---------- */
@media (max-height: 880px) and (min-width: 901px) {
  #my-hand { --tw: 48px; }
  #my-area { padding-bottom: 8px; gap: 6px; }
  #action-bar { min-height: 56px; }
  #seat-0 { bottom: 160px; }
  .btn-action { font-size: 24px; padding: 10px 26px; }
  /* 河の牌は画面高さに合わせて縮小し、上の河の3段目が対面エリア(下端約62px)に
     かぶらないようにする。式: 河の高さ rh = 4.14*tw + 6px、上端 = 46vh - rvoff - rh = 66px */
  .river { --tw: clamp(18px, calc((46vh - 222px) / 4.14), 32px); --rvoff: 150px; }
  #dora-tiles { --tw: 36px; }
}

/* ---------- 小さい画面(スマホ)向け調整 ---------- */
@media (max-width: 900px), (max-height: 620px) {
  #my-hand { --tw: 42px; }
  /* 山は省略(狭いので) */
  #walls { display: none; }
  .river { --tw: clamp(14px, calc((46vh - 180px) / 4.14), 26px); --rvoff: 84px; --rgap: 120px; }
  #dora-tiles { --tw: 28px; }
  .opp-hand.vert { --tw: 16px; }
  .opp-hand, .opp-melds { --tw: 18px; }
  #seat-0 { bottom: 160px; left: 4%; }
  .seat-panel { font-size: 13px; padding: 4px 10px; }
  .seat-panel .sc { font-size: 15px; }
  #round-label { font-size: 19px; }
  #center-info { padding: 8px 12px; }
  #dora-tiles { --tw: 22px; }
  .btn-action { font-size: 21px; padding: 10px 22px; }
  .title { font-size: 46px; }
  .btn-big { font-size: 21px; min-width: 280px; padding: 14px 24px; }
  .problem-hand { --tw: 34px; }
  .win-hand { --tw: 32px; }
}
