/* ---------- Base commune des sites du 2026-11-18 (.claude/gen/kit/base.css) ----------
   Chaque ville ajoute ensuite son thème (couleurs, décor, outil, contacts). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--link, var(--title)); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.06; font-weight: var(--hw, 800); overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.9rem, 4.8vw, 3rem); color: var(--title); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.eyebrow { margin: 0 0 12px; color: var(--accent2); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.intro { max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
[data-level="legal"] { --c: var(--legal); }
[data-level="fine"] { --c: var(--fine); }
[data-level="crime"] { --c: var(--crime); }

.btn { display: inline-flex; align-items: center; gap: .55em; padding: .78em 1.35em; border: 2px solid var(--accent); border-radius: var(--r, 10px); font: 800 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-line { background: transparent; color: var(--hero-ink, #fff); border-color: currentColor; }

.top { position: sticky; top: 0; z-index: 20; background: var(--dark); color: #fff; border-bottom: 3px solid var(--accent2); }
.top-in { display: flex; align-items: center; gap: 22px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.logo svg { flex: none; width: 28px; height: 28px; fill: #2aabee; background: #fff; border-radius: 50%; }
.logo b { color: var(--accent); margin-left: .25em; }
.menu { display: flex; gap: 20px; margin-left: auto; }
.menu a { color: var(--menu, #d8d8e0); text-decoration: none; font-weight: 600; font-size: .93rem; }
.menu a:hover { color: var(--accent); }
.langs { display: flex; gap: 4px; }
.langs button { border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: none; color: #fff; font: 800 .76rem var(--font); padding: .25em .55em; cursor: pointer; white-space: nowrap; }
.langs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.hero { position: relative; overflow: hidden; padding: clamp(46px, 7vw, 84px) 0; color: var(--hero-ink, #fff); background: var(--hero-bg, var(--dark)); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.hero .eyebrow { color: var(--hero-eyebrow, var(--accent)); }
.hero h1 { font-size: clamp(2.3rem, 6.6vw, 4.8rem); }
.hero h1 span { display: block; color: var(--hero-h1span, var(--accent)); }
.hero-sub { display: inline-block; margin: 0 0 16px; padding: .2em .9em; border-radius: 8px; background: rgba(255, 255, 255, .14); font-weight: 800; }
.lead { max-width: 56ch; color: var(--hero-lead, rgba(255, 255, 255, .86)); font-size: 1.1rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.art { display: block; width: clamp(230px, 30vw, 340px); height: auto; }

.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-alt { background: var(--paper2); }

.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.rules article { position: relative; padding: 20px 22px; background: var(--white); border-radius: var(--r, 14px); border-top: 6px solid var(--c); box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.tagn { display: inline-block; margin-bottom: 10px; padding: .15em .7em; border-radius: 999px; background: var(--c); color: #fff; font-weight: 800; font-size: .92rem; }
.rules h3 { color: var(--title); }
.rules p { margin: 0; color: var(--muted); }

.tool { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; align-items: start; }
.sits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.sits button { padding: .65em .8em; border: 2px solid var(--line, var(--paper2)); border-radius: var(--r, 12px); background: var(--white); color: var(--ink); font: 600 .92rem/1.3 var(--font); text-align: left; cursor: pointer; }
.sits button[aria-pressed="true"] { background: var(--title); border-color: var(--title); color: #fff; }
.res { position: sticky; top: 84px; padding: 24px; border-radius: var(--r, 18px); background: var(--dark); color: rgba(255, 255, 255, .86); border-top: 6px solid var(--c); }
.r-tag { display: inline-block; margin: 0 0 8px; padding: .12em .7em; border-radius: 999px; background: var(--c); color: #fff; font-weight: 800; font-size: .82rem; }
.res h3 { color: #fff; font-size: 1.25rem; }
.res p:last-child { margin: 0; }

.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { position: relative; padding-left: 28px; color: var(--muted); }
.tips li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent2); }
.contacts { display: grid; gap: 12px; }
.contact { display: block; padding: 18px 20px; background: var(--white); border-radius: var(--r, 14px); text-decoration: none; color: var(--muted); border-left: 6px solid var(--accent); }
.contact b { display: block; font-size: 1.4rem; color: var(--title); overflow-wrap: anywhere; }
.contact-main { background: var(--dark); color: rgba(255, 255, 255, .8); }
.contact-main b { color: var(--accent); font-size: 1.6rem; }

.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r, 12px); border-left: 6px solid var(--accent2); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 50px 13px 18px; font-weight: 800; color: var(--title); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--accent2); font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 15px; color: var(--muted); }

.sec-join { position: relative; overflow: hidden; background: var(--join-bg, var(--dark)); color: #fff; }
.sec-join h2 { color: #fff; }
.sec-join .eyebrow { color: var(--accent); }
.sec-join .intro { color: rgba(255, 255, 255, .8); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 22px; }
.card { position: relative; display: grid; gap: 4px; align-content: start; padding: 20px 18px 16px; border-radius: var(--r, 14px); color: #fff; text-decoration: none; background: var(--bc); transition: translate .15s; }
.card:hover, .card:focus-visible { translate: 0 -4px; }
.card[data-app="telegram"] { --bc: #1f7fb8; --ic: #2aabee; }
.card[data-app="whatsapp"] { --bc: #1c8f4e; --ic: #25d366; }
.card[data-app="signal"] { --bc: #3a5bd0; --ic: #3a76f0; }
.c-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.c-ico svg { width: 28px; height: 28px; fill: var(--ic); }
.card b { margin-top: 8px; font-size: 1.25rem; }
.card small { color: rgba(255, 255, 255, .88); line-height: 1.3; }
.go { justify-self: start; margin-top: 8px; padding: .3em .95em; border-radius: 999px; background: #fff; color: #111; font-weight: 800; font-size: .85rem; }
.group-rules { color: rgba(255, 255, 255, .8); max-width: 80ch; }
.group-rules b { color: var(--accent); }

.foot { padding: 26px 0 36px; background: var(--foot, var(--dark)); color: rgba(255, 255, 255, .7); font-size: .9rem; border-top: 3px solid var(--accent2); }
.foot p { margin: 0 0 .4em; }
.foot b { color: #fff; }
.foot a { color: var(--accent); }

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .9); }
.gate-box { width: min(440px, 100%); padding: 30px 26px 26px; text-align: center; background: var(--white); border-radius: 18px; border-top: 8px solid var(--accent2); }
.gate-badge { width: 84px; height: 84px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: var(--accent); font-weight: 800; font-size: 1.5rem; }
.gate-box h2 { font-size: 1.6rem; }
.gate-box p { color: var(--muted); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gate-actions .btn-line { color: var(--title); }
.gate-no { margin: 14px 0 0; color: var(--crime) !important; font-weight: 800; }

@media (max-width: 960px) {
  .menu { display: none; }
  .langs { margin-left: auto; }
  .rules { grid-template-columns: 1fr 1fr; }
  .help, .tool { grid-template-columns: minmax(0, 1fr); }
  .res { position: relative; top: 0; }
}
@media (max-width: 700px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .art { display: none; }
}
@media (max-width: 600px) {
  .rules, .sits { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .card { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 14px; }
  .c-ico { grid-row: span 3; }
  .card b { margin-top: 0; }
  .go { margin-top: 4px; }
}
@media (max-width: 380px) {
  .top-in { gap: 10px; }
  .logo { font-size: .88rem; gap: 6px; }
  .logo svg { width: 24px; height: 24px; }
  .langs { gap: 2px; }
  .langs button { padding: .2em .32em; font-size: .7rem; }
  .res { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-anim .card { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Tokyo Weed Telegram Group — thème « washi, encre et sceau »
   Papier washi, encre sumi, vermillon des sceaux, indigo ; outil : le sceau
   hanko ; contacts : trois sceaux qui se posent. Police : Noto Sans JP.
   ========================================================= */
:root {
  --dark: #1c1c1c; --accent: #e0483d; --accent-ink: #fff; --accent2: #233a6b;
  --paper: #f7f2e7; --paper2: #ece3d0; --white: #fffcf5; --ink: #1c1c1c; --muted: #50494a; --title: #1c1c1c;
  --legal: #3b8a5a; --fine: #d98a1e; --crime: #c8322b; --line: #e0d4bb;
  --font: "Noto Sans JP", "Hiragino Sans", "Microsoft YaHei", system-ui, sans-serif; --r: 4px; --hw: 900;
  --hero-bg: #f7f2e7; --hero-ink: #1c1c1c; --hero-lead: #3c3638; --hero-eyebrow: #c8322b; --hero-h1span: #c8322b;
}
.top { background: #1c1c1c; }
.hero { border-bottom: 1px solid #e0d4bb; }
.hero .hero-sub { background: #1c1c1c; color: #fff; border-radius: 2px; }
.hero .btn-line { color: #1c1c1c; }
.j-sun { fill: #e0483d; opacity: .9; }
.j-tower path { fill: none; stroke: #1c1c1c; stroke-width: 4; } .j-tower path:first-child { fill: #f7f2e7; } .j-tower rect { fill: #1c1c1c; }
.j-hill { fill: #233a6b; opacity: .9; }
.j-ink path { fill: none; stroke: #1c1c1c; stroke-width: 5; stroke-linecap: round; opacity: .7; }
.j-seal { fill: #c8322b; } .j-kanji { fill: #fff; font: 900 34px var(--font); }
.j-seal, .j-kanji { animation: stamp 6s ease-in-out infinite; transform-origin: 67px 197px; }
@keyframes stamp { 0%, 80%, 100% { transform: none; } 88% { transform: scale(.92); } }
.sec-note { padding: 18px 0; background: #fff4d6; }
.note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.note b { color: #8a5a00; }
.note p { margin: 0; color: #4b3b16; }
.rules article { border-top: 0; border-left: 0; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.rules article::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 26px; height: 26px; border-radius: 4px; background: var(--c); opacity: .9; }
.tagn { border-radius: 2px; }
.res { border-top: 0; background: #fffcf5; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.res h3 { color: var(--ink); }
.hanko { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 14px; border-radius: 8px; border: 4px solid var(--c); color: var(--c); font: 900 1.9rem var(--font); transform: rotate(-6deg); transition: color .3s, border-color .3s; }
.res[data-level="crime"] .hanko::after { content: "違"; }
.res[data-level="fine"] .hanko::after { content: "注"; }
.res[data-level="legal"] .hanko::after { content: "可"; }
.faq details { border-left-color: var(--accent); }
.sec-join { background: #1c1c1c; }
.seals .card { border-radius: 6px; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }
.js-anim .card { opacity: 0; transform: scale(1.25); }
.js-anim.on .card { animation: seal .35s ease-out forwards; }
.js-anim.on .card:nth-child(2) { animation-delay: .1s; }
.js-anim.on .card:nth-child(3) { animation-delay: .2s; }
@keyframes seal { 70% { opacity: 1; transform: scale(.97); } to { opacity: 1; transform: none; } }
