.category-nav{display:flex;justify-content:center;gap:38px;padding:0 24px;background:#19121f;border-bottom:1px solid #392c43;overflow-x:auto;scrollbar-width:thin}.category-nav a{white-space:nowrap;padding:17px 0;font-size:15px;font-weight:650;color:#bdaec9;border-bottom:2px solid transparent}.category-nav a:hover,.category-nav a.active{color:#f4e5ff;border-color:#c994f6}.local-category-section{margin:52px 0}.category-section-title h2{font-size:27px;margin:8px 0 22px}.local-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.local-category-card{position:relative;display:flex;flex-direction:column;padding:24px;border:1px solid #493451;border-radius:12px;background:linear-gradient(145deg,#2b1d34,#1a1420);min-width:0}.local-category-card:hover{border-color:#b082cd;background:#30203c}.category-symbol{font-size:27px;color:#d9b2f4;margin-bottom:22px}.local-category-card small{font-size:10px;letter-spacing:1.5px;color:#c29ad6}.local-category-card h3{font-size:20px;margin:8px 0 12px}.local-category-card p{font-size:14px;color:#bfaec9;line-height:1.8;margin:0 0 24px}.category-link{font-size:13px;color:#e5c5fb;margin-top:auto}.category-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:45px;border:1px solid #54375d;border-radius:16px;background:radial-gradient(ellipse at right top,#573363,#21162a 70%)}.category-hero h1{font-size:40px;letter-spacing:-1.5px;margin:12px 0 18px}.category-hero p{font-size:16px;line-height:1.8;color:#d0bddb;max-width:600px}.category-topics{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.category-topics span{font-size:13px;border:1px solid #775384;border-radius:30px;padding:7px 12px;color:#dfc9ed}.category-hero-symbol{font-size:100px;color:#d9a9f0;opacity:.6;padding:10px 25px}.category-content{margin:38px 0 60px}.category-content-head{display:flex;justify-content:space-between;align-items:center}.category-content-head h2{font-size:23px}.category-content-head>span{font-size:14px;color:#b9a6c4}.category-empty{text-align:center;background:#1c1522;border:1px solid #3f2e49;border-radius:12px;padding:65px 20px}.category-empty h3{font-size:22px;margin:15px 0}.category-empty p{font-size:15px;color:#c0accd;line-height:1.8;margin-bottom:26px}@media(max-width:900px){.local-category-grid{grid-template-columns:repeat(2,1fr)}.category-nav{gap:25px}}@media(max-width:700px){.category-nav{justify-content:flex-start;gap:24px;padding:0 18px}.category-nav a{font-size:14px;padding:14px 0}.local-category-card{padding:18px}.local-category-card h3{font-size:18px}.local-category-card p{font-size:13px}.category-hero{padding:28px 22px}.category-hero h1{font-size:30px}.category-hero p{font-size:15px}.category-hero-symbol{display:none}.category-empty{padding:45px 18px}.category-empty h3{font-size:20px}}

.category-nav{display:none!important}.category-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:24px 0 32px}.category-tile{display:block;position:relative;aspect-ratio:1;overflow:hidden;border-radius:14px;border:1px solid #574361;background:#261d30}.category-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.category-tile:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#100c18e8)}.category-tile strong{position:absolute;z-index:1;left:14px;right:14px;bottom:16px;font-size:20px;color:white}.category-tile:hover img{transform:scale(1.04)}.category-tile:focus-visible{outline:3px solid #c5a1ff;outline-offset:3px}@media(max-width:700px){.category-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 24px}.category-tile{border-radius:10px}.category-tile strong{font-size:15px;left:9px;right:6px;bottom:10px}}

.home-photo-banner{margin:24px 0 0;overflow:hidden;border-radius:14px}.home-photo-banner img{display:block;width:100%;height:clamp(200px,28vw,360px);object-fit:cover;object-position:center 45%}@media(max-width:700px){.home-photo-banner{margin-top:18px;border-radius:10px}.home-photo-banner img{height:220px}}


.home-beach-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 24px}.home-beach-gallery figure{margin:0;min-width:0}.home-beach-gallery .home-scenery-photo{display:block;position:relative;overflow:hidden;border-radius:12px}.home-beach-gallery img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}.home-beach-gallery span{position:absolute;bottom:0;left:0;right:0;padding:30px 14px 12px;background:linear-gradient(transparent,#000b);font-size:18px;font-weight:700;color:#fff}.home-beach-gallery figcaption{font-size:11px;color:#b7afc0;padding:7px 2px;line-height:1.5}.home-beach-gallery figcaption a{text-decoration:underline}@media(max-width:700px){.home-beach-gallery{grid-template-columns:1fr;gap:12px}.home-beach-gallery img{aspect-ratio:16/9}}


.home-beach-gallery{margin-top:24px}.home-beach-gallery img{height:auto;aspect-ratio:16/10;object-fit:cover}@media(max-width:700px){.home-beach-gallery{margin-top:18px}.home-beach-gallery img{aspect-ratio:16/10}}


.home-photo-credits{margin:-10px 0 24px;color:#b7afc0;font-size:13px}.home-photo-credits summary{cursor:pointer;width:fit-content;padding:4px 0}.home-photo-credits summary:focus-visible{outline:2px solid #c5a1ff;outline-offset:4px}.home-photo-credits ul{margin:12px 0 0;padding:16px 20px 16px 36px;background:#19171f;border-radius:10px;line-height:1.9}.home-photo-credits a{text-decoration:underline}.home-photo-credits strong{color:#e8e3ef}


.home-main-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 32px}.home-menu-card{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;border:1px solid #494151;border-radius:12px;background:linear-gradient(140deg,#25202e,#16141b);color:#f8f5fc;transition:background .15s,border-color .15s}.home-menu-card strong{font-size:clamp(20px,2.2vw,32px);font-weight:750}.home-menu-card:hover{background:#30263f;border-color:#c5a1ff}.home-menu-card:focus-visible{outline:3px solid #c5a1ff;outline-offset:3px}@media(max-width:700px){.home-main-menu{gap:10px;margin:18px 0 24px}.home-menu-card{border-radius:10px}.home-menu-card strong{font-size:clamp(14px,3.5vw,22px)}}


.home-menu-card{position:relative;overflow:hidden;isolation:isolate}.home-menu-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .2s}.home-menu-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent 30%,rgba(0,0,0,.85))}.home-menu-card strong{position:absolute;left:18px;bottom:16px;text-shadow:0 2px 8px #000}.home-menu-card:hover img{transform:scale(1.035)}.home-menu-card[data-nav="soi6"] img{object-position:50% 68%}@media(max-width:700px){.home-menu-card strong{left:10px;bottom:10px}}

.home-main-menu{grid-template-columns:repeat(4,minmax(0,1fr))}.home-menu-card.game-link{background:linear-gradient(135deg,#512378,#a23f70 75%,#ed9973)}@media(max-width:700px){.home-menu-card strong{font-size:clamp(11px,2.7vw,18px);left:5px;right:3px;bottom:5px;line-height:1.1}.home-main-menu{gap:5px}}
.home-menu-card[data-nav="thai-life"] img{transform:scale(1.4);transform-origin:38% 44%}
.thai-original button[data-clip]{font:600 14px system-ui;min-height:44px;padding:6px 12px;border:1px solid #756780;border-radius:10px;background:#322c3d;color:#fff;cursor:pointer}.thai-original button[aria-pressed=true]{background:#d9ff89;color:#17141c}
#home-rank-grid .portrait{position:relative}#home-rank-grid .portrait img{width:100%;height:100%;object-fit:cover}.home-rank-badge{position:absolute;top:6px;left:6px;background:#16121dec;color:#fff;border:1px solid #fff9;border-radius:6px;padding:2px 7px;font-size:13px;line-height:1.5;font-weight:800}

/* Photo menus: a violet hairline frame and a consistent caption baseline. */
.home-main-menu {
  gap: clamp(6px, 1vw, 16px);
}
.home-main-menu .home-menu-card {
  border: 1px solid #9473b2;
  border-radius: clamp(9px, 1vw, 15px);
  box-shadow: 0 3px 10px #0003;
}
.home-main-menu .home-menu-card::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid #c5a1ff35;
  border-radius: inherit;
  pointer-events: none;
}
.home-main-menu .home-menu-card::after {
  background: linear-gradient(180deg, transparent 30%, #0c0b1015 46%, #0c0b10a6 75%, #0c0b10ed 100%);
}
.home-main-menu .home-menu-card strong,
.home-main-menu .home-menu-card[data-nav="local-bar"] strong {
  inset: auto clamp(6px, 1.3vw, 20px) clamp(6px, 1.1vw, 17px);
  font-size: clamp(12px, 2vw, 25px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 5px #0009;
}
.home-main-menu .home-menu-card:focus-visible {
  outline: 2px solid #c5a1ff;
  outline-offset: 3px;
}
@media (hover: hover) {
  .home-main-menu .home-menu-card:hover {
    border-color: #c5a1ff;
    box-shadow: 0 5px 16px #0005;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-main-menu .home-menu-card, .home-main-menu .home-menu-card img { transition: none; }
}

#home-rank-grid .home-person-card {
  border: 1px solid var(--frame, #766e64);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg,#252229,#19181e);
  box-shadow: 0 3px 10px #0003;
}
#home-rank-grid .compact-venue {color:#d1c8be}
#home-rank-grid [data-medal="gold"] {--frame:#edc365;--shine:#fff0b5;--metal:#c89434}
#home-rank-grid [data-medal="silver"] {--frame:#c3d0dc;--shine:#f3f7ff;--metal:#9aaab9}
#home-rank-grid [data-medal="bronze"] {--frame:#d3936c;--shine:#fbd5b7;--metal:#bd815c}
#home-rank-grid .home-rank-badge {
  top:7px;left:7px;border-color:#ada294;background:#211e23ed;
  color:#fff6e7;border-radius:6px;font-variant-numeric:tabular-nums;
}
#home-rank-grid [data-medal]:not([data-medal=""]) .portrait::after {
  content:"";position:absolute;inset:0;border:2px solid var(--frame);
  border-radius:11px 11px 0 0;pointer-events:none;
}
#home-rank-grid [data-medal]:not([data-medal=""]) .home-rank-badge {
  background:linear-gradient(145deg,var(--shine),var(--metal));
  color:#231b16;border-color:var(--shine);box-shadow:0 2px 6px #0006;
}
#home-rank-grid .home-person-card:focus-visible {outline:2px solid #e7d4ac;outline-offset:3px}
@media(hover:hover){#home-rank-grid .home-person-card:hover{border-color:var(--shine,#d5c3a2);box-shadow:0 5px 16px #0005}}
