.page-complete-guide {
    background: #082f31;
}

.hub-guide {
    --hub-ink: #183a36;
    --hub-deep: #075653;
    --hub-deep-dark: #043f3e;
    --hub-paper: #fffdf1;
    --hub-cream: #fff9dc;
    --hub-gold: #e5b447;
    --hub-gold-light: #ffe584;
    --hub-green: #4f9b43;
    --hub-blue: #147d9e;
    --hub-red: #b84635;
    --hub-kid: #2f7a4a;
    --hub-teen: #1a6f8f;
    --hub-line: #183a36;
    --hub-muted: #3f564f;
    background: var(--hub-cream);
    overflow-x: clip;
    overflow-wrap: break-word;
    word-break: normal;
    min-width: 0;
}

.hub-guide h1,
.hub-guide h2,
.hub-guide h3,
.hub-guide p,
.hub-guide ol,
.hub-guide ul,
.hub-guide dl,
.hub-guide figure {
    margin-top: 0;
}

.hub-guide h1,
.hub-guide h2,
.hub-guide h3,
.hub-guide p,
.hub-guide li,
.hub-guide dd,
.hub-guide dt,
.hub-guide a,
.hub-guide span,
.hub-guide button,
.hub-guide label {
    overflow-wrap: break-word;
}

.hub-guide [id] {
    scroll-margin-top: 104px;
}

.hub-guide button,
.hub-guide input,
.hub-guide select {
    font: inherit;
}

.hub-guide a:focus-visible,
.hub-guide button:focus-visible,
.hub-guide input:focus-visible,
.hub-guide select:focus-visible {
    outline: 3px solid #ffe27a;
    outline-offset: 2px;
}

.hub-hero {
    position: relative;
    overflow: hidden;
    color: #fffdf0;
    background-color: #0d5a6b;
    background-image:
        linear-gradient(118deg, rgba(4, 63, 62, 0.97) 0%, rgba(7, 86, 83, 0.92) 48%, rgba(20, 92, 118, 0.86) 100%),
        url("../images/water-tile.webp");
    background-repeat: repeat;
    background-size: auto, 96px 96px;
    border-bottom: 8px solid var(--hub-gold);
}

.hub-hero::before,
.hub-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    background-image: url("../images/ui-sprites.webp");
    background-repeat: no-repeat;
    image-rendering: pixelated;
    opacity: 0.16;
}

.hub-hero::before {
    right: -40px;
    bottom: -30px;
    width: 240px;
    height: 240px;
    background-position: -256px -128px;
    background-size: 1920px 1920px;
}

.hub-hero::after {
    left: -28px;
    top: -20px;
    width: 160px;
    height: 160px;
    background-position: -512px -256px;
    background-size: 1920px 1920px;
}

.hub-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.25rem 2.25rem;
}

.hub-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    color: rgba(255, 253, 240, 0.88);
}

.hub-breadcrumbs a {
    color: #ffe584;
    text-decoration: none;
}

.hub-breadcrumbs a:hover {
    text-decoration: underline;
}

.hub-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d8f4ff;
}

.hub-hero-copy h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.55rem, 3.4vw, 2.15rem);
    line-height: 1.18;
    color: #fffdf0;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.hub-lead {
    margin: 0 0 1.1rem;
    max-width: 42rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 253, 240, 0.95);
}

.hub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.hub-primary-action,
.hub-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 3px solid var(--hub-line);
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}

.hub-primary-action {
    background: var(--hub-gold);
    color: var(--hub-ink);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

.hub-primary-action:hover {
    background: var(--hub-gold-light);
}

.hub-secondary-action {
    background: rgba(255, 253, 240, 0.12);
    color: #fffdf0;
}

.hub-secondary-action:hover {
    background: rgba(255, 253, 240, 0.22);
}

.hub-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
}

.hub-hero-stats > div {
    min-width: 0;
    padding: 0.65rem 0.7rem;
    border: 2px solid rgba(255, 253, 240, 0.28);
    border-radius: 12px;
    background: rgba(4, 40, 42, 0.35);
}

.hub-hero-stats dt {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #bfe8f5;
}

.hub-hero-stats dd {
    margin: 0.15rem 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fffdf0;
}

.hub-answer-card {
    align-self: start;
    padding: 1.15rem 1.15rem 1.25rem;
    border: 3px solid var(--hub-line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdf1 0%, #fff4c8 100%);
    color: var(--hub-ink);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
}

.hub-answer-heading {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.hub-answer-heading p {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hub-muted);
}

.hub-answer-heading h2 {
    margin: 0.1rem 0 0;
    font-size: 1.15rem;
    color: var(--hub-deep-dark);
}

.hub-answer-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 3px solid var(--hub-line);
    border-radius: 12px;
    background:
        linear-gradient(145deg, #1f8ca8, #0f6b72),
        url("../images/fish-icon.webp") center / 28px no-repeat;
    box-shadow: inset 0 0 0 2px rgba(255, 253, 240, 0.25);
}

.hub-answer-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.hub-answer-card li {
    display: grid;
    grid-template-columns: 1.55rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
}

.hub-answer-card li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: var(--hub-deep);
    color: #fffdf0;
    font-size: 0.78rem;
    font-weight: 700;
}

.hub-answer-card li p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.4;
    color: var(--hub-ink);
}

.hub-answer-note {
    margin: 0.9rem 0 0;
    padding-top: 0.8rem;
    border-top: 2px dashed rgba(24, 58, 54, 0.22);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--hub-muted);
}

.hub-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.4rem 1.25rem 3rem;
    align-items: start;
}

.hub-main-column {
    min-width: 0;
    display: grid;
    gap: 1.15rem;
}

.hub-section {
    padding: 1.25rem 1.2rem 1.35rem;
    border: 3px solid var(--hub-line);
    border-radius: 18px;
    background: var(--hub-paper);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
}

.hub-section-heading {
    margin-bottom: 1rem;
}

.hub-section-heading p {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hub-blue);
    font-weight: 700;
}

.hub-section-heading h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    color: var(--hub-deep-dark);
    line-height: 1.2;
}

.hub-section-heading span {
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--hub-muted);
}

.hub-section-heading.is-light p,
.hub-section-heading.is-light span {
    color: #d7eef5;
}

.hub-section-heading.is-light h2 {
    color: #fffdf0;
}

.hub-tool-section {
    background:
        linear-gradient(160deg, rgba(7, 86, 83, 0.98) 0%, rgba(14, 92, 110, 0.96) 55%, rgba(18, 110, 128, 0.94) 100%);
    color: #fffdf0;
    border-color: #042f32;
}

.hub-pathfinder-form {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 1rem;
}

.hub-route-field {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.hub-route-field legend {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d8f4ff;
}

.hub-segmented-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.hub-segmented-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hub-segmented-control label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.7rem;
    padding: 0.4rem 0.55rem;
    border: 3px solid #042f32;
    border-radius: 12px;
    background: rgba(255, 253, 240, 0.12);
    color: #fffdf0;
    font-weight: 700;
    cursor: pointer;
}

.hub-segmented-control input:checked + label {
    background: var(--hub-gold);
    color: var(--hub-ink);
}

.hub-route-avatar {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    border: 2px solid currentColor;
}

.hub-route-avatar.is-kid {
    background: var(--hub-kid);
}

.hub-route-avatar.is-teen {
    background: var(--hub-teen);
}

.hub-select-field {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.hub-select-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #d8f4ff;
}

.hub-select-field select,
.hub-reset-button {
    min-height: 2.7rem;
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 3px solid #042f32;
    border-radius: 12px;
    background: #fffdf1;
    color: var(--hub-ink);
}

.hub-reset-button {
    width: auto;
    white-space: nowrap;
    font-weight: 700;
    cursor: pointer;
    background: #ffe584;
}

.hub-reset-button:disabled,
.hub-select-field select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.hub-pathfinder-result {
    min-height: 12rem;
    padding: 1rem;
    border: 3px solid #042f32;
    border-radius: 16px;
    background: rgba(2, 30, 32, 0.28);
}

.hub-tool-state {
    display: grid;
    place-items: center;
    gap: 0.65rem;
    min-height: 10rem;
    color: #e8f7fc;
    text-align: center;
}

.hub-tool-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255, 253, 240, 0.25);
    border-top-color: var(--hub-gold);
    border-radius: 999px;
    animation: hub-spin 0.8s linear infinite;
}

@keyframes hub-spin {
    to {
        transform: rotate(360deg);
    }
}

.hub-noscript {
    margin: 0.85rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 249, 220, 0.92);
    color: var(--hub-ink);
}

.hub-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 0.9rem;
}

.hub-result-main,
.hub-result-side {
    min-width: 0;
}

.hub-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.55rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 228, 132, 0.2);
    border: 1px solid rgba(255, 228, 132, 0.45);
    color: #ffe584;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hub-result-main h3,
.hub-result-side h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    color: #fffdf0;
}

.hub-result-main p,
.hub-result-side p {
    margin: 0 0 0.7rem;
    color: rgba(255, 253, 240, 0.95);
    line-height: 1.5;
    font-size: 0.95rem;
}

.hub-result-side > p strong {
    color: #ffe584;
}

.hub-result-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.hub-result-steps li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: rgba(255, 253, 240, 0.1);
    border: 1px solid rgba(255, 253, 240, 0.16);
    color: #fffdf0;
    font-size: 0.92rem;
    line-height: 1.4;
}

.hub-result-steps li span {
    font-weight: 700;
    color: var(--hub-gold);
}

.hub-result-map {
    display: grid;
    gap: 0.65rem;
}

.hub-result-map figure {
    margin: 0;
    border: 3px solid #042f32;
    border-radius: 14px;
    overflow: hidden;
    background: #042f32;
}

.hub-result-map img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: auto;
}

.hub-result-map figcaption {
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
    color: #d8f4ff;
    background: rgba(2, 24, 26, 0.85);
}

.hub-stat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.7rem;
}

.hub-stat-chips span {
    display: inline-flex;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 253, 240, 0.12);
    border: 1px solid rgba(255, 253, 240, 0.2);
    color: #fffdf0;
    font-size: 0.8rem;
    font-weight: 700;
}

.hub-exit-list {
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.hub-exit-list li {
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 253, 240, 0.08);
    border: 1px solid rgba(255, 253, 240, 0.14);
    color: rgba(255, 253, 240, 0.95);
    font-size: 0.86rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.hub-exit-list strong {
    color: #ffe584;
}

.hub-result-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hub-result-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 2px solid #042f32;
    background: #fffdf1;
    color: var(--hub-ink);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.hub-result-links a:hover {
    background: var(--hub-gold-light);
}

.hub-route-grid,
.hub-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hub-route-card,
.hub-info-card,
.hub-king-card,
.hub-memo-grid article,
.hub-faq-list article {
    min-width: 0;
    padding: 1rem;
    border: 2px solid rgba(24, 58, 54, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, #fffef8 0%, #fff8df 100%);
}

.hub-route-card.is-kid {
    border-color: rgba(47, 122, 74, 0.45);
    box-shadow: inset 0 0 0 1px rgba(47, 122, 74, 0.12);
}

.hub-route-card.is-teen {
    border-color: rgba(26, 111, 143, 0.45);
    box-shadow: inset 0 0 0 1px rgba(26, 111, 143, 0.12);
}

.hub-route-tag {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hub-blue);
}

.hub-route-card h3,
.hub-info-card h3,
.hub-king-card h3,
.hub-memo-grid h3,
.hub-faq-list h3 {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    color: var(--hub-deep-dark);
}

.hub-route-card ul,
.hub-info-card ul,
.hub-info-card ol {
    margin: 0 0 0.75rem;
    padding-left: 1.15rem;
    color: var(--hub-ink);
    line-height: 1.5;
    font-size: 0.94rem;
}

.hub-route-card li + li,
.hub-info-card li + li {
    margin-top: 0.3rem;
}

.hub-inline-link {
    display: inline-flex;
    margin: 0 0.55rem 0.25rem 0;
    color: var(--hub-deep);
    font-weight: 700;
    font-size: 0.9rem;
}

.hub-inline-link:hover {
    color: var(--hub-blue);
}

.hub-map-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.hub-map-card {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem;
    border: 2px solid rgba(24, 58, 54, 0.16);
    border-radius: 14px;
    background: #fffef8;
    text-decoration: none;
    color: var(--hub-ink);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hub-map-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
}

.hub-map-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(24, 58, 54, 0.18);
    background: #0b4a52;
}

.hub-map-card h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
    color: var(--hub-deep-dark);
}

.hub-map-card p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.35;
    color: var(--hub-muted);
}

.hub-section-foot {
    margin: 1rem 0 0;
}

.hub-king-grid,
.hub-memo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hub-king-card > p:first-child {
    margin: 0 0 0.3rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hub-blue);
}

.hub-king-card p:last-child,
.hub-memo-grid p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--hub-ink);
}

.hub-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.hub-link-row a {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.4rem 0.85rem;
    border: 2px solid var(--hub-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hub-deep);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.hub-link-row a:hover {
    background: var(--hub-gold-light);
}

.hub-more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.hub-more-grid a {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.9rem 0.95rem;
    border: 2px solid rgba(24, 58, 54, 0.16);
    border-radius: 14px;
    background: #fffef8;
    text-decoration: none;
    color: var(--hub-ink);
}

.hub-more-grid a:hover {
    border-color: var(--hub-blue);
    background: #f4fcff;
}

.hub-more-grid strong {
    color: var(--hub-deep-dark);
    font-size: 0.98rem;
}

.hub-more-grid span {
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--hub-muted);
}

.hub-faq-list {
    display: grid;
    gap: 0.7rem;
}

.hub-faq-list p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--hub-ink);
}

.hub-guide kbd {
    display: inline-block;
    padding: 0.05rem 0.35rem;
    border: 1px solid rgba(24, 58, 54, 0.35);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: #fff;
    font-family: inherit;
    font-size: 0.88em;
    font-weight: 700;
}

.hub-related {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
}

.hub-related a {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.85rem 0.75rem;
    border: 3px solid var(--hub-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf1, #ffe9a8);
    text-decoration: none;
    color: var(--hub-ink);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.hub-related a:hover {
    background: linear-gradient(180deg, #fffdf1, #ffd96a);
}

.hub-related span {
    font-size: 0.75rem;
    color: var(--hub-muted);
}

.hub-related strong {
    font-size: 0.95rem;
    color: var(--hub-deep-dark);
}

.hub-side-column {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 0.85rem;
    min-width: 0;
}

.hub-toc {
    padding: 0.9rem;
    border: 3px solid var(--hub-line);
    border-radius: 16px;
    background: var(--hub-paper);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.hub-toc p {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hub-blue);
}

.hub-toc a {
    display: block;
    padding: 0.4rem 0.35rem;
    border-radius: 8px;
    color: var(--hub-deep);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.hub-toc a:hover {
    background: rgba(20, 125, 158, 0.1);
}

.hub-game-shot {
    margin: 0;
    border: 3px solid var(--hub-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--hub-paper);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.hub-game-shot img {
    display: block;
    width: 100%;
    height: auto;
    background: #0b4a52;
}

.hub-game-shot figcaption {
    padding: 0.65rem 0.75rem 0.8rem;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--hub-muted);
}

.hub-side-tip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.85rem;
    border: 3px solid var(--hub-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8d0, #ffe48a);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.hub-side-tip-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--hub-deep);
    box-shadow: inset 0 0 0 3px rgba(255, 253, 240, 0.25);
}

.hub-side-tip p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--hub-ink);
}

@media (max-width: 980px) {
    .hub-hero-inner,
    .hub-page-layout {
        grid-template-columns: 1fr;
    }

    .hub-side-column {
        position: static;
        order: -1;
    }

    .hub-toc {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 0.15rem;
        align-items: center;
    }

    .hub-toc p {
        width: 100%;
    }

    .hub-toc a {
        padding: 0.35rem 0.55rem;
        background: rgba(20, 125, 158, 0.08);
    }

    .hub-pathfinder-form {
        grid-template-columns: 1fr 1fr;
    }

    .hub-reset-button {
        grid-column: 1 / -1;
    }

    .hub-map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hub-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hub-more-grid,
    .hub-king-grid,
    .hub-memo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .hub-hero-inner {
        padding: 1.35rem 1rem 1.5rem;
    }

    .hub-page-layout {
        padding: 1rem 0.9rem 2.25rem;
    }

    .hub-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hub-pathfinder-form,
    .hub-route-grid,
    .hub-split-grid,
    .hub-result-layout,
    .hub-more-grid,
    .hub-king-grid,
    .hub-memo-grid {
        grid-template-columns: 1fr;
    }

    .hub-map-grid,
    .hub-related {
        grid-template-columns: 1fr 1fr;
    }

    .hub-section {
        padding: 1rem 0.9rem 1.1rem;
    }

    .hub-primary-action,
    .hub-secondary-action {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hub-map-grid,
    .hub-related,
    .hub-hero-stats {
        grid-template-columns: 1fr;
    }
}
