@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root { --ink: #18252b; --muted: #718084; --line: #dfe7e5; --paper: #f4f7f4; --white: #fff; --teal: #0d7772; --mint: #cfe7d9; --orange: #e57b45; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Space Grotesk', sans-serif; }
body:before { content: ''; position: fixed; inset: 0; z-index: -1; opacity: .42; pointer-events: none; background-image: linear-gradient(rgba(13,119,114,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(13,119,114,.045) 1px, transparent 1px); background-size: 34px 34px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; min-height: 92px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--teal); font: 500 12px 'DM Mono', monospace; letter-spacing: -1px; }.eyebrow { margin: 0 0 7px; color: var(--teal); font: 500 10px 'DM Mono', monospace; letter-spacing: .12em; }.brand-lockup h1 { margin: 0; font-size: 22px; letter-spacing: -.05em; }.header-tools { display: flex; align-items: center; gap: 22px; }.locale-picker { display: flex; align-items: center; gap: 7px; color: var(--teal); font-size: 15px; }.locale-picker select { min-height: 32px; padding: 0 8px; border: 1px solid var(--line); color: var(--ink); background: var(--white); cursor: pointer; font: 11px 'DM Mono', monospace; }.locale-picker select:focus { border-color: var(--teal); outline: 2px solid rgba(77,224,203,.18); }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }.collection-status { width: 180px; color: var(--muted); font: 11px 'DM Mono', monospace; text-transform: uppercase; }.progress-track { height: 4px; margin-top: 10px; background: #e2ebe7; overflow: hidden; }.progress-track span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .35s ease; }
main { max-width: 1180px; margin: auto; padding: 65px 28px 150px; }.intro-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 35px; gap: 25px; }.intro-row h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.07em; }.intro-copy { margin: 14px 0 0; color: var(--muted); font-size: 15px; }.hint { margin: 0 0 5px; color: var(--muted); font: 11px 'DM Mono', monospace; }.hint-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--orange); }
.filter-toggle, .filter-reset { border: 1px solid var(--teal); color: var(--teal); background: transparent; cursor: pointer; font: 11px 'DM Mono', monospace; text-transform: uppercase; transition: .2s ease; }.filter-toggle { flex: 0 0 auto; padding: 12px 15px; }.filter-toggle span { margin-right: 8px; font-size: 15px; }.filter-toggle:hover, .filter-toggle:focus-visible, .filter-toggle.active, .filter-reset:hover, .filter-reset:focus-visible { color: #102028; background: var(--teal); outline: none; }.filter-panel { margin: -9px 0 30px; padding: 20px; border: 1px solid var(--line); background: rgba(23,38,48,.78); }.filter-fields { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(135px, .75fr)) auto; align-items: end; gap: 12px; }.filter-field { display: grid; gap: 7px; color: var(--teal); font: 10px 'DM Mono', monospace; text-transform: uppercase; }.filter-field input, .filter-field select { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid var(--line); color: var(--ink); background: #101a22; font: 12px 'Space Grotesk', sans-serif; outline: none; }.filter-field input:focus, .filter-field select:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(77,224,203,.15); }.filter-reset { min-height: 40px; padding: 0 13px; }.filter-result { margin: 15px 0 0; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; }.empty-state { grid-column: 1 / -1; margin: 30px 0; padding: 55px 20px; border: 1px dashed var(--line); color: var(--muted); text-align: center; font: 12px 'DM Mono', monospace; text-transform: uppercase; }
.rod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }.rod-card { min-width: 0; cursor: pointer; background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; outline: none; }.rod-card:hover, .rod-card:focus-visible { transform: translateY(-5px); border-color: #a9c9bf; box-shadow: 0 14px 30px rgba(29, 65, 59, .1); }.card-image-wrap { position: relative; height: 255px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eaf3ef, #d7e9e2); }.rod-image { display: block; width: auto; height: auto; max-width: 92%; max-height: 92%; object-fit: contain; transition: transform .35s ease, opacity .25s ease; }.rod-card:hover .rod-image { transform: scale(1.06) rotate(-2deg); }.status-badge { position: absolute; top: 14px; left: 14px; padding: 5px 7px; color: var(--muted); background: rgba(255,255,255,.76); font: 10px 'DM Mono', monospace; text-transform: uppercase; }.is-obtained .status-badge { color: #24694d; background: #d5eadb; }.card-arrow { position: absolute; right: 15px; top: 12px; color: var(--teal); font-size: 22px; opacity: 0; transform: translate(-4px, 4px); transition: .25s ease; }.rod-card:hover .card-arrow, .rod-card:focus-visible .card-arrow { opacity: 1; transform: none; }.rod-card-footer { padding: 18px 19px 19px; }.rod-card h3 { margin: 0; font-size: 20px; letter-spacing: -.05em; }.rod-hover-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, margin .3s ease, opacity .3s ease; }.rod-card:hover > .rod-card-footer > .rod-hover-info, .rod-card:focus-visible > .rod-card-footer > .rod-hover-info { max-height: 60px; margin-top: 17px; opacity: 1; }.rod-hover-info span { min-width: 0; color: var(--ink); font: 12px 'DM Mono', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.rod-hover-info small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.mode-controls { position: fixed; z-index: 10; bottom: 22px; left: 50%; display: flex; align-items: center; gap: 3px; padding: 5px; transform: translateX(-50%); background: var(--ink); box-shadow: 0 10px 25px rgba(24,37,43,.22); }.mode-label { padding: 0 12px 0 9px; color: #91a8a8; font: 10px 'DM Mono', monospace; }.mode-button { border: 0; padding: 11px 14px; color: #c4d0ce; background: transparent; cursor: pointer; font: 11px 'DM Mono', monospace; transition: .2s ease; }.mode-button span { margin-right: 7px; color: var(--orange); font-size: 15px; }.mode-button:hover, .mode-button.active { color: var(--ink); background: var(--mint); }
.modal { display: none; position: fixed; z-index: 20; inset: 0; align-items: center; justify-content: center; padding: 24px; }.modal.active { display: flex; }.modal-backdrop { position: absolute; inset: 0; background: rgba(18,35,37,.55); backdrop-filter: blur(8px); animation: fade-in .2s ease; }.modal-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(230px, .85fr) 1.15fr; width: min(760px, 100%); background: var(--white); box-shadow: 0 25px 70px rgba(0,0,0,.25); animation: rise-in .25s ease; }.close-button { position: absolute; z-index: 2; top: 14px; right: 17px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 28px; font-weight: 300; }.modal-rod-panel { padding: 36px 30px 30px; background: #eaf3ef; }.modal-image-wrap { height: 190px; display: grid; place-items: center; margin-bottom: 25px; background: #d8e9e2; }.modal-image-wrap img { width: 82%; height: 82%; object-fit: contain; }.modal h2 { margin: 0 0 25px; font-size: 31px; letter-spacing: -.07em; }.modal dl { margin: 0; }.modal dl div { padding: 13px 0; border-top: 1px solid #c9ded5; }.modal dt { margin-bottom: 4px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; }.modal dd { margin: 0; font-size: 14px; }.modal-description { padding: 65px 48px 40px; }.modal-description > p:not(.eyebrow) { max-width: 330px; margin: 0 0 28px; color: #506066; line-height: 1.7; font-size: 15px; }.wiki-link { display: inline-block; margin-bottom: 35px; color: var(--teal); font: 12px 'DM Mono', monospace; text-decoration: none; border-bottom: 1px solid var(--teal); }.wiki-link span { margin-left: 7px; font-size: 16px; }.primary-button { display: block; width: 100%; padding: 14px 18px; border: 0; color: var(--white); background: var(--teal); cursor: pointer; font: 12px 'DM Mono', monospace; transition: background .2s ease; }.primary-button:hover { background: #095f5b; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 650px) { .header-inner { min-height: 78px; padding: 0 18px; }.header-tools { gap: 10px; }.locale-picker select { max-width: 92px; }.collection-status { width: 135px; }.brand-lockup h1 { font-size: 19px; } main { padding: 42px 18px 130px; }.intro-row { display: block; margin-bottom: 26px; }.filter-toggle { margin-top: 22px; }.filter-panel { margin-top: -8px; }.filter-fields { grid-template-columns: 1fr; }.hint { margin-top: 20px; }.rod-grid { grid-template-columns: 1fr; gap: 15px; }.card-image-wrap { height: 220px; }.modal { padding: 12px; align-items: end; }.modal-content { display: block; max-height: 92vh; overflow: auto; }.modal-rod-panel { padding: 30px 22px 22px; }.modal-image-wrap { height: 150px; margin-bottom: 18px; }.modal h2 { margin-bottom: 18px; font-size: 26px; }.modal-description { padding: 28px 22px 25px; }.mode-controls { right: 12px; left: 12px; justify-content: center; transform: none; }.mode-label { display: none; }.mode-button { flex: 1; padding: 10px 5px; font-size: 10px; } }

/* Dark ocean palette with bright collection accents. */
:root { --ink: #f4f7f2; --muted: #99a9ad; --line: #293a43; --paper: #101a22; --white: #172630; --teal: #4de0cb; --mint: #a8f078; --orange: #ff8066; }
body { color: var(--ink); background: var(--paper); }
body:before { opacity: .5; background-image: linear-gradient(rgba(77,224,203,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(77,224,203,.055) 1px, transparent 1px); }
.site-header { background: rgba(16,26,34,.92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand-mark { color: #102028; background: var(--teal); box-shadow: 5px 5px 0 var(--orange); }
.progress-track { background: var(--line); }
.progress-track span { background: linear-gradient(90deg, var(--orange), #ffd166); }
.card-image-wrap { background: radial-gradient(circle at 50% 35%, #31515c, #1b303b 62%, #14232c); }
.rod-card { background: var(--white); border-color: var(--line); }
.rod-card:hover, .rod-card:focus-visible { border-color: var(--teal); box-shadow: 0 14px 30px rgba(0,0,0,.3), 0 0 22px rgba(77,224,203,.12); }
.rod-image, .modal-image-wrap img { filter: drop-shadow(0 12px 12px rgba(0,0,0,.32)); }
.status-badge { color: #ffd166; background: rgba(16,26,34,.82); }
.is-obtained .status-badge { color: #102028; background: var(--mint); }
.rod-hover-info span { color: var(--ink); }
.rod-hover-info small, .modal dt { color: var(--teal); }
.mode-controls { background: #0b131a; border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(0,0,0,.4); }
.mode-button:hover, .mode-button.active { color: #102028; background: var(--mint); }
.modal-backdrop { background: rgba(4,10,14,.76); }
.modal-content { background: var(--white); border-color: var(--line); box-shadow: 0 25px 70px rgba(0,0,0,.5); }
.modal-rod-panel { background: #1b303b; }
.modal-image-wrap { background: radial-gradient(circle, #41656b, #203b47); }
.modal dl div { border-color: #36515b; }
.modal-description > p:not(.eyebrow) { color: #c3d0d1; }
.wiki-link { color: #ffd166; border-color: #ffd166; }
.primary-button { color: #102028; background: var(--teal); }
.primary-button:hover { background: var(--mint); }

.modal .primary-button.is-not-obtained { color: #fff; background: #2fcf8f; }
.modal .primary-button.is-not-obtained:hover { background: #20b978; }
.modal .primary-button.is-obtained { color: #fff; background: #e05263; }
.modal .primary-button.is-obtained:hover { background: #c93d50; }

/* Keep tall rod artwork inside its dedicated frame. */
.card-image-wrap, .modal-image-wrap { overflow: hidden; }
.rod-image, .modal-image-wrap img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }

/* The artwork is tall, so never zoom it beyond the frame edges. */
.rod-card:hover .rod-image, .rod-card:focus-visible .rod-image { transform: none; }
.rod-image, .modal-image-wrap img { width: auto; height: 100%; object-fit: contain; }

/* Leave breathing room around the full transparent artwork, including its handle. */
.rod-image, .modal-image-wrap img { width: auto !important; height: 84% !important; max-width: 84% !important; max-height: 84% !important; object-fit: contain !important; transform: none !important; }

/* Make the image frame the only sizing context for the artwork. */
.card-image-wrap, .modal-image-wrap { position: relative; overflow: hidden; }
.card-image-wrap .rod-image, .modal-image-wrap img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; margin: auto; object-fit: contain !important; object-position: center; transform: none !important; }

.site-footer { max-width: 1180px; margin: -90px auto 0; padding: 0 28px 150px; text-align: center; color: var(--muted); font: 11px 'DM Mono', monospace; }
.site-footer p { margin: 0 0 16px; }
.author-button { padding: 11px 16px; border: 1px solid var(--teal); color: var(--teal); background: transparent; cursor: pointer; font: 11px 'DM Mono', monospace; transition: .2s ease; }
.author-button span { margin-left: 7px; font-size: 15px; }
.author-button:hover, .author-button:focus-visible { color: #102028; background: var(--teal); }
.author-content { position: relative; z-index: 1; width: min(520px, 100%); padding: 48px; color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(0,0,0,.5); animation: rise-in .25s ease; }
.author-content h2 { margin: 0 0 20px; font-size: 32px; letter-spacing: -.06em; }
.author-placeholder { margin: 0; color: var(--muted); line-height: 1.7; }
@media (max-width: 650px) { .site-footer { margin-top: -70px; padding: 0 18px 130px; }.author-content { padding: 38px 24px; } }

.rod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 650px) { .rod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rod-context-menu { display: none; position: fixed; z-index: 30; width: 210px; padding: 5px; background: #0b131a; border: 1px solid var(--teal); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.rod-context-menu.active { display: grid; gap: 2px; }
.rod-context-menu button { padding: 11px 12px; border: 0; color: var(--ink); background: transparent; cursor: pointer; text-align: left; font: 11px 'DM Mono', monospace; }
.rod-context-menu button:hover, .rod-context-menu button:focus-visible { color: #102028; background: var(--teal); outline: none; }
@media (max-width: 650px) { .rod-context-menu { display: none !important; } }

.view-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }.layout-switcher { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); background: var(--white); }.layout-label { padding: 0 8px; color: var(--muted); font: 10px 'DM Mono', monospace; }.layout-button { border: 0; padding: 8px 9px; color: var(--muted); background: transparent; cursor: pointer; font: 11px 'DM Mono', monospace; }.layout-button:hover, .layout-button:focus-visible, .layout-button.active { color: #102028; background: var(--mint); outline: none; }.layout-button:first-letter { color: var(--teal); font-size: 14px; }
.rod-list-data { display: none; }.layout-compact { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }.layout-compact .rod-card { position: relative; display: flex; aspect-ratio: 1; flex-direction: column; overflow: hidden; }.layout-compact .rod-card-footer { position: absolute; right: 0; bottom: 0; left: 0; padding: 24px 9px 9px; background: linear-gradient(transparent, rgba(11,19,26,.94)); }.layout-compact .rod-card h3 { color: var(--ink); font-size: 13px; line-height: 1.15; text-shadow: 0 1px 5px #0b131a; }.layout-compact .card-image-wrap { flex: 1; min-height: 0; height: auto; }.layout-compact .status-badge, .layout-compact .card-arrow, .layout-compact .rod-hover-info { display: none; }
.rod-list-header { display: grid; grid-template-columns: 90px minmax(150px, 2fr) minmax(120px, 1.2fr) minmax(150px, 1.2fr) minmax(180px, 2fr) minmax(100px, .8fr); grid-column: 1 / -1; padding: 10px 14px; color: var(--ink); background: #172f46; border: 1px solid var(--line); font: 11px 'DM Mono', monospace; text-transform: uppercase; }.rod-list-header span:first-child { grid-column: 2; }.rod-list-header span:nth-child(2) { grid-column: 3; }.rod-list-header span:nth-child(3) { grid-column: 4; }.rod-list-header span:nth-child(4) { grid-column: 5; }.rod-list-header span:nth-child(5) { grid-column: 6; }.layout-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; overflow-x: auto; border-top: 1px solid var(--line); }.layout-list .rod-card { display: grid; grid-column: 1 / -1; grid-template-columns: 90px minmax(150px, 2fr) minmax(120px, 1.2fr) minmax(150px, 1.2fr) minmax(180px, 2fr) minmax(100px, .8fr); align-items: center; border-width: 0 1px 1px; border-radius: 0; transform: none; box-shadow: none; }.layout-list .rod-card:hover, .layout-list .rod-card:focus-visible { background: rgba(77,224,203,.06); border-color: var(--line); }.layout-list .card-image-wrap { width: 90px; height: 78px; background: transparent; }.layout-list .rod-image { height: 70% !important; width: auto !important; }.layout-list .status-badge, .layout-list .card-arrow, .layout-list .rod-hover-info { display: none; }.layout-list .rod-card-footer { display: contents; }.layout-list .rod-card h3 { min-width: 0; padding: 12px 14px; font-size: 14px; line-height: 1.25; }.layout-list .rod-list-data { display: contents; }.layout-list .rod-list-data span { min-width: 0; padding: 12px 14px; overflow: hidden; color: var(--muted); font: 12px 'DM Mono', monospace; text-overflow: ellipsis; white-space: nowrap; }.layout-list .rod-list-data span:last-child { color: var(--teal); }.layout-list .is-obtained .rod-list-data span:last-child { color: var(--mint); }
@media (max-width: 650px) { .view-actions { justify-content: flex-start; margin-top: 22px; }.layout-label { display: none; }.layout-button { flex: 1; }.layout-switcher { flex: 1; }.filter-toggle { margin-top: 0; }.layout-compact { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }.layout-compact .rod-card-footer { padding: 20px 7px 7px; }.layout-compact .rod-card h3 { font-size: 11px; }.rod-list-header { display: none; }.layout-list { display: block; overflow: visible; }.layout-list .rod-card { display: grid; grid-template-columns: 58px minmax(130px, 1fr) minmax(120px, 1fr); }.layout-list .card-image-wrap { width: 58px; height: 68px; }.layout-list .rod-card h3 { padding: 10px; }.layout-list .rod-list-data { display: grid; grid-column: 2 / -1; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }.layout-list .rod-list-data span { padding: 8px 10px; font-size: 10px; }.layout-list .rod-list-data span:nth-child(odd) { border-right: 1px solid var(--line); } }

.layout-grid .rod-card.is-obtained, .layout-compact .rod-card.is-obtained { border-color: #2fcf8f; box-shadow: 0 0 0 1px rgba(47,207,143,.35), 0 0 22px rgba(47,207,143,.2); }.layout-grid .rod-card.is-obtained:hover, .layout-grid .rod-card.is-obtained:focus-visible, .layout-compact .rod-card.is-obtained:hover, .layout-compact .rod-card.is-obtained:focus-visible { box-shadow: 0 14px 30px rgba(0,0,0,.3), 0 0 28px rgba(47,207,143,.34); }.layout-list .rod-card.is-obtained { border-color: #2fcf8f; box-shadow: inset 3px 0 0 #2fcf8f; }

/* =========================================================
   FINAL MOBILE LAYOUT
   ========================================================= */

@media (max-width: 650px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ---------- HEADER ---------- */

    .site-header {
        width: 100%;
    }

    .header-inner {
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 14px 18px;

        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand language"
            "status status";

        gap: 12px 14px;
    }

    .brand-lockup {
        grid-area: brand;
        min-width: 0;
    }

    .brand-mark {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .brand-lockup h1 {
        font-size: 19px;
        white-space: nowrap;
    }

    .header-tools {
        display: contents;
    }

    .locale-picker {
        grid-area: language;
        justify-self: end;
    }

    .locale-picker select {
        max-width: 110px;
    }

    .collection-status {
        grid-area: status;
        width: 100%;
    }


    /* ---------- MAIN ---------- */

    main {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 38px 18px 130px;
        overflow: hidden;
    }


    /* ---------- INTRO ---------- */

    .intro-row {
        width: 100%;
        display: block;
        margin-bottom: 26px;
    }

    .intro-row h2 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.02;
    }

    .intro-copy {
        width: 100%;
        font-size: 14px;
        line-height: 1.55;
    }


    /* ---------- VIEW CONTROLS ---------- */

    .view-actions {
        width: 100%;
        margin-top: 22px;

        display: flex;
        align-items: stretch;
        gap: 10px;

        flex-wrap: nowrap;
    }

    .layout-switcher {
        flex: 1 1 auto;
        min-width: 0;
        width: 0;
    }

    .layout-button {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 6px;
        white-space: nowrap;
    }

    .layout-button span {
        white-space: nowrap;
    }

    .filter-toggle {
        flex: 0 0 auto;
        margin-top: 0;
        padding: 10px 13px;
        white-space: nowrap;
    }


    /* ---------- FILTER ---------- */

    .filter-panel {
        width: 100%;
        margin: -8px 0 24px;
        padding: 15px;
    }

    .filter-fields {
        grid-template-columns: 1fr;
    }


    /* ---------- ROD GRID ---------- */

    .rod-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .rod-card {
        width: 100%;
        min-width: 0;
    }

    .card-image-wrap {
        width: 100%;
        height: 210px;
    }

    .rod-card-footer {
        padding: 14px 13px 15px;
    }

    .rod-card h3 {
        font-size: 16px;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .status-badge {
        top: 10px;
        left: 10px;
        padding: 4px 6px;
        font-size: 9px;
    }

    .rod-card:hover,
    .rod-card:focus-visible {
        transform: none;
        box-shadow: none;
    }

    .rod-hover-info {
        display: none;
    }


    /* ---------- COMPACT VIEW ---------- */

    .layout-compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .layout-compact .rod-card {
        aspect-ratio: 1;
    }

    .layout-compact .rod-card-footer {
        padding: 20px 7px 7px;
    }

    .layout-compact .rod-card h3 {
        font-size: 11px;
    }


    /* ---------- LIST VIEW ---------- */

    .rod-list-header {
        display: none;
    }

    .layout-list {
        display: block;
        width: 100%;
        overflow: visible;
    }

    .layout-list .rod-card {
        width: 100%;
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
    }

    .layout-list .card-image-wrap {
        width: 58px;
        height: 68px;
    }

    .layout-list .rod-card h3 {
        min-width: 0;
        padding: 10px;
        font-size: 14px;
    }

    .layout-list .rod-list-data {
        display: grid;
        grid-column: 2;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--line);
    }

    .layout-list .rod-list-data span {
        min-width: 0;
        padding: 8px 10px;
        font-size: 10px;
    }

    .layout-list .rod-list-data span:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .layout-list .status-badge,
    .layout-list .card-arrow,
    .layout-list .rod-hover-info {
        display: none;
    }


    /* ---------- ROD MODAL ---------- */

    .modal {
        width: 100%;
        height: 100%;
        padding: 10px;
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        max-height: 94vh;
        margin: 0;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .modal-rod-panel {
        width: 100%;
        min-width: 0;
        padding: 25px 18px 20px;
    }

    .modal-image-wrap {
        width: 100%;
        height: 180px;
        margin-bottom: 20px;
    }

    .modal-image-wrap img {
        max-width: 84% !important;
        max-height: 84% !important;
    }

    .modal h2 {
        font-size: 27px;
        line-height: 1.05;
    }

    .modal dl div {
        padding: 11px 0;
    }

    .modal-description {
        width: 100%;
        min-width: 0;
        padding: 25px 18px 24px;
    }

    .modal-description > p:not(.eyebrow) {
        max-width: none;
        font-size: 15px;
        line-height: 1.6;
    }

    .primary-button {
        width: 100%;
        max-width: 100%;
    }


    /* ---------- BOTTOM MODE BAR ---------- */

    .mode-controls {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        justify-content: center;
        transform: none;
    }

    .mode-label {
        display: none;
    }

    .mode-button {
        flex: 1;
        min-width: 0;
        padding: 10px 5px;
        font-size: 10px;
    }


    /* ---------- FOOTER ---------- */

    .site-footer {
        width: 100%;
        max-width: none;
        margin: -70px 0 0;
        padding: 0 18px 130px;
    }

    .author-content {
        width: 100%;
        max-width: 520px;
        padding: 38px 24px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    main {
        padding-left: 14px;
        padding-right: 14px;
    }

    .layout-button {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 10px;
    }

    .filter-toggle {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rod-grid {
        gap: 8px;
    }

    .card-image-wrap {
        height: 190px;
    }

    .rod-card-footer {
        padding: 12px 10px 13px;
    }

    .rod-card h3 {
        font-size: 14px;
    }
}