/* ═══════════════════════════════════════════════════════════════════
   /jobs/: the Careers page (templates/jobs.html, static/js/careers.js).
   Approved design "page-careers" round 3, 2026-10-07: an airy panel hero
   with four callouts, open roles as tickets with a deadline stub (ghost
   cards when nothing is open), Follow us, and the "Check your
   application" dialog (a bottom sheet on phones).

   Scoped to .dfc so the short names cannot leak. Every colour is a token
   from df-tokens.css (tests/test_theme_tokens.py forbids raw values
   here); the brand logos carry their own colours in the SVG markup.
   Layout only for forms: fields, labels, inputs, errors and buttons are
   the one shared standard in static/css/df-forms.css (.dff-*).
   ═══════════════════════════════════════════════════════════════════ */

.dfc {
    --dfc-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --dfc-card: var(--df-surface);
    --dfc-shadow-2: 0 30px 60px -18px color-mix(in srgb, var(--df-navy) 32%, transparent);
    --dfc-ease: cubic-bezier(.22, 1, .36, 1);
    --dfc-band-ink: var(--df-on-navy);
    padding-bottom: clamp(40px, 8vh, 72px);
}
[data-theme="dark"] .dfc {
    --dfc-card: color-mix(in srgb, var(--df-line) 55%, var(--df-surface));
    --dfc-shadow-2: 0 30px 60px -18px color-mix(in srgb, var(--df-navy) 85%, transparent);
}

.dfc-defs { position: absolute; }
.dfc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.dfc :focus-visible { outline: 3px solid var(--df-accent); outline-offset: 3px; }
.dfc-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dfc-flashes { display: grid; gap: .6rem; padding-top: 1rem; }
.dfc-sec { padding: clamp(14px, 3vh, 32px) 0; scroll-margin-top: calc(var(--df-nav-h) + 8px); }
.dfc-sec-hero { padding-top: clamp(16px, 3vh, 28px); }

/* Display recipe and sizes come from the shared type system (df-tokens.css). */
body.public .dfc-disp {
    font-family: var(--df-font-display); font-stretch: var(--df-display-stretch); font-variation-settings: var(--df-display-wdth); font-weight: var(--df-display-weight);
    text-transform: uppercase; line-height: var(--df-display-lh); letter-spacing: var(--df-display-ls); margin: 0; color: inherit; max-width: none;
}
.dfc-lede { font-family: var(--df-font-text); font-size: var(--df-type-lede); line-height: var(--df-type-lede-lh); color: var(--df-ink-2); max-width: 52ch; margin: 0; }
.dfc-eyebrow { font: 600 12px var(--dfc-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--df-accent); }
.dfc-cta { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.dfc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--df-achieve-fill); flex: none; display: inline-block; }

/* Links (buttons are .dff-b1 from df-forms.css) */
.dfc-ar { display: inline-block; transition: transform .25s var(--dfc-ease); }
.dff-b1:hover .dfc-ar, a:hover > .dfc-ar { transform: translateX(3px); }
.dff-b1:hover .dfc-ar.dfc-dn { transform: translateY(3px); }
.dfc-lnk, .dfc-lk, .dfc-vr { font-weight: 700; text-decoration: none; color: var(--df-accent); display: inline-flex; gap: 6px; align-items: center; }
.dfc-lnk:hover, .dfc-lk:hover, .dfc-vr:hover { color: var(--df-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── Hero: airy panel, faint 22px grid, faded at the edges ──────── */
.dfc-panel { position: relative; background: var(--df-panel); border-radius: 30px; overflow: hidden; }
.dfc-panel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(color-mix(in srgb, var(--df-ink) 6%, transparent) 1px, transparent 1px),
                      linear-gradient(90deg, color-mix(in srgb, var(--df-ink) 6%, transparent) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask: radial-gradient(ellipse at center, black 30%, transparent 88%);
    mask: radial-gradient(ellipse at center, black 30%, transparent 88%);
}
.dfc-panel > * { position: relative; }
.dfc-hero { min-height: min(620px, calc(100svh - 150px)); display: grid; place-items: center; padding: 56px 24px; text-align: center; }
.dfc-mid { max-width: 740px; margin: 0 auto; z-index: 1; }
body.public .dfc-hero h1 { font-size: var(--df-type-hero); color: var(--df-ink); }
.dfc-hero .dfc-lede { margin: 20px auto 26px; }
.dfc-hero .dfc-cta { justify-content: center; }
.dfc-callwrap { position: absolute; inset: 0; pointer-events: none; }
.dfc-callout {
    position: absolute; pointer-events: auto; z-index: 2;
    background: var(--dfc-card); color: var(--df-ink); border-radius: 16px; box-shadow: var(--df-shadow);
    padding: 12px 16px; font-size: 15px; text-align: left;
    transform: rotate(var(--r, 0deg)); transition: transform .3s var(--dfc-ease), box-shadow .3s;
}
.dfc-callout:hover, .dfc-callout:focus-within { transform: rotate(0deg) translateY(-3px); box-shadow: var(--dfc-shadow-2); }
.dfc-callout small { display: block; font: 600 10.5px var(--dfc-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--df-ink-3); margin-bottom: 4px; }
.dfc-callout b { font-size: 16px; }
.dfc-big { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: 44px; line-height: .9; display: block; }
.dfc-c1 { left: 5%; top: 13%; --r: -3deg; }
.dfc-c2 { right: 5%; top: 15%; --r: 2deg; }
.dfc-c3 { left: 8%; bottom: 13%; --r: 2deg; }
.dfc-c4 { right: 6%; bottom: 14%; --r: -2deg; }
.dfc-wk { display: grid; grid-template-columns: repeat(24, 7px); gap: 2px; margin-top: 8px; }
.dfc-wk i { height: 7px; border-radius: 2px; background: var(--df-line); }
.dfc-wk i.on { background: var(--df-achieve-fill); }
.dfc-wk i.now { background: var(--df-accent); }

/* ── Open roles, empty: ghost cards ──────────────────────────────── */
.dfc-ghosts { position: relative; display: grid; }
.dfc-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dfc-ghost {
    position: relative; border: 2px dashed var(--df-line); border-radius: 24px; padding: 24px;
    min-height: min(420px, calc(100svh - 220px)); display: flex; flex-direction: column; gap: 14px;
    transition: border-color .3s, background-color .3s;
}
.dfc-ghost i { display: block; height: 14px; border-radius: 7px; background: var(--df-panel); position: relative; overflow: hidden; transition: background-color .3s; }
.dfc-ghost i::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--dfc-card) 85%, transparent), transparent);
    animation: dfc-shim 3.2s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@keyframes dfc-shim { 55%, 100% { transform: translateX(100%); } }
.dfc-ghost i.t { height: 40px; margin-top: 8px; border-radius: 10px; }
.dfc-ghost i.go { margin-top: auto; width: 38%; }
.dfc-hint {
    position: absolute; right: 18px; top: 16px; display: inline-flex; gap: 7px; align-items: center;
    font: 600 11px var(--dfc-mono); letter-spacing: .06em; text-transform: uppercase;
    color: var(--df-accent); background: var(--df-accent-soft); padding: 6px 10px; border-radius: 999px;
    opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .3s var(--dfc-ease);
}
.dfc-ghost:hover { border-color: color-mix(in srgb, var(--df-accent) 55%, var(--df-line)); background: color-mix(in srgb, var(--df-accent-soft) 35%, transparent); }
.dfc-ghost:hover i { background: color-mix(in srgb, var(--df-accent) 12%, var(--df-panel)); }
.dfc-ghost:hover .dfc-hint { opacity: 1; transform: none; }
.dfc-over { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; pointer-events: none; }
.dfc-msg {
    pointer-events: auto; text-align: center; max-width: 540px; padding: clamp(24px, 4vw, 38px);
    background: var(--dfc-card); color: var(--df-ink); border-radius: 22px; box-shadow: var(--dfc-shadow-2);
}
body.public .dfc-msg h2 { font-size: var(--df-type-h2); margin: 10px 0 14px; color: var(--df-ink); }
.dfc-msg p { margin: 0 auto 22px; color: var(--df-ink-2); max-width: 42ch; line-height: 1.55; }
.dfc-msg .dfc-cta { justify-content: center; }

/* ── Open roles: tickets with a deadline stub, on the brand band ── */
.dfc-band {
    position: relative; overflow: hidden; border-radius: 28px; padding: clamp(18px, 3vw, 32px);
    color: var(--dfc-band-ink);
    background: linear-gradient(135deg, var(--df-navy) 0%, var(--df-brand-cyan) 55%, color-mix(in srgb, var(--df-brand-teal) 70%, var(--df-navy)) 100%);
}
.dfc-band::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(color-mix(in srgb, var(--df-on-navy) 5%, transparent) 1px, transparent 1px),
                      linear-gradient(90deg, color-mix(in srgb, var(--df-on-navy) 5%, transparent) 1px, transparent 1px);
    background-size: 48px 48px;
}
.dfc-band > * { position: relative; z-index: 1; }
.dfc-band-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
body.public .dfc-band h2 { font-size: var(--df-type-h2); color: var(--dfc-band-ink); }
.dfc-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dfc-chips button {
    border: 0; background: color-mix(in srgb, var(--df-on-navy) 12%, transparent); color: var(--dfc-band-ink);
    font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1.2; padding: 8px 13px; min-height: 36px; border-radius: 999px; cursor: pointer;
    display: inline-flex; gap: 7px; align-items: center;
    transition: background-color .2s, color .2s, transform .16s var(--dfc-ease);
}
.dfc-chips button:hover { background: color-mix(in srgb, var(--df-on-navy) 20%, transparent); }
.dfc-chips button:active { transform: scale(.96); }
.dfc-chips button[aria-pressed="true"] { background: var(--df-on-navy); color: var(--df-navy); }
.dfc-chips button:focus-visible { outline-color: var(--df-on-navy); }
.dfc-chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.dfc-dot-ft { background: var(--df-on-navy-accent); }
.dfc-dot-pt { background: var(--df-on-navy-closed); }
.dfc-dot-tin { background: var(--df-on-navy-now); }

.dfc-tickets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dfc-tk { --nr: 11px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; color: var(--df-ink); transition: transform .3s var(--dfc-ease); }
.dfc-tk[hidden] { display: none; }
.dfc-tk.is-in { animation: dfc-in .28s var(--dfc-ease); }
@keyframes dfc-in { from { opacity: 0; transform: translateY(8px); } }
.dfc-tk:hover { transform: translateY(-3px); }
.dfc-tk-main, .dfc-tk-stub { background: var(--dfc-card); }
.dfc-tk-main {
    border-radius: 18px 0 0 18px; padding: 16px 20px; display: flex; flex-direction: column; gap: 7px; min-width: 0;
    -webkit-mask: radial-gradient(circle var(--nr) at 100% 0, transparent 98%, black) top / 100% 51% no-repeat, radial-gradient(circle var(--nr) at 100% 100%, transparent 98%, black) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle var(--nr) at 100% 0, transparent 98%, black) top / 100% 51% no-repeat, radial-gradient(circle var(--nr) at 100% 100%, transparent 98%, black) bottom / 100% 51% no-repeat;
}
.dfc-tk-stub {
    border-radius: 0 18px 18px 0; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; position: relative;
    -webkit-mask: radial-gradient(circle var(--nr) at 0 0, transparent 98%, black) top / 100% 51% no-repeat, radial-gradient(circle var(--nr) at 0 100%, transparent 98%, black) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle var(--nr) at 0 0, transparent 98%, black) top / 100% 51% no-repeat, radial-gradient(circle var(--nr) at 0 100%, transparent 98%, black) bottom / 100% 51% no-repeat;
}
.dfc-tk-stub::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; border-left: 2px dashed var(--df-line); }
.dfc-tk-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dfc-pay { margin-left: auto; color: var(--df-ink-2); font-size: 13.5px; font-weight: 600; }
.dfc-tag { display: inline-flex; font: 700 11px var(--dfc-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: var(--df-neutral-soft); color: var(--df-neutral); }
.dfc-tag-ft { background: var(--df-accent-soft); color: var(--df-accent); }
.dfc-tag-pt { background: var(--df-warn-soft); color: var(--df-warn); }
.dfc-tag-tin { background: var(--df-ok-soft); color: var(--df-ok); }
body.public .dfc-jt { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 0; color: var(--df-ink); }
.dfc-ds { margin: 0; color: var(--df-ink-2); font-size: 14.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; }
.dfc-sk { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; font-size: 14px; margin: 0; }
.dfc-sk dt { font: 600 10.5px var(--dfc-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--df-ink-3); margin: 0; }
.dfc-sk dd { font-weight: 700; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.dfc-vr { font-size: 15px; align-self: flex-start; padding: 4px 0; }

/* ── Follow us: one compact band ─────────────────────────────────── */
.dfc-fband { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.7fr); gap: 20px 32px; align-items: center; background: var(--df-panel); border-radius: 28px; padding: clamp(20px, 3vw, 32px); }
body.public .dfc-fband h2 { font-size: var(--df-type-h2); color: var(--df-ink); }
.dfc-fband .dfc-lede { margin-top: 8px; }
.dfc-hrows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.dfc-hr {
    position: relative; display: flex; align-items: center; gap: 12px; height: 100%;
    background: var(--dfc-card); border-radius: 16px; padding: 13px 14px; text-decoration: none; color: var(--df-ink); min-width: 0;
    transition: transform .25s var(--dfc-ease), background-color .2s, box-shadow .25s;
}
.dfc-hr:hover, .dfc-hr:focus-visible { color: var(--df-ink); transform: translateY(-2px); box-shadow: var(--df-shadow); background: color-mix(in srgb, var(--df-accent-soft) 45%, var(--dfc-card)); }
.dfc-lg { width: 26px; height: 26px; flex: none; color: var(--df-ink); }
.dfc-nm { flex: 1; min-width: 0; line-height: 1.25; }
.dfc-nm b { display: block; font-size: 15px; }
.dfc-nm small { display: block; color: var(--df-ink-3); font-size: 13px; overflow-wrap: anywhere; }
.dfc-ext { flex: none; color: var(--df-ink-3); opacity: .45; transition: opacity .2s, transform .25s var(--dfc-ease); }
.dfc-hr:hover .dfc-ext, .dfc-hr:focus-visible .dfc-ext { opacity: 1; transform: translate(2px, -2px); color: var(--df-accent); }

/* ── The check dialog ────────────────────────────────────────────── */
dialog.dfc-mdl { border: 0; padding: 0; background: transparent; color: var(--df-ink); max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; inset: 0; overflow: auto; }
dialog.dfc-mdl::backdrop { background: color-mix(in srgb, var(--df-navy) 50%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dfc-shell { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.dfc-box { position: relative; width: min(540px, 100%); background: var(--dfc-card); border-radius: 28px; box-shadow: var(--dfc-shadow-2); padding: clamp(22px, 4vw, 34px); text-align: left; }
.dfc-mdl.is-in .dfc-box { animation: dfc-mdin .32s var(--dfc-ease); }
.dfc-mdl.is-out .dfc-box { animation: dfc-mdout .2s ease-in forwards; }
.dfc-mdl.is-out::backdrop { opacity: 0; transition: opacity .2s; }
@keyframes dfc-mdin { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes dfc-mdout { to { opacity: 0; transform: translateY(12px) scale(.98); } }
.dfc-x { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--df-panel); color: var(--df-ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .16s var(--dfc-ease); }
.dfc-x:hover { background: var(--df-line); }
.dfc-x:active { transform: scale(.94); }
body.public .dfc-mdl h2 { font-size: clamp(2.2rem, 5vw, 3rem); margin: 10px 52px 10px 0; color: var(--df-ink); }
.dfc-mdl h2:focus { outline: none; }
.dfc-sp { margin: 0 0 20px; color: var(--df-ink-2); line-height: 1.5; }
/* The status page's intro is its hero lede. */
.dfc-status .dfc-sp { font-family: var(--df-font-text); font-size: var(--df-type-lede); line-height: var(--df-type-lede-lh); }
.dfc-form .df-note { margin: 0 0 16px; }
.dfc-form .df-note[hidden] { display: none; }
.dfc-ffoot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.dfc-nope { animation: dfc-nope .35s; }
@keyframes dfc-nope { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ── The status page (templates/job_status.html) ─────────────────── */
.dfc-status { padding-top: clamp(16px, 3vh, 28px); }
.dfc-status .dfc-box { margin: 0 auto; width: min(620px, 100%); box-shadow: var(--df-shadow); }
body.public .dfc-status .dfc-box h1 { font-size: var(--df-type-hero); margin: 10px 0 10px; color: var(--df-ink); }
.dfc-result { margin-top: 1.5rem; background: var(--df-panel); border-radius: 20px; padding: 18px; }
.dfc-result-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.dfc-result-hd strong { display: block; font-size: 1.05rem; color: var(--df-ink); }
.dfc-result-hd span.df-muted { display: block; }
.dfc-facts { color: var(--df-ink-2); font-size: 14px; margin: 10px 0 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dfc-result .df-note { background: var(--dfc-card); margin: 0; }
.dfc-result .df-note-ok { background: var(--df-ok-soft); }
.dfc-result .df-note-danger { background: var(--df-danger-soft); }
.dfc-stag { display: inline-flex; font: 700 11px var(--dfc-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--dfc-card); color: var(--df-ink-2); }
.dfc-stag-pending { background: var(--df-warn-soft); color: var(--df-warn); }
.dfc-stag-reviewed { background: var(--df-accent-soft); color: var(--df-accent); }
.dfc-stag-accepted { background: var(--df-ok-soft); color: var(--df-ok); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .dfc-callout { position: static; transform: none; --dfc-rest: none; }
    .dfc-callout:hover, .dfc-callout:focus-within { transform: translateY(-3px); }
    .dfc-callwrap { position: static; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
    .dfc-hero { display: flex; flex-direction: column; justify-content: center; padding: 40px 20px; }
    .dfc-fband { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .dfc-tk { grid-template-columns: minmax(0, 1fr); }
    .dfc-tk-main {
        padding: 14px 16px; border-radius: 18px 18px 0 0;
        -webkit-mask: radial-gradient(circle var(--nr) at 0 100%, transparent 98%, black) left / 51% 100% no-repeat, radial-gradient(circle var(--nr) at 100% 100%, transparent 98%, black) right / 51% 100% no-repeat;
        mask: radial-gradient(circle var(--nr) at 0 100%, transparent 98%, black) left / 51% 100% no-repeat, radial-gradient(circle var(--nr) at 100% 100%, transparent 98%, black) right / 51% 100% no-repeat;
    }
    .dfc-tk-stub {
        border-radius: 0 0 18px 18px; padding: 12px 16px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
        -webkit-mask: radial-gradient(circle var(--nr) at 0 0, transparent 98%, black) left / 51% 100% no-repeat, radial-gradient(circle var(--nr) at 100% 0, transparent 98%, black) right / 51% 100% no-repeat;
        mask: radial-gradient(circle var(--nr) at 0 0, transparent 98%, black) left / 51% 100% no-repeat, radial-gradient(circle var(--nr) at 100% 0, transparent 98%, black) right / 51% 100% no-repeat;
    }
    .dfc-tk-stub::before { left: 16px; right: 16px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed var(--df-line); }
    .dfc-sk { font-size: 13.5px; }
    .dfc-g2 { grid-template-columns: minmax(0, 1fr); }
    .dfc-g2 .dfc-ghost:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
    .dfc-wrap { padding: 0 16px; }
    .dfc-panel { border-radius: 24px; }
    .dfc-hero { padding: 30px 16px 22px; }
    .dfc-hero .dfc-lede { margin: 16px auto 20px; }
    .dfc-callwrap { gap: 8px; margin-top: 20px; }
    .dfc-callout { padding: 10px 13px; font-size: 14px; }
    .dfc-big { font-size: 34px; }
    .dfc-band { border-radius: 24px; }
    .dfc-band-hd { margin-bottom: 12px; }
    .dfc-band-hd > h2 { width: 100%; }
    body.public .dfc-jt { font-size: 19px; }
    .dfc-ds { font-size: 14px; }
    .dfc-pay { margin-left: 0; width: 100%; }
    .dfc-tickets { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -18px; padding: 4px 18px 8px; gap: 8px; align-items: stretch; }
    .dfc-tickets::-webkit-scrollbar { display: none; }
    .dfc-tickets > .dfc-tk { flex: 0 0 86%; scroll-snap-align: center; grid-template-rows: 1fr auto; }
    .dfc-tickets > .dfc-tk:only-child { flex-basis: 100%; }
    .dfc-tk:hover { transform: none; }
    .dfc-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; width: calc(100% + 36px); }
    .dfc-chips::-webkit-scrollbar { display: none; }
    .dfc-chips button { flex: none; }
    .dfc-fband { border-radius: 24px; }
    .dfc-hrows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dfc-hr { padding: 11px 12px; gap: 10px; }
    .dfc-ext { display: none; }
    .dfc-mdl .dfc-shell { place-items: end center; padding: 0; }
    .dfc-mdl .dfc-box { border-radius: 24px 24px 0 0; width: 100%; max-height: 94svh; overflow: auto; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
    .dfc-mdl.is-in .dfc-box { animation-name: dfc-sheet-in; }
    .dfc-mdl.is-out .dfc-box { animation-name: dfc-sheet-out; }
    .dfc-ffoot .dff-b1 { width: 100%; }
    .dfc-status .dfc-box { padding: 22px 18px; }
}
@keyframes dfc-sheet-in { from { transform: translateY(100%); } }
@keyframes dfc-sheet-out { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
    .dfc *, .dfc *::before, .dfc *::after, .dfc-mdl::backdrop { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .dfc-ghost i::after { animation: none; }
    .dfc-callout:hover, .dfc-callout:focus-within { transform: rotate(var(--r, 0deg)); }
    .dfc-callwrap .dfc-callout:hover, .dfc-callwrap .dfc-callout:focus-within { transform: var(--dfc-rest, rotate(var(--r, 0deg))); }
    .dfc-tk:hover, .dfc-hr:hover { transform: none; }
}
