
.cf-app, .cf-app * { box-sizing: border-box; }
.cf-app { --cf-cut: 8px; --gs-ink: #e8edf3; --gs-muted: #a0aec0; --gs-line: #3a2f22; --gs-accent: #d4a24c; --gs-accent-ink: #1a1206;
  --gs-panel: #141b22; --gs-bg: #0b1014; --gs-chip: rgba(11, 16, 20, .92);
  position: relative; display: flex; flex-direction: column; color: #e8edf3; font: 16px/1.4 "Segoe UI", system-ui, Arial, sans-serif;
  overflow: clip; -webkit-tap-highlight-color: transparent; }
.cf-app.cf-embedded { height: clamp(480px, calc(100svh - 110px), 900px); border: 1px solid #3a2f22; background: #0b1014;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.cf-app.gs-fs { background: #0b1014; }
.cf-app .gs-stage, .cf-app .gs-main { min-height: 0; }
.cf-app.gs-wide .gs-stage { align-items: stretch; grid-template-rows: minmax(0, 1fr); }
.cf-app .gs-side { min-height: 0; overflow: auto; }
.cf-app .gs-main { display: flex; flex-direction: column; }
.cf-cut { clip-path: polygon(var(--cf-cut) 0, 100% 0, 100% calc(100% - var(--cf-cut)), calc(100% - var(--cf-cut)) 100%, 0 100%, 0 var(--cf-cut)); }
.cf-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 0 0 env(safe-area-inset-bottom, 0); }
.cf-info { font: 700 12px/1 monospace; letter-spacing: 1px; color: #e2c78f; }
.cf-hud { flex: 0 0 auto; display: flex; gap: 4px; flex-wrap: wrap; padding: 0 2px; }
.cf-chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 8px; background: rgba(20, 27, 34, .9); border: 1px solid rgba(212, 162, 76, .35); --cf-cut: 6px; }
.cf-chip small { font: 700 9px/1 monospace; letter-spacing: 1.3px; color: #a0aec0; }
.cf-chip b { font: 800 14px/1 monospace; color: #fff; white-space: nowrap; }
#cfSp { color: #f6c177; }
.cf-scene { flex: 0 0 clamp(120px, 24svh, 230px); position: relative; overflow: hidden; background: #070a0d; border: 1px solid rgba(212, 162, 76, .25); --cf-cut: 12px; }
.cf-scene.off { display: none; }
.cf-svg { width: 100%; height: 100%; display: block; }
.cf-tiny { font: 600 7px 'Share Tech Mono', monospace; letter-spacing: .5px; }
.cf-plate { font: 600 10px 'Share Tech Mono', monospace; letter-spacing: 1px; }
.cf-stamp-t { font: 700 13px 'Share Tech Mono', monospace; letter-spacing: .5px; }
.cf-stamp-big { font: 700 30px 'Share Tech Mono', monospace; letter-spacing: 4px; }
.cf-cone { animation: cfGlow 4.5s ease-in-out infinite; }
@keyframes cfGlow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.cf-passage { flex: 1 1 auto; min-height: 90px; overflow-y: auto; background: #f6f1e2; color: #20242a; padding: 12px 14px; line-height: 1.7; font-size: 15px; --cf-cut: 10px; }
.cf-passage .cf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; border-bottom: 1px solid #0002; padding-bottom: 5px; }
.cf-passage .cf-topic { font: 600 11px 'Share Tech Mono', monospace; letter-spacing: 1.5px; color: #8a6a25; text-transform: uppercase; }
.cf-passage .cf-title { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.cf-passage p { margin: 0 0 9px; }
.cf-sent { padding: 1px 2px; transition: background .15s, box-shadow .15s; }
.cf-sent i { font: 700 9px/1 monospace; font-style: normal; color: #8a6a25; vertical-align: super; margin-right: 2px; opacity: .8; }
.cf-pickable .cf-sent { cursor: pointer; }
.cf-pickable .cf-sent:hover, .cf-pickable .cf-sent:active { background: #f6e05e88; box-shadow: 0 0 0 2px #d4a24c66; }
.cf-pickable { outline: 2px solid #d4a24c; outline-offset: -2px; }
.cf-sent.cf-right { background: #9ae6b4; box-shadow: 0 0 0 2px #2f855a66; }
.cf-sent.cf-mine { background: #fbd38d; box-shadow: 0 0 0 2px #c0785a66; }
.cf-dock { flex: 0 0 auto; background: rgba(192, 120, 90, .08); border: 1px solid rgba(192, 120, 90, .35); padding: 8px 10px 10px; display: grid; gap: 4px; }
.cf-ask-n { font: 600 11px 'Share Tech Mono', monospace; letter-spacing: 1.5px; color: #c0785a; }
.cf-ask-t { font-size: 15.5px; line-height: 1.45; color: #e8edf3; max-height: 7.2em; overflow: auto; }
.cf-step { min-height: 18px; font-size: 13px; color: #d4a24c; }
.cf-step.bad { color: #feb2b2; }
.cf-step.pick { color: #fde68a; font-weight: 700; }
.cf-verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cf-v { background: #121820; border: 1px solid rgba(255, 255, 255, .16); padding: 8px 4px; min-height: 52px; color: #e8edf3; cursor: pointer; text-align: center; --cf-cut: 8px; }
.cf-v:hover:not(:disabled) { border-color: #c0785a; background: #1a222c; }
.cf-v:disabled { opacity: .45; cursor: default; }
.cf-v.on { border-color: #d4a24c; background: #241c12; }
.cf-v b { display: block; font: 700 13px 'Share Tech Mono', monospace; letter-spacing: .5px; }
.cf-v span { display: block; font-size: 10.5px; opacity: .65; margin-top: 2px; line-height: 1.2; }
.cf-fb { border: 1px solid; padding: 9px 11px; font-size: 14px; line-height: 1.5; }
.cf-fb.ok { background: rgba(72, 187, 120, .12); border-color: rgba(72, 187, 120, .45); color: #9ae6b4; }
.cf-fb.half { background: rgba(246, 173, 85, .12); border-color: rgba(246, 173, 85, .45); color: #fbd38d; }
.cf-fb.no { background: rgba(229, 62, 62, .12); border-color: rgba(229, 62, 62, .45); color: #feb2b2; }
.cf-fb b { color: #fff; }
.cf-dock .cf-go { width: 100%; padding: 10px 14px; margin-top: 2px; }
.cf-dock.fb .cf-step { display: none; }
.cf-over { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(5, 8, 12, .74); backdrop-filter: blur(2px); }
.cf-ocard { background: linear-gradient(160deg, #1f1810, #10161c); border: 1px solid rgba(212, 162, 76, .45); --cf-cut: 14px; padding: 18px; max-width: 480px; width: 100%; text-align: center; color: #f6f1e2; max-height: 100%; overflow: auto; }
.cf-kick, .cf-kicker { font: 700 12px/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #d4a24c; }
.cf-kick.bad { color: #fca5a5; }
.cf-title2 { font: 800 24px/1.2 system-ui, sans-serif; margin: 4px 0 8px; }
.cf-title2.sm { font-size: 20px; }
.cf-title2.bad { color: #fecaca; }
.cf-sub { font-size: 14px; color: #cbd5e0; margin: 6px 0 12px; line-height: 1.45; }
.cf-stars { font-size: 30px; letter-spacing: 6px; }
.cf-stars .off { filter: grayscale(1) opacity(.3); }
.cf-go { background: linear-gradient(135deg, #d4a24c, #c0785a); color: #1a1206; border: 0; padding: 12px 26px; min-height: 46px; font: 800 16px system-ui, sans-serif; cursor: pointer; --cf-cut: 9px; }
.cf-go:focus-visible, .cf-v:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cf-rev { text-align: left; display: grid; gap: 5px; margin: 8px 0 12px; }
.cf-rev-row { display: flex; gap: 10px; padding: 7px 10px; background: rgba(255, 255, 255, .05); font-size: 13px; border-left: 3px solid #718096; --cf-cut: 6px; }
.cf-rev-row.ok { border-left-color: #48bb78; } .cf-rev-row.half { border-left-color: #f6ad55; } .cf-rev-row.no { border-left-color: #e53e3e; }
.cf-rev-v { font: 700 11px 'Share Tech Mono', monospace; letter-spacing: 1px; min-width: 74px; color: #d4a24c; }
.cf-rev-t { color: #e8edf3; }
.cf-rev-e { display: block; color: #a0aec0; font-size: 12px; margin-top: 3px; }
.cf-chip.hot { border-color: #f6c177; background: rgba(60, 40, 12, .95); }
.cf-chip.hot b { color: #f6c177; }
.cf-flour { position: absolute; left: 50%; top: 30%; z-index: 20; pointer-events: none; padding: 8px 18px; background: linear-gradient(135deg, #d4a24c, #c0785a); color: #1a1206; font: 800 20px/1 monospace; letter-spacing: 1px; white-space: nowrap; --cf-cut: 8px; transform: translateX(-50%); }
.cf-auto { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; color: #cbd5e0; }
.cf-auto-t { white-space: nowrap; } .cf-auto-t b { color: #f6c177; font-family: monospace; }
.cf-auto-bar { flex: 1; height: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.cf-auto-bar i { display: block; height: 100%; background: #d4a24c; transform-origin: left; will-change: transform; }
.cf-stay { background: transparent; color: #f6f1e2; border: 1px solid rgba(212, 162, 76, .6); padding: 8px 14px; min-height: 40px; font: 700 14px system-ui, sans-serif; cursor: pointer; --cf-cut: 6px; }
@media (max-width: 420px) {
  .cf-info { display: none; }
  .cf-chip { padding: 3px 6px; gap: 4px; }
  .cf-chip small { font-size: 8px; letter-spacing: 1px; }
  .cf-chip b { font-size: 13px; }
  .cf-passage { font-size: 14.5px; padding: 10px 12px; }
  .cf-ask-t { font-size: 15px; }
  .cf-v span { font-size: 10px; }
}
