.tn-place-categories {
    --pc-ink: #06245b;
    --pc-blue: #0865f2;
    --pc-muted: #5f7395;
    --pc-line: #d7e3f3;
    color: var(--pc-ink);
    background: linear-gradient(180deg, #f4faff 0, #fff 34%, #f7fbff 100%);
}

.tn-place-categories a { color: inherit; }
.tn-place-categories-hero { border-bottom: 1px solid #d7e9f8; background: radial-gradient(circle at 48% 12%, #fff 0, #eef8ff 46%, #eaf6ff 100%); }
.tn-place-categories-hero > .tn-shell { padding-top: 18px; padding-bottom: 30px; }
.tn-place-categories-breadcrumbs { display: flex; align-items: center; gap: 9px; color: #597092; font-size: .7rem; }
.tn-place-categories-breadcrumbs a { text-decoration: none; }
.tn-place-categories-breadcrumbs i { color: #9bacc3; font-size: .48rem; }
.tn-place-categories-breadcrumbs span { color: var(--pc-ink); font-weight: 800; }
.tn-place-categories-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; margin-top: 18px; }
.tn-place-categories-hero-copy > span { color: #175da8; font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.tn-place-categories-hero-copy h1 { max-width: 600px; margin: 8px 0 10px; font-size: clamp(2.35rem, 4vw, 4.1rem); line-height: .98; letter-spacing: -.055em; }
.tn-place-categories-hero-copy > p { margin: 0; color: #4f668b; font-size: .94rem; }
.tn-place-categories-hero-copy > small { display: block; margin-top: 14px; color: #58739c; font-size: .72rem; }
.tn-place-categories-hero-copy > small i { margin-right: 5px; color: var(--pc-blue); }
.tn-place-categories-hero-copy > div { display: flex; gap: 10px; margin-top: 20px; }
.tn-place-categories-hero-copy > div a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--pc-blue); border-radius: 7px; color: var(--pc-blue); font-size: .72rem; font-weight: 900; text-decoration: none; }
.tn-place-categories-hero-copy > div a.is-primary { background: var(--pc-blue); color: #fff; box-shadow: 0 9px 20px rgba(8,101,242,.2); }
.tn-place-categories-collage { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 285px; }
.tn-place-categories-collage span { display: block; min-height: 137px; border-radius: 9px; background-image: linear-gradient(180deg, transparent 65%, rgba(3,21,57,.16)), var(--category-image); background-position: center; background-size: cover; box-shadow: 0 8px 22px rgba(13,51,101,.12); }
.tn-place-categories-collage .is-large { grid-row: 1 / 3; min-height: 282px; }

.tn-place-categories-main { padding-top: 0; padding-bottom: 42px; }
.tn-place-categories-search-panel { position: relative; z-index: 2; margin-top: -19px; padding: 14px 18px 12px; border: 1px solid #dfe9f5; border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(21,60,111,.1); }
.tn-place-categories-search { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid #d5e1ef; border-radius: 8px; background: #f9fcff; }
.tn-place-categories-search:focus-within { border-color: #70a9ff; box-shadow: 0 0 0 3px rgba(8,101,242,.1); }
.tn-place-categories-search > i { color: var(--pc-blue); font-size: 1.1rem; }
.tn-place-categories-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--pc-ink); font: inherit; font-size: .78rem; }
.tn-place-categories-search button { border: 0; background: transparent; color: var(--pc-blue); font-size: .68rem; font-weight: 850; cursor: pointer; }
.tn-place-categories-quick { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding-top: 10px; }
.tn-place-categories-quick strong { margin-right: 3px; font-size: .65rem; }
.tn-place-categories-quick button { display: inline-flex; gap: 6px; align-items: center; padding: 7px 11px; border: 1px solid #d9e5f2; border-radius: 999px; background: #fff; color: #29466f; font-size: .64rem; font-weight: 800; cursor: pointer; }
.tn-place-categories-quick button:hover, .tn-place-categories-quick button:focus-visible { border-color: #7eb0f8; color: var(--pc-blue); }
.tn-place-categories-quick button i { color: var(--pc-blue); }
.tn-place-categories-quick small { margin-left: auto; color: #7586a0; font-size: .58rem; }

.tn-place-categories-section { margin-top: 30px; }
.tn-place-categories-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 13px; }
.tn-place-categories-heading h2 { margin: 0; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.035em; }
.tn-place-categories-heading p { margin: 5px 0 0; color: var(--pc-muted); font-size: .72rem; }
.tn-place-categories-heading > a { padding-bottom: 2px; color: var(--pc-blue); font-size: .68rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.tn-place-categories-heading label { display: flex; gap: 6px; align-items: center; color: #60728f; font-size: .65rem; font-weight: 750; }
.tn-place-categories-heading select { min-height: 35px; padding: 0 30px 0 11px; border: 1px solid var(--pc-line); border-radius: 7px; background: #fff; color: var(--pc-ink); font: inherit; font-weight: 800; }
.tn-place-categories-popular { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(98px, 1fr)); gap: 10px; }
.tn-place-categories-popular > a { position: relative; overflow: hidden; min-height: 205px; border: 1px solid var(--pc-line); border-radius: 9px; background: #fff; box-shadow: 0 6px 18px rgba(16,49,96,.06); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.tn-place-categories-popular > a:nth-child(-n+3) { grid-row: span 2; }
.tn-place-categories-popular > a:nth-child(n+4) { min-height: 98px; }
.tn-place-categories-popular > a:nth-child(n+4) > span { height: 100%; }
.tn-place-categories-popular > a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,49,96,.13); }
.tn-place-categories-popular > a > span { display: block; height: 145px; background-image: linear-gradient(180deg, transparent 55%, rgba(4,22,54,.2)), var(--category-image); background-position: center; background-size: cover; }
.tn-place-categories-popular > a > div { position: absolute; right: 8px; bottom: 8px; left: 8px; display: grid; grid-template-columns: 35px 1fr 12px; gap: 9px; align-items: center; min-height: 58px; padding: 8px 11px; border: 1px solid rgba(219,229,241,.9); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 4px 14px rgba(7,30,68,.1); }
.tn-place-categories-popular > a > div > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #e5f1ff; color: var(--pc-blue); }
.tn-place-categories-popular > a:nth-child(2n) > div > i { background: #fff0df; color: #ed7100; }
.tn-place-categories-popular > a:nth-child(3n) > div > i { background: #ddf7ed; color: #0b9a72; }
.tn-place-categories-popular p, .tn-place-categories-popular strong, .tn-place-categories-popular small { display: block; margin: 0; }
.tn-place-categories-popular strong { font-size: .75rem; }
.tn-place-categories-popular small { margin-top: 3px; color: #677b9b; font-size: .61rem; }
.tn-place-categories-popular b { color: var(--pc-blue); font-size: .65rem; }

.tn-place-categories-status { min-height: 0; margin: 0 0 10px; color: #55729b; font-size: .68rem; }
.tn-place-categories-status:empty { display: none; }
.tn-place-categories-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tn-place-category-group { padding: 14px; border: 1px solid var(--pc-line); border-radius: 9px; background: #fff; box-shadow: 0 5px 18px rgba(19,54,103,.04); }
.tn-place-category-group > header { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; margin-bottom: 11px; }
.tn-place-category-group > header > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #e7f2ff; color: var(--pc-blue); }
.tn-place-category-group:nth-child(2n) > header > span { background: #fff0e3; color: #ef7709; }
.tn-place-category-group:nth-child(3n) > header > span { background: #e1f7ef; color: #0c9c74; }
.tn-place-category-group h3 { margin: 0; font-size: .9rem; }
.tn-place-category-group header p { margin: 2px 0 0; color: var(--pc-muted); font-size: .61rem; }
.tn-place-category-group header a { color: var(--pc-blue); font-size: .6rem; font-weight: 900; text-decoration: none; }
.tn-place-category-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.tn-place-category-group-grid > a { display: grid; grid-template-columns: 32px minmax(0, 1fr) 9px; gap: 7px; align-items: center; min-height: 61px; padding: 8px; border: 1px solid #dce6f2; border-radius: 7px; background: #fff; text-decoration: none; transition: border-color .16s ease, background .16s ease; }
.tn-place-category-group-grid > a:hover { border-color: #78aef8; background: #f8fbff; }
.tn-place-category-group-grid > a > i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf5ff; color: var(--pc-blue); font-size: .72rem; }
.tn-place-category-group-grid strong, .tn-place-category-group-grid small { display: block; overflow: hidden; text-overflow: ellipsis; }
.tn-place-category-group-grid strong { font-size: .65rem; white-space: nowrap; }
.tn-place-category-group-grid small { margin-top: 3px; color: #657999; font-size: .54rem; white-space: nowrap; }
.tn-place-category-group-grid b { color: var(--pc-blue); font-size: .55rem; }
.tn-place-categories-empty, .tn-place-categories-no-content { margin-top: 16px; padding: 38px 22px; border: 1px dashed #bdcee3; border-radius: 10px; background: #f7fbff; text-align: center; }
.tn-place-categories-empty > i, .tn-place-categories-no-content > i { color: var(--pc-blue); font-size: 1.8rem; }
.tn-place-categories-empty h3, .tn-place-categories-no-content h2 { margin: 10px 0 4px; }
.tn-place-categories-empty p, .tn-place-categories-no-content p { margin: 0; color: var(--pc-muted); font-size: .73rem; }
.tn-place-categories-empty button, .tn-place-categories-no-content a { display: inline-flex; margin-top: 14px; padding: 9px 15px; border: 0; border-radius: 6px; background: var(--pc-blue); color: #fff; font-size: .68rem; font-weight: 850; text-decoration: none; cursor: pointer; }

.tn-place-categories-areas, .tn-place-categories-guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.tn-place-categories-areas > a, .tn-place-categories-guides > a { overflow: hidden; border: 1px solid var(--pc-line); border-radius: 8px; background: #fff; box-shadow: 0 5px 16px rgba(14,48,95,.05); text-decoration: none; }
.tn-place-categories-areas > a > span, .tn-place-categories-guides > a > span { display: block; height: 100px; background-image: var(--category-image); background-position: center; background-size: cover; }
.tn-place-categories-areas > a > div { position: relative; padding: 10px 30px 11px 11px; }
.tn-place-categories-areas strong, .tn-place-categories-areas small { display: block; }
.tn-place-categories-areas strong { font-size: .72rem; }
.tn-place-categories-areas small { overflow: hidden; margin-top: 4px; color: var(--pc-muted); font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-place-categories-areas div > i { position: absolute; right: 11px; top: 17px; color: var(--pc-blue); font-size: .58rem; }
.tn-place-categories-guides > a > div { position: relative; min-height: 94px; padding: 10px 24px 12px 11px; }
.tn-place-categories-guides small, .tn-place-categories-guides strong { display: block; }
.tn-place-categories-guides small { color: var(--pc-blue); font-size: .55rem; font-weight: 850; }
.tn-place-categories-guides strong { margin-top: 5px; font-size: .7rem; }
.tn-place-categories-guides p { display: -webkit-box; overflow: hidden; margin: 5px 0 0; color: var(--pc-muted); font-size: .57rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tn-place-categories-guides b { position: absolute; right: 10px; bottom: 12px; color: var(--pc-blue); font-size: .56rem; }

.tn-place-categories-chooser { display: grid; grid-template-columns: 42px auto 1fr auto; gap: 13px; align-items: center; margin-top: 27px; padding: 13px 16px; border: 1px solid #cce3f7; border-radius: 9px; background: linear-gradient(100deg, #e8f6ff, #f5fbff); }
.tn-place-categories-chooser > i, .tn-place-categories-final > i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #ccecff; color: #0872dd; }
.tn-place-categories-chooser h2 { margin: 0; font-size: .88rem; }
.tn-place-categories-chooser p { margin: 2px 0 0; color: var(--pc-muted); font-size: .59rem; }
.tn-place-categories-chooser-options { display: flex; gap: 6px; justify-content: center; }
.tn-place-categories-chooser-options button { display: flex; gap: 6px; align-items: center; min-height: 39px; padding: 0 10px; border: 1px solid #d6e5f2; border-radius: 6px; background: #fff; color: var(--pc-ink); font-size: .58rem; font-weight: 800; cursor: pointer; }
.tn-place-categories-chooser-options i { color: var(--pc-blue); }
.tn-place-categories-chooser > button.is-primary { min-height: 39px; padding: 0 15px; border: 0; border-radius: 6px; background: var(--pc-blue); color: #fff; font-size: .61rem; font-weight: 900; cursor: pointer; white-space: nowrap; }
.tn-place-categories-final { display: grid; grid-template-columns: 42px 1fr auto auto auto; gap: 10px; align-items: center; margin-top: 28px; padding: 13px 16px; border: 1px solid #cce3f7; border-radius: 9px; background: #edf8ff; }
.tn-place-categories-final strong, .tn-place-categories-final span { display: block; }
.tn-place-categories-final strong { font-size: .8rem; }
.tn-place-categories-final span { margin-top: 3px; color: var(--pc-muted); font-size: .58rem; }
.tn-place-categories-final a, .tn-place-categories-final button { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 37px; padding: 0 13px; border: 1px solid var(--pc-blue); border-radius: 6px; background: #fff; color: var(--pc-blue); font-size: .59rem; font-weight: 900; text-decoration: none; cursor: pointer; }
.tn-place-categories-final .is-primary { background: var(--pc-blue); color: #fff; }

[data-category-item][hidden], [data-category-group][hidden] { display: none !important; }

@media (max-width: 1080px) {
    .tn-place-categories-hero-grid { gap: 30px; }
    .tn-place-category-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-place-categories-chooser { grid-template-columns: 42px 1fr auto; }
    .tn-place-categories-chooser-options { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
    .tn-place-categories-final { grid-template-columns: 42px 1fr auto; }
    .tn-place-categories-final a, .tn-place-categories-final button { grid-row: 2; }
}

@media (max-width: 760px) {
    .tn-place-categories-hero > .tn-shell { padding-right: 18px; padding-left: 18px; }
    .tn-place-categories-hero-grid { display: block; }
    .tn-place-categories-hero-copy h1 { font-size: 2.55rem; }
    .tn-place-categories-collage { min-height: 210px; margin-top: 25px; }
    .tn-place-categories-collage span { min-height: 101px; }
    .tn-place-categories-collage .is-large { min-height: 210px; }
    .tn-place-categories-main { padding-right: 18px; padding-left: 18px; }
    .tn-place-categories-search-panel { margin-top: -12px; padding: 11px; }
    .tn-place-categories-quick small { width: 100%; margin: 3px 0 0; }
    .tn-place-categories-heading { display: block; }
    .tn-place-categories-heading > a, .tn-place-categories-heading label { display: inline-flex; margin-top: 10px; }
    .tn-place-categories-popular, .tn-place-categories-groups, .tn-place-categories-areas, .tn-place-categories-guides { grid-template-columns: 1fr; }
    .tn-place-categories-popular { grid-template-rows: none; }
    .tn-place-categories-popular > a, .tn-place-categories-popular > a:nth-child(n+4) { grid-row: auto; min-height: 230px; }
    .tn-place-categories-popular > a > span, .tn-place-categories-popular > a:nth-child(n+4) > span { height: 175px; }
    .tn-place-category-group-grid { grid-template-columns: 1fr; }
    .tn-place-categories-areas > a, .tn-place-categories-guides > a { display: grid; grid-template-columns: 120px 1fr; }
    .tn-place-categories-areas > a > span, .tn-place-categories-guides > a > span { height: 100%; min-height: 105px; }
    .tn-place-categories-chooser, .tn-place-categories-final { display: grid; grid-template-columns: 42px 1fr; }
    .tn-place-categories-chooser > button.is-primary, .tn-place-categories-final a, .tn-place-categories-final button { grid-column: 1 / -1; grid-row: auto; }
    .tn-place-categories-final a, .tn-place-categories-final button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .tn-place-categories-popular > a { transition: none; }
}
