/* A pocket table in Formula AK's existing room: same type, deck and materials. */
.calculator { font-size: 15px; background: radial-gradient(ellipse at 85% 0, #142343 0, transparent 48%), var(--bg); }
.calculator [hidden] { display: none !important; }
.calc-header { width: min(1120px, 100%); margin: auto; padding: max(18px, env(safe-area-inset-top)) 24px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-header .brand-mark { width: 42px; height: 34px; }.calc-header .brand-word { font-size: 23px; }
.calc-icon { min-width: 44px; min-height: 44px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-radius: 50%; color: var(--mute); flex: none; }
.calc-icon:hover { color: var(--gold-hi); background: var(--bg-3); }.calc-icon span { font-size: 13px; }
.calc-main { width: min(1072px, calc(100% - 48px)); margin: 0 auto; }
.calc-intro { padding: 30px 0 28px; }
.calc-intro h1 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; letter-spacing: -.025em; margin: 12px 0 16px; }
.calc-intro h1 br { display: none; }.calc-intro h1 em { font-weight: 500; color: var(--gold-text); }.calc-intro > p:last-child { color: var(--mute); }
.calc-tabs { display: flex; border-bottom: 1px solid var(--line-2); margin-bottom: 28px; gap: 28px; }
.calc-tabs button { position: relative; min-height: 50px; font-size: 15px; color: var(--mute); }.calc-tabs [aria-selected=true] { color: var(--gold-hi); }
.calc-tabs [aria-selected=true]::after { content: ''; position: absolute; bottom: -1px; height: 2px; background: var(--gold); left: 0; right: 0; border-radius: 2px; animation: calc-underline .3s var(--ease); }
.calc-workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.calc-table { padding: 26px; background: radial-gradient(ellipse at 50% 30%, #172b50a0, transparent 70%), linear-gradient(#0b1423e6, #0a111ee6), url(../images/art/tex-felt-480.webp) center/280px; border: 1px solid var(--line-2); border-radius: 24px; min-width: 0; }
.calc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.calc-section-head h2 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.calc-caption { color: var(--mute); font-size: 13px; line-height: 1.6; }.calc-section-head + .calc-caption { margin-top: 5px; }
.calc-soft { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; color: #b9d8fa; background: linear-gradient(120deg, #9acaff1c, #72acff0c); border: 1px solid #9acaff40; border-radius: 50px; font-size: 12px; transition: background .25s, border-color .25s, box-shadow .25s, transform .2s var(--spring); }
.calc-soft:hover { background: #9acaff26; border-color: #b9d8fa80; box-shadow: 0 7px 20px -10px #69adff50; transform: translateY(-1px); }.calc-soft:active { transform: scale(.96); }.calc-soft:disabled { opacity: .45; cursor: default; transform: none; }.calc-soft svg { flex: none; }
.calc-hero-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 18px 0 28px; }.calc-hole { display: flex; gap: 10px; flex: none; }
.calc-slot { --cw: 70px; width: var(--cw); aspect-ratio: 63/88; border: 1px dashed #5b6e8a; border-radius: 6px; position: relative; display: grid; place-items: center; color: var(--mute); touch-action: manipulation; transition: border-color .2s, transform .2s var(--spring), background .2s; }
.calc-slot:hover { background: #adc9ff0d; border-color: var(--gold); }.calc-slot:active { transform: scale(.94); }
.calc-slot.is-filled { border: 0; }.calc-slot .card { inset: 0; width: 100%; pointer-events: none; }.calc-slot .front::after { animation: none; display: none; }
.calc-slot .face { box-shadow: 0 8px 12px -8px #000; }.calc-slot .card { animation: calc-deal .35s var(--spring) both; }
/* Calculator cards are always face up; avoid WebKit's nested 3D backface compositing. */
.calc-slot .card { perspective: none; }.calc-slot .card-in { transform: none; transform-style: flat; transition: none; }.calc-slot .back { display: none; }.calc-slot .front { backface-visibility: visible; -webkit-backface-visibility: visible; }
.calc-slot-empty { font-size: 25px; font-weight: 400; line-height: 1; }.calc-slot-empty small { display: block; font: 10px var(--text); margin-top: 8px; }
.calc-slot.is-unknown { border-style: solid; border-color: #415374; background: repeating-linear-gradient(45deg, #152441, #152441 4px, #1b2c4b 4px, #1b2c4b 5px); }
.calc-slot.is-unknown .calc-slot-empty { background: #14223b; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 18px; color: var(--gold-text); }
.calc-hand-hint { display: block; width: 100%; max-width: 32ch; text-align: center; color: var(--mute); font-size: 12px; line-height: 1.6; }.calc-hand-hint > .s { color: var(--gold); font-size: 28px; }
.calc-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }.calc-board .calc-slot { --cw: 100%; container-type: inline-size; }
.calc-board .card-index b { font-size: 17cqw; }.calc-board .card-index .s { font-size: 10.5cqw; }.calc-board .card-ten-pips .s { font-size: 17cqw; }.calc-board .card-signature { font-size: 4.3cqw; }.calc-board .card-ace-suit { font-size: 65cqw; }
.calc-streets { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 8px; margin-top: 9px; color: var(--dim); font-size: 10px; text-align: center; }.calc-streets span { padding-top: 5px; border-top: 1px solid var(--line-2); }
.calc-opponent-heading { margin-top: 28px; }.calc-opponent { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }.calc-opponent .calc-slot { --cw: 48px; }
.calc-opponent-info { flex: 1; min-width: 0; }.calc-opponent-info b { font-weight: 500; font-size: 14px; }.calc-opponent-info p { font-size: 11px; color: var(--dim); margin-top: 3px; }.calc-opponent .calc-hole { gap: 7px; }
.calc-add { width: 100%; margin-top: 16px; min-height: 48px; font-size: 13px; }
.calc-aside { min-width: 0; }.calc-result { padding: 26px; border: 1px solid #d4af6a50; border-radius: 24px; background: radial-gradient(ellipse at 80% 0, #d4af6a12, transparent 65%), #0c1321; }.calc-result-star { color: var(--gold); font-size: 24px; }
.calc-result-empty { padding: 24px 0; }.calc-result-empty p { font: 500 30px/1.25 var(--display); }.calc-result-empty em { color: var(--gold-text); }
.calc-equity { font-size: clamp(64px, 7vw, 80px); font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -.055em; font-weight: 500; color: var(--gold-hi); margin: 20px 0 0; }.calc-equity small { font-size: .4em; margin-left: 4px; }
.calc-equity-label { font-size: 13px; color: var(--mute); margin-top: 2px; }.calc-metrics { display: flex; gap: 24px; margin: 18px 0 22px; }.calc-metrics span { font-size: 12px; color: var(--mute); }.calc-metrics b { display: block; font-size: 18px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-result-row { padding: 10px 0; }.calc-result-row > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }.calc-result-row b { font-variant-numeric: tabular-nums; font-weight: 500; }.calc-bar { height: 5px; background: #adc9ff15; border-radius: 5px; margin-top: 8px; overflow: hidden; }.calc-bar > i { display: block; height: 100%; background: var(--ice); border-radius: 5px; transform-origin: left; animation: calc-bar-in .7s var(--ease) both; }.calc-result-row:first-child .calc-bar > i { background: var(--foil); }
.calc-method { border-top: 1px solid var(--line-2); padding-top: 16px; margin-top: 16px; font-size: 11px; color: var(--dim); line-height: 1.7; }.calc-method strong { color: var(--mute); font-weight: 500; }.calc-result.has-result #result-content { animation: calc-rise .4s var(--ease) both; }
.calc-scenario { margin-top: 20px; color: var(--mute); font-size: 12px; line-height: 1.65; }.calc-scenario strong { color: var(--ice); font-size: 13px; font-weight: 600; }.calc-scenario p + p { margin-top: 6px; }
.calc-outcome { margin-top: 18px; }.calc-outcome h3 { font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--gold-hi); text-wrap: balance; }.calc-outcome p { color: var(--mute); font-size: 12px; line-height: 1.65; margin-top: 8px; }
.calc-copy { width: 100%; margin-top: 20px; font-size: 13px; }.calc-copy-dialog textarea { display: block; width: 100%; height: min(340px, 45dvh); margin: 16px 0; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); background: var(--bg); font: 16px/1.6 var(--text); resize: vertical; caret-color: var(--gold); }.calc-copy-dialog > .calc-caption { margin-top: 12px; }.calc-copy-dialog > .calc-soft { width: 100%; }
.calc-metrics > span { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; }
.calc-actions { padding: 20px 0 0; }.calc-actions > p { font-size: 12px; color: var(--mute); margin-bottom: 10px; min-height: 19px; }.calc-submit { width: 100%; min-height: 58px; justify-content: space-between; padding: 9px 9px 9px 24px; gap: 12px; font-size: 15px; white-space: nowrap; }.calc-submit .btn-ic { width: 40px; height: 40px; flex: none; margin: 0; }.calc-submit:disabled { opacity: .7; cursor: progress; }
.calc-card-jump, .calc-action-mobile { display: none; }
.calc-samples { padding: 22px 0; border-bottom: 1px solid var(--line); }.calc-examples-label { font-size: 12px; color: var(--mute); margin-bottom: 9px; }.calc-example-picker { position: relative; }.calc-example-toggle { width: 100%; min-height: 50px; justify-content: space-between; padding: 12px 18px; font-size: 14px; text-align: left; }.calc-example-toggle span { min-width: 0; }.calc-example-toggle[aria-expanded=true] > svg { rotate: 180deg; }.calc-example-toggle > svg { transition: rotate .2s var(--ease); }.calc-example-menu { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 8px); max-height: min(320px, 45dvh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #9acaff50; border-radius: 18px; background: #101a2c; box-shadow: 0 16px 36px -12px #000a; animation: calc-rise .2s var(--ease); scrollbar-color: #718caa #101a2c; scrollbar-width: thin; }.calc-example-menu.is-above { top: auto; bottom: calc(100% + 8px); }.calc-example-menu [role=group] + [role=group] { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 6px; }.calc-example-group { color: var(--dim); font-size: 11px; padding: 8px 12px 6px; }.calc-example-menu [role=option] { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: 13px; text-align: left; line-height: 1.4; transition: background .2s; }.calc-example-menu [role=option]:hover, .calc-example-menu [role=option]:focus-visible { background: #9acaff1a; }.calc-example-menu [aria-selected=true] { color: #b9d8fa; background: #9acaff14; }.calc-samples > p:last-child:not(.calc-examples-label) { margin-top: 10px; }
.calc-draw-result { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; border-top: 1px solid var(--line-2); padding: 16px 0; color: var(--ice); font-size: 13px; }.calc-draw-result b { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }.calc-draw-result p { grid-column: 1 / -1; color: var(--mute); font-size: 11px; }
.calc-help { border-bottom: 1px solid var(--line); }.calc-help summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; list-style: none; font-size: 13px; }.calc-help summary::-webkit-details-marker { display: none; }.calc-help[open] summary .i { rotate: 180deg; }.calc-help > div { color: var(--mute); font-size: 12px; padding-bottom: 20px; }.calc-help p + p { margin-top: 12px; }.calc-help .calc-help-limits { color: var(--dim); }.calc-local { font-size: 11px; color: var(--dim); margin: 18px 0; }
.calc-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "club partner" "link partner" "visitors visitors" "legal legal"; align-items: start; gap: 24px 32px; padding: 36px 0 max(28px, env(safe-area-inset-bottom)); color: var(--mute); }
.calc-footer .visitor-counter { grid-area: visitors; }
.calc-footer .footer-legal { grid-area: legal; }
.calc-footer-club { grid-area: club; }
.calc-footer .brand { width: fit-content; min-height: 44px; }.calc-footer .brand-mark { width: 44px; height: 36px; }.calc-footer .brand-word { display: block; font-size: 26px; }
.calc-footer-motto { margin-top: 14px; color: var(--gold-text); font-size: 13px; letter-spacing: .08em; }.calc-footer-position { max-width: 30ch; margin-top: 8px; font-size: 13px; line-height: 1.65; }
.calc-footer .calc-footer-link { grid-area: link; width: fit-content; padding-inline: 20px; font-size: 14px; font-weight: 500; gap: 16px; }
.calc-footer-rpt { grid-area: partner; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-block: 8px; }.calc-footer-rpt span { font-size: 13px; color: var(--mute); }.calc-footer-rpt img { display: block; width: 160px; height: auto; filter: brightness(0) invert(1); }.calc-footer-rpt:hover img { opacity: .8; }
.calc-dialog { color: var(--ink); background: #101a2c; border: 1px solid var(--line-2); border-radius: 28px; padding: 28px; width: min(520px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 25px 100px #0009; margin: auto; }.calc-dialog::backdrop { background: #020711c9; backdrop-filter: blur(7px); }.calc-dialog[open] { animation: calc-rise .3s var(--ease); }.calc-dialog .calc-section-head h2 { font-family: var(--display); font-size: 26px; font-weight: 500; margin-top: 5px; }.calc-dialog-handle { display: none; }
.calc-picker-preview { display: flex; gap: 8px; padding: 15px 0; justify-content: center; }.calc-picker-preview .calc-slot { --cw: 44px; }.calc-picker-preview .is-active { outline: 2px solid var(--gold); outline-offset: 4px; }
#card-picker[open] { display: flex; flex-direction: column; overflow: hidden; }#card-picker > .calc-section-head, .calc-picker-footer, .calc-dialog-handle { flex: none; }.calc-picker-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px; margin: -4px; }
.calc-suits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }.calc-suits button { min-height: 60px; padding: 8px 0; border: 1px solid var(--line-2); border-radius: 12px; display: grid; justify-items: center; gap: 5px; }.calc-suits .s { font-size: 25px; }.calc-suits button > span:last-child { font-size: 10px; color: var(--mute); }.calc-suits [aria-pressed=true] { background: #d4af6a16; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }.calc-suits .is-red .s { color: #ff9b9e; }
.calc-ranks { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px 4px; }.calc-ranks .calc-slot { --cw: 100%; grid-column: span 2; container-type: inline-size; min-width: 0; }.calc-ranks .calc-slot:nth-child(8) { grid-column: 2 / span 2; }.calc-ranks .card-index b { font-size: 17cqw; }.calc-ranks .card-index .s { font-size: 10.5cqw; }.calc-ranks .card-ten-pips .s { font-size: 17cqw; }.calc-ranks .card-signature { font-size: 4.3cqw; }.calc-ranks .card-ace-suit { font-size: 65cqw; }.calc-ranks .card { animation: none; }.calc-ranks button:disabled { opacity: .3; filter: grayscale(1); cursor: default; }.calc-ranks button:disabled:active { transform: none; }
.calc-picker-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }.calc-picker-bottom .calc-soft { min-width: 0; min-height: 48px; padding: 10px 12px; gap: 8px; font-size: 13px; }.calc-clear:disabled { opacity: .45; }
.calc-picker-help { font-size: 11px; color: var(--mute); text-align: center; margin-top: 16px; line-height: 1.5; }.calc-install-dialog > p { margin-top: 20px; color: var(--mute); }.calc-install-dialog .calc-caption { font-size: 12px; }
.calc-install { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 18px; border: 1px solid #d4af6a75; border-radius: 50px; background: linear-gradient(120deg, #d4af6a23, #d4af6a0c); color: var(--gold-hi); font-size: 13px; transition: background .25s, border-color .25s, transform .2s var(--spring); }.calc-install:hover { background: #d4af6a30; border-color: var(--gold); transform: translateY(-1px); }.calc-install:active { transform: scale(.96); }.calc-install svg { flex: none; }
.calc-hands-intro { max-width: 600px; margin-bottom: 24px; }.calc-hands-intro h2 { font: 500 28px/1.2 var(--display); margin-bottom: 12px; }.calc-hands-intro p, .calc-hand-notes { font-size: 13px; color: var(--mute); }.calc-hand-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }.calc-hand-entry { padding: 24px 0; border-bottom: 1px solid var(--line-2); min-width: 0; }.calc-hand-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 15px; }.calc-hand-title span { color: var(--gold-text); font-size: 12px; font-variant-numeric: tabular-nums; width: 20px; }.calc-hand-title h3 { font-weight: 500; font-size: 17px; }.calc-hand-cards { display: flex; gap: 7px; }.calc-hand-cards .calc-slot { --cw: clamp(44px, 7vw, 68px); border: 0; }.calc-hand-entry > p { font-size: 12px; color: var(--mute); margin-top: 15px; max-width: 40ch; }.calc-hand-notes { margin-top: 28px; max-width: 700px; }.calc-hand-notes h3 { color: var(--ink); font-size: 16px; font-weight: 500; margin-bottom: 12px; }.calc-hand-notes p + p { margin-top: 12px; }.calc-noscript { padding: 24px; background: var(--bg-3); position: fixed; inset: auto 0 0; z-index: 100; }
@keyframes calc-deal { from { opacity: 0; transform: translateY(-10px) rotate(-3deg); } }
@keyframes calc-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes calc-bar-in { from { transform: scaleX(0); } }
@keyframes calc-underline { from { transform: scaleX(.5); opacity: 0; } }
@media (max-width: 760px) {
  .calc-header { padding-left: 20px; padding-right: 20px; }.calc-header .brand-word { font-size: 21px; }.calc-header .brand-mark { width: 35px; height: 30px; }.calc-icon span { display: none; }
  .calc-main { width: calc(100% - 40px); }.calc-intro { padding: 25px 0 20px; }.calc-intro h1 { font-size: 42px; }.calc-intro h1 br { display: block; }.calc-intro > p:last-child { max-width: 28ch; font-size: 13px; }.calc-tabs { margin-bottom: 20px; gap: 26px; }
  .calc-workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }.calc-table { padding: 18px; border-radius: 20px; }.calc-section-head h2 { font-size: 16px; }.calc-caption { font-size: 12px; }.calc-section-head .calc-caption { font-size: 11px; }.calc-text { font-size: 11px; }
  .calc-hero-row { gap: 10px; margin-bottom: 24px; }.calc-hero-row .calc-slot { --cw: 67px; }.calc-hand-hint { font-size: 11px; gap: 8px; }.calc-hand-hint > .s { display: none; }.calc-board { gap: 6px; }.calc-slot-empty { font-size: 22px; }.calc-slot-empty small { font-size: 9px; }.calc-streets { gap: 6px; font-size: 9px; }.calc-opponent { gap: 12px; }.calc-opponent .calc-slot { --cw: 44px; }.calc-opponent-info b { font-size: 12px; }.calc-opponent-info p { font-size: 10px; }.calc-opponent-heading { margin-top: 24px; }
  .calc-result { padding: 22px; border-radius: 20px; }.calc-result-empty { padding: 20px 0; }.calc-result-empty p { font-size: 30px; }.calc-equity { font-size: 70px; }.calc-aside { display: contents; }
  .calc-main { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }.calc-actions { position: fixed; inset: auto 0 max(12px, env(safe-area-inset-bottom)); z-index: 5; width: min(440px, calc(100% - 24px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px; padding: 6px; border: 1px solid var(--line-2); border-radius: 32px; background: #0c1321e8; -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); box-shadow: 0 14px 36px -14px #000b; }.calc-actions > p { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }.calc-actions > p.is-error { inset: auto 6px calc(100% + 8px); width: auto; height: auto; padding: 10px 14px; clip-path: none; white-space: normal; border: 1px solid var(--line-2); border-radius: 12px; background: #101a2c; font-size: 12px; }.calc-card-jump { display: inline-flex; height: 48px; min-height: 48px; padding: 0 10px; font-size: 14px; font-weight: 500; border-color: #9acaff66; background: linear-gradient(120deg, #9acaff28, #72acff16); color: #b9d8fa; }.calc-action-mobile { display: inline; }.calc-action-desktop { display: none; }.calc-actions .calc-submit { height: 48px; min-height: 48px; padding: 0 12px; gap: 7px; margin: 0; font-size: 14px; justify-content: center; box-shadow: inset 0 1px 0 #fffbecd9, 0 5px 16px -12px #e3c07c60; }.calc-actions .calc-submit .btn-ic { display: grid; width: 18px; height: 18px; background: none; box-shadow: none; }.calc-actions .calc-submit .btn-ic .i { --is: 18px; }.calc-result { scroll-margin-bottom: 88px; }.calc-table { scroll-margin-top: 12px; }.calc-samples { padding: 0 0 20px; }.calc-local { margin: 0; }.calc-footer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "club" "partner" "link"; justify-items: center; gap: 24px; padding-top: 28px; text-align: center; }.calc-footer-club { width: 100%; }.calc-footer .brand { margin-inline: auto; }.calc-footer-position { margin-inline: auto; }.calc-footer-rpt { padding: 0; gap: 10px; }.calc-footer-rpt span { max-width: none; }.calc-footer .calc-footer-link { width: min(100%, 360px); }
  .calc-dialog { position: fixed; inset: auto 0 0; width: 100%; max-height: calc(100dvh - env(safe-area-inset-top) - 12px); margin: 0; border-radius: 24px 24px 0 0; padding: 12px 20px max(24px, env(safe-area-inset-bottom)); }.calc-dialog-handle { display: block; width: 34px; height: 4px; background: #64738e; border-radius: 5px; margin: 0 auto 12px; }.calc-dialog .calc-section-head h2 { font-size: 25px; }.calc-picker-preview { padding: 12px 0; }.calc-ranks { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px 4px; }.calc-ranks .calc-slot:nth-child(8) { grid-column: span 2; }.calc-ranks .calc-slot:nth-child(11) { grid-column: 3 / span 2; }.calc-suits { margin-bottom: 12px; }.calc-suits button { min-height: 48px; padding: 5px 0; gap: 1px; }.calc-suits .s { font-size: 23px; }.calc-picker-help { margin-top: 12px; }.calc-install { padding: 10px 13px; font-size: 12px; }.calc-header .brand-word { font-size: 19px; }.calc-hands-intro h2 { font-size: 25px; }.calc-hand-list { grid-template-columns: minmax(0, 1fr); }.calc-hand-cards .calc-slot { --cw: min(15vw, 68px); }.calc-hand-entry { padding: 20px 0; }.calc-install-dialog { padding-top: 24px; }
}
@media (max-width: 350px) {
  .calc-main { width: calc(100% - 28px); }.calc-table { padding: 14px; }.calc-hero-row .calc-slot { --cw: 60px; }.calc-hero-row { gap: 10px; }.calc-hand-hint { font-size: 10px; }.calc-ranks { gap: 7px 3px; }.calc-picker-bottom .calc-soft { font-size: 12px; }.calc-actions .calc-submit { font-size: 13px; padding-inline: 10px; }.calc-header { padding-left: 14px; padding-right: 14px; gap: 8px; }.calc-header .brand-word { font-size: 17px; }.calc-header .brand-mark { width: 29px; }.calc-install { padding: 8px 12px; gap: 6px; }.calc-install span { max-width: 80px; line-height: 1.25; text-align: left; }.calc-dialog { padding-left: 14px; padding-right: 14px; }.calc-slot-empty small { display: none; }
}

/* Align title and description as one unit, independent of the action's tap area. */
.calc-table .calc-section-head { align-items: baseline; }.calc-table .calc-hero-heading { align-items: center; }.calc-hero-heading > div { min-width: 0; }.calc-hero-heading .calc-caption { margin-top: 4px; }.calc-reset { flex: none; }.calc-dialog .calc-section-head h2 { margin-top: 0; }

/* Sparse text accents: instructions, current hand, and the core five-card rule. */
.calc-caption strong, .calc-hand-hint strong, .calc-equity-label strong, .calc-help b, .calc-hand-entry > p strong, .calc-hand-notes strong, .calc-install-dialog strong { font-weight: 600; color: var(--ink); }
.calc-hand-hint .calc-current-hand { color: var(--ice); }.calc-hands-intro strong { font-weight: 600; color: var(--gold-text); }.calc-hand-entry > p, .calc-hand-notes, .calc-help > div { line-height: 1.65; }.calc-help b { font-weight: 600; }.calc-help .calc-help-limits { color: var(--dim); }

.calc-slot:not(.is-filled):not(.is-unknown) { background: linear-gradient(145deg, #9acaff24, #9acaff12); border-color: #9acaff90; box-shadow: inset 0 1px 0 #d4e8ff14; }.calc-slot:not(.is-filled):not(.is-unknown):hover { background: #9acaff2e; border-color: var(--ice); }.calc-card-sequence { white-space: nowrap; }
@media (max-width: 760px) {
  .calc-footer { grid-template-areas: "club" "partner" "link" "visitors" "legal"; }
  .calc-metrics { gap: 16px; }.calc-metrics > span { flex: 1; min-width: 0; }
}
