* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Apple SD Gothic Neo", "Hiragino Sans", "Microsoft YaHei", sans-serif;
    background: #f1f5f9;
    color: #0f172a;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}
.app-shell {
    max-width: 1140px;
    margin: 0 auto;
    min-height: 100vh;
    background: linear-gradient(180deg, #fff5f5 0%, #fff1f2 45%, #fdf2f8 100%);
    box-shadow: 0 0 28px rgba(15, 23, 42, 0.07);
    position: relative;
    padding-bottom: 64px;
}
.site-header {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #9f1239;
}
.header-container {
    position: relative;
    z-index: 1001;
    padding: 0 14px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.header-left { display: flex; align-items: center; gap: 14px; }
.header-logo-link {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.logo-badge { background: #ffffff; color: #e11d48; font-weight: 900; font-size: 11px; padding: 2px 6px; letter-spacing: 0.04em; }
.logo-title { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.header-nav-links { display: none; align-items: center; gap: 12px; }
.header-nav-link { color: rgba(255,255,255,0.92); text-decoration: none; font-size: 12px; font-weight: 700; }
.header-nav-link:hover { color: #ffffff; text-decoration: underline; }
.header-right { display: flex; align-items: center; gap: 8px; }
.header-submit-btn {
    display: none;
    align-items: center;
    gap: 4px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
}
.header-submit-btn:hover { background: #1e293b; }
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-pill {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.14);
}
.lang-pill.active, .lang-pill:hover { background: #ffffff; color: #be123c; border-color: #ffffff; }
.tabler-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Coverflow */
.coverflow-section { width: 100%; padding: 16px 0 8px 0; perspective: 1100px; overflow: hidden; position: relative; z-index: 1; user-select: none; }
.coverflow-stage { width: 100%; height: 235px; display: flex; align-items: center; justify-content: center; position: relative; transform-style: preserve-3d; }
.coverflow-slide { position: absolute; width: 280px; aspect-ratio: 4 / 3; overflow: hidden; background: #0f172a; box-shadow: 0 12px 26px rgba(15, 23, 42, 0.25); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s, filter 0.4s; cursor: pointer; }
.coverflow-slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.coverflow-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(15,23,42,0.92) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px; color: #ffffff; }
.coverflow-badge { background: #e11d48; color: #ffffff; font-size: 9px; font-weight: 800; padding: 2px 6px; align-self: flex-start; margin-bottom: 4px; display: inline-flex; align-items: center; gap: 3px; }
.coverflow-overlay h3 { font-size: 12px; font-weight: 800; line-height: 1.3; }
.coverflow-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.coverflow-dot { width: 8px; height: 4px; background: #fecdd3; cursor: pointer; transition: width 0.2s; }
.coverflow-dot.active { width: 18px; background: #e11d48; }

.main-pad { padding: 12px 14px 0 14px; }
.big-search-box { background: #ffffff; border: 2px solid #fecdd3; padding: 6px 8px; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.big-search-input { flex: 1; border: none; outline: none; font-size: 13px; color: #0f172a; background: transparent; }
.big-search-btn { background: #e11d48; color: #ffffff; border: none; padding: 8px 16px; font-size: 12px; font-weight: 800; cursor: pointer; flex-shrink: 0; }
.big-search-btn:hover { background: #be123c; }

/* Famous Cities Grid */
.cities-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.city-card-link {
    background: #ffffff;
    border: 1px solid #fecdd3;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.city-card-link:hover { border-color: #e11d48; background: #fff5f5; }
.city-card-name { font-size: 13px; font-weight: 800; color: #0f172a; }
.city-card-sub { font-size: 10px; color: #64748b; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.city-card-count { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: 10px; font-weight: 800; padding: 2px 6px; white-space: nowrap; }

/* Feature Category Rows */
.cat-row-box { background: #ffffff; border: 1px solid #ffe4e6; padding: 12px; margin-bottom: 14px; }
.cat-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cat-row-title { font-size: 14px; font-weight: 800; color: #9f1239; border-left: 3px solid #e11d48; padding-left: 7px; }
.cat-row-hint { font-size: 10px; color: #64748b; }
.cat-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #fda4af #fff1f2; }
.mini-card { flex: 0 0 185px; background: #fff5f5; border: 1px solid #ffe4e6; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.mini-card:hover { border-color: #e11d48; }
.mini-card-img { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #e2e8f0; }
.mini-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-city-tag { position: absolute; bottom: 5px; left: 5px; background: rgba(15,23,42,0.85); color: #ffffff; font-size: 9px; font-weight: 700; padding: 1px 5px; }
.mini-card-body { padding: 8px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.mini-card-title { font-size: 11px; font-weight: 800; color: #0f172a; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 10px; }

/* Filters & Places Grid */
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px 0; }
.section-title { font-size: 15px; font-weight: 900; color: #9f1239; display: flex; align-items: center; gap: 6px; }
.filter-box { background: #ffffff; border: 1px solid #ffe4e6; padding: 10px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.filter-row { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; }
.tag-btn { padding: 5px 10px; font-size: 11px; font-weight: 700; border: 1px solid #fecdd3; background: #fff5f5; color: #be123c; text-decoration: none; white-space: nowrap; cursor: pointer; }
.tag-btn.active, .tag-btn:hover { background: #e11d48; color: #ffffff; border-color: #be123c; }

.places-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.place-card { background: #ffffff; border: 1px solid #ffe4e6; display: flex; flex-direction: column; justify-content: space-between; }
.place-card:hover { border-color: #e11d48; }
.place-card-img { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #e2e8f0; }
.place-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-card-rank { position: absolute; top: 6px; left: 6px; background: #e11d48; color: #ffffff; font-size: 9px; font-weight: 800; padding: 2px 5px; max-width: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-card-city { position: absolute; bottom: 6px; left: 6px; background: rgba(15,23,42,0.85); color: #ffffff; font-size: 9px; font-weight: 700; padding: 2px 5px; }
.place-card-body { padding: 9px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.place-card-cat { font-size: 9px; font-weight: 800; color: #e11d48; text-transform: uppercase; }
.place-card-title { font-size: 12px; font-weight: 800; color: #0f172a; line-height: 1.35; margin: 3px 0 6px 0; }
.place-card-foot { border-top: 1px solid #fff1f2; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; }

.view-all-wrap { margin-top: 18px; text-align: center; }
.view-all-btn { display: inline-flex; align-items: center; gap: 6px; background: #0f172a; color: #ffffff; padding: 10px 22px; font-size: 12px; font-weight: 800; text-decoration: none; }
.view-all-btn:hover { background: #be123c; }
.pagination-bar { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.page-btn { background: #ffffff; border: 1px solid #fecdd3; padding: 6px 12px; font-size: 12px; font-weight: 800; color: #475569; text-decoration: none; }
.page-btn.active { background: #e11d48; color: #ffffff; border-color: #be123c; }

/* City Banner */
.city-banner { background: #0f172a; color: #ffffff; padding: 18px 16px; border-bottom: 3px solid #e11d48; }
.city-banner h1 { font-size: 20px; font-weight: 900; margin-top: 4px; }
.city-banner p { font-size: 12px; color: #cbd5e1; margin-top: 4px; }
.breadcrumb { font-size: 11px; color: #fda4af; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: #fda4af; text-decoration: none; font-weight: 700; }

/* Detail Page */
.detail-layout { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 14px; }
.detail-hero { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #0f172a; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(15,23,42,0.92) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #ffffff; }
.detail-back { position: absolute; top: 10px; left: 10px; background: rgba(15,23,42,0.85); color: #ffffff; padding: 5px 10px; font-size: 11px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.detail-rank { display: inline-flex; align-items: center; gap: 4px; background: #e11d48; color: #ffffff; font-size: 10px; font-weight: 800; padding: 3px 8px; align-self: flex-start; margin-bottom: 6px; }
.detail-title { font-size: 18px; font-weight: 900; line-height: 1.3; }
.meta-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #ffffff; border: 1px solid #fecdd3; }
.meta-cell { padding: 8px; border-right: 1px solid #ffe4e6; text-align: center; }
.meta-cell:last-child { border-right: none; }
.meta-lbl { font-size: 9px; color: #64748b; text-transform: uppercase; font-weight: 700; }
.meta-val { font-size: 12px; font-weight: 800; color: #0f172a; margin-top: 2px; }
.grab-box { background: #ffffff; border: 1px solid #16a34a; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.grab-lbl { font-size: 10px; font-weight: 800; color: #15803d; display: flex; align-items: center; gap: 4px; }
.grab-kw { font-size: 13px; font-weight: 800; color: #0f172a; margin-top: 2px; word-break: break-word; }
.grab-copy-btn { background: #16a34a; color: #ffffff; border: none; padding: 7px 12px; font-size: 11px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.info-card { background: #ffffff; border: 1px solid #fecdd3; padding: 10px 12px; }
.info-card-head { font-size: 11px; font-weight: 800; color: #9f1239; display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.info-card-text { font-size: 12px; color: #334155; line-height: 1.5; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-chip { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: 10px; font-weight: 700; padding: 3px 8px; text-decoration: none; }
details.review-acc { background: #ffffff; border: 1px solid #fecdd3; }
details.review-acc summary { padding: 10px 12px; font-size: 12px; font-weight: 800; color: #0f172a; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
details.review-acc .acc-body { padding: 0 12px 12px 12px; font-size: 12px; color: #334155; border-top: 1px solid #fff1f2; }
details.review-acc .acc-body ul { padding-left: 16px; margin-top: 6px; }
details.review-acc .acc-body li { margin-bottom: 5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-item { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #fecdd3; background: #e2e8f0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fab-submit {
    position: fixed; bottom: 18px; right: 18px; z-index: 9999;
    background: #e11d48; color: #ffffff; border: 2px solid #ffffff;
    padding: 9px 13px; display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 800; text-decoration: none;
    box-shadow: 0 6px 18px rgba(190, 18, 60, 0.35);
}
.site-footer { background: #ffffff; border-top: 1px solid #fecdd3; padding: 18px 14px; text-align: center; font-size: 11px; color: #64748b; margin-top: 24px; }

/* Tablet & Desktop Responsive */
@media (min-width: 640px) {
    .cities-strip { grid-template-columns: repeat(3, 1fr); }
    .places-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .filter-row { flex-wrap: wrap; overflow-x: visible; }
}
@media (min-width: 960px) {
    .header-nav-links { display: flex; }
    .header-submit-btn { display: inline-flex; }
    .fab-submit { display: none; }
    .coverflow-stage { height: 290px; }
    .coverflow-slide { width: 340px; }
    .cities-strip { grid-template-columns: repeat(6, 1fr); }
    .places-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .detail-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}
