/* OCCG Casino Calculators. Brand: #151515 ink, #ff2453 accent (dark text only on it), Roboto from the theme. */
.occg-calc, .occg-hub { --occg-ink: #151515; --occg-muted: #57606f; --occg-line: #dfe6e9; --occg-soft: #f1f3f4; --occg-accent: #ff2453; --occg-accent-ink: #c4103b; font-family: inherit; color: var(--occg-ink); }
.occg-calc *, .occg-hub * { box-sizing: border-box; }
.occg-calc { margin: 28px 0 36px; }

.occg-calc-box { display: flex; flex-wrap: wrap; border: 1px solid var(--occg-line); border-radius: 16px; overflow: hidden; background: #fff; }
.occg-calc-form { flex: 999 1 480px; min-width: 0; padding: 26px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.occg-calc-results { flex: 1 1 380px; min-width: 0; padding: 26px; background: var(--occg-ink); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.occg-calc-h { margin: 0 !important; padding: 0 !important; font-size: 18px !important; line-height: 1.3 !important; font-weight: 900 !important; color: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
.occg-calc-results .occg-calc-h { color: #fff !important; }

.occg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.occg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.occg-label { font-size: 14px; font-weight: 500; color: var(--occg-ink); padding: 0; margin: 0 0 2px; line-height: 1.3; }
.occg-input-wrap { display: flex; align-items: center; border: 1px solid #b2bec3; border-radius: 8px; background: #fff; min-height: 46px; }
.occg-input-wrap:focus-within { border-color: var(--occg-ink); box-shadow: 0 0 0 2px rgba(21, 21, 21, .15); }
.occg-affix { padding: 0 10px; color: var(--occg-muted); font-size: 14px; white-space: nowrap; }
.occg-calc input.occg-input { flex: 1; min-width: 0; width: 100%; border: 0 !important; outline: none; box-shadow: none !important; background: transparent !important; font-size: 17px; font-weight: 500; padding: 10px 12px !important; margin: 0 !important; height: auto !important; color: var(--occg-ink); font-family: inherit; }
.occg-calc .occg-affix + input.occg-input { padding-left: 0 !important; }
.occg-help { font-size: 12px; color: var(--occg-muted); line-height: 1.4; }

.occg-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.occg-fieldset legend { margin-bottom: 8px; }
.occg-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.occg-calc button.occg-seg-btn { min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid #b2bec3; background: #fff; color: var(--occg-ink); font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; line-height: 1.2; text-transform: none; letter-spacing: 0; margin: 0; box-shadow: none; }
.occg-calc button.occg-seg-btn:hover { border-color: var(--occg-ink); }
.occg-calc button.occg-seg-btn[aria-pressed="true"] { background: var(--occg-ink); color: #fff; border-color: var(--occg-ink); }
.occg-calc button.occg-seg-btn:focus-visible, .occg-calc .occg-link-btn:focus-visible { outline: 3px solid var(--occg-accent); outline-offset: 2px; }

.occg-details { border-top: 1px solid var(--occg-line); padding-top: 14px; }
.occg-details summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.occg-details[open] summary { margin-bottom: 14px; }

.occg-stat { background: #2d3436; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.occg-stat-lead { background: transparent; padding: 0; }
.occg-stat-label { font-size: 13px; color: #dfe6e9; line-height: 1.35; }
.occg-stat-val { font-size: 21px; font-weight: 700; color: #fff; line-height: 1.2; overflow-wrap: anywhere; }
.occg-stat-big { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.05; overflow-wrap: anywhere; }
.occg-stat-sub { font-size: 13px; color: #dfe6e9; }
.occg-stat-sub:empty { display: none; }
.occg-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.occg-tone-good { color: #7fe0b8 !important; }
.occg-tone-bad { color: #ffb3c2 !important; }

.occg-verdict { border-radius: 10px; padding: 14px 16px; color: var(--occg-ink); display: flex; flex-direction: column; gap: 4px; background: #dfe6e9; }
.occg-verdict-good { background: #b9e4d4; }
.occg-verdict-mid { background: #ffe2a8; }
.occg-verdict-bad { background: #ffd3dc; }
.occg-verdict-title { font-size: 15px; font-weight: 900; }
.occg-verdict-text { font-size: 14px; line-height: 1.5; }
.occg-calc p.occg-note { font-size: 13px !important; color: #dfe6e9 !important; line-height: 1.5 !important; margin: 0 !important; padding: 0 !important; }
.occg-calc a.occg-link-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; background: var(--occg-accent); color: var(--occg-ink) !important; font-weight: 900; font-size: 15px; text-decoration: none !important; padding: 0 16px; text-align: center; margin-top: auto; }
.occg-calc a.occg-link-btn:hover { background: #fff; }

/* Stacked shell: results under the form, full width (comparison) */
.occg-calc-box.occg-stack .occg-calc-form, .occg-calc-box.occg-stack .occg-calc-results { flex: 1 1 100%; }

/* Comparison: offers side by side */
.occg-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.occg-offer { border: 1px solid var(--occg-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 14px; background: var(--occg-soft); }
.occg-offer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.occg-offer-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--occg-muted); }
.occg-calc button.occg-remove { background: none; border: 0; color: var(--occg-accent-ink); font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px; min-height: 32px; text-decoration: underline; font-family: inherit; }
.occg-calc button.occg-add { align-self: flex-start; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px dashed var(--occg-ink); background: #fff; color: var(--occg-ink); font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.occg-table-wrap { overflow-x: auto; border-radius: 10px; background: #2d3436; }
.occg-calc table.occg-table { width: 100%; border-collapse: collapse !important; border-spacing: 0 !important; font-size: 14px !important; color: #fff; margin: 0 !important; min-width: 300px; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible !important; }
.occg-calc table.occg-table tr, .occg-calc table.occg-table thead, .occg-calc table.occg-table tbody { background: transparent !important; }
.occg-calc table.occg-table th, .occg-calc table.occg-table td { padding: 10px 12px !important; text-align: left; border: 0 !important; border-top: 1px solid #3d4548 !important; vertical-align: top; color: #fff !important; background: transparent !important; font-size: 14px !important; }
.occg-calc table.occg-table thead th { border-top: 0 !important; font-size: 12px !important; color: #dfe6e9 !important; font-weight: 700; }
.occg-calc table.occg-table tbody th { font-weight: 500; color: #dfe6e9 !important; }
.occg-calc table.occg-table caption { text-align: left; padding: 10px 12px 2px; caption-side: top; color: #dfe6e9; }
.occg-calc table.occg-table td.occg-best { color: #7fe0b8 !important; font-weight: 700; }
.occg-calc table.occg-table td.occg-worst { color: #ffb3c2 !important; }

/* Hub */
.occg-hub { margin: 8px 0 32px; }
.occg-hub-section { padding-top: 28px; }
.occg-hub .occg-hub-h2 { margin: 0 0 4px !important; font-size: 24px; font-weight: 900; }
.occg-hub .occg-hub-blurb { margin: 0 0 14px !important; color: var(--occg-muted); font-size: 15px; }
.occg-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.occg-hub a.occg-hub-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--occg-line); border-radius: 12px; padding: 18px; background: #fff; color: var(--occg-ink) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.occg-hub a.occg-hub-card:hover { border-color: var(--occg-ink); box-shadow: 0 4px 14px rgba(21, 21, 21, .08); }
.occg-hub-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff0f3; color: var(--occg-accent-ink); display: flex; align-items: center; justify-content: center; }
.occg-hub-text { display: flex; flex-direction: column; gap: 4px; }
.occg-hub-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.occg-hub-desc { font-size: 14px; color: var(--occg-muted); line-height: 1.45; }

@media (max-width: 600px) {
    .occg-calc-form, .occg-calc-results { padding: 18px; }
    .occg-stat-big { font-size: 34px; }
    .occg-stats { grid-template-columns: minmax(0, 1fr); }
}
