LINE1 10 20 30 40 50 60 70 801:root {2 --ink: #fff8e7;3 --muted: #cbb7e0;4 --panel: rgba(29, 16, 36, 0.82);5 --accent: #ffd27a;6 --brick: #c0392b;7 font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;8 color: var(--ink);9}1011* { box-sizing: border-box; }1213html, body {14 margin: 0;15 height: 100%;16 background: #120a18;17 overflow: hidden;18 overscroll-behavior: none;19 -webkit-tap-highlight-color: transparent;20 user-select: none;21}2223#game {24 position: fixed;25 inset: 0;26}2728#game canvas {29 display: block;30 touch-action: none;31}3233[hidden] { display: none !important; }3435#hud, #log {36 position: fixed;37 z-index: 5;38 pointer-events: none;39}4041#hud {42 top: max(10px, env(safe-area-inset-top));43 left: max(10px, env(safe-area-inset-left));44 width: min(340px, 60vw);45 padding: 8px 10px;46 background: var(--panel);47 border: 2px solid var(--accent);48 border-radius: 6px;49 font-size: clamp(11px, 2.6vw, 14px);50 line-height: 1.35;51}5253#round { color: var(--accent); font-weight: 600; }54#hand { color: var(--muted); margin: 2px 0 6px; }5556.guest { display: flex; gap: 6px; }57.guest b { min-width: 3.5em; font-weight: 600; }58.guest span { color: var(--ink); opacity: 0.92; }5960#log {61 left: 50%;62 bottom: calc(max(12px, env(safe-area-inset-bottom)) + 4px);63 transform: translateX(-50%);64 width: min(480px, 90vw);65 text-align: center;66 font-size: clamp(11px, 2.4vw, 14px);67 text-shadow: 0 1px 2px #000, 0 0 6px #000;68}6970#log > div { margin: 2px 0; }71#log .toast { color: var(--muted); font-style: italic; }7273#controls {74 position: fixed;75 inset: 0;76 z-index: 6;77 pointer-events: none;78}7980#stick {81 position: absolute;82 left: max(16px, env(safe-area-inset-left));83 bottom: max(16px, env(safe-area-inset-bottom));84 width: 132px;85 height: 132px;86 border-radius: 50%;87 background: rgba(29, 16, 36, 0.45);88 border: 2px solid rgba(255, 210, 122, 0.5);89 pointer-events: auto;90 touch-action: none;91}9293#knob {94 position: absolute;95 left: 50%;96 top: 50%;97 width: 56px;98 height: 56px;99 margin: -28px 0 0 -28px;100 border-radius: 50%;101 background: rgba(255, 210, 122, 0.75);102 pointer-events: none;103}104105#use {106 position: absolute;107 right: max(16px, env(safe-area-inset-right));108 bottom: max(20px, env(safe-area-inset-bottom));109 width: 100px;110 height: 100px;111 border-radius: 50%;112 border: 2px solid var(--accent);113 background: rgba(192, 57, 43, 0.85);114 color: var(--ink);115 font: 600 18px system-ui, sans-serif;116 pointer-events: auto;117 touch-action: none;118 cursor: pointer;119}120121#use:active { transform: scale(0.96); }122123.overlay {124 position: fixed;125 inset: 0;126 z-index: 10;127 display: flex;128 align-items: center;129 justify-content: center;130 padding: 16px;131 background: rgba(18, 10, 24, 0.94);132 overflow-y: auto;133}134135.card {136 width: min(380px, 100%);137 padding: 20px;138 background: var(--panel);139 border: 2px solid var(--accent);140 border-radius: 10px;141}142143.card h1 { margin: 0 0 4px; font-size: 26px; color: var(--accent); font-weight: 600; }144.muted { color: var(--muted); margin: 0 0 12px; font-size: 14px; }145146.preview {147 display: flex;148 justify-content: center;149 margin-bottom: 12px;150}151152.preview canvas {153 width: 96px;154 height: 144px;155 image-rendering: pixelated;156}157158.row {159 display: flex;160 align-items: center;161 gap: 8px;162 margin-bottom: 8px;163 font-size: 15px;164}165166.row > span { width: 110px; color: var(--muted); }167.row input {168 flex: 1;169 padding: 8px 10px;170 font: inherit;171 color: var(--ink);172 background: #1f1228;173 border: 1px solid var(--accent);174 border-radius: 6px;175}176177.option b {178 flex: 1;179 text-align: center;180 font-weight: 500;181}182183.option button {184 width: 40px;185 height: 40px;186 font-size: 22px;187 color: var(--ink);188 background: #3b2a4a;189 border: 1px solid rgba(255, 210, 122, 0.5);190 border-radius: 8px;191 cursor: pointer;192}193194button.primary {195 width: 100%;196 margin-top: 8px;197 padding: 12px;198 font: 600 17px system-ui, sans-serif;199 color: #1a0f1f;200 background: var(--accent);201 border: 0;202 border-radius: 8px;203 cursor: pointer;204}205206button.primary:disabled { opacity: 0.6; cursor: default; }207208.error { color: #ff9a8a; margin: 10px 0 0; font-size: 14px; }209210@media (max-width: 700px) {211 #hud { width: 58vw; }212}