/* Park restaurant hubs, card 874.
   The server's order pad. Every place to eat is a green-ruled guest check, the way in is a
   rubber stamp (book ahead, mobile order, walk up), and Disney's price band sits on the total
   line. The kitchen rail hangs one ticket per hour, filled to the park's typical posted wait,
   so the hours to sit down and eat stand out at a glance. Each park writes in its own ink
   (--pad-ink, set inline from the hub). Light mode is the pad on a diner counter, dark mode
   is the same pad at closing time. */

.pd {
    --paper: #f3eee2;
    --check: #f4f7ea;
    --check-rule: rgba(64, 120, 92, 0.16);
    --check-edge: rgba(64, 120, 92, 0.38);
    --ink: #1d211c;
    --ink2: #4f564d;
    --ink3: #6c7369;
    --ink-pad: var(--pad-ink, #2f5d3a);
    --stamp-book: var(--ink-pad);
    --stamp-mobile: #8a5a00;
    --stamp-walk: #5e5348;
    --steel-1: #c9ccd0;
    --steel-2: #8e9399;
    --shadow-check: 0 1px 0 rgba(0, 0, 0, 0.05), 0 10px 24px -14px rgba(40, 30, 10, 0.35);
    --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
    --body: "Hanken Grotesk", system-ui, sans-serif;
    --cond: "Saira Condensed", "Hanken Grotesk", system-ui, sans-serif;
    --brand: var(--ink-pad);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
    padding-bottom: 56px;
    overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pd {
        --paper: #151612;
        --check: #1f241e;
        --check-rule: rgba(150, 200, 165, 0.10);
        --check-edge: rgba(150, 200, 165, 0.26);
        --ink: #eef0e8;
        --ink2: #c0c6ba;
        --ink3: #9ea597;
        --ink-pad: var(--pad-ink-dark, #8fc79a);
        --stamp-mobile: #f0c063;
        --stamp-walk: #cdbfae;
        --steel-1: #5b6067;
        --steel-2: #2f3237;
        --shadow-check: 0 1px 0 rgba(0, 0, 0, 0.4), 0 12px 26px -14px rgba(0, 0, 0, 0.8);
    }
}
:root[data-theme="dark"] .pd {
    --paper: #151612;
    --check: #1f241e;
    --check-rule: rgba(150, 200, 165, 0.10);
    --check-edge: rgba(150, 200, 165, 0.26);
    --ink: #eef0e8;
    --ink2: #c0c6ba;
    --ink3: #9ea597;
    --ink-pad: var(--pad-ink-dark, #8fc79a);
    --stamp-mobile: #f0c063;
    --stamp-walk: #cdbfae;
    --steel-1: #5b6067;
    --steel-2: #2f3237;
    --shadow-check: 0 1px 0 rgba(0, 0, 0, 0.4), 0 12px 26px -14px rgba(0, 0, 0, 0.8);
}

.pd :where(a) { color: var(--ink-pad); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pd :where(a):hover { text-decoration-thickness: 2px; }
.pd :where(h1, h2, h3, h4) { color: var(--ink); }
.pd-wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* ------------------------------------------------------------------ hero */
.pd-hero { padding: clamp(20px, 4vw, 48px) 0 clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--check-edge); }
.pd-hero-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .pd-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; } }
.pd-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink3); margin-bottom: 14px; }
.pd-crumbs a { color: var(--ink3); }
.pd-h1 {
    font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02;
    font-size: clamp(34px, 6.2vw, 64px); text-wrap: balance; margin: 0 0 18px;
}
.pd-answer { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; max-width: 40ch; color: var(--ink); }
.pd-byline { margin-top: 14px; font-size: 14px; color: var(--ink3); }
.pd-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pd .pd-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px;
    font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
    border: 2px solid var(--ink-pad); color: var(--ink-pad); text-decoration: none; background: transparent;
}
.pd .pd-btn-ink { background: var(--ink-pad); color: var(--check); }
.pd .pd-btn:hover { text-decoration: none; filter: brightness(1.08); }

/* ------------------------------------------------------------- the check */
.pd-check {
    position: relative; list-style: none;
    background-color: var(--check);
    border: 1px solid var(--check-edge); border-radius: 3px;
    box-shadow: var(--shadow-check);
    padding: 0 16px 14px;
}
/* the perforated tear line along the top of every check */
.pd-check::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px;
    background: radial-gradient(circle at 5px 0, var(--paper) 3px, transparent 3.5px) 0 0 / 10px 6px repeat-x;
}
.pd-check-head {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    margin: 0 -16px 10px; padding: 12px 16px 8px; border-bottom: 2px solid var(--ink-pad);
    font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; color: var(--ink-pad);
}
.pd-check-foot {
    display: flex; justify-content: space-between; align-items: end; gap: 10px;
    margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--check-edge);
}
.pd-total {
    font-family: var(--cond); font-weight: 600; font-size: 22px; color: var(--ink-pad); line-height: 1;
    display: inline-flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pd-total small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--ink2); margin-top: 3px; }
.pd-kind { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; color: var(--ink2); }
.pd-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; margin: 2px 0 8px; letter-spacing: -0.01em; }
.pd-name a { color: var(--ink); text-decoration: none; }
.pd-name a:hover { text-decoration: underline; }
.pd-line { color: var(--ink2); font-size: 16px; line-height: 1.55; }
.pd-order { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.pd-order span {
    font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 600;
    color: var(--ink-pad); margin-right: 6px;
}
.pd-note { margin-top: 10px; font-size: 14.5px; color: var(--ink); background: color-mix(in srgb, var(--ink-pad) 10%, transparent); border-left: 3px solid var(--ink-pad); padding: 6px 10px; }

/* the rubber stamp */
.pd-stamp {
    position: absolute; top: 40px; right: 12px; transform: rotate(-7deg);
    font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; line-height: 1;
    padding: 5px 8px 4px; border: 2px solid currentColor; border-radius: 3px; color: var(--stamp-walk);
    opacity: 0.9; pointer-events: none; background: color-mix(in srgb, var(--check) 70%, transparent);
}
.pd-stamp.stamp-book { color: var(--stamp-book); }
.pd-stamp.stamp-mobile { color: var(--stamp-mobile); }
.pd-stamp.stamp-walklist { color: var(--stamp-book); border-style: dashed; }

/* hero check, the short order */
.pd-check-hero { padding-bottom: 18px; max-width: 460px; justify-self: center; width: 100%; transform: rotate(0.6deg); }
.pd-check-hero .pd-check-head { justify-content: space-between; }
.pd-check-brand { font-weight: 600; font-size: 18px; letter-spacing: 0.08em; flex-basis: 100%; }
.pd-check-meta { display: inline-flex; gap: 5px; font-size: 13px; color: var(--ink2); }
.pd-check-meta b { color: var(--ink-pad); font-variant-numeric: tabular-nums; }
.pd-check-lines { margin: 0; padding: 0; list-style: none; }
.pd-check-lines li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--check-rule); }
.pd-qty { font-family: var(--cond); color: var(--ink3); font-size: 15px; }
.pd .pd-item { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.pd-item-k { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; color: var(--ink2); }
.pd-item-v { font-weight: 700; font-size: 17px; line-height: 1.25; }
.pd .pd-item:hover .pd-item-v { text-decoration: underline; }
.pd-amt { font-family: var(--cond); font-weight: 600; color: var(--ink-pad); font-size: 18px; }
.pd-check-total {
    display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 8px;
    border-top: 2px solid var(--ink-pad); font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-pad);
}
.pd-check-total b { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.pd-check-tally { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 14px; color: var(--ink2); }
.pd-check-tally b { color: var(--ink); }
.pd-stamp-hero { top: 12px; right: 14px; font-size: 15px; padding: 6px 10px 5px; color: var(--stamp-book); transform: rotate(-9deg); opacity: 0.75; }

/* ---------------------------------------------------------- jump bar */
.pd-jump { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--check-edge); }
.pd-jump .pd-wrap { display: flex; gap: 4px 18px; overflow-x: auto; scrollbar-width: none; }
.pd-jump .pd-wrap::-webkit-scrollbar { display: none; }
.pd .pd-jump a {
    flex: none; padding: 12px 0; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
    font-size: 15px; color: var(--ink2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.pd .pd-jump a:hover { color: var(--ink-pad); }

/* ------------------------------------------------------------ sections */
.pd-sec { padding: clamp(36px, 6vw, 72px) 0 0; scroll-margin-top: 48px; }
.pd-sec-head { max-width: 62ch; margin-bottom: 24px; }
.pd-sec-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(27px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; margin-bottom: 10px; }
.pd-sec-head p { color: var(--ink2); }
.pd-legend { margin-top: 8px; font-size: 14.5px; }
.pd-legend b { font-family: var(--cond); color: var(--ink-pad); margin: 0 4px 0 10px; }
.pd-legend b:first-child { margin-left: 0; }

/* top ten, the spike */
.pd-spike { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 700px) { .pd-spike { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .pd-spike { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-check-rank:nth-child(odd) { transform: rotate(-0.4deg); }
.pd-check-rank:nth-child(even) { transform: rotate(0.35deg); }
.pd-check-rank:first-child { border-width: 2px; border-color: var(--ink-pad); }
.pd-rank { font-weight: 600; font-size: 22px; letter-spacing: 0.02em; color: var(--ink-pad); line-height: 1; }
.pd-check-area { color: var(--ink2); }
.pd-check-rank .pd-name { padding-right: 104px; }
.pd-check-rank .pd-stamp { top: 52px; }

/* ------------------------------------------------------- kitchen rail */
.pd-rail { position: relative; padding-top: 18px; }
.pd-rail-bar {
    position: absolute; left: -6px; right: -6px; top: 0; height: 14px; border-radius: 7px;
    background: linear-gradient(to bottom, var(--steel-1), var(--steel-2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 3px 6px -2px rgba(0, 0, 0, 0.35);
}
.pd-rail-tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(3px, 0.8vw, 10px); }
.pd-rail-tickets li {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--check); border: 1px solid var(--check-edge); border-top: 0; border-radius: 0 0 3px 3px;
    padding: 8px 2px 8px; box-shadow: var(--shadow-check); min-width: 0;
}
.pd-tk-hour { font-family: var(--cond); font-weight: 600; font-size: clamp(11px, 1.4vw, 15px); color: var(--ink2); text-transform: uppercase; }
.pd-tk-meter { position: relative; width: clamp(8px, 1.6vw, 18px); height: clamp(110px, 18vw, 180px); background: var(--check-rule); border-radius: 2px; overflow: hidden; }
.pd-tk-meter span { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill); background: color-mix(in srgb, var(--ink3) 55%, transparent); }
.pd-tk-min { font-family: var(--cond); font-weight: 600; font-size: clamp(12px, 1.6vw, 17px); font-variant-numeric: tabular-nums; color: var(--ink); }
.pd-tk-tag {
    font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(9.5px, 1.2vw, 13px);
    border: 1.5px solid currentColor; border-radius: 2px; padding: 1px 3px; transform: rotate(-6deg);
}
.pd-rail-tickets li.is-peak { border-color: var(--ink-pad); }
.pd-rail-tickets li.is-peak .pd-tk-meter span { background: var(--ink-pad); }
.pd-rail-tickets li.is-peak .pd-tk-tag { color: var(--ink-pad); }
.pd-rail-tickets li.is-calm .pd-tk-meter span { background: var(--stamp-mobile); }
.pd-rail-tickets li.is-calm .pd-tk-tag { color: var(--stamp-mobile); }
.pd-rail-key { margin-top: 14px; font-size: 14.5px; color: var(--ink2); }
.pd-calm { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pd-calm h3 { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 16px; color: var(--ink2); flex-basis: 100%; }
.pd-calm ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pd-calm li {
    display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; background: var(--check); border: 1px solid var(--check-edge); border-radius: 3px;
    font-variant-numeric: tabular-nums;
}
.pd-calm li b { font-family: var(--cond); font-size: 22px; color: var(--stamp-mobile); line-height: 1; }
.pd-calm li span { font-size: 13px; color: var(--ink3); }

/* ------------------------------------------------------------ directory */
.pd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pd-filters button {
    min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--check-edge); background: var(--check);
    color: var(--ink); font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer;
}
.pd-filters button.is-on { background: var(--ink-pad); border-color: var(--ink-pad); color: var(--check); }
.pd-count { font-size: 14px; color: var(--ink3); margin-bottom: 8px; }
.pd-area { margin-top: 28px; }
.pd-area[hidden] { display: none; }
.pd-area-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--check-edge); }
.pd-area-h span { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.015em; }
.pd-area-h small { font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink2); }
.pd-pad { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pd-check-sm { scroll-margin-top: 64px; }
.pd-check-sm[hidden] { display: none; }
.pd-check-sm .pd-check-head { justify-content: space-between; }
.pd-no { color: var(--ink-pad); font-variant-numeric: tabular-nums; }
.pd-check-sm .pd-name { padding-right: 100px; font-size: 19px; }
.pd .pd-ranked { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-pad); }
.pd-check-rank { scroll-margin-top: 64px; }
.pd-check-rank:target { outline: 3px solid var(--ink-pad); outline-offset: 3px; }
.pd-check-sm .pd-stamp { top: 46px; }
.pd-flags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; color: var(--ink2); }
.pd-flags a { font-weight: 600; }
.pd-check-sm:target { outline: 3px solid var(--ink-pad); outline-offset: 3px; }
.pd-empty { padding: 20px 0; color: var(--ink2); }
.pd-small { margin-top: 26px; font-size: 14.5px; color: var(--ink2); }

/* ---------------------------------------------------------- notes */
.pd-notes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pd-stub {
    background: var(--check); border: 1px dashed var(--check-edge); border-left: 4px solid var(--ink-pad); padding: 16px 18px; border-radius: 3px;
}
.pd-stub h3 { font-family: var(--display); font-size: 19px; font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
.pd-stub p { color: var(--ink2); font-size: 16px; }

/* ------------------------------------------------------------ faq */
.pd-faq details { border-bottom: 1px solid var(--check-edge); max-width: 78ch; }
.pd-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 18px; list-style-position: outside; min-height: 44px; }
.pd-faq details p { padding: 0 0 16px; color: var(--ink2); }

/* ------------------------------------------------------------ plan */
.pd-plan-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.pd .pd-plan-links a {
    display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; text-decoration: none;
    background: var(--check); border: 1px solid var(--check-edge); border-top: 3px solid var(--ink-pad); border-radius: 3px; color: var(--ink);
}
.pd .pd-plan-links a b { font-size: 17px; }
.pd .pd-plan-links a span { font-size: 14.5px; color: var(--ink2); }
.pd .pd-plan-links a:hover b { text-decoration: underline; }
.pd-siblings { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15.5px; color: var(--ink2); }
.pd-siblings a { font-weight: 600; }

/* ---------------------------------------------- critique round fixes */
.pd .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd-check-lines li { grid-template-columns: minmax(0, 1fr) auto; }
.pd-amt { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.pd-amt small { font-family: var(--body); font-weight: 500; font-size: 12.5px; color: var(--ink2); }
.pd-check-meta { flex-basis: 100%; justify-content: space-between; }
.pd-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pd-legend span { white-space: nowrap; color: var(--ink2); }
.pd-legend b { margin: 0 4px 0 0 !important; }
.pd .pd-jump a[aria-current] { color: var(--ink-pad); box-shadow: inset 0 -3px 0 var(--ink-pad); }
.pd-jump { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
@media (min-width: 900px) { .pd-jump { -webkit-mask-image: none; mask-image: none; } }
.pd-filters { display: grid; gap: 8px; }
.pd-filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-filter-flags button { border-style: dashed; }
.pd-filter-flags button.is-on { border-style: solid; }
.pd .pd-reset { margin-left: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink-pad); background: transparent; color: var(--ink-pad); font-weight: 600; cursor: pointer; }
.pd-rail-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 16px; font-size: 14.5px; color: var(--ink2); }
.pd-rail-legend > span:first-child { flex-basis: 100%; }
.pd-lg { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; border: 1.5px solid currentColor; border-radius: 2px; padding: 1px 5px; }
.pd-lg-eat { color: var(--ink-pad); margin-left: 0; }
.pd-lg-ride { color: var(--stamp-mobile); margin-left: 10px; }
.pd-tk-hour { font-size: clamp(12px, 1.4vw, 15px); }
.pd-tk-tag { font-size: clamp(11.5px, 1.2vw, 13px); padding: 1px 2px; letter-spacing: 0.02em; }
.pd-stamp.stamp-mobile { border-style: double; border-width: 3px; }

/* critique round two. The rail speaks its own language, apart from the stamps. Eat is a solid
   ticket in plain ink, Ride is a hatched ticket, so neither borrows a stamp or park color. */
.pd { --eat: var(--ink); --ride: var(--ink3); }
.pd-rail-tickets li.is-peak { border-color: var(--eat); border-width: 0 2px 2px; }
.pd-rail-tickets li.is-peak .pd-tk-meter span { background: var(--eat); }
.pd-rail-tickets li.is-peak .pd-tk-tag { color: var(--paper); background: var(--eat); border-color: var(--eat); }
.pd-rail-tickets li.is-calm { border-style: dashed; border-top: 0; }
.pd-rail-tickets li.is-calm .pd-tk-meter span { background: repeating-linear-gradient(135deg, var(--ride) 0 3px, transparent 3px 6px); }
.pd-rail-tickets li.is-calm .pd-tk-tag { color: var(--ink); border-style: dashed; }
.pd-lg-eat { color: var(--paper); background: var(--eat); border-color: var(--eat); }
.pd-lg-ride { color: var(--ink); border-style: dashed; }
.pd-filters button .pd-n { font-family: var(--cond); font-weight: 600; font-size: 14px; opacity: 0.75; margin-left: 2px; }
.pd-filters button:disabled { opacity: 0.4; cursor: not-allowed; }
.pd-count-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; min-height: 44px; }
.pd-count-row .pd-count { margin: 0; }
.pd-count-row .pd-reset { margin-left: 0; }
.pd-areas { display: flex; gap: 6px 16px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 2px; border-top: 1px solid var(--check-edge); border-bottom: 1px solid var(--check-edge); }
.pd-areas::-webkit-scrollbar { display: none; }
.pd .pd-areas a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 15px; color: var(--ink2); text-decoration: none; }
.pd .pd-areas a:hover { color: var(--ink-pad); }
.pd-area { scroll-margin-top: 56px; }
.pd-calm li span { white-space: nowrap; }
.pd-calm li b { color: var(--ink); }

@media (max-width: 480px) {
    .pd-check-rank .pd-name, .pd-check-sm .pd-name { padding-right: 0; margin-top: 30px; }
    .pd-check-rank .pd-stamp, .pd-check-sm .pd-stamp { top: 44px; right: 12px; }
    .pd-check-hero { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .pd * { transition: none !important; animation: none !important; }
}
