:root {
    --bg: #080a0c;
    --surface: #171b20;
    --surface-2: #20262d;
    --line: #2a3139;
    --text: #f5f7fa;
    --muted: #8a929c;
    --primary: #39ff88;
    --primary-2: #22e66b;
    --vip: #f5c542;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body {
    min-width: 320px;
    margin: 0;
    background: linear-gradient(180deg, #0b0f12 0%, var(--bg) 34%, #050607 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(8, 10, 12, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(14px);
}

.site-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
}

.site-logo {
    width: 324px;
    height: 102px;
    object-fit: contain;
}

.brand-mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 18px rgba(57, 255, 136, .9);
}

.header-link,
.section-title a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.header-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-link.is-active {
    color: var(--text);
}

.app-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 14px 14px 88px;
}

.directory-layout {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.type-sidebar {
    position: sticky;
    top: 62px;
    z-index: 12;
    min-width: 0;
}

.type-panel {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(23, 27, 32, .94);
    overflow: hidden;
}

.type-panel summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.type-menu {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.type-menu::-webkit-scrollbar {
    display: none;
}

.type-menu a {
    min-width: 0;
    min-height: 64px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    scroll-snap-align: start;
}

.type-menu a span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(57, 255, 136, .12);
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.type-menu a strong {
    font-size: 12px;
}

.region-menu a {
    min-width: max-content;
    min-height: auto;
    place-items: center;
    padding: 4px 10px;
    border-color: rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: transparent;
    color: rgba(245, 247, 250, .72);
}

.region-menu a strong {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.region-menu a.is-active {
    border-color: rgba(245, 197, 66, .45);
    background: rgba(245, 197, 66, .1);
    color: var(--vip);
}

.type-menu a.is-active {
    border-color: rgba(57, 255, 136, .55);
    background: rgba(57, 255, 136, .12);
    color: var(--text);
}

.region-menu a.is-active {
    border-color: rgba(245, 197, 66, .45);
    background: rgba(245, 197, 66, .1);
    color: var(--vip);
}

.directory-main {
    min-width: 0;
}

.directory-hero {
    display: grid;
    gap: 8px;
    padding: 16px 0 4px;
}

.directory-hero p,
.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.directory-hero h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
}

.home-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 8px;
}

.home-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-carousel-track::-webkit-scrollbar {
    display: none;
}

.home-banner {
    flex: 0 0 100%;
    min-height: 152px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    overflow: hidden;
    padding: 18px;
    background-color: var(--surface);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 -100px 90px rgba(0, 0, 0, .72);
    scroll-snap-align: start;
}

.home-carousel-dots {
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: flex;
    gap: 6px;
}

.home-carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
}

.home-carousel-dots button.is-active {
    width: 18px;
    background: var(--primary);
}

.home-banner span {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(57, 255, 136, .15);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.home-banner strong {
    max-width: 620px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.25;
}

.home-section {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.home-guide-section {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
}

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-section-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
}

.home-section-head a {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.home-guide-list {
    display: grid;
    gap: 8px;
}

.home-guide-title {
    min-height: 28px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-tag-cloud,
.friend-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.home-tag-cloud a,
.friend-link-grid a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: rgba(245, 247, 250, .86);
    font-size: 13px;
    font-weight: 800;
}

.home-tag-cloud a:nth-child(3n + 1) {
    background: rgba(57, 255, 136, .14);
    color: var(--primary);
}

.home-tag-cloud a:nth-child(3n + 2) {
    background: rgba(245, 197, 66, .15);
    color: var(--vip);
}

.friend-link-grid a.is-image {
    min-height: 54px;
    gap: 8px;
    border-radius: 8px;
}

.friend-link-grid img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
}

.customer-service {
    position: fixed;
    right: 14px;
    bottom: 92px;
    z-index: 45;
}

.customer-service-button {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #061009;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.customer-service-panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: min(300px, calc(100vw - 28px));
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .46);
}

.customer-service-panel[hidden] {
    display: none;
}

.customer-service-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    cursor: pointer;
}

.customer-service-panel h3,
.customer-service-panel p,
.customer-service-panel dl {
    margin: 0;
}

.customer-service-panel h3 {
    padding-right: 28px;
    color: var(--primary);
    font-size: 16px;
}

.customer-service-panel p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.customer-service-panel dl {
    display: grid;
    gap: 8px;
}

.customer-service-panel dl div {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.customer-service-panel dt {
    color: var(--muted);
    font-size: 12px;
}

.customer-service-panel dd {
    min-width: 0;
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 800;
}

.customer-service-panel img {
    width: min(180px, 100%);
    justify-self: center;
    border-radius: 8px;
}

.area-section {
    margin-top: 18px;
}

.venue-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.venue-card {
    min-height: 156px;
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: var(--surface);
}

.telegram-card {
    min-height: 148px;
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: var(--surface);
}

.venue-card:hover {
    border-color: rgba(57, 255, 136, .38);
    transform: translateY(-1px);
}

.telegram-card:hover {
    border-color: rgba(57, 255, 136, .38);
    transform: translateY(-1px);
}

.venue-card-head,
.venue-card-meta,
.detail-kicker {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.detail-kicker {
    margin-bottom: 12px;
}

.venue-card-head span,
.detail-kicker span {
    min-width: 0;
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(57, 255, 136, .12);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.venue-card-head strong,
.detail-kicker strong {
    min-width: 0;
    color: var(--vip);
    font-size: 13px;
}

.venue-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.venue-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.telegram-card h3 {
    min-width: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.telegram-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.venue-card-meta {
    color: var(--muted);
    font-size: 12px;
}

.venue-card-meta span:last-child {
    color: var(--primary);
    font-weight: 800;
}

.telegram-card .venue-card-meta span:last-child {
    color: var(--muted);
}

.hero-panel {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(57, 255, 136, .22);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(32, 38, 45, .96), rgba(8, 10, 12, .94));
}

.hero-panel p,
.page-heading p,
.feed-body p,
.detail-head p,
.text-card p,
.protected-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.hero-panel h1,
.page-heading h1,
.detail-head h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions a,
.lock-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--primary);
    color: #061009;
    font-weight: 800;
}

.hero-actions a + a {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(57, 255, 136, .45);
}

.section-block,
.page-heading,
.detail-head {
    margin-top: 22px;
}

.detail-head {
    margin-bottom: 14px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title h2,
.feed-body h2,
.text-card h2,
.protected-card h3 {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.section-title div {
    min-width: 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.quick-grid a,
.filter-row a,
.filter-row span {
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(23, 27, 32, .82);
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.quick-grid a {
    color: var(--primary);
}

.nav-tile-grid,
.telegram-card-grid,
.detail-field-grid {
    display: grid;
    gap: 10px;
}

.detail-field-grid {
    margin-top: 12px;
}

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

.telegram-card-grid {
    min-width: 0;
    grid-template-columns: 1fr;
}

.nav-tile,
.detail-field {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: var(--surface);
}

.nav-tile span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(57, 255, 136, .12);
    color: var(--primary);
    font-weight: 900;
}

.nav-tile strong,
.detail-field span {
    font-size: 14px;
    font-weight: 900;
}

.nav-tile small,
.detail-field p {
    min-width: 0;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.detail-feature-section,
.detail-service-alert {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 15px;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

.detail-feature-section {
    border: 1px solid rgba(245, 197, 66, .36);
    background: linear-gradient(135deg, rgba(245, 197, 66, .18), rgba(57, 255, 136, .08));
    box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .08);
}

.detail-service-alert {
    border: 1px solid rgba(245, 197, 66, .34);
    border-left: 4px solid var(--vip);
    background: rgba(245, 197, 66, .1);
    color: rgba(255, 239, 194, .88);
}

.detail-feature-section span {
    width: fit-content;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.detail-feature-section span {
    background: rgba(245, 197, 66, .18);
    color: var(--vip);
}

.detail-feature-section p,
.detail-service-alert p {
    min-width: 0;
    margin: 0;
    line-height: 1.7;
}

.detail-feature-section p {
    color: rgba(255, 246, 218, .94);
    font-size: 15px;
    font-weight: 800;
}

.detail-service-alert p {
    color: rgba(255, 239, 194, .86);
    font-size: 13px;
}

.telegram-detail .rich-card h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.technician-media-section {
    display: grid;
    gap: 12px;
}

.technician-media-head {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.technician-media-head div {
    min-width: 0;
}

.technician-media-head h2,
.technician-media-head p {
    margin: 0;
}

.technician-media-head p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.technician-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.technician-media-grid[hidden] {
    display: none;
}

.technician-media-item,
.technician-media-grid video {
    min-width: 0;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-2);
}

.technician-media-item img,
.technician-media-grid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.telegram-detail > .rich-card,
.telegram-detail > .protected-card {
    margin-top: 12px;
}

.filter-strip {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
}

.filter-row {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-row a,
.filter-row span {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(57, 255, 136, .2), rgba(34, 230, 107, .08));
    box-shadow: inset 0 0 0 1px rgba(57, 255, 136, .2);
    color: rgba(245, 247, 250, .88);
    font-size: 13px;
    font-weight: 850;
}

.filter-row a:nth-child(3n + 1),
.filter-row span:nth-child(3n + 1) {
    background: linear-gradient(135deg, rgba(57, 255, 136, .22), rgba(57, 255, 136, .06));
    box-shadow: inset 0 0 0 1px rgba(57, 255, 136, .2);
}

.filter-row a:nth-child(3n + 2),
.filter-row span:nth-child(3n + 2) {
    background: linear-gradient(135deg, rgba(245, 197, 66, .22), rgba(245, 197, 66, .07));
    box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .22);
}

.filter-row a:nth-child(3n),
.filter-row span:nth-child(3n) {
    background: linear-gradient(135deg, rgba(90, 169, 255, .22), rgba(90, 169, 255, .07));
    box-shadow: inset 0 0 0 1px rgba(90, 169, 255, .22);
}

.filter-row a.is-active {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(57, 255, 136, .18);
    color: #061009;
}

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

.dynamic-feed {
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.dynamic-post {
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: var(--surface);
}

.dynamic-post-main {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.dynamic-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dynamic-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(57, 255, 136, .14);
    color: var(--primary);
    font-weight: 900;
}

.dynamic-post-author div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.dynamic-post-author strong,
.dynamic-post-author h1 {
    overflow: hidden;
    margin: 0;
    color: var(--primary);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dynamic-post-author small,
.dynamic-post-author p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.dynamic-post-title {
    margin: 0;
    color: var(--primary);
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dynamic-post-text {
    margin: 0;
    color: rgba(223, 229, 235, .68);
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-line;
}

.dynamic-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.dynamic-media-grid.is-count-1 {
    grid-template-columns: minmax(0, 420px);
}

.dynamic-media-grid.is-count-2,
.dynamic-media-grid.is-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dynamic-media-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: var(--surface-2);
}

.dynamic-media-grid.is-count-1 .dynamic-media-item {
    aspect-ratio: 4 / 3;
}

.dynamic-media-item img,
.dynamic-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dynamic-media-item span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(8, 10, 12, .72);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.dynamic-load-more {
    display: flex;
    justify-content: center;
    margin: 18px auto 0;
}

.dynamic-load-more button,
.dynamic-load-more span,
.contact-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #061009;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.dynamic-load-more span {
    background: rgba(255, 255, 255, .08);
    color: var(--muted);
}

.dynamic-contact {
    display: grid;
    justify-items: stretch;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.dynamic-contact > .protected-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-panel {
    width: 100%;
    box-sizing: border-box;
}

.dynamic-contact .protected-card {
    box-sizing: border-box;
}

.night-guide-section {
    display: grid;
    gap: 12px;
}

.feed-card,
.text-card,
.protected-card,
.rich-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: var(--surface);
}

.feed-cover {
    aspect-ratio: 3 / 4;
    background: var(--surface-2);
}

.feed-cover img {
    height: 100%;
    object-fit: cover;
}

.cover-empty,
.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--primary);
    font-weight: 800;
}

.feed-body {
    display: grid;
    gap: 8px;
    padding: 10px;
}

.feed-body h2 {
    font-size: 15px;
    line-height: 1.3;
}

.feed-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 38px;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.meta-row strong {
    color: var(--primary);
}

.media-swiper {
    position: relative;
    width: 100%;
    height: clamp(240px, 42vw, 420px);
    max-height: 58vh;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-2);
}

.media-track {
    min-width: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.media-track::-webkit-scrollbar {
    display: none;
}

.media-slide {
    min-width: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--surface-2);
}

.media-slide img,
.media-slide video {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: contain;
}

.media-zoom-trigger {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.media-zoom-trigger img {
    pointer-events: none;
}

.media-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: clamp(32px, 4vw, 44px);
    height: clamp(32px, 4vw, 44px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(8, 10, 12, .7);
    color: var(--text);
    cursor: pointer;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1;
    transform: translateY(-50%);
}

.media-arrow.is-previous {
    left: 12px;
}

.media-arrow.is-next {
    right: 12px;
}

.media-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.media-dots {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.media-dots button {
    width: clamp(6px, .8vw, 9px);
    height: clamp(6px, .8vw, 9px);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
}

.media-dots button.is-active {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(57, 255, 136, .7);
}

.has-media-lightbox {
    overflow: hidden;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 52px 64px;
    background: rgba(0, 0, 0, .94);
}

.media-lightbox.is-open {
    display: flex;
}

.media-lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-lightbox-stage img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.media-lightbox-close,
.media-lightbox-arrow {
    position: absolute;
    z-index: 2;
    width: clamp(36px, 4vw, 48px);
    height: clamp(36px, 4vw, 48px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(8, 10, 12, .72);
    color: var(--text);
    cursor: pointer;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

.media-lightbox-close {
    top: 14px;
    right: 14px;
}

.media-lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.media-lightbox-arrow.is-previous {
    left: 14px;
}

.media-lightbox-arrow.is-next {
    right: 14px;
}

.media-lightbox-count {
    position: absolute;
    bottom: 16px;
    left: 50%;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(8, 10, 12, .72);
    color: var(--text);
    font-size: 12px;
    transform: translateX(-50%);
}

.adjacent-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.adjacent-card {
    min-width: 0;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: var(--surface);
}

.adjacent-card.is-next {
    text-align: right;
}

.adjacent-card span,
.adjacent-card small {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.adjacent-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adjacent-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lock-note {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 197, 66, .12);
    color: var(--vip);
    font-size: 12px;
    font-weight: 700;
}

.detail-tabs {
    position: sticky;
    top: 53px;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 18px 0 12px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
    background: rgba(23, 27, 32, .94);
    backdrop-filter: blur(12px);
}

.detail-tabs button {
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 800;
}

.detail-tabs button.is-active {
    background: var(--primary);
    color: #061009;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: grid;
    gap: 12px;
}

.rich-card,
.text-card,
.protected-card {
    min-width: 0;
    padding: 14px;
}

.text-card p {
    overflow-wrap: anywhere;
}

.rich-card {
    line-height: 1.75;
    color: #dfe5eb;
}

.list-stack {
    display: grid;
    gap: 12px;
}

.protected-card {
    display: grid;
    gap: 10px;
}

.protected-type {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.protected-card.is-locked {
    border-color: rgba(245, 197, 66, .25);
    background: linear-gradient(135deg, rgba(245, 197, 66, .09), rgba(23, 27, 32, 1));
}

.lock-pill {
    width: max-content;
    min-height: 30px;
    background: var(--vip);
}

.empty-text {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 auto;
    padding: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border: 1px dashed var(--line);
    border-radius: 8px;
}

.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 520px;
    margin: 0 auto;
    padding: 8px 10px 12px;
    background: rgba(8, 10, 12, .92);
    border-top: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.auth-card {
    width: min(100%, 520px);
    min-width: 0;
    display: grid;
    gap: 14px;
    max-width: 520px;
    margin: 28px auto 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: var(--surface);
}

.auth-card h1,
.auth-card p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.auth-form {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.auth-form.is-inline {
    margin-top: 14px;
}

.auth-form label {
    min-width: 0;
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.bottom-nav a.is-active {
    color: var(--text);
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(8, 10, 12, .72);
    color: var(--text);
    font: inherit;
}

.auth-form textarea {
    min-height: 110px;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: vertical;
}

.auth-form .field-help {
    padding: 9px 10px;
    border: 1px solid rgba(245, 197, 66, .32);
    border-radius: 8px;
    background: rgba(245, 197, 66, .12);
    color: var(--vip);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.auth-form button,
.auth-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #061009;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.auth-form button.is-fit,
.auth-button.is-fit {
    width: fit-content;
}

.auth-form button.is-centered,
.auth-button.is-centered {
    justify-self: center;
}

.payment-method-options,
.payment-method-radio-grid,
.payment-method-detail-list,
.recharge-history {
    display: grid;
    gap: 10px;
}

.payment-method-options {
    margin: 0;
    padding: 0;
    border: 0;
}

.payment-method-options legend {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.payment-method-radio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-method-radio {
    min-width: 0;
    cursor: pointer;
}

.payment-method-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-radio span {
    min-height: 54px;
    display: grid;
    gap: 3px;
    align-content: center;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(8, 10, 12, .38);
}

.payment-method-radio strong,
.payment-method-radio small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-method-radio strong {
    color: var(--text);
    font-size: 14px;
}

.payment-method-radio small {
    color: var(--muted);
    font-size: 12px;
}

.payment-method-radio input:checked + span {
    border-color: rgba(57, 255, 136, .58);
    background: rgba(57, 255, 136, .13);
}

.payment-method-card,
.recharge-history-row {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(8, 10, 12, .38);
}

.payment-method-card[hidden] {
    display: none;
}

.payment-method-card div,
.recharge-history-row div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.payment-method-card strong,
.recharge-history-row strong,
.recharge-history h2 {
    min-width: 0;
    margin: 0;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.payment-method-card span,
.recharge-history-row span {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(57, 255, 136, .12);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.payment-method-card img {
    width: min(100%, 220px);
    border-radius: 8px;
    background: #fff;
}

.payment-method-card p,
.payment-method-card small,
.recharge-history-row p,
.recharge-history-row small {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.recharge-history-row .status-approved {
    background: rgba(68, 214, 111, .14);
    color: #b8f5c8;
}

.recharge-history-row .status-rejected {
    background: rgba(255, 80, 80, .12);
    color: #ff9d9d;
}

.star-rating {
    width: fit-content;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-rating label {
    cursor: pointer;
    filter: grayscale(1);
    font-size: 24px;
    line-height: 1;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    filter: grayscale(0);
}

.auth-note {
    color: var(--muted);
}

.auth-note a {
    color: var(--primary);
    font-weight: 800;
}

.auth-success {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(68, 214, 111, .32);
    border-radius: 8px;
    background: rgba(68, 214, 111, .12);
    color: #b8f5c8;
}

.auth-success strong,
.auth-success span {
    margin: 0;
}

.auth-success span {
    color: rgba(232, 255, 238, .78);
    font-size: 13px;
}

.auth-success.is-vip-success {
    border-color: rgba(245, 197, 66, .46);
    background: linear-gradient(180deg, rgba(68, 214, 111, .16), rgba(245, 197, 66, .1));
}

.auth-error {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 80, 80, .12);
    color: #ff9d9d;
}

.vip-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 12px;
}

.vip-plan-card {
    min-width: 0;
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 16px;
    border: 1px solid rgba(245, 197, 66, .28);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(245, 197, 66, .1), rgba(23, 27, 32, .96));
}

.vip-plan-card span {
    display: inline-flex;
    width: fit-content;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(245, 197, 66, .16);
    color: var(--vip);
    font-size: 12px;
    font-weight: 900;
}

.vip-plan-card h2 {
    margin: 10px 0 0;
    font-size: 18px;
}

.vip-plan-card strong {
    color: var(--vip);
    font-size: 26px;
    line-height: 1;
}

.vip-plan-card p,
.vip-plan-card small {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.vip-plan-card small {
    min-height: 44px;
}

.vip-plan-card button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #061009;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.bottom-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.pager a,
.pager span,
.pager strong {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.pager a {
    background: var(--primary);
    color: #061009;
}

.pager span {
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
}

.pager strong {
    color: var(--text);
}

.header-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.header-search-toggle span,
.header-search-toggle::before,
.header-search-toggle::after {
    position: absolute;
    display: block;
    content: "";
}

.header-search-toggle span {
    top: 10px;
    left: 10px;
    width: 13px;
    height: 13px;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.header-search-toggle::after {
    top: 23px;
    left: 22px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: rotate(45deg);
}

.header-search {
    position: absolute;
    right: 14px;
    bottom: -54px;
    width: min(420px, calc(100vw - 28px));
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(23, 27, 32, .98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .36);
}

.header-search[hidden] {
    display: none;
}

.header-search input {
    min-width: 0;
    flex: 1;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    background: #0d1115;
    color: var(--text);
    padding: 0 12px;
    font-size: 14px;
}

.header-search button,
.breadcrumb-back,
.dynamic-expand-button,
.media-login-prompt a {
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #061009;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.header-search button {
    width: 68px;
}

.breadcrumb-bar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-bottom: 2px;
}

.breadcrumb-back {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
}

.breadcrumb-bar ol {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
    overflow-x: auto;
}

.breadcrumb-bar li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-bar li + li::before {
    color: rgba(255, 255, 255, .28);
    content: "/";
}

.breadcrumb-bar a {
    color: var(--primary);
}

.dynamic-expand-button {
    width: fit-content;
    margin: 0 14px 14px;
    padding: 8px 12px;
}

.dynamic-post-text.is-full {
    color: rgba(223, 229, 235, .68);
}

.media-login-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(245, 197, 66, .26);
    border-radius: 8px;
    background: rgba(245, 197, 66, .08);
    color: #ffe7a0;
    font-size: 14px;
}

.media-login-prompt a {
    flex: 0 0 auto;
    padding: 8px 12px;
}

.media-login-prompt.is-compact {
    margin-top: 0;
}

.site-footer {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 22px 14px 96px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.site-footer-copyright {
    display: grid;
    gap: 8px;
}

.site-footer-copyright p,
.site-footer-copyright small {
    margin: 0;
}

.site-footer-copyright a {
    color: var(--primary);
    font-weight: 800;
}

.site-footer small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .42);
}

@media (min-width: 720px) {
    .app-shell {
        padding-inline: 22px;
    }

    .feed-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .nav-tile-grid,
    .telegram-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-guide-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 560px) {
    .site-header {
        gap: 10px;
        padding: 12px 10px;
    }

    .header-actions {
        flex: 1;
        justify-content: flex-end;
        min-width: 0;
    }

    .site-logo {
        width: 162px;
        height: 51px;
    }

    .header-nav {
        flex: 1;
        justify-content: flex-end;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .header-nav::-webkit-scrollbar {
        display: none;
    }

    .header-link {
        flex: 0 0 auto;
        max-width: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
    }

    .app-shell {
        overflow-x: hidden;
        padding-right: 10px;
        padding-left: 10px;
    }

    .directory-layout,
    .directory-main,
    .telegram-card-grid,
    .telegram-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .type-sidebar {
        position: static;
    }

    .type-menu {
        grid-auto-columns: minmax(66px, max-content);
        padding: 8px;
        scroll-padding-inline: 8px;
    }

    .type-menu a {
        min-width: 66px;
        min-height: 56px;
        padding: 7px 9px;
    }

    .region-menu a {
        min-width: max-content;
        min-height: auto;
        padding: 4px 10px;
    }

    .filter-row {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .filter-row::-webkit-scrollbar {
        display: none;
    }

    .filter-row a,
    .filter-row span {
        flex: 0 0 auto;
        min-width: max-content;
        max-width: 72vw;
        white-space: nowrap;
    }

    .venue-card-head,
    .venue-card-meta {
        gap: 8px;
    }

    .venue-card-head span,
    .venue-card-head strong,
    .venue-card-meta span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-search {
        right: 10px;
        bottom: -52px;
    }

    .breadcrumb-bar,
    .media-login-prompt {
        align-items: flex-start;
        flex-direction: column;
    }

    .venue-card-head span {
        max-width: 58%;
    }

    .venue-card-head strong {
        max-width: 40%;
    }

    .bottom-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        padding-right: 6px;
        padding-left: 6px;
    }

    .bottom-nav a {
        min-width: 0;
        min-height: 38px;
        overflow: hidden;
        padding: 0 2px;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
        line-height: 1.1;
    }

    .vip-plan-card {
        max-width: 100%;
    }

    .payment-method-radio-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        width: 100%;
        margin-top: 16px;
        padding: 14px;
    }

    .auth-card .detail-field-grid,
    .account-menu {
        grid-template-columns: 1fr;
    }

    .account-menu {
        gap: 8px;
    }

    .payment-method-card div,
    .recharge-history-row div {
        align-items: flex-start;
        flex-direction: column;
    }

    .media-swiper {
        height: clamp(210px, 62vw, 320px);
        max-height: 52vh;
    }

    .media-arrow {
        width: clamp(28px, 9vw, 36px);
        height: clamp(28px, 9vw, 36px);
        font-size: clamp(20px, 7vw, 25px);
    }

    .media-lightbox {
        padding: 48px 42px;
    }

    .technician-media-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .media-lightbox-arrow.is-previous {
        left: 6px;
    }

    .media-lightbox-arrow.is-next {
        right: 6px;
    }

    .adjacent-content {
        grid-template-columns: 1fr;
    }

.adjacent-content > span {
    display: none;
}

.adjacent-card.is-next {
    text-align: left;
}
}

.guide-page {
    display: grid;
    gap: 16px;
}

.guide-hero {
    position: relative;
    min-height: 260px;
    display: grid;
    align-items: end;
    gap: 18px;
    overflow: hidden;
    padding: clamp(22px, 6vw, 44px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(8, 10, 12, .96) 0%, rgba(8, 10, 12, .58) 56%, rgba(57, 255, 136, .13) 100%),
        url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.guide-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 12, 0), rgba(8, 10, 12, .92));
}

.guide-hero-copy,
.guide-hero-board {
    position: relative;
    z-index: 1;
}

.guide-kicker {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(57, 255, 136, .38);
    border-radius: 999px;
    background: rgba(57, 255, 136, .09);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.guide-hero h1 {
    max-width: 720px;
    margin: 12px 0 8px;
    font-size: clamp(34px, 8vw, 72px);
    line-height: 1;
}

.guide-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(245, 247, 250, .78);
    font-size: 15px;
    line-height: 1.8;
}

.guide-hero-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 520px;
}

.guide-hero-board span {
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(8, 10, 12, .68);
    color: rgba(245, 247, 250, .68);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.guide-hero-board span.is-active {
    border-color: rgba(57, 255, 136, .52);
    color: var(--primary);
    box-shadow: 0 0 22px rgba(57, 255, 136, .12);
}

.guide-layout {
    display: grid;
    gap: 14px;
    align-items: start;
}

.guide-route,
.guide-main,
.guide-result,
.guide-result-panel,
.guide-after a {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(23, 27, 32, .88);
}

.guide-route {
    display: grid;
    gap: 8px;
    padding: 10px;
}

.guide-route-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    color: rgba(245, 247, 250, .62);
}

.guide-route-item span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.guide-route-item strong {
    min-width: 0;
    color: var(--text);
    font-size: 14px;
}

.guide-route-item small {
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
}

.guide-route-item.is-active {
    background: rgba(57, 255, 136, .1);
}

.guide-route-item.is-active span {
    background: var(--primary);
    color: #061109;
}

.guide-main {
    min-width: 0;
    padding: 14px;
}

.guide-progress {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.guide-progress span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.guide-progress div {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.guide-progress i {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--vip));
    transition: width .2s ease;
}

.guide-form {
    display: grid;
    gap: 12px;
}

.guide-question {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(8, 10, 12, .34);
}

.guide-question legend {
    padding: 0 4px;
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
}

.guide-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.guide-options-wide,
.guide-budget-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-options label {
    min-width: 0;
    cursor: pointer;
}

.guide-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guide-options span {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    color: rgba(245, 247, 250, .78);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.guide-options input:checked + span {
    border-color: rgba(57, 255, 136, .62);
    background: rgba(57, 255, 136, .14);
    color: var(--text);
    box-shadow: 0 0 18px rgba(57, 255, 136, .08);
}

.guide-options input:disabled + span {
    border-color: rgba(255, 255, 255, .05);
    background: rgba(255, 255, 255, .02);
    color: rgba(245, 247, 250, .28);
    cursor: not-allowed;
}

.guide-question-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.guide-result {
    min-width: 0;
    padding: 14px;
}

.guide-result-layout {
    display: grid;
    gap: 14px;
    align-items: start;
}

.guide-result-panel {
    min-width: 0;
    padding: 16px;
}

.guide-result-empty {
    display: grid;
    gap: 8px;
    min-height: 180px;
    place-content: center;
    text-align: center;
}

.guide-result-empty span,
.guide-result-tag {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.guide-result-empty strong {
    color: rgba(245, 247, 250, .76);
    font-size: 15px;
}

.guide-plan {
    display: grid;
    gap: 12px;
}

.guide-plan h2 {
    margin: 0;
    font-size: 22px;
}

.guide-plan p {
    margin: 0;
    color: rgba(245, 247, 250, .72);
    font-size: 14px;
    line-height: 1.7;
}

.guide-plan-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-plan-list li {
    padding: 10px;
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    color: rgba(245, 247, 250, .82);
    font-size: 13px;
    line-height: 1.6;
}

.guide-result-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.guide-result-actions a,
.guide-result-actions button {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #051109;
    cursor: pointer;
    text-align: center;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
}

.guide-result-actions a.is-secondary,
.guide-result-actions button.is-secondary {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
}

.guide-next-row {
    display: grid;
    gap: 8px;
    justify-items: start;
    padding-top: 4px;
}

.guide-next-button {
    min-width: min(100%, 220px);
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #051109;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
}

.guide-next-button:disabled {
    cursor: not-allowed;
    background: rgba(255, 255, 255, .1);
    color: rgba(245, 247, 250, .38);
}

.guide-next-row span {
    color: var(--muted);
    font-size: 12px;
}

.guide-after {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.guide-after a {
    min-width: 0;
    display: grid;
    gap: 6px;
    padding: 14px;
}

.guide-after span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.guide-after strong {
    min-width: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .guide-hero {
        min-height: 360px;
        padding: 22px 16px;
    }

    .guide-hero-board,
    .guide-options,
    .guide-options-wide,
    .guide-budget-options,
    .guide-result-actions,
    .guide-after {
        grid-template-columns: 1fr;
    }

    .guide-route {
        grid-auto-flow: column;
        grid-auto-columns: minmax(172px, 1fr);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .guide-route::-webkit-scrollbar {
        display: none;
    }
}

@media (min-width: 980px) {
    .directory-layout {
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: start;
    }

    .directory-layout.is-full-width {
        grid-template-columns: minmax(0, 1fr);
    }

    .directory-layout.is-full-width .directory-main {
        grid-column: 1 / -1;
    }

    .type-menu {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .venue-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .guide-layout {
        grid-template-columns: 238px minmax(0, 1fr);
    }

    .guide-result-layout {
        grid-template-columns: 238px minmax(0, 1fr);
    }

    .guide-route,
    .guide-result {
        position: sticky;
        top: 82px;
    }
}
