/* New forecast (cast-create.js): the "+" menu, the map crosshair, the
   SpotCast / TripCast step sheets (laid out like the apps' wizards), the
   spot pickers and the cap-hit dialog. The sheets sit in the viewer's modal
   overlay (.dc-acct-overlay in index.html). */

.dc-cc-menu, .dc-cc-drawer, .dc-cc-sheet, .dc-cc-list, .dc-cc-alert, .dc-cc-cap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- "+" menu ------------------------------------------------------------ */
.dc-cc-menu {
    position: fixed; z-index: 3100; width: 400px; max-width: calc(100vw - 32px); box-sizing: border-box;
    display: flex; flex-direction: column; gap: 6px; padding: 10px;
    background: #0F2041; color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
}
.dc-cc-menu[hidden] { display: none; }
.dc-cc-menu-head {
    padding: 6px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.dc-cc-item {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin: 0;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
    color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s;
}
.dc-cc-item:hover, .dc-cc-item:focus-visible { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.dc-cc-item:focus { outline: none; }
.dc-cc-item:focus-visible { outline: 2px solid #FF8504; outline-offset: 1px; }
.dc-cc-icon { flex: none; width: 36px; height: 36px; }
.dc-cc-icon svg { display: block; width: 36px; height: 36px; }
.dc-cc-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dc-cc-title { font-size: 15px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
/* Same wordmark as the panel's cards (.dc-fc-kind). */
.dc-cc-kind { font-size: 12px; font-weight: 900; letter-spacing: 1.5px; color: #FF8504; }
.dc-cc-kind span { color: rgba(255, 255, 255, .92); }
.dc-cc-blurb { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The map's "+" becomes the menu's close button. */
.dc-map-cta svg { transition: transform .2s ease; }
body.dc-cc-menu-open .dc-map-cta svg { transform: rotate(45deg); }

/* ---- map crosshair (the app's SpotPickerOverlay) ------------------------ */
.dc-cc-reticle {
    position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px;
    z-index: 650; pointer-events: none;
}
.dc-cc-reticle svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
/* Centred below the crosshair: aim() puts the crosshair in the middle of the map left
   above it. Fixed height, so the crosshair doesn't move as spots load. */
.dc-cc-drawer {
    position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 10001;
    width: 360px; max-width: calc(100vw - 32px); box-sizing: border-box; height: min(320px, 40vh);
    display: flex; flex-direction: column; padding: 14px 14px 12px;
    background: rgba(15, 32, 65, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}
.dc-cc-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dc-cc-drawer-title { font-size: 17px; font-weight: 800; }
.dc-cc-drawer-step { margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #FF8504; }
.dc-cc-drawer-prompt { margin: 6px 0 8px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.dc-cc-drawer-from { display: flex; align-items: center; gap: 8px; margin: -2px 0 8px; font-size: 13px; font-weight: 600; color: #fff; }
.leaflet-tooltip.dc-cc-from-label {
    padding: 2px 7px; border: 0; border-radius: 6px; background: rgba(10, 20, 38, .85); color: #fff;
    font-size: 12px; font-weight: 700; box-shadow: none;
}
.leaflet-tooltip.dc-cc-from-label::before { display: none; }
.dc-cc-drawer-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.dc-cc-x {
    flex: none; width: 32px; height: 32px; margin: -4px -4px 0 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: 20px; line-height: 1; cursor: pointer;
}
.dc-cc-x:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.dc-cc-use {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin-top: 8px; padding: 10px 12px;
    border: 1px solid rgba(255, 133, 4, .5); border-radius: 10px; background: rgba(255, 133, 4, .1);
    color: #fff; font: inherit; text-align: left; cursor: pointer;
}
.dc-cc-use:hover { background: rgba(255, 133, 4, .18); }
.dc-cc-use-title { font-size: 14px; font-weight: 700; color: #FF8504; }
body.dc-cc-placing .dc-map-cta { display: none !important; }

/* ---- spot rows (pickers, dropdown, crosshair list) ------------------------ */
.dc-cc-srow {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; margin: 0;
    border: 0; border-radius: 8px; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer;
}
.dc-cc-srow:hover, .dc-cc-srow:focus-visible { background: rgba(255, 255, 255, .08); outline: none; }
.dc-cc-typedot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.dc-cc-srow-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dc-cc-srow-name { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-cc-srow-sub { font-size: 12px; color: rgba(255, 255, 255, .55); }
.dc-cc-srow-dist { flex: none; font-size: 12px; color: rgba(255, 255, 255, .6); }
.dc-cc-star { flex: none; color: #ffca28; font-size: 14px; }
.dc-cc-empty { display: flex; align-items: center; gap: 8px; padding: 12px 8px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.dc-cc-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: rgba(255, 255, 255, .6); }
.dc-cc-spin {
    display: inline-block; flex: none; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px;
    border: 2px solid rgba(255, 255, 255, .25); border-top-color: currentColor; border-radius: 50%;
    animation: dc-cc-spin .8s linear infinite;
}
@keyframes dc-cc-spin { to { transform: rotate(360deg); } }

/* ---- overlays ------------------------------------------------------------ */
/* Layers: wizard < list picker < cap-hit dialog < name dialog < terms. */
#dc-cc-spot-overlay, #dc-cc-trip-overlay { z-index: 3050; }
#dc-cc-list-overlay { z-index: 3060; }
#dc-cc-upgrade-overlay { z-index: 3070; }
#dc-cc-name-overlay { z-index: 10100; }
#dc-cc-tos-overlay { z-index: 10110; }
/* A wizard steps aside (state kept) while its map pick is up. */
.dc-cc-overlay.dc-cc-away { display: none !important; }

/* ---- the step sheet (the apps' wizard) ------------------------------------ */
.dc-acct-modal.dc-cc-sheet {
    width: 460px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); box-sizing: border-box;
    display: flex; flex-direction: column; padding: 0; overflow: hidden;
}
.dc-cc-nav {
    flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
    padding: 12px 14px 4px;
}
.dc-cc-navbtn {
    justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 0 6px 0 0;
    border: 0; background: none; color: #4fc3f7; font: inherit; font-size: 15px; cursor: pointer;
}
.dc-cc-navbtn svg { width: 20px; height: 20px; }
.dc-cc-navbtn:hover { color: #81d4fa; }
.dc-cc-navbtn-right { justify-self: end; padding: 0 0 0 6px; }
.dc-cc-navbtn[hidden] { visibility: hidden; display: inline-flex; }
.dc-cc-logo { font-size: 24px; font-weight: 800; letter-spacing: .5px; color: #fff; white-space: nowrap; }
.dc-cc-logo .o { color: #FF8504; }
.dc-cc-head { flex: none; padding: 10px 22px 12px; }
.dc-cc-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dc-cc-step-title { font-size: 21px; font-weight: 800; color: #fff; }
.dc-cc-step-icon { flex: none; width: 32px; height: 32px; color: #FF8504; }
.dc-cc-dots { display: flex; gap: 8px; margin-top: 10px; }
.dc-cc-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.dc-cc-dots span.on { background: #FF8504; }
.dc-cc-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 22px 8px; }
.dc-cc-foot { flex: none; padding: 10px 22px 20px; border-top: 1px solid rgba(255, 255, 255, .06); }
.dc-cc-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; box-sizing: border-box;
    border: 0; border-radius: 12px; background: linear-gradient(180deg, #ff9a2e 0%, #FF8504 100%); color: #fff;
    font: 800 18px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer; text-decoration: none;
}
.dc-cc-primary svg { width: 22px; height: 22px; }
.dc-cc-primary:hover { background: linear-gradient(180deg, #ffa640 0%, #f07a00 100%); color: #fff; }
.dc-cc-primary:disabled { opacity: .6; cursor: default; }
.dc-cc-fail {
    margin-bottom: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.4;
    background: rgba(239, 83, 80, .14); border: 1px solid rgba(239, 83, 80, .4); color: #ffcdd2;
}
.dc-cc-fail b { display: block; color: #fff; margin-bottom: 2px; }
.dc-cc-fail[hidden] { display: none; }

.dc-cc-card {
    margin: 0 0 12px; padding: 14px 16px; border-radius: 12px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
.dc-cc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dc-cc-row + .dc-cc-row { margin-top: 12px; }
.dc-cc-row > label, .dc-cc-field-label { font-size: 15px; font-weight: 600; color: #fff; }
.dc-cc-help { margin-top: 10px; font-size: 13px; font-style: italic; text-align: center; color: rgba(255, 255, 255, .55); }
.dc-cc-pill {
    min-height: 38px; padding: 6px 12px; box-sizing: border-box; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08);
    color: #fff; font: 15px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color-scheme: dark;
}
.dc-cc-pill:focus { outline: none; border-color: #FF8504; }
select.dc-cc-pill { cursor: pointer; }
.dc-cc-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.dc-cc-msg { margin: -4px 0 12px; font-size: 13px; color: #ef9a9a; }
.dc-cc-msg[hidden] { display: none; }
.dc-cc-hint-orange { margin-top: 8px; font-size: 13px; font-weight: 600; color: #FF8504; }
.dc-cc-hint-orange[hidden] { display: none; }

/* A spot chosen on the map, fixed for this SpotCast. */
.dc-cc-locked { display: flex; align-items: center; gap: 12px; }
.dc-cc-locked svg { flex: none; width: 22px; height: 22px; }
.dc-cc-locked-name { font-size: 16px; font-weight: 600; }
.dc-cc-locked-sub { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .55); }

/* The spot field (the app's LocationInputField). */
.dc-cc-field { position: relative; }
.dc-cc-field-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dc-cc-maplink {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; border: 0; background: none;
    color: #4fc3f7; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.dc-cc-maplink svg { width: 16px; height: 16px; }
.dc-cc-field-box {
    display: flex; align-items: center; gap: 6px; padding: 0 6px 0 12px; border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .15);
}
.dc-cc-field-box:focus-within { border-color: #4fc3f7; }
.dc-cc-selected .dc-cc-field-box { border-color: #66bb6a; }
.dc-cc-field-input {
    flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; background: none; outline: none;
    color: #fff; font: 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.dc-cc-field-input:disabled { color: #fff; opacity: 1; -webkit-text-fill-color: #fff; }
.dc-cc-field-btn { flex: none; width: 36px; height: 36px; padding: 6px; border: 0; background: none; color: #4fc3f7; cursor: pointer; }
.dc-cc-field-btn svg { display: block; width: 100%; height: 100%; }
.dc-cc-field-btn.dc-cc-clear { color: rgba(255, 255, 255, .45); }
.dc-cc-drop {
    position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; max-height: 300px; overflow-y: auto; padding: 4px;
    background: #13284f; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}
.dc-cc-drop[hidden] { display: none; }

/* Trip type: two radio buttons (One Way, Round Trip). */
.dc-cc-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.dc-cc-radios button {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, .18); background: none; color: #fff; font: inherit; font-size: 15px; cursor: pointer;
}
.dc-cc-radios button[aria-checked="true"] { border-color: #FF8504; background: rgba(255, 133, 4, .08); }
.dc-cc-radio { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); box-sizing: border-box; }
[aria-checked="true"] > .dc-cc-radio { border-color: #FF8504; background: radial-gradient(circle, #FF8504 45%, transparent 50%); }

/* Duration / length / speed. */
.dc-cc-bignum { margin: 6px 0 4px; font-size: 34px; font-weight: 800; color: #fff; }
.dc-cc-bignum small { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.dc-cc-range { display: block; width: 100%; margin: 8px 0 0; accent-color: #FF8504; }
.dc-cc-ticks { position: relative; height: 26px; margin: 2px 8px 0; }
.dc-cc-ticks button {
    position: absolute; top: 0; transform: translateX(-50%); padding: 3px 4px; border: 0; background: none;
    color: rgba(255, 255, 255, .55); font: 12px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer;
}
.dc-cc-ticks button:hover { color: #fff; }
.dc-cc-returns { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.dc-cc-returns b { color: #fff; font-weight: 600; }
.dc-cc-stepper { display: inline-flex; align-items: center; gap: 10px; }
.dc-cc-stepper b { min-width: 64px; text-align: center; font-size: 16px; }
.dc-cc-stepper button {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06);
    color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.dc-cc-seg {
    display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.dc-cc-seg button {
    padding: 6px 12px; border: 0; border-radius: 6px; background: none; color: rgba(255, 255, 255, .7);
    font: 600 13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer;
}
.dc-cc-seg button[aria-checked="true"] { background: rgba(255, 255, 255, .16); color: #fff; }

/* Review */
.dc-cc-summary-head { margin: 4px 0 8px; font-size: 16px; font-weight: 700; color: #fff; }
.dc-cc-summary { padding: 4px 16px; }
.dc-cc-srow-static {
    display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 10px 0; font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.dc-cc-srow-static:last-child { border-bottom: 0; }
.dc-cc-srow-static span:first-child { color: rgba(255, 255, 255, .55); }
.dc-cc-srow-static span:last-child { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.dc-cc-summary .dc-cc-row { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.dc-cc-divider { height: 1px; margin: 0 -16px; background: rgba(255, 255, 255, .14); }
.dc-cc-route {
    height: 200px; margin-bottom: 8px; border-radius: 12px; overflow: hidden;
    background: #0a1a33; border: 1px solid rgba(255, 255, 255, .1);
}
.dc-cc-route-empty { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255, 255, 255, .55); }
.dc-cc-route-note { margin: 0 0 12px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.dc-cc-route-note.dc-cc-warn { color: #ffb74d; }
.dc-cc-route-note[hidden] { display: none; }
/* "Route" with the app's Modify (and Clear once edited) on the right. */
.dc-cc-summary-head.dc-cc-route-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dc-cc-route-acts { display: inline-flex; gap: 16px; }
.dc-cc-route-acts .dc-cc-link:disabled { opacity: .45; cursor: default; }
.dc-cc-link.dc-cc-link-danger { color: #ff6b6b; }
.dc-cc-link.dc-cc-link-danger:hover { color: #ff8a80; }
.dc-cc-link.dc-cc-route-import { display: block; margin: 2px 0 0 4px; font-size: 13px; }

/* ---- "Choose Spot" list (the app's SpotPickerView) -------------------------- */
.dc-acct-modal.dc-cc-list {
    width: 440px; max-width: calc(100vw - 32px); height: min(640px, calc(100vh - 48px)); box-sizing: border-box;
    display: flex; flex-direction: column; padding: 0 0 8px; overflow: hidden;
}
.dc-cc-list-title { font-size: 17px; font-weight: 700; color: #fff; }
/* auto width fills the row less the margins (100% + margins overflowed and scrolled the sheet sideways). */
.dc-cc-input.dc-cc-list-search { width: auto; margin: 8px 16px; }
.dc-cc-list .dc-cc-nav { padding: 14px 16px 4px; }
.dc-cc-input {
    display: block; width: 100%; box-sizing: border-box; min-height: 42px; padding: 9px 12px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff;
    font: 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; outline: none;
}
.dc-cc-input:focus { border-color: #FF8504; }
.dc-cc-list-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 8px; }
.dc-cc-section {
    position: sticky; top: 0; z-index: 1; padding: 10px 8px 6px; background: #0F2041;
    font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.dc-cc-more { justify-content: center; }

/* ---- "Name This Location" --------------------------------------------------- */
.dc-cc-alert {
    width: 300px; max-width: calc(100vw - 48px); padding: 18px 16px 14px; box-sizing: border-box; border-radius: 14px;
    background: #16284a; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); color: #fff;
}
.dc-cc-alert-title { margin-bottom: 12px; font-size: 17px; font-weight: 700; text-align: center; }
.dc-cc-alert-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.dc-cc-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; box-sizing: border-box;
    border-radius: 10px; font: 700 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer;
}
.dc-cc-btn-ghost { border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; }
.dc-cc-btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.dc-cc-btn-primary { border: 0; background: #FF8504; color: #fff; }
.dc-cc-btn-primary:hover { background: #e67800; }

/* ---- Terms of Service (the app's TOSAcceptanceView) --------------------------- */
#dc-cc-tos-overlay .dc-acct-modal.dc-cc-tos { width: 400px; }
.dc-cc-tos-brand { margin: -6px 0 14px; font-size: 20px; font-weight: 800; }
.dc-cc-tos-brand span { color: #FF8504; }
.dc-cc-tos .dc-cc-cap-icon { color: #4fc3f7; }
.dc-cc-tos-view { display: inline-block; margin: 0 0 14px; color: #4fc3f7; font-size: 15px; font-weight: 600; text-decoration: none; }
.dc-cc-tos-view:hover { text-decoration: underline; }
.dc-cc-tos-check {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 10px; text-align: left; cursor: pointer;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; line-height: 1.4;
}
.dc-cc-tos-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #FF8504; }
.dc-cc-tos-err { margin-top: 10px; font-size: 13px; color: #ff8a80; }
.dc-cc-tos .dc-cc-btn-primary:disabled { opacity: .45; cursor: default; }

/* ---- cap hit (the app's CapHitModal) ----------------------------------------- */
.dc-acct-modal.dc-cc-cap { width: 440px; max-width: calc(100vw - 32px); padding: 28px 24px 18px; text-align: center; box-sizing: border-box; }
.dc-cc-cap-icon { width: 40px; height: 40px; color: #ffb74d; }
.dc-cc-cap-title { margin: 10px 8px 8px; font-size: 20px; font-weight: 800; line-height: 1.3; }
.dc-cc-cap-body { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.dc-cc-cap-plan {
    margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; text-align: left;
    border: 2px solid #FF8504; background: rgba(255, 133, 4, .08);
}
.dc-cc-cap-plan-name { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.dc-cc-cap-plan ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.dc-cc-qr-row {
    display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 12px; border-radius: 12px; text-align: left;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
}
.dc-cc-qr {
    flex: none; width: 96px; height: 96px; box-sizing: border-box; padding: 6px; border-radius: 8px; background: #fff;
    display: flex; align-items: center; justify-content: center; color: #0a0a19; font-size: 12px; font-weight: 700; text-decoration: none;
}
.dc-cc-qr img, .dc-cc-qr canvas { display: block; width: 84px !important; height: 84px !important; }
.dc-cc-qr-title { font-size: 14px; font-weight: 700; }
.dc-cc-qr-sub { margin-top: 4px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.dc-cc-cap-stores { display: flex; justify-content: center; gap: 8px; margin: 10px 0 2px; font-size: 13px; color: rgba(255, 255, 255, .4); }
.dc-cc-cap-stores a { color: #4fc3f7; text-decoration: none; }
.dc-cc-cap-stores a:hover { text-decoration: underline; }
.dc-cc-later {
    margin-top: 4px; padding: 10px 16px; border: 0; background: none; color: rgba(255, 255, 255, .7);
    font: 600 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer;
}
.dc-cc-later:hover { color: #fff; }

/* ---- map popup + sign-up note ------------------------------------------------ */
.dc-popup-forecast, .dc-sp-forecast {
    display: block; width: 100%; margin-top: 8px; padding: 7px 10px; border: 0; border-radius: 6px;
    background: #4fc3f7; color: #04161a; font: 700 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: pointer;
}
.dc-popup-forecast:hover, .dc-sp-forecast:hover { background: #3bb3e8; }
.dc-cc-auth-note {
    margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45;
    background: rgba(79, 195, 247, .1); border: 1px solid rgba(79, 195, 247, .35); color: #dff4fd;
}
.dc-cc-auth-note[hidden] { display: none; }

/* ---- phones ---------------------------------------------------------------- */
@media (max-width: 600px) {
    .dc-cc-drawer { height: 40vh; }
    .dc-acct-modal.dc-cc-sheet, .dc-acct-modal.dc-cc-list { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; }
    .dc-cc-head, .dc-cc-content, .dc-cc-foot { padding-left: 16px; padding-right: 16px; }
    .dc-cc-srow-static { grid-template-columns: 100px minmax(0, 1fr); }
    .dc-cc-qr-row { display: none; }   /* on the phone the upgrade button opens the app */
}

/* ---- boats from past forecasts (no boat saved yet) ------------------------------ */
.dc-cc-imp { display: flex; flex-direction: column; gap: 10px; }
.dc-cc-imp-title { font-size: 15px; font-weight: 600; color: #fff; }
.dc-cc-imp-btn {
    align-self: flex-start; min-height: 34px; padding: 0 14px; border-radius: 10px; cursor: pointer;
    border: 1px solid rgba(79, 195, 247, .5); background: rgba(79, 195, 247, .08); color: #4fc3f7;
    font: 600 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.dc-cc-imp-btn:hover { background: rgba(79, 195, 247, .16); }
.dc-cc-imp-msg { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.dc-cc-imp-msg.dc-cc-empty { padding: 0; }
.dc-cc-imp-err { color: #ef9a9a; }
.dc-cc-imp-err[hidden] { display: none; }
.dc-cc-imp-list { display: flex; flex-direction: column; gap: 8px; }
.dc-cc-cand {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; box-sizing: border-box;
    border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .18); background: none; color: #fff;
    font: inherit; text-align: left; cursor: pointer;
}
.dc-cc-cand:hover { background: rgba(255, 255, 255, .05); }
.dc-cc-cand[aria-checked="true"] { border-color: #FF8504; background: rgba(255, 133, 4, .08); }
.dc-cc-cand-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dc-cc-cand-name { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.dc-cc-cand-sub { font-size: 12px; color: rgba(255, 255, 255, .55); }
.dc-cc-link {
    padding: 0; border: 0; background: none; cursor: pointer; color: #4fc3f7;
    font: 600 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-align: left;
}
.dc-cc-link:hover { color: #81d4fa; }
.dc-cc-link-muted { color: rgba(255, 255, 255, .6); }
.dc-cc-link-muted:hover { color: #fff; }
.dc-cc-imp-foot { display: flex; justify-content: flex-end; }
.dc-cc-link-block { display: block; margin-top: 2px; }
.dc-cc-cand:disabled { cursor: default; opacity: .7; }
.dc-cc-cand-use { flex: none; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: #4fc3f7; }
.dc-cc-cand-use .dc-cc-spin { width: 12px; height: 12px; margin-right: 6px; }
