Spaces:
Running
Running
File size: 24,630 Bytes
e75bcbc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | /* Decide Live: bright theme. Light shone through an egg is the motif: warm candle amber + clear teal on a cool white ground. */
:root {
--bg: #f5f7fb;
--bg2: #eef2f8;
--card: #ffffff;
--card2: #f3f6fa;
--ink: #0e1a2b;
--muted: #5a6a80;
--line: #dfe6ef;
--accent: #0b9c94;
--accent-strong: #08807a;
--accent-ink: #ffffff;
--accent-dim: rgba(11, 156, 148, 0.12);
--amber: #f2a20c;
--amber-dim: rgba(242, 162, 12, 0.14);
--warn: #c97800;
--bad: #e5484d;
--good: #0b9c94;
--radius: 18px;
--shadow: 0 1px 2px rgba(14, 26, 43, 0.05), 0 8px 24px rgba(14, 26, 43, 0.06);
--shadow-lift: 0 2px 4px rgba(14, 26, 43, 0.06), 0 18px 40px rgba(14, 26, 43, 0.10);
--display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
--body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-strong); }
code { font: 0.86em var(--mono); background: var(--card2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(11, 156, 148, 0.45); outline-offset: 2px; }
/* ---------------------------------------------------------------- hero */
.top { position: relative; overflow: hidden; background: #fbfcfe; border-bottom: 1px solid var(--line); isolation: isolate; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: -1; pointer-events: none; }
.glow.a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(242, 162, 12, 0.55), rgba(242, 162, 12, 0) 70%); top: -240px; right: -80px; animation: drift-a 16s ease-in-out infinite alternate; }
.glow.b { width: 460px; height: 460px; background: radial-gradient(circle, rgba(11, 156, 148, 0.45), rgba(11, 156, 148, 0) 70%); top: -160px; left: -140px; animation: drift-b 19s ease-in-out infinite alternate; }
.glow.c { width: 380px; height: 380px; background: radial-gradient(circle, rgba(80, 160, 255, 0.35), rgba(80, 160, 255, 0) 70%); bottom: -220px; left: 40%; animation: drift-c 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-120px, 60px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(160px, 40px) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-180px, -40px) scale(1.2); } }
.topbar { display: flex; gap: 28px; justify-content: space-between; align-items: flex-end; padding-top: 28px; padding-bottom: 18px; }
.brand { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(11, 156, 148, 0.25); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.eyebrow .pulse { width: 7px; height: 7px; }
.brand h1 { margin: 14px 0 0; font: 800 clamp(34px, 5.4vw, 60px)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.brand h1 .lit { background: linear-gradient(100deg, var(--accent) 0%, #1fb7a8 40%, var(--amber) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.brand .sub { margin: 12px 0 0; color: var(--muted); max-width: 640px; font-size: 15.5px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stat { display: inline-flex; align-items: baseline; gap: 6px; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; font-size: 13px; color: var(--muted); backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.stat b { font: 800 17px/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.statusbox { min-width: 270px; max-width: 360px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #b5c0cf; flex: none; }
.status.ready .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.status.ready { color: var(--accent-strong); }
.status.loading .dot { background: var(--amber); animation: blink 1s infinite; }
.status.error .dot { background: var(--bad); }
@keyframes blink { 50% { opacity: 0.3; } }
.chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--card2); color: var(--muted); border: 1px solid var(--line); font-weight: 600; }
.chip:empty { display: none; }
.chip.safe { color: var(--accent-strong); border-color: rgba(11, 156, 148, 0.3); background: var(--accent-dim); }
.progress { height: 6px; background: var(--bg2); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--amber)); transition: width 0.25s ease; }
.warn { color: var(--warn); font-size: 12px; margin: 6px 0 0; }
/* reel: the sample pictures drift past under the hero */
.reel { position: relative; overflow: hidden; padding: 4px 0 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel-track { display: flex; gap: 10px; width: max-content; animation: reel 60s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-track img { opacity: 0; transition: opacity 0.6s ease; height: 74px; width: 104px; object-fit: cover; border-radius: 12px; border: 2px solid #fff; box-shadow: var(--shadow); background: var(--bg2); }
.reel-track img.in { opacity: 1; }
@keyframes reel { to { transform: translateX(-50%); } }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 14px; }
.tab { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); color: var(--muted); padding: 8px 16px; font: 700 14px/1.2 var(--body); cursor: pointer; border-radius: 999px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.active { color: #fff; background: var(--ink); border-color: var(--ink); }
/* ---------------------------------------------------------------- buttons and fields */
button { font: inherit; cursor: pointer; border-radius: 12px; padding: 8px 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s; }
button:hover:not(:disabled) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
button:active:not(:disabled) { transform: scale(0.97); }
button:disabled { opacity: 0.45; cursor: default; }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; width: 100%; margin-top: 10px; }
button.primary:hover:not(:disabled) { background: var(--accent-strong); }
button.primary.inline { width: auto; margin-top: 0; }
button.ghost { background: transparent; }
button.small { padding: 4px 10px; font-size: 13px; }
select, input[type=text], textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 11px; width: 100%; }
select:focus, input:focus, textarea:focus { outline: 3px solid var(--accent-dim); border-color: var(--accent); }
textarea { resize: vertical; font-family: var(--mono); font-size: 13px; }
input[type=range] { accent-color: var(--accent); width: 100%; }
.note { color: var(--muted); font-size: 13px; margin: 8px 0; }
/* ---------------------------------------------------------------- live layout */
.view { padding-top: 22px; padding-bottom: 18px; animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.livegrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .livegrid { grid-template-columns: 1fr; } }
.sources { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.src { border-radius: 999px; font-weight: 600; }
.src.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.stage { position: relative; aspect-ratio: 4 / 3; background: #e9eef5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.stage video, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage video { opacity: 0; }
.stage.camera video { opacity: 1; }
.stage.camera canvas { opacity: 0; }
.stage.mirror video { transform: scaleX(-1); }
/* a soft beam sweeps over the picture while decisions are running */
.scan { position: absolute; left: 0; right: 0; height: 28%; top: -30%; pointer-events: none; background: linear-gradient(180deg, rgba(242, 162, 12, 0) 0%, rgba(242, 162, 12, 0.16) 70%, rgba(255, 214, 120, 0.55) 100%); border-bottom: 2px solid rgba(255, 200, 80, 0.85); opacity: 0; }
.stage.running .scan { opacity: 1; animation: sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes sweep { to { top: 102%; } }
.badge { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.86); color: var(--ink); border: 1px solid rgba(11, 156, 148, 0.35); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(11, 156, 148, 0.6); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(11, 156, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 156, 148, 0); } }
.hud { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, 0.86); padding: 6px 11px; border-radius: 999px; font: 12.5px var(--mono); color: var(--muted); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.hud span:not(.sep):not(.unit) { color: var(--ink); font-weight: 700; }
.hud .sep { opacity: 0.4; margin: 0 4px; }
.overlay { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 18px; padding: 10px 16px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lift); }
.ring { width: 76px; height: 76px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: var(--bg2); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 0.35s ease, stroke 0.35s; }
.overlay.uncertain .ring-fg { stroke: var(--amber); }
.ovtext { min-width: 0; }
.ovq { color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovlabel { font: 800 clamp(24px, 4.4vw, 40px)/1.08 var(--display); letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--accent-strong); }
.ovlabel.pop { animation: pop 0.42s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes pop { 0% { transform: scale(0.82); opacity: 0.3; } 100% { transform: none; opacity: 1; } }
.overlay.uncertain .ovlabel { color: var(--warn); }
.ovpct { font: 12.5px var(--mono); color: var(--muted); }
.idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; background: radial-gradient(ellipse at 50% 45%, rgba(255, 236, 190, 0.85), rgba(245, 247, 251, 0.94) 65%); padding: 16px; }
.idle p { color: var(--muted); font-size: 13px; margin: 0; max-width: 420px; }
button.big { background: linear-gradient(100deg, var(--accent) 0%, #17b3a6 55%, #e7a015 130%); color: #fff; border: none; font: 800 18px/1 var(--display); letter-spacing: -0.01em; padding: 17px 30px; border-radius: 999px; box-shadow: 0 10px 30px rgba(11, 156, 148, 0.32); animation: breathe 2.4s ease-in-out infinite; }
button.big:hover:not(:disabled) { box-shadow: 0 14px 36px rgba(11, 156, 148, 0.42); }
@keyframes breathe { 50% { transform: scale(1.04); } }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-top: 12px; }
.controls label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 3px; flex: 1; min-width: 120px; font-weight: 600; }
.gate { display: flex; gap: 10px; align-items: center; margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; flex-wrap: wrap; box-shadow: var(--shadow); }
.gate > div { display: flex; flex-direction: column; flex: 1; min-width: 90px; }
.gnum { font: 800 28px/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gnum.accent { color: var(--accent-strong); }
.gnum.warnc { color: var(--warn); }
.glab { font-size: 12px; color: var(--muted); font-weight: 600; }
/* decision stream: one row per real decision on the primary card */
.stream { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.streamhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.streamhead h3 { margin: 0; font: 800 16px/1.2 var(--display); letter-spacing: -0.01em; }
.streamhead .note { margin: 0; font-size: 12px; }
.streamlist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; min-height: 52px; }
.streamlist:empty::before { content: "Start live decisions and each result appears here as it happens."; color: var(--muted); font-size: 13px; }
.tick { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; background: var(--card2); animation: slidein 0.45s cubic-bezier(0.2, 0.9, 0.2, 1); }
.tick:first-child { background: linear-gradient(90deg, var(--accent-dim), var(--card2)); }
.tick.uncertain:first-child { background: linear-gradient(90deg, var(--amber-dim), var(--card2)); }
@keyframes slidein { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }
.tick img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; display: block; background: var(--bg2); }
.tick .tl { min-width: 0; }
.tick .tq { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick .tv { font: 800 16px/1.2 var(--display); color: var(--accent-strong); }
.tick.uncertain .tv { color: var(--warn); }
.tick .tm { font: 12px var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.tick .tm b { display: block; font-size: 14px; color: var(--ink); }
/* ---------------------------------------------------------------- cards */
.cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cardhead h2 { margin: 0 0 12px; font: 800 20px/1.2 var(--display); letter-spacing: -0.02em; }
.cards { display: grid; gap: 12px; }
.dcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; box-shadow: var(--shadow); animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dcard.primary { border-color: rgba(11, 156, 148, 0.55); box-shadow: 0 0 0 3px var(--accent-dim), var(--shadow); }
.dcard.uncertain { border-color: rgba(242, 162, 12, 0.6); }
.dtop { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.dtitle { font-weight: 700; font-size: 15px; }
.dact { display: flex; gap: 4px; flex: none; }
.dact button { padding: 2px 9px; font-size: 12px; border-radius: 8px; }
.dverdict { margin: 6px 0 8px; font-size: 13px; color: var(--muted); min-height: 20px; }
.dverdict b { color: var(--accent-strong); font: 800 17px/1.2 var(--display); }
.dcard.uncertain .dverdict b { color: var(--warn); }
.obar { display: grid; grid-template-columns: minmax(70px, 34%) 1fr 48px; gap: 8px; align-items: center; margin: 5px 0; font-size: 13px; }
.obar .k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.obar.top .k { color: var(--ink); font-weight: 700; }
.obar .track { height: 12px; background: var(--bg2); border-radius: 6px; overflow: hidden; position: relative; }
.obar .fill { height: 100%; width: 0; background: #c3cddb; border-radius: 6px; transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s; }
.obar.top .fill { background: linear-gradient(90deg, var(--accent), #2cc2b3); }
.dcard.uncertain .obar.top .fill { background: linear-gradient(90deg, #e39410, var(--amber)); }
.obar .p { text-align: right; font: 12.5px var(--mono); }
.thr { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.thr input { flex: 1; }
.thr .tv { width: 34px; text-align: right; color: var(--ink); font-family: var(--mono); }
.dstats { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dedit { margin-top: 8px; display: grid; gap: 6px; }
.templates { margin-top: 18px; }
.templates h3 { font-size: 13px; margin: 0 0 8px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tpls { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tpls button { font-size: 13px; padding: 6px 12px; border-radius: 999px; }
/* ---------------------------------------------------------------- single / samples */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 12px; font: 800 21px/1.2 var(--display); letter-spacing: -0.02em; }
.wide { grid-column: 1 / -1; }
.subtabs { display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; }
.subtab { padding: 5px 13px; font-size: 13px; border-radius: 999px; }
.subtab.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.col { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.drop { display: block; border: 2px dashed var(--line); border-radius: 14px; padding: 12px; color: var(--muted); cursor: pointer; margin: 8px 0; font-size: 13px; background: var(--card2); transition: border-color 0.15s; }
.drop:hover { border-color: var(--accent); }
.drop input { display: block; margin-bottom: 4px; max-width: 100%; color: var(--ink); }
#imagePreview, #videoPreview { max-width: 100%; max-height: 300px; border-radius: 12px; display: block; margin-top: 8px; }
#audioPreview { width: 100%; margin-top: 8px; }
.seg { display: flex; gap: 16px; font-size: 14px; }
.seg input { accent-color: var(--accent); }
.adv { margin: 10px 0; border-top: 1px solid var(--line); padding-top: 8px; }
.adv summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.decision { font: 800 24px/1.2 var(--display); margin: 0 0 10px; letter-spacing: -0.02em; animation: pop 0.42s cubic-bezier(0.2, 1.4, 0.4, 1); }
.decision b { color: var(--accent-strong); }
.meta { color: var(--muted); font-size: 13px; margin-top: 10px; }
.prompts { margin-top: 8px; font-size: 12px; color: var(--muted); }
.prompts pre { white-space: pre-wrap; word-break: break-word; background: var(--card2); border: 1px solid var(--line); padding: 8px; border-radius: 10px; color: var(--ink); font-family: var(--mono); }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.summary { margin: 12px 0; font-size: 16px; }
.summary b { color: var(--accent-strong); font: 800 20px/1 var(--display); }
.tablewrap { overflow-x: auto; margin-top: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
tbody tr { animation: slidein 0.35s ease; }
td { font-variant-numeric: tabular-nums; }
td.ok { color: var(--good); font-weight: 700; }
td.no { color: var(--bad); font-weight: 700; }
.prose { max-width: 860px; }
.prose li { margin: 6px 0; }
.prose h3 { margin: 20px 0 6px; font: 800 17px/1.2 var(--display); }
.foot { color: var(--muted); font-size: 12.5px; padding-bottom: 28px; }
@media (max-width: 760px) {
.topbar { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 20px; }
.statusbox { min-width: 0; max-width: none; width: 100%; }
.brand .sub { font-size: 14px; }
.reel-track img { height: 56px; width: 80px; }
}
@media (max-width: 600px) {
.ring { width: 58px; height: 58px; }
.stage { aspect-ratio: 3 / 4; }
.badge { font-size: 11.5px; padding: 4px 9px; left: 8px; top: 8px; }
.hud { top: 44px; left: 8px; right: auto; font-size: 11.5px; }
.overlay { left: 8px; right: 8px; bottom: 8px; gap: 10px; padding: 8px 10px; }
}
/* ---------------------------------------------------------------- egg check */
.egggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; margin: 14px 0; }
.eggthumb { position: relative; padding: 6px; display: flex; flex-direction: column; gap: 5px; align-items: stretch; font-size: 12px; color: var(--muted); border-radius: 16px; box-shadow: var(--shadow); }
.eggthumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; background: #1b1b1b; display: block; }
.eggthumb.busy img { animation: candle 0.9s ease-in-out infinite alternate; }
@keyframes candle { from { filter: brightness(1); } to { filter: brightness(1.45) saturate(1.2); } }
.eggthumb .stamp { position: absolute; top: 12px; right: 12px; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font: 800 12px/1 var(--body); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); animation: stamp 0.45s cubic-bezier(0.2, 1.5, 0.4, 1); }
.eggthumb .stamp.good { background: var(--good); }
.eggthumb .stamp.bad { background: var(--bad); }
.eggthumb .stamp.miss { outline: 3px solid var(--amber); }
@keyframes stamp { from { transform: scale(2.2) rotate(-12deg); opacity: 0; } }
.btnrow .drop.inline { display: inline-block; margin: 0; padding: 8px 12px; }
.eggresult { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 16px; align-items: start; margin: 12px 0; }
.eggresult img { width: 100%; border-radius: 14px; background: #1b1b1b; box-shadow: var(--shadow); }
@media (max-width: 560px) { .eggresult { grid-template-columns: 1fr; } }
.okc { color: var(--good); font-weight: 700; margin-left: 6px; font-size: 15px; font-family: var(--body); }
.noc { color: var(--bad); font-weight: 700; margin-left: 6px; font-size: 15px; font-family: var(--body); }
img.mini { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin-right: 6px; }
.dctx { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.dedit input + input { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
.reel-track { animation: none; }
.stage.running .scan { opacity: 0; }
}
|