:root {
  --ink: #f7f4f2;
  --ink-dark: #19161b;
  --muted: #aaa2ac;
  --muted-dark: #68616c;
  --panel: #19171d;
  --panel-2: #211e25;
  --line: rgba(255, 255, 255, .10);
  --wine: #ba315d;
  --wine-deep: #7b1838;
  --gold: #e7bd72;
  --paper: #fffdfa;
  --max: 1160px;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .25);
  color: var(--ink);
  background: #100f12;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -5%, rgba(186, 49, 93, .22), transparent 30rem),
    radial-gradient(circle at 92% 7%, rgba(231, 189, 114, .08), transparent 25rem),
    #100f12;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #111;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 15, 18, .88);
  backdrop-filter: blur(18px);
}
.header-inner,
main,
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-disc {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 189, 114, .5);
  border-radius: 50%;
  background: linear-gradient(145deg, #2c2228, #17151a);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 0 0 4px rgba(231, 189, 114, .04);
}
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 21px; letter-spacing: .025em; }
.brand strong i { color: var(--gold); font-family: Georgia, serif; font-style: normal; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.general-exit {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #ece8ec;
  font-size: 13px;
  font-weight: 800;
  transition: border-color .18s, background .18s;
}
.general-exit:hover { border-color: var(--gold); background: rgba(231, 189, 114, .08); }

main { min-height: 70vh; padding: 32px 0 80px; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 32px 36px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 26px;
  background:
    linear-gradient(115deg, rgba(186, 49, 93, .17), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "18.";
  position: absolute;
  right: 28%;
  top: -68px;
  z-index: -1;
  color: rgba(255, 255, 255, .025);
  font: 900 230px/.9 Georgia, serif;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 5px rgba(186, 49, 93, .12); }
.hero h1 { margin: 0; font-size: clamp(28px, 4vw, 45px); line-height: 1.25; letter-spacing: -.025em; }
.hero > div > p:last-child { max-width: 620px; margin: 9px 0 0; color: var(--muted); }
.hero dl { display: grid; grid-template-columns: repeat(2, minmax(100px, 1fr)); gap: 10px; margin: 0; }
.hero dl div { min-width: 112px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.hero dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.hero dd { margin: 2px 0 0; color: var(--gold); font-size: 28px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }

.general-bridge {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0, rgba(90, 94, 238, .12), transparent 24rem),
    var(--paper);
  color: var(--ink-dark);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.bridge-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.bridge-heading p { margin: 0 0 2px; color: #665ee8; font-size: 10px; font-weight: 950; letter-spacing: .15em; }
.bridge-heading h2 { margin: 0; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; }
.bridge-heading > a { flex: 0 0 auto; color: #5047dc; font-size: 13px; font-weight: 900; }
.bridge-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.bridge-card {
  min-height: 195px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid #e4e0ec;
  border-radius: 17px;
  background: rgba(255, 255, 255, .76);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.bridge-card:hover { transform: translateY(-2px); border-color: #aaa5f1; box-shadow: 0 12px 25px rgba(61, 54, 137, .10); }
.bridge-card > span { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: #efedff; color: #5148c8; font-size: 10px; font-weight: 900; }
.bridge-card strong { margin-top: 11px; font-size: 16px; line-height: 1.48; }
.bridge-card small { display: -webkit-box; overflow: hidden; margin-top: 7px; color: var(--muted-dark); font-size: 11px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bridge-card b { margin-top: auto; padding-top: 12px; color: #5148c8; font-size: 11px; }
.bridge-card b i { font-style: normal; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 22px; margin-top: 24px; }
.feed-panel,
.search-card,
.policy-card,
.general-menu,
.document-card,
.message-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.feed-panel { overflow: hidden; }
.feed-toolbar { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.filter-nav { min-width: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.filter-nav::-webkit-scrollbar { display: none; }
.filter-nav a,
.sort-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.filter-nav a[aria-current="page"] { background: var(--wine); color: #fff; }
.sort-links { display: flex; gap: 3px; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.sort-links a { min-height: 32px; padding: 0 11px; }
.sort-links a[aria-current="page"] { background: #fff; color: #1b171c; }
.result-count { margin: 0; padding: 15px 18px 0; color: var(--muted); font-size: 13px; }
.article-list { display: grid; }
.article-card {
  position: relative;
  display: block;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.article-card:last-child { border-bottom: 0; }
.article-card:hover { background: rgba(255, 255, 255, .035); }
.article-card::after { content: "›"; position: absolute; right: 18px; top: 50%; color: rgba(255, 255, 255, .22); font-size: 30px; transform: translateY(-50%); }
.article-meta { display: flex; align-items: center; gap: 10px; }
.article-meta span { padding: 3px 9px; border-radius: 999px; background: rgba(186, 49, 93, .14); color: #ef94b2; font-size: 10px; font-weight: 900; }
.article-meta time { color: var(--muted); font-size: 11px; }
.article-card h2 { max-width: calc(100% - 30px); margin: 8px 0 10px; font-size: 18px; line-height: 1.55; letter-spacing: .005em; }
.article-footer { max-width: calc(100% - 30px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-footer small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.article-footer b { flex: 0 0 auto; color: var(--gold); font-size: 10px; }
.empty-state { padding: 50px 24px; color: var(--muted); text-align: center; }
.empty-state strong { color: #fff; }
.empty-state p { margin: 7px 0 0; font-size: 13px; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
.pagination a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; font-weight: 850; }
.pagination a:last-child { justify-self: end; }
.pagination strong { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

.side-panel { position: sticky; top: 98px; display: grid; gap: 14px; }
.search-card,
.policy-card,
.general-menu { padding: 18px; }
.search-card label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 900; }
.search-card > div { height: 46px; display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #100f12; }
.search-card input { min-width: 0; flex: 1; padding: 0 12px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-card button { padding: 0 14px; border: 0; background: var(--wine); color: #fff; font-size: 12px; font-weight: 900; }
.policy-card { display: flex; gap: 13px; }
.policy-card > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(231, 189, 114, .12); color: var(--gold); font-weight: 900; }
.policy-card h2 { margin: 2px 0 5px; font-size: 15px; }
.policy-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.policy-card a { display: inline-block; margin-top: 9px; color: var(--gold); font-size: 11px; font-weight: 850; }
.general-menu { background: linear-gradient(145deg, #fdfbf8, #f3edf2); color: var(--ink-dark); }
.general-menu > p { margin: 0; color: #7b1838; font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.general-menu h2 { margin: 3px 0 13px; font-size: 18px; }
.general-menu > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.general-menu a { min-height: 41px; display: grid; place-items: center; border: 1px solid #e2dbe2; border-radius: 11px; background: #fff; font-size: 11px; font-weight: 850; }
.general-menu a:hover { border-color: #ba315d; color: #7b1838; }

.document-card { max-width: 820px; padding: clamp(24px, 5vw, 50px); margin-inline: auto; }
.document-card h1 { margin: 4px 0 20px; font-size: clamp(28px, 5vw, 42px); }
.document-card h2 { margin: 30px 0 7px; font-size: 19px; }
.document-card p { color: #d0c9d0; }
.document-action { min-height: 46px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 12px; background: var(--wine); color: #fff; font-weight: 850; }
.message-card { max-width: 620px; padding: 50px 28px; margin: 8vh auto; text-align: center; }
.message-card > span { color: var(--gold); font: 800 52px Georgia, serif; }
.message-card h1 { margin: 4px 0; }
.message-card p { color: var(--muted); }
.message-card a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 17px; border-radius: 12px; background: var(--wine); font-weight: 850; }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 32px 0 105px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer strong { color: #fff; }
.site-footer p { max-width: 620px; margin: 5px 0 0; font-size: 11px; }
.site-footer nav { display: flex; gap: 18px; font-size: 11px; font-weight: 800; }
.mobile-nav { display: none; }

.age-locked { overflow: hidden; }
.age-locked .site-content { user-select: none; filter: blur(16px); opacity: .18; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(186, 49, 93, .26), transparent 27rem),
    rgba(12, 11, 14, .88);
  backdrop-filter: blur(10px);
}
.age-card {
  width: min(470px, 100%);
  padding: clamp(26px, 6vw, 44px);
  border: 1px solid rgba(231, 189, 114, .22);
  border-radius: 28px;
  background: linear-gradient(145deg, #201b21, #141216);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .52);
  text-align: center;
}
.age-symbol { position: relative; width: 84px; height: 84px; display: inline-grid; place-items: center; border: 1px solid rgba(231, 189, 114, .55); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; }
.age-symbol strong { font-size: 34px; }
.age-symbol span { position: absolute; right: 8px; top: 8px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: #fff; font: 900 13px/1 system-ui, sans-serif; }
.age-kicker { margin: 20px 0 3px; color: var(--gold); font-size: 9px; font-weight: 950; letter-spacing: .17em; }
.age-card h1 { margin: 0; font-size: 29px; }
.age-card > p:not(.age-kicker) { margin: 12px 0 22px; color: #bdb5bd; font-size: 13px; line-height: 1.75; }
.age-card form button { width: 100%; min-height: 53px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #c63766, #8d1e42); color: #fff; font-weight: 900; box-shadow: 0 12px 30px rgba(186, 49, 93, .24); }
.age-card > a { display: inline-block; margin-top: 16px; color: var(--gold); font-size: 13px; font-weight: 850; }
.age-card > small { display: block; margin-top: 20px; color: #7f7780; font-size: 9px; }

@media (max-width: 940px) {
  .bridge-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-card { min-height: 165px; }
  .content-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-card { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner,
  main,
  .site-footer { width: min(100% - 24px, var(--max)); }
  .header-inner { min-height: 66px; }
  .brand { gap: 8px; }
  .brand-disc { width: 35px; height: 35px; font-size: 15px; }
  .brand strong { font-size: 18px; }
  .brand small { display: none; }
  .general-exit { min-height: 39px; padding: 0 12px; font-size: 11px; }
  main { padding: 18px 0 90px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 23px 20px; border-radius: 21px; }
  .hero h1 { font-size: 29px; }
  .hero > div > p:last-child { font-size: 13px; }
  .hero dl { width: 100%; }
  .hero dl div { padding: 11px 13px; }
  .hero dd { font-size: 23px; }
  .general-bridge { margin-inline: -12px; padding: 20px 12px; border-radius: 0; }
  .bridge-heading { align-items: start; padding-inline: 3px; }
  .bridge-heading h2 { font-size: 21px; }
  .bridge-heading > a { margin-top: 5px; font-size: 10px; }
  .bridge-cards {
    grid-template-columns: repeat(4, minmax(250px, 79vw));
    overflow-x: auto;
    padding: 2px 4px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .bridge-cards::-webkit-scrollbar { display: none; }
  .bridge-card { min-height: 180px; scroll-snap-align: start; }
  .content-grid { margin-top: 16px; }
  .feed-panel { margin-inline: -12px; border-inline: 0; border-radius: 0; }
  .feed-toolbar { align-items: stretch; flex-direction: column; gap: 7px; padding: 10px 12px; }
  .filter-nav { margin-right: -12px; padding-right: 30px; }
  .filter-nav a { min-height: 44px; padding-inline: 15px; }
  .sort-links { align-self: flex-start; margin-left: 0; }
  .article-card { padding: 19px 20px; }
  .article-card h2 { font-size: 17px; line-height: 1.62; }
  .article-footer b { display: none; }
  .side-panel { grid-template-columns: 1fr; }
  .search-card { grid-column: auto; }
  .site-footer { align-items: start; flex-direction: column; padding-bottom: 115px; }
  .site-footer nav { flex-direction: column; gap: 8px; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    min-height: calc(69px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 8px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255, 255, 255, .11);
    background: rgba(19, 17, 21, .96);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a { min-height: 54px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; border-radius: 11px; color: var(--muted); font-size: 10px; font-weight: 850; }
  .mobile-nav a span { color: var(--gold); font-size: 20px; line-height: 1; }
  .age-locked .mobile-nav { display: none; }
  .age-gate { padding: 14px; }
  .age-card { padding: 28px 21px; border-radius: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

