:root { --navy:#081546; --orange:#ff7900; --sky:#dcf2ff; --peach:#ffe4cb; --line:#cfe1ee; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--navy); background:#fff; font-family:'Nunito',sans-serif; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; cursor:pointer; }
img { max-width:100%; }
[hidden] { display:none!important; }
a:focus-visible,button:focus-visible { outline:3px solid #a1389b; outline-offset:4px; }
.skip-link { position:fixed; top:-70px; z-index:20; padding:12px; background:white; }
.skip-link:focus { top:0; }
.club-header { background:linear-gradient(110deg,#def3ff,#ccecff); border-radius:0 0 50% 4% / 0 0 14px 8px; }
.header-inner { max-width:1280px; margin:auto; padding:18px 28px; display:flex; justify-content:space-between; align-items:center; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; font-size:27px; font-weight:900; letter-spacing:-.7px; white-space:nowrap; }
.brand img { width:48px; height:48px; object-fit:contain; }
.club-nav { display:flex; gap:12px; align-items:center; }
.club-nav a { display:flex; align-items:center; gap:9px; padding:10px 16px; font-weight:900; font-size:20px; border-radius:28px; }
.club-nav svg { width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.club-nav [aria-current] { background:var(--peach); color:#dc6500; }
main { max-width:1224px; padding:30px 24px 50px; margin:auto; min-height:65vh; }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:40px; font-weight:900; letter-spacing:-1px; line-height:1.12; margin-bottom:25px; }
h2 { font-size:29px; font-weight:900; letter-spacing:-.6px; line-height:1.2; }
h3 { font-size:19px; font-weight:900; line-height:1.3; }
.watch-layout { display:grid; grid-template-columns:1.6fr 1fr; gap:28px; }
.featured-video { border-radius:20px; overflow:hidden; background:var(--peach); align-self:start; }
.video-cover { position:relative; display:block; border:0; padding:0; width:100%; background:#173c70; }
.video-cover img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:center 40%; display:block; }
.play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:72px; height:72px; display:grid; place-items:center; border:4px solid white; border-radius:50%; color:white; background:#11294a8f; font-size:32px; padding-left:5px; }
.featured-caption { padding:17px 20px; }
.featured-caption h2 { font-size:24px; margin-bottom:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.youtube-link { display:inline-flex; align-items:center; gap:6px; background:white; border-radius:20px; padding:8px 13px; font-size:13px; font-weight:900; }
.youtube-link::first-letter { color:#f00; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:18px; }
.section-heading h2 { margin:0; }
.text-link { font-size:13px; font-weight:800; white-space:nowrap; }
.more-videos { display:flex; flex-direction:column; gap:17px; }
.more-videos .section-heading { margin-bottom:0; }
.small-video { display:grid; grid-template-columns:1.1fr 1fr; gap:15px; align-items:center; background:#e8f5ff; border-radius:17px; padding:13px; }
.small-video>div { position:relative; }
.small-video img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; border-radius:12px; }
.small-video span { position:absolute; inset:0; display:grid; place-items:center; color:white; font-size:22px; text-shadow:0 2px 4px #000; }
.small-video strong { font-size:16px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.reading-section { margin-top:34px; }
.reading-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.reading-card { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:white; }
.reading-card>img { width:100%; aspect-ratio:1.6; object-fit:cover; display:block; background:#e8f5ff; }
.reading-card>div { padding:15px; }
.reading-card h3 { min-height:50px; margin-bottom:13px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pill { display:inline-block; padding:5px 10px; margin:0 4px 4px 0; border-radius:20px; font-size:11px; font-weight:800; }
.blue { background:#ccefff; }.mint { background:#d9f5dc; }.peach { background:var(--peach); }
.read-link { font-size:12px; font-weight:900; color:#b64c00; }
.page-intro { text-align:center; max-width:700px; margin:0 auto 28px; }
.page-intro h1 { margin-bottom:12px; }
.page-intro p { font-size:19px; margin-bottom:0; }
.society-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.detective-card { overflow:hidden; border:1px solid var(--line); border-radius:19px; background:white; }
.detective-portrait { position:relative; background:linear-gradient(#d7efff,#eaf7ff); height:210px; }
.detective-portrait>img { width:100%; height:100%; display:block; object-fit:contain; object-position:top; }
.approved-face { height:100%; background-image:url('approved-mehul-aalia.webp'); background-size:260% auto; background-repeat:no-repeat; }
.mehul-face { background-position:15% 12%; }.aalia-face { background-position:86% 12%; }
.society-position { position:absolute; left:9px; top:9px; padding:4px 8px; background:#fffffff2; border-radius:9px; font-size:12px; font-weight:900; }
.detective-details { padding:15px; }
.detective-details h3 { margin:0 0 6px; min-height:48px; overflow-wrap:anywhere; }
.detective-rank { font-size:13px; min-height:20px; margin:0 0 12px; }
.detective-score { display:inline-block; padding:5px 12px; border-radius:20px; background:var(--peach); margin:0 0 12px; font-size:12px; }
.detective-score strong { font-size:19px; }
.detective-country { display:flex; align-items:center; gap:8px; margin:0; font-size:13px; }
.detective-country img { object-fit:contain; }
.fan-categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.category-card { border-radius:20px; overflow:hidden; }
.blue-card { background:#e0f2ff; }.mint-card { background:#e0f8e8; }.peach-card { background:#ffead8; }.lavender-card { background:#eee8ff; }
.category-card>span { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; font-size:25px; font-weight:900; }
.category-card b { color:#f47700; }
.category-card small { font-size:11px; font-weight:800; }
.category-collage,.story-collage { height:230px; display:flex; background:#fff9ee; }
.category-collage img { width:33.333%; object-fit:cover; }
.story-collage img { width:50%; object-fit:cover; }
.photo-art { height:230px; display:grid; place-items:center; font-size:105px; color:#b8732b; background:linear-gradient(135deg,#ffecd4,#f4d0a0); }
.photo-art img { width:100%; height:100%; object-fit:cover; min-height:0; }
.primary-action { display:block; width:max-content; max-width:100%; margin:28px auto 0; background:var(--orange); color:white; padding:14px 26px; border-radius:18px; font-size:21px; font-weight:900; box-shadow:0 3px 0 #d35e00; }
.fan-story-preview { margin-top:40px; }
.fan-story-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.fan-story-grid>a { border:1px solid var(--line); border-radius:16px; overflow:hidden; padding-bottom:15px; }
.fan-story-grid img { display:block; width:100%; aspect-ratio:1.6; object-fit:cover; }
.fan-story-grid h3 { margin:14px 15px 8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fan-story-grid p { margin:0 15px; font-size:12px; }
.games-grid { max-width:1000px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.game-card { display:flex; align-items:center; gap:20px; padding:22px; border-radius:22px; }
.game-card > div { min-width:0; flex:1; }
.game-card>img { width:42%; height:145px; object-fit:contain; border-radius:14px; }
.game-card h2 { font-size:28px; margin-bottom:18px; }
.play-action { display:inline-block; padding:8px 20px; background:var(--orange); color:white; font-weight:900; border-radius:22px; }
footer { max-width:1180px; margin:auto; display:flex; justify-content:center; flex-wrap:wrap; gap:25px; padding:25px; border-top:1px solid var(--line); font-size:12px; color:#4c6583; }
dialog { width:min(960px,94vw); border:0; border-radius:20px; padding:22px; color:var(--navy); }
dialog::backdrop { background:#071632e8; }
.dialog-header { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:15px; }
.dialog-header h2 { font-size:22px; margin:0; }
#close-video { background:#e0f2ff; border:0; border-radius:50%; width:40px; height:40px; font-size:28px; flex-shrink:0; }
#video-frame iframe { width:100%; aspect-ratio:16/9; border:0; }
#youtube-fallback { display:inline-block; padding-top:15px; font-weight:800; font-size:13px; }
@media(min-width:1400px) { .detective-portrait { height:235px; } }
@media(max-width:1000px) { .header-inner { gap:15px; }.brand { font-size:23px; }.club-nav { gap:2px; }.club-nav a { padding:9px 11px; font-size:17px; }.watch-layout { grid-template-columns:1.3fr 1fr; }.society-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.small-video strong { font-size:14px; } }
@media(max-width:700px) {
  body { padding-bottom:calc(86px + env(safe-area-inset-bottom)); }
  .header-inner { padding:14px 18px; justify-content:center; }
  .brand { font-size:24px; gap:9px; }.brand img { width:38px; height:38px; }
  .club-nav { position:fixed; z-index:15; bottom:0; left:0; right:0; background:#fffffff7; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(4,1fr); padding:8px 10px calc(8px + env(safe-area-inset-bottom)); gap:5px; backdrop-filter:blur(12px); }
  .club-nav a { flex-direction:column; gap:3px; padding:7px 4px; border-radius:18px; font-size:14px; line-height:1.15; }
  .club-nav svg { width:27px; height:27px; }
  main { padding:22px 16px 30px; }
  h1 { font-size:30px; text-align:center; margin-bottom:20px; }
  h2 { font-size:25px; }
  .watch-layout { display:flex; flex-direction:column; gap:26px; }
  #panel-club { display:flex; flex-direction:column; }
  #panel-club > h1 { order:0; }
  #panel-club .watch-layout { display:contents; }
  #panel-club .featured-video { order:1; }
  #panel-club .reading-section { order:2; }
  #panel-club .more-videos { order:3; margin-top:26px; }
  .featured-video { width:100%; }.video-cover img { aspect-ratio:1.6; }.play { width:56px; height:56px; border-width:3px; font-size:25px; }
  .featured-caption { padding:13px 15px; }.featured-caption h2 { font-size:19px; line-height:1.35; margin-bottom:10px; }.youtube-link { font-size:11px; padding:6px 10px; }
  .more-videos { display:grid; grid-template-columns:1fr 1fr; gap:13px; order:2; }
  .more-videos .section-heading { grid-column:1/-1; }.more-videos .text-link { font-size:11px; }
  .small-video { display:block; padding:0 0 10px; overflow:hidden; border-radius:14px; }.small-video img { border-radius:0; }.small-video strong { display:-webkit-box; -webkit-line-clamp:2; font-size:12px; line-height:1.4; margin:10px 11px 0; }
  .reading-section { margin-top:26px; }.section-heading { margin-bottom:15px; }.section-heading h2 { font-size:25px; }
  .reading-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.reading-card { border-radius:16px; }.reading-card>img { aspect-ratio:1.2; }.reading-card>div { padding:11px; }.reading-card h3 { font-size:16px; min-height:42px; margin-bottom:10px; }.pill { font-size:9px; padding:4px 7px; margin-right:2px; }.read-link { font-size:11px; }
  .page-intro { margin-bottom:22px; }.page-intro h1 { font-size:30px; max-width:330px; margin:0 auto 10px; }.page-intro p { font-size:15px; }
  .society-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.detective-portrait { height:165px; }.detective-details { padding:12px; }.detective-details h3 { font-size:18px; min-height:46px; }.detective-rank { font-size:11px; min-height:28px; margin-bottom:8px; }.detective-score { font-size:10px; padding:4px 9px; }.detective-score strong { font-size:17px; }.detective-country { font-size:11px; gap:6px; }.society-position { font-size:10px; }
  .fan-categories { grid-template-columns:1fr; gap:18px; }.category-collage,.story-collage,.photo-art { height:165px; }.photo-art { font-size:85px; }.category-card>span { font-size:25px; padding:12px 18px; }.primary-action { margin-top:22px; width:100%; text-align:center; font-size:21px; padding:13px 15px; }
  .fan-story-grid { grid-template-columns:1fr; }.fan-story-grid>a { display:grid; grid-template-columns:110px 1fr; padding:0; }.fan-story-grid img { grid-row:1/3; height:100%; aspect-ratio:auto; }.fan-story-grid h3 { font-size:16px; margin:12px 12px 6px; }.fan-story-grid p { margin:0 12px 12px; font-size:11px; }
  .games-grid { grid-template-columns:1fr; gap:18px; }.game-card { padding:18px; gap:16px; }.game-card>img { width:43%; height:125px; }.game-card h2 { font-size:26px; margin-bottom:14px; }.play-action { padding:6px 18px; font-size:17px; }
  footer { padding:20px 12px; gap:16px; font-size:10px; }
  dialog { padding:15px; }.dialog-header h2 { font-size:17px; }
}
@media(max-width:350px) { .brand { font-size:21px; }.detective-score strong { font-size:15px; }.detective-portrait { height:145px; }.club-nav a { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.fan-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.fan-art-preview{margin-top:30px}.fan-art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.fan-art-grid>a{border:1px solid #caddf1;border-radius:20px;overflow:hidden;background:#fff}.fan-art-grid img{width:100%;height:240px;object-fit:contain;background:#edf7ff;display:block}.fan-art-grid p{padding:12px 14px;margin:0;font-size:14px;font-weight:800}@media(max-width:600px){.fan-categories{grid-template-columns:1fr}.fan-art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fan-art-grid img{height:160px}.fan-art-grid p{font-size:12px}}
.detective-portrait>img.society-character{object-fit:cover;object-position:center 15%;}

/* Official episode articles sit after Comics & stories on every screen. */
.watch-layout{display:block}.watch-layout .featured-video{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:center}.watch-layout .featured-caption{padding:24px}.watch-layout .featured-caption h2{display:block;font-size:27px}.youtube-stories{margin-top:34px}.youtube-stories .section-heading{margin-bottom:8px}.youtube-stories-intro{margin:0 0 20px;font-size:16px}.youtube-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.youtube-story-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#f0f8ff}.youtube-story-cover{position:relative;display:block;width:100%;border:0;padding:0;background:#12284c;cursor:pointer}.youtube-story-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.youtube-story-cover .play{width:50px;height:50px;font-size:20px;border-width:3px}.youtube-story-copy{padding:18px}.youtube-story-copy h3{margin:12px 0 10px;font-size:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.youtube-story-copy p{font-size:14px;line-height:1.5;margin:0 0 14px}.youtube-article-soon{display:block;font-size:12px;font-weight:800;color:#526784}.youtube-watch{display:inline-block;margin-top:14px;border:0;border-radius:16px;background:#ff7900;color:#fff;font:900 14px 'Nunito',sans-serif;padding:10px 16px;cursor:pointer}
@media(max-width:700px){#panel-club .youtube-stories{order:3;margin-top:26px}.watch-layout .featured-video{display:block}.watch-layout .featured-caption{padding:15px 17px}.watch-layout .featured-caption h2{font-size:20px;display:-webkit-box}.youtube-story-grid{grid-template-columns:1fr;gap:18px}.youtube-story-card{display:grid;grid-template-columns:1fr}.youtube-story-copy{padding:16px}.youtube-story-copy h3{font-size:19px}.youtube-stories-intro{font-size:14px;margin-bottom:16px}}
