/* Curio Casino — Craps V22: compact, clean felt table and controls. */
.craps-page{color:#f8f2e3;min-width:0}
.craps-page .casino-breadcrumbs{padding:9px 0 12px}
.craps-hero{display:flex;align-items:end;justify-content:space-between;gap:13px;margin:0 0 14px;flex-wrap:wrap}
.craps-hero h1{font:1000 clamp(34px,4vw,52px)/1 'Courier New',monospace;margin:5px 0;color:#ffdea0;letter-spacing:-2px;text-shadow:3px 3px 0 #7c4050}
.craps-hero p{margin:5px 0 0;color:#bfcbd4;font-size:13px;line-height:1.4}
.craps-hud{display:flex;gap:10px 18px;flex-wrap:wrap;align-items:center;background:#202a3c;border:1px solid #536073;padding:11px 14px;border-radius:12px;font:800 11px/1.3 'Courier New',monospace;color:#a7b9cb;margin-bottom:10px}
.craps-hud strong{font-size:13px;color:#fbe2a1;white-space:nowrap}.craps-hud a{color:#f9d68b;text-decoration:none;margin-left:auto}
.craps-sound{padding:6px 10px;font:800 10px 'Courier New';background:#2d3b52;border:1px solid #647891;border-radius:7px;color:#efecdc;cursor:pointer}
.craps-main-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);align-items:start;gap:11px}
.craps-table{background:radial-gradient(ellipse at 50% 39%,#216b53,#125040 65%,#082c2b 100%);border:10px solid #503a30;border-radius:24px;box-shadow:inset 0 0 0 2px #b79b6c80,0 18px 35px #080c1677;min-width:0;padding:16px 17px 18px;position:relative;overflow:hidden}
.craps-table::before{content:'';position:absolute;inset:9px;border:1px solid rgba(241,221,170,.35);border-radius:14px;pointer-events:none}
.craps-table::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.06;background:repeating-linear-gradient(0deg,transparent 0px,transparent 5px,#fff 6px)}
.craps-table-head,.craps-stage,.craps-helper,.craps-point-track,.craps-bet-surface{position:relative;z-index:1}
.craps-table-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:11px}
.craps-table-head>span{color:#e3c895;letter-spacing:1.2px;font:900 9px 'Courier New',monospace}
.craps-point-badge{padding:8px 11px;color:#142722;background:#ffda8c;letter-spacing:.6px;border:2px solid #fff1bb;border-radius:28px;font:900 12px 'Courier New';white-space:nowrap;box-shadow:0 0 16px #ffd38a44}
.craps-point-badge.is-off{background:#253c4d;border-color:#698fa0;color:#c2e4e3;box-shadow:none}
.craps-stage{display:flex;align-items:center;justify-content:center;gap:23px;padding:8px 12px;border:1px solid rgba(246,224,166,.21);background:linear-gradient(180deg,#0b2e2b70,#071d1e55);border-radius:18px;min-height:122px}
.craps-dice-zone{display:flex;gap:12px;align-items:center;justify-content:center}
.craps-die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;width:76px;height:76px;padding:12px;border-radius:12px;border:2px solid #fdf7e6;background:linear-gradient(140deg,#fffef6,#efe0c0);box-shadow:3px 5px 0 #071e25aa,inset 0 1px 5px #c4ad8c;color:#192536;transform-origin:center center}
.craps-pip{width:100%;height:100%;border-radius:50%}.craps-pip.on{background:#1e3345;box-shadow:inset 1px 2px 2px #0b1624aa}
.craps-dice-zone.is-rolling .craps-die:first-child{animation:craps-tumble-a .37s ease-in-out infinite alternate}
.craps-dice-zone.is-rolling .craps-die:last-child{animation:craps-tumble-b .33s ease-in-out infinite alternate}
.craps-stage-readout{display:flex;flex-direction:column;gap:4px;min-width:75px;align-items:center}
.craps-stage-readout strong{font:1000 37px/.95 'Courier New';color:#ffe3a0;text-shadow:3px 3px #1f2638}
.craps-stage-readout span{font:900 9px/1.45 'Courier New';color:#cde5db;text-align:center;letter-spacing:.7px}
.craps-helper{font-size:11px;line-height:1.5;color:#d3e5d8;margin:9px 5px 8px;text-align:center;min-height:32px}
.craps-point-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:10px}
.craps-point-number{display:flex;min-height:39px;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #a3c8ab5e;background:#0c3a3273;border-radius:8px;font:900 16px 'Courier New';color:#ecf4e4}
.craps-point-number.active{border:2px solid #ffe3a3;background:#cfaf67;color:#242a2c;box-shadow:0 0 18px #fbd58c55}
.craps-point-number small{font-size:7px;letter-spacing:1px}
.craps-bet-surface{display:grid;gap:9px}
.craps-major-bets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.craps-bet-spot{min-height:69px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:2px solid #e8d3a369;color:#f6e4b9;border-radius:10px;padding:7px 6px;background:#133d3c73;cursor:pointer;text-align:center;transition:background .13s,transform .13s}
.craps-bet-spot:hover:not(:disabled){background:#317b6b;transform:translateY(-1px)}.craps-bet-spot:focus-visible,.craps-place:focus-visible{outline:3px solid #ffcd71;outline-offset:2px}
.craps-bet-spot strong{font:900 clamp(10px,1vw,12px) 'Courier New';letter-spacing:.4px}
.craps-bet-spot small{font-size:10px;line-height:1.2;color:#c5dacb}
.craps-bet-spot.is-disabled{opacity:.48;cursor:not-allowed}
.craps-chip-marker{display:inline-block;background:#e6bb70;border-radius:20px;color:#202737;border:1px solid #fff1ce;font:900 10px 'Courier New';padding:3px 8px;box-shadow:0 2px 0 #775435}
.craps-number-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#f2dca9;font:900 11px 'Courier New';letter-spacing:1px}.craps-number-head small{font:700 10px 'Courier New';color:#bddec9;letter-spacing:0}
.craps-place-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.craps-place{display:flex;min-width:0;min-height:70px;flex-direction:column;gap:2px;align-items:center;justify-content:center;border:2px solid #a8c9b476;background:#164a3edb;color:#ffe7b6;border-radius:10px;cursor:pointer}
.craps-place strong{font:1000 24px 'Courier New'}
.craps-place small{font:900 10px 'Courier New';color:#d0e6d2}
.craps-place span{font:900 9px 'Courier New';background:#c58c58;color:#191d2c;border-radius:20px;padding:3px}
.craps-place.has-bet{border-color:#fff0bd;box-shadow:inset 0 0 0 2px #dfb96822}
.craps-place:hover:not(:disabled){background:#236956}
.craps-field-wrap .craps-bet-spot{min-height:50px;width:100%;flex-direction:row;flex-wrap:wrap;gap:8px}
.craps-console{border:1px solid #536177;background:linear-gradient(170deg,#232c40,#171e2f);border-radius:14px;padding:14px;max-height:min(78vh,720px);overflow-y:auto;overscroll-behavior:contain;min-width:0;box-shadow:0 10px 32px #040a1760}
.craps-console-label{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid #4d5a73;padding-bottom:12px;margin-bottom:12px;color:#ffe0a0;letter-spacing:1px;font:900 12px 'Courier New'}
.craps-console-label small{font:900 10px 'Courier New';color:#b9dfd4}
.craps-chip-caption{display:flex;align-items:center;justify-content:space-between;color:#d5e2e9;font:900 11px 'Courier New';margin-bottom:8px}
.craps-chip-caption strong{color:#f8ce83;font-size:14px}
.craps-chip-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.craps-chip-choice{border-radius:50%;aspect-ratio:1;min-width:0;max-height:64px;background:linear-gradient(140deg,#287a7a,#174d65);border:4px dashed #f5e6c9;color:white;box-shadow:0 4px 0 #0f1924;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;font:900 clamp(10px,1.5vw,14px) 'Courier New';gap:1px}
.craps-chip-choice span{font-size:10px}.craps-chip-choice:nth-child(2){background:linear-gradient(140deg,#4c79b1,#29517d)}.craps-chip-choice:nth-child(3){background:linear-gradient(140deg,#b4516a,#702c49)}.craps-chip-choice:nth-child(4){background:linear-gradient(140deg,#735bb4,#483783)}.craps-chip-choice:nth-child(5){background:linear-gradient(140deg,#d6b066,#896b3e);color:#1f202a}
.craps-chip-choice.selected{outline:3px solid #f9d68b;outline-offset:3px;transform:translateY(-2px)}
.craps-denomination-note{font-size:10px;color:#aec2ce;line-height:1.4;margin:12px 0 7px}
.craps-main-action{display:flex;gap:7px;margin:8px 0 10px}
.craps-roll-button{border:2px solid #fff0bc;background:#f5ca76;color:#262332;font:1000 16px/1.2 'Courier New';padding:13px 15px;min-height:52px;flex:1;border-radius:8px;box-shadow:3px 4px 0 #85643e;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:12px}
.craps-roll-button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.craps-roll-button:hover:not(:disabled){background:#ffe5a5}
.craps-skip{border:1px solid #91a6b8;background:#34445d;color:#eef2f2;border-radius:8px;cursor:pointer;font:900 10px 'Courier New';padding:8px}
.craps-toast{padding:9px 11px;background:#1f3c48;border-left:3px solid #e4c078;color:#f5e9cb;font:800 11px/1.4 'Courier New';margin-bottom:10px}
.craps-active-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;margin:13px 0 8px;color:#f9d98c;font:900 11px 'Courier New'}
.craps-active-head button{border:1px solid #65788c;border-radius:6px;background:#2d3a50;color:#c9dce6;padding:6px 8px;font:900 9px 'Courier New';cursor:pointer}
.craps-active-list{display:grid;gap:6px;max-height:185px;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}
.craps-active-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #485870;border-radius:8px;background:#182337;padding:9px 10px}
.craps-active-text{min-width:0;display:grid;gap:4px}.craps-active-text strong{font:900 11px/1.25 'Courier New';color:#f2dfb7}.craps-active-text small{font:700 10px 'Courier New';color:#aec5d4}
.craps-active-actions{display:flex;flex-wrap:wrap;gap:4px;justify-content:end}
.craps-small-button{border:1px solid #b69e74;border-radius:5px;background:#5f523a;color:#ffe3a2;font:900 9px 'Courier New';padding:6px;cursor:pointer;white-space:nowrap}
.craps-small-button.subtle{border-color:#688899;background:#2f4960;color:#d0e5ee}.craps-small-button:disabled{opacity:.34;cursor:not-allowed}
.craps-empty-bets{border:1px dashed #718194;border-radius:8px;color:#bfcdd8;font-size:12px;padding:13px;line-height:1.5}
.craps-details{border:1px solid #4a5b72;border-radius:8px;margin-top:9px;background:#1a2638;min-width:0}.craps-details>summary{cursor:pointer;font:900 10px 'Courier New';color:#ffe0a7;padding:11px 12px}.craps-details[open]>summary{border-bottom:1px solid #465972}
.craps-result-empty{font-size:12px;color:#aebfd0;padding:7px 12px}.craps-result-line{display:flex;justify-content:space-between;gap:12px;padding:12px;font:900 12px 'Courier New';color:#e2edec}.craps-result-line strong{font-size:16px}.craps-result-line.positive strong{color:#85eac1}.craps-result-line.negative strong{color:#ffc4b5}.craps-result-line.neutral strong{color:#f7dc9c}
.craps-event-list{display:grid;gap:2px;padding:0 10px 10px}.craps-event{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#b9d1dd;font:800 11px 'Courier New';padding:7px 4px;border-top:1px solid #ffffff12}.craps-event b{white-space:nowrap}.craps-event.win b{color:#83eec2}.craps-event.loss b{color:#ffada8}.craps-event.info{color:#f1d99e}
.craps-history{display:flex;flex-wrap:wrap;gap:6px;padding:10px}.craps-history-item{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #6d8995;border-radius:6px;background:#2c5361;color:#f5e9ce;font:900 12px 'Courier New'}.craps-history-item.is-seven{background:#a74658;border-color:#d4848d}
.craps-guide{margin:12px 0;border:1px solid #54637b;border-radius:12px;background:#1b283b;color:#c7d5df}.craps-guide>summary{cursor:pointer;padding:13px 17px;color:#f6d795;font:900 12px 'Courier New'}.craps-guide-inner{padding:14px 18px;border-top:1px solid #54637b;line-height:1.65;font-size:13px}
.craps-guide-inner table{width:100%;border-collapse:collapse;font-size:12px}.craps-guide-inner th,.craps-guide-inner td{padding:7px;border-bottom:1px solid #43576a;text-align:left}.craps-guide-inner p{margin:8px 0;color:#c7d5df}
.casino-craps-tile{background:radial-gradient(circle at 90% 14%,#daad6b66,transparent 50%),linear-gradient(130deg,#254c44,#27374a);border-color:#8c8868}.casino-craps-tile .casino-game-symbol{font-size:69px;color:#f1ddb0;text-shadow:3px 3px #425a60}
@keyframes craps-tumble-a{from{transform:rotate(-22deg) translateY(-7px)}to{transform:rotate(28deg) translateY(8px)}}
@keyframes craps-tumble-b{from{transform:rotate(22deg) translateY(8px)}to{transform:rotate(-29deg) translateY(-7px)}}
@media(max-width:1000px){.craps-main-grid{grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)}.craps-console{max-height:76vh}.craps-table{padding:13px}.craps-die{width:65px;height:65px;padding:10px}}
@media(max-width:780px){.craps-main-grid{grid-template-columns:minmax(0,1fr)}.craps-console{max-height:none;overflow:visible}.craps-table{border-width:8px}.craps-active-list{max-height:180px}.craps-roll-button{position:sticky;bottom:10px;z-index:12}.craps-main-action{position:sticky;bottom:7px;z-index:15;border-radius:9px;background:#192a3fdd;padding:5px}.craps-page .casino-breadcrumbs{padding-top:5px}}
@media(max-width:480px){.craps-page .casino-breadcrumbs{padding:5px 0 7px}.craps-hero{margin-bottom:8px}.craps-hero h1{font-size:35px}.craps-hero p{font-size:11px}.craps-hud{gap:6px 10px;font-size:10px;padding:9px}.craps-hud strong{font-size:11px}.craps-table{border-width:6px;padding:10px;border-radius:15px}.craps-table-head>span{font-size:8px;letter-spacing:0}.craps-point-badge{font-size:10px;padding:5px 7px}.craps-stage{gap:10px;min-height:92px;padding:5px}.craps-dice-zone{gap:7px}.craps-die{width:57px;height:57px;padding:9px;gap:3px;border-radius:10px}.craps-stage-readout{min-width:60px}.craps-stage-readout strong{font-size:32px}.craps-stage-readout span{font-size:8px}.craps-helper{font-size:10px;margin:8px 2px;min-height:unset}.craps-point-track{gap:3px}.craps-point-number{min-height:34px;font-size:13px}.craps-major-bets{gap:5px}.craps-bet-spot{min-height:65px;padding:6px 3px}.craps-bet-spot strong{font-size:10px}.craps-bet-spot small{font-size:9px}.craps-place-grid{gap:4px}.craps-place{min-height:65px;border-radius:7px}.craps-place strong{font-size:19px}.craps-place small{font-size:8px}.craps-place span{font-size:8px}.craps-console{padding:12px}.craps-chip-palette{gap:8px}.craps-chip-choice{border-width:3px}.craps-console-label{font-size:10px}.craps-history-item{width:29px;height:29px}.craps-roll-button{font-size:14px}}
@media(max-width:350px){.craps-hud a{margin-left:0}.craps-die{width:49px;height:49px;padding:8px}.craps-stage-readout strong{font-size:28px}.craps-bet-spot small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.craps-dice-zone.is-rolling .craps-die{animation:none}}
/* Touch-first dock: chip selection and roll remain accessible at the table. */
.craps-mobile-dock{display:none}
@media(max-width:780px){
  .craps-mobile-dock{display:grid;gap:6px;position:fixed;bottom:0;left:0;right:0;z-index:90;padding:9px 12px max(10px,env(safe-area-inset-bottom));background:#131f33ef;border-top:2px solid #b99d65;box-shadow:0 -12px 28px rgba(0,0,0,.45);backdrop-filter:blur(12px)}
  .craps-dock-values{display:grid;grid-template-columns:35px repeat(5,minmax(0,1fr));gap:5px;align-items:center;max-width:600px;width:100%;margin:auto}
  .craps-dock-values>span{font:900 10px 'Courier New';color:#f2db9e}
  .craps-dock-chip{min-width:0;min-height:32px;border:1px solid #7690a6;border-radius:7px;background:#253b52;color:#e3edf2;cursor:pointer;font:900 12px 'Courier New'}
  .craps-dock-chip.selected{background:#f2cb77;color:#211a25;border-color:#fff0b4}
  .craps-dock-roll{max-width:600px;width:100%;margin:auto;min-height:43px;border:2px solid #fff0b4;border-radius:8px;background:#f3c873;color:#221c29;font:1000 14px 'Courier New';cursor:pointer}
  .craps-dock-roll:disabled{opacity:.42;cursor:not-allowed}
  .craps-page{padding-bottom:126px}
  .craps-console .craps-main-action{position:static;display:none}
}
@media(max-width:380px){.craps-mobile-dock{padding:7px 8px max(8px,env(safe-area-inset-bottom))}.craps-dock-chip{min-height:30px;font-size:11px}.craps-dock-roll{min-height:40px}}
