@import url("we-c-page-backgrounds.css?v=site-c-bg-20261014-1");
/* WE 起桌遊吧 C Style — public customer subpages only (v1).
   Keep all business logic, submit handlers, Supabase, LINE and checkout unchanged. */
body.storybook-public {
  --sb-ink:#26384e; --sb-ink-soft:#596b7d; --sb-bg:#fff9ed;--sb-paper:#fffcf5;
  --sb-orange:#e98333;--sb-navy:#304f70;--sb-border:#e8ccaa;--sb-leaf:#688773;
  --sb-shadow:0 5px 0 rgba(158,111,54,.08);
  background:radial-gradient(ellipse at 50% 0,rgba(250,216,159,.42),transparent 660px),#fff9ed;
  color:var(--sb-ink);
}
body.storybook-public .site-header {
  background:rgba(255,250,237,.97)!important;
  border-bottom:1px solid #ead5af!important;
  box-shadow:0 4px 19px rgba(105,79,45,.06);
  backdrop-filter:blur(16px);
}
body.storybook-public .site-header .nav{width:min(1250px,calc(100vw - 40px));min-height:74px}
body.storybook-public .site-header .brand{gap:8px;color:var(--sb-ink)}
body.storybook-public .site-header .brand img{display:none!important}
body.storybook-public .site-header .brand::before{
  content:"";display:inline-block;flex:0 0 43px;
  width:43px;height:43px;margin-right:2px;
  background:url("../assets/site-c/we-emblem.svg") center/contain no-repeat
}
body.storybook-public .brand-title{color:#24374c!important;font-size:1rem;font-weight:900}
body.storybook-public .brand-subtitle{color:#887763!important;font-size:.7rem;font-weight:650}
body.storybook-public .nav-links{border:0;background:transparent;box-shadow:none}
body.storybook-public .nav-links a{color:#304156!important;border-radius:9px;font-size:.82rem;font-weight:800}
body.storybook-public .nav-links a:hover,
body.storybook-public .nav-links a[aria-current=page]{color:#ac5d2c!important;background:#fff0d5}
body.storybook-public .nav-account-link{background:#294664;border:1px solid #294664;border-radius:99px;box-shadow:none;color:#fff}
body.storybook-public .nav-account-link:hover{background:#3b5f7e;color:#fff}
body.storybook-public .nav-account-icon{background:#ffca84;color:#26384c}
body.storybook-public .nav-toggle{border:1px solid #dfcaab;background:#fff9eb;color:#293c52}
body.storybook-public :is(.section,.trpg-shell,.werewolf-signup-shell){
  max-width:1190px;
}
body.storybook-public :is(.eyebrow,.small-label){color:#a9713e;font-size:.76rem;font-weight:850;letter-spacing:.14em}
body.storybook-public :is(h1,h2,h3){color:#263b52;letter-spacing:-.025em}
body.storybook-public .lead{color:#617484;line-height:1.8;font-weight:600}
body.storybook-public p.muted{color:#667583;line-height:1.7}
body.storybook-public .card{
  background:var(--sb-paper);color:var(--sb-ink);border:1px solid #ead5b6;
  border-radius:17px;box-shadow:var(--sb-shadow)
}
body.storybook-public :is(.feature-item,.capacity-card){
  border-radius:17px;border-color:#ead5b6;background:var(--sb-paper);
}
body.storybook-public :is(.field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.field select,.field textarea){
  border:1px solid #d9c5a8;border-radius:11px;background:#fffefa;color:#243b50;
  box-shadow:none;max-width:100%
}
body.storybook-public :is(.field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.field select,.field textarea):focus-visible{
  outline:3px solid #f0bc75;outline-offset:1px;border-color:#a57c49
}
body.storybook-public :is(.btn-primary,button.btn-primary){
  background:#304f70;color:#fff;border:1px solid #304f70;border-radius:11px;box-shadow:none;font-weight:800
}
body.storybook-public :is(.btn-ghost,.btn-small,.storefront-member-link){
  border-radius:11px;font-weight:750
}
body.storybook-public .site-footer{background:#263d52;color:#fff1d9;border-top:0}
body.storybook-public .site-footer .muted{color:#c7d3d8}
body.storybook-public .site-footer a{color:#ffddab}
/* Unified illustrated editorial heroes. Background visuals NEVER contain site text or fake event schedules. */
body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero) {
  position:relative;isolation:isolate;overflow:hidden;
  padding:44px clamp(20px,5vw,62px);
  border:1px solid #e7cda8;border-radius:19px;
  background-color:#f9e5c4;
  box-shadow:0 6px 0 rgba(181,133,76,.09);
}
body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero)::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background-image:url("../assets/site-c/hero-home.webp");
  background-size:cover;background-position:center;
}
body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero)::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(255,249,233,.97) 0%,rgba(255,249,233,.92) 42%,rgba(255,249,233,.45) 68%,rgba(255,249,233,.08) 100%);
}
body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero)>*{position:relative;z-index:1}
body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero) h1{
  font-size:clamp(2rem,4.1vw,3.4rem);font-weight:930;line-height:1.25;margin:8px 0 16px;
}
body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero) .lead {
  max-width:570px;font-size:.99rem
}
/* Header art per feature with safe fallback to already hosted C batch 1. */
body.storybook-public[data-page=events] .section-title::before{
  background-image:url("../assets/site-c/action-events.webp")
}
body.storybook-public[data-page=booking] .booking-shell>aside .section-title::before{
  background-image:url("../assets/site-c/action-booking.webp")
}
body.storybook-public[data-page=werewolf-signup] .werewolf-hero::before{
  background-image:url("../assets/site-c/kingdom-gateway.webp")
}
body.storybook-public[data-page=trpg] .trpg-hero::before,
body.storybook-public[data-page=trpg-gm] .trpg-hero::before{
  background-image:url("../assets/site-c/kingdom-gateway.webp")
}
body.storybook-public[data-page=board-games] .shop-hero::before{
  background-image:url("../assets/site-c/shop-games.webp")
}
body.storybook-public[data-page=shop] .shop-hero::before{
  background-image:url("../assets/site-c/shop-accessories.webp")
}
body.storybook-public[data-page=member] .member-hero::before{
  background-image:url("../assets/site-c/action-community.webp")
}
/* Certain existing heroes hold an inner .section: remove duplicate surrounding border without affecting layout */
body.storybook-public :is(.shop-hero,.member-hero){border-radius:0;padding:0;margin:0;box-shadow:none;border-left:0;border-right:0}
body.storybook-public :is(.shop-hero,.member-hero) .section{position:relative;z-index:1;padding:57px 28px}
body.storybook-public[data-page=events] main.section{padding-top:36px}
body.storybook-public[data-page=events] .section-title{margin-bottom:34px}
body.storybook-public[data-page=events] .segmented{
  display:flex;flex-wrap:wrap;gap:9px;background:transparent;border:0;box-shadow:none
}
body.storybook-public[data-page=events] .segmented :is(button,a.event-signup-link){
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;flex:0 0 auto;
  border:1px solid #e6c8a3;background:#fffaf0;color:#435a6c;border-radius:100px;
  padding:11px 16px;font-weight:800;text-decoration:none;
}
body.storybook-public[data-page=events] .segmented a.event-signup-link:hover{
  background:#fff0d5;border-color:#dcad77;color:#7c4b29;
}
body.storybook-public[data-page=events] .segmented a.event-signup-link:focus-visible{
  outline:3px solid #d98236;outline-offset:3px;
}
body.storybook-public[data-page=events] .segmented button[aria-pressed=true]{
  background:#314f6e;border-color:#314f6e;color:#fff
}
body.storybook-public[data-page=events] :is(.event-card,.event-dm-card){
  background:#fffefa;border:1px solid #e9ccaa;border-radius:16px;
  box-shadow:0 5px 0 rgba(154,112,60,.08);overflow:hidden
}
body.storybook-public[data-page=events] .event-card h3{color:#283c52}
body.storybook-public[data-page=booking] .booking-shell,
body.storybook-public[data-page=host] main.split{padding-top:40px}
body.storybook-public[data-page=booking] .booking-shell>aside .section-title{margin-bottom:20px}
body.storybook-public[data-page=booking] .capacity-card{padding:22px}
body.storybook-public[data-page=host] main.split>section:first-child{position:relative}
body.storybook-public[data-page=host] main.split>section:first-child::before{
  content:"";display:block;height:190px;border:1px solid #e5cba4;
  border-radius:17px;margin-bottom:26px;
  background:url("../assets/site-c/action-host.webp") center 46%/cover no-repeat;
  box-shadow:0 5px 0 rgba(154,112,60,.08)
}
body.storybook-public[data-page=host] main.split h1{font-size:clamp(2.2rem,4vw,3.1rem);font-weight:900}
body.storybook-public[data-page=host] .feature-item{background:#fffcf5;border:1px solid #ead5b6}
body.storybook-public[data-page=werewolf-signup] .werewolf-signup-shell{
  padding-top:38px;padding-bottom:70px
}
body.storybook-public[data-page=werewolf-signup] .werewolf-hero{margin:0 0 28px;padding:42px}
body.storybook-public[data-page=werewolf-signup] .werewolf-group-card{
  border:1px solid #e9caa4;border-radius:16px;background:#fffefa;box-shadow:var(--sb-shadow)
}
body.storybook-public[data-page=werewolf-signup] .werewolf-chip{
  border:1px solid #e4cda8;background:#fff0d7;color:#3f5466
}
body.storybook-public[data-page=werewolf-signup] .werewolf-roster-row,
body.storybook-public[data-page=werewolf-signup] .werewolf-progress>div{
  background:#fdf0db;border:1px solid #efdabc
}
body.storybook-public.trpg-page .trpg-shell{padding-top:34px;gap:27px}
body.storybook-public.trpg-page .trpg-hero{
  background:#f4e5cf;color:#283d50;padding:47px 43px;border-radius:20px
}
body.storybook-public.trpg-page .trpg-hero h1,
body.storybook-public.trpg-page .trpg-hero .lead{color:#253b50}
body.storybook-public.trpg-page .trpg-hero .btn-ghost{
  background:#304f70;color:#fff;border-color:#304f70;margin-top:12px
}
body.storybook-public.trpg-page .trpg-chip{
  background:#fff0da;border:1px solid #e6caab;color:#425c71
}
body.storybook-public.trpg-page .trpg-checks label{
  border-color:#e3c9a6;background:#fffdf7
}
body.storybook-public.trpg-page .trpg-slot{
  border:1px solid #ecd4b3;border-radius:14px;background:#fffbf4
}
body.storybook-public.trpg-page .trpg-consent{
  color:#465c6d;line-height:1.75
}
body.storybook-public .shop-hero h1,
body.storybook-public .member-hero h1{font-weight:900}
body.storybook-public :is(.storefront-tabs,.storefront-search-panel,.member-auth-card){
  border-color:#e8cdaa;border-radius:16px;background:#fffcf5;box-shadow:var(--sb-shadow)
}
body.storybook-public .storefront-tab{border-radius:10px}
body.storybook-public .storefront-tab.is-active{
  background:#304f70;color:#fff;border-color:#304f70
}
body.storybook-public .storefront-heading-row h2{color:#283d50}
body.storybook-public .storefront-search-panel input{color:#293e51}
body.storybook-public :is(a,button,input,textarea,select):focus-visible{
  outline:3px solid #e99041;outline-offset:3px
}
@media(max-width:1119px){
 body.storybook-public .nav-toggle{display:inline-grid}
 body.storybook-public .nav-links{
   position:absolute;top:calc(100% + 7px);right:8px;left:auto;
   display:none;width:min(360px,calc(100vw - 20px));
   border:1px solid #e2cba9;border-radius:16px;
   background:#fffaf0;padding:12px;box-shadow:0 18px 37px rgba(72,54,27,.15)
 }
 body.storybook-public .nav-links.is-open{display:grid;gap:3px}
 body.storybook-public .nav-links a{justify-content:flex-start;padding:10px}
}
@media(max-width:740px){
 body.storybook-public .site-header .nav{width:calc(100vw - 24px)}
 body.storybook-public .brand-subtitle{display:none}
 body.storybook-public .nav-account-label{display:none}
 body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero){padding:28px 22px}
 body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero)::after{
   background:linear-gradient(90deg,rgba(255,249,233,.98),rgba(255,249,233,.9) 66%,rgba(255,249,233,.55))
 }
 body.storybook-public :is(.shop-hero,.member-hero) .section{padding:38px 18px}
 body.storybook-public :is(.section-title,.werewolf-hero,.trpg-hero,.shop-hero,.member-hero) h1{font-size:2.15rem}
 body.storybook-public[data-page=host] main.split>section:first-child::before{height:145px}
}
@media(prefers-reduced-motion:reduce){
 body.storybook-public *,body.storybook-public *::before,body.storybook-public *::after{
   scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important
 }
}

/* Consistent editorial details and responsive form ergonomics. */
body.storybook-public{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility
}
body.storybook-public :is(.btn,a,button,input,textarea,select){
  touch-action:manipulation
}
body.storybook-public :is(.field input:not([type="checkbox"]):not([type="radio"]),
.field select,.field textarea){
  font:inherit;
  line-height:1.55;
}
body.storybook-public :is(.btn,.storefront-tab,.storefront-member-link){
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}
body.storybook-public :is(.btn,.storefront-tab,.storefront-member-link):hover{
  transform:translateY(-1px)
}
body.storybook-public :is(.card,.trpg-card,.werewolf-group-card){
  scroll-margin-top:92px
}
@media(max-width:740px){
  body.storybook-public .site-header .brand::before{
    flex-basis:36px;width:36px;height:36px
  }
  body.storybook-public :is(.form,.card){max-width:100%}
  body.storybook-public :is(input,select,textarea,button){font-size:max(1rem,16px)}
}
@media(prefers-reduced-motion:reduce){
  body.storybook-public :is(.btn,.storefront-tab,.storefront-member-link){transition:none}
}

/* C-style brand touch-up: reuse existing palettes/layouts; only swap the temporary
   upper-left mark for the actual WE brand art and select relevant page illustrations. */
body.storybook-public .site-header .brand::before{
  content:"";display:inline-block;flex:0 0 49px;width:49px;height:49px;margin:0 8px 0 0;
  border:1px solid #edd5ae;border-radius:13px;
  background:#fff5df url("../assets/site-c/brand-official-logo.webp") center/contain no-repeat;
  box-shadow:0 2px 8px rgba(110,75,42,.08);
  letter-spacing:normal;text-shadow:none
}
body.storybook-public[data-page=werewolf-signup] .werewolf-hero::before{
  background-image:url("../assets/site-c/signup-werewolf.webp")
}
body.storybook-public[data-page=trpg-gm] .trpg-hero::before{
  background-image:url("../assets/site-c/signup-trpg-gm.webp")
}
body.storybook-public[data-page=trpg] .trpg-hero::before{
  background-image:url("../assets/site-c/signup-trpg-player.webp")
}
@media(max-width:740px){
 body.storybook-public .site-header .brand::before{
   width:43px;height:43px;flex-basis:43px;border-radius:11px
 }
}
