/* Nightlink: public discovery / cast activity / operational workspace. */
:root{--accent:#635bea;--ink:#182139;--muted:#647087;--line:#e3e6ef;--white:#fff;--bg:#f6f7fb;font-family:Inter,"Segoe UI","Noto Sans JP",Meiryo,sans-serif;color-scheme:light}
body{background:var(--bg);color:var(--ink);line-height:1.65}h1,h2,h3{line-height:1.4}h1{font-size:30px;font-weight:700}h2{font-size:20px}a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,.button{border-radius:12px;background:#6158dd;color:#fff;font-weight:650;min-height:48px;padding:12px 20px;box-shadow:none}button:hover,.button:hover{background:#5048c3}.secondary,.button.secondary{background:#eeedf9;color:#3c3970;border:1px solid #dddaf1}.text-button{box-shadow:none}.small{min-height:40px}input,select,textarea{border-radius:10px;border:1px solid #d4d9e5;min-height:48px;font-size:16px;background:#fff}input[type=checkbox],input[type=radio]{min-height:22px;width:22px;accent-color:#635bea}label{font-size:14px;font-weight:550}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8b7dff;outline-offset:4px}.panel{border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 20px #26345a04}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:750;color:#706b96}.badge{border-radius:7px;font-size:11px;padding:4px 9px;background:#eeeefa;color:#5c567b}.badge.lit{background:#e1f6eb;color:#176244}.topbar{height:78px;background:#fff;color:#182139;border-bottom:1px solid var(--line);padding:0 36px;position:relative;z-index:700}.brand{font-family:Georgia,"Times New Roman",serif;font-size:32px;letter-spacing:-1.2px;color:#17203a!important}.brand .brand-dot{color:#8270e8}.brand>span:last-child{font-size:27px}.topbar nav{font-size:12px;gap:20px}.topbar .text-button{background:transparent;color:#596176;padding:8px;min-height:40px}.demo-banner{background:#f1eff8;border-color:#e6e1f0;color:#6e647e;font-size:10px}.page{max-width:1320px;padding:32px;margin:auto}.narrow{max-width:780px}.messages{max-width:1280px}.message{border-radius:12px}.opsnav{display:none}.workspace-nav{display:none}.mobile-dock{display:none}.section-nav{position:sticky;top:0;z-index:400;background:#f6f7fbeb;backdrop-filter:blur(16px);gap:28px}.section-nav a{color:#514b7b}.section-nav a:hover{color:#635bea}.public-store .venue-cover{box-shadow:0 12px 36px #18203912}.venue-heading{background:#fff;color:#182139}.venue-heading .eyebrow{color:#706a92}.venue-heading p{color:#66708a}.venue-heading h1{margin:8px 0 16px}.venue-art{background:radial-gradient(ellipse at 75% 15%,#6c5674,transparent 58%),linear-gradient(135deg,#14223d,#393049);min-height:280px}.cast-card{padding:10px 10px 16px;border:1px solid var(--line);border-radius:16px;background:#fff}.cast-card img,.cast-card .avatar{border-radius:12px;aspect-ratio:3/4;object-fit:cover}.cast-card h3{font-size:15px}.cast-card .muted{font-size:11px}.public-store .two-col{grid-template-columns:minmax(0,1fr) 320px}.public-store .panel{padding:26px}.public-store .live-promo{background:linear-gradient(140deg,#eeeafb,#fceff4)}.live-badge{background:#fae0eb;color:#a6326e}.live-stage{background:radial-gradient(ellipse at 65% 30%,#63516f,transparent),linear-gradient(140deg,#101a31,#34253f)}.live-orbit{color:#e5cefa}.remote-product:has(:checked){border-color:#7869d8;background:#f2efff}.order-preview{background:#eeeafa}
/* Discovery: search first on mobile, map and real store records as one surface. */
.discovery{grid-template-columns:420px minmax(0,1fr);height:calc(100dvh - 110px);gap:0;background:#fff}.discovery-list{padding:32px 26px;background:#fff}.discovery-list h1{font-family:Georgia,"Yu Mincho",serif;font-size:34px;letter-spacing:-1px;margin:12px 0}.discovery-list>.muted{font-size:13px}.discovery-list .search{padding:16px;background:#f6f7fb;border-radius:16px;border:1px solid #e8e9f1;margin:24px 0}.store-card{border:1px solid #e6e7ef;border-radius:16px;padding:12px;margin-bottom:14px;box-shadow:0 3px 15px #18203904}.store-card a{gap:14px}.store-thumb{width:114px;height:126px;object-fit:cover;border-radius:12px}.store-card h3{font-size:17px;margin:4px 0}.store-card p{font-size:11px;color:#667087}.store-card .map-focus{margin-left:128px;margin-top:10px;min-height:34px;font-size:11px;padding:6px 12px}.map-wrap{border-left:1px solid #e4e6ef}.map-legend{border-radius:12px;box-shadow:0 4px 20px #15213b12}.category-strip{display:flex;gap:8px;overflow:auto;padding:6px 0 14px;white-space:nowrap}.category-strip a{padding:8px 14px;border:1px solid #e3e3ef;border-radius:22px;font-size:12px}.category-strip a[aria-current]{background:#282448;color:#fff;border-color:#282448}
/* Tablet POS: dense information, clear states, quiet dark surfaces. */
.pos-theme{--bg:#111522;--ink:#eef0fa;--muted:#a5afc4;--line:#333b50;--white:#1b2233;background:var(--bg);color:var(--ink);color-scheme:dark}.pos-theme .topbar{background:#151b2b;border-color:#30394b;color:#d3daec}.pos-theme .brand{color:#f1efff!important}.pos-theme .topbar .text-button{color:#c1c9dd}.pos-theme .panel,.pos-theme .table-card,.pos-theme .table-scroll{background:#1b2233;border-color:#303b50}.pos-theme button,.pos-theme .button{background:#7970eb;color:#fff}.pos-theme button:hover,.pos-theme .button:hover{background:#8980f5}.pos-theme .secondary,.pos-theme .button.secondary{background:#293148;color:#e5e8f5;border-color:#46506b}.pos-theme .badge{background:#323b55;color:#d9ddef}.pos-theme .badge.lit{background:#183e38;color:#9be9cc}.pos-theme input:not([type=checkbox]),.pos-theme select,.pos-theme textarea{background:#131b2b;border-color:#48546e;color:#edf1fb}.pos-theme .eyebrow{color:#9c94d3}.pos-theme .floor-summary{gap:16px;margin:22px 0}.pos-theme .floor-summary>div{background:linear-gradient(130deg,#232a3f,#1b2334);border-color:#343f58;padding:20px 24px}.floor-summary strong{font-size:30px;letter-spacing:-.8px;margin-top:6px}.floor-summary small{margin-left:8px}.pos-theme .table-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pos-theme .table-card{padding:22px;border-radius:16px;border-top:3px solid #6f78b8;box-shadow:0 6px 18px #00000012}.pos-theme .table-card.occupied{border-top-color:#6fbfa9}.pos-theme .table-card[data-state=pending]{border-top-color:#e2b364}.pos-theme .table-card[data-state=pending] .badge{background:#493a29;color:#ffe0a3}.pos-theme .table-card .amount{font-size:29px;letter-spacing:-1px;margin:22px 0 8px;font-variant-numeric:tabular-nums}.pos-theme .table-card p{font-size:12px;color:#b4bed0}.pos-theme .table-card .button{width:100%;margin-top:12px;background:#2c344d;border:1px solid #47506b;color:#e8e6ff}.pos-theme .table-card h2{font-size:22px}.pos-theme .warning{background:#463722;color:#ffdf9f;border-radius:10px;padding:12px}.pos-theme .seat-action{border:0;background:#776ce7;color:#fff;text-align:left;padding:14px 20px;border-radius:12px;font-weight:700}.pos-theme .seat-action:after{content:'新しいお客様を登録';float:right;font-size:12px;font-weight:400;color:#ebe8ff}.pos-theme .duty-strip{padding:12px 0 22px}.pos-theme .ticket-shortcuts{background:#111522ed;backdrop-filter:blur(12px);padding:12px 0;gap:8px}.ticket-shortcuts a{border-radius:10px;font-size:13px;padding:10px 20px}.pos-theme .bill{border-color:#7168a2}.pos-theme .total strong{color:#c5baff}.pos-theme .product-picker button{background:#252e44!important;border-color:#414b65}.pos-theme .product-picker button[aria-pressed=true]{background:#393653!important;border-color:#a99bfb}.floor-filters{display:flex;gap:8px;margin:4px 0 20px;flex-wrap:wrap}.floor-filters button{background:transparent;color:#adb8cd;border:1px solid #3e485f;min-height:40px;font-size:12px;padding:8px 17px}.floor-filters button[aria-pressed=true]{background:#36334e;border-color:#998bdd;color:#f5efff}.table-card[hidden]{display:none}.pos-theme .live-promo{background:#282439}
/* Cast home: personal workspace, first action is today's attendance. */
.cast-theme{background:linear-gradient(155deg,#f9f7fc 0,#f1f3fa 60%,#faf6fa)}.cast-home{max-width:760px}.cast-home .section-heading{margin:20px 0 24px}.cast-home .section-heading h1{font-size:25px}.cast-home .activity-hero{background:linear-gradient(120deg,#ece4fa,#fcebf2);color:#2c2544;border:1px solid #e6d9f4;box-shadow:0 8px 32px #6e54800a}.cast-home .activity-hero .eyebrow{color:#807098}.cast-home .activity-hero h2{font-size:15px;color:#6e577c}.cast-home .activity-hero .shift-time{font-size:36px;letter-spacing:-1px;font-weight:700}.cast-home .activity-hero button{background:linear-gradient(100deg,#7154cc,#ae58a3);color:white;border:0}.cast-home .activity-hero .small-text{color:#705e7e;font-size:11px;line-height:1.8}.cast-home .quick-actions{gap:12px}.cast-home .quick-actions a{padding:23px;border-radius:18px;box-shadow:0 4px 15px #57437805}.cast-home .quick-actions a:nth-child(2){background:#fdf4f8}.cast-home .quick-actions a:nth-child(1){background:#f1f4ff}.cast-home .quick-actions a:nth-child(4){background:#f4eefc}.cast-home .quick-actions strong{font-size:18px}.cast-home .next-shift h2{font-size:21px}.cast-tools{margin:28px 0;border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}.cast-tools summary{font-size:14px;font-weight:650}.cast-tools .button{margin:12px 6px 0 0;font-size:12px}.cast-identity{display:flex;gap:15px;align-items:center}.cast-identity img{width:58px;height:58px;object-fit:cover;border-radius:50%;border:3px solid white;box-shadow:0 2px 10px #54476315}.cast-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.cast-tabs a{padding:8px 15px;border-radius:20px;background:#efecf7;color:#64567e;font-size:12px}
@media(min-width:1100px){.pos-theme:has(.workspace-nav){padding-left:216px}.pos-theme .topbar{padding:0 32px}.workspace-nav{display:flex;flex-direction:column;gap:6px;position:fixed;inset:0 auto 0 0;width:216px;background:#171d2c;border-right:1px solid #30394b;padding:28px 16px;z-index:750;color:#b6bfd3}.workspace-label{padding:8px 12px 30px;display:flex;flex-direction:column;gap:8px}.workspace-label strong{font-size:17px;color:#e9e9fa}.workspace-label small{font-size:10px;color:#929db5}.workspace-nav>a{padding:13px 14px;border-radius:10px;font-size:13px;display:flex;align-items:center;gap:12px}.workspace-nav>a span{font-size:19px;width:22px;text-align:center}.workspace-nav a:hover{background:#242c40;text-decoration:none}.workspace-nav a[aria-current]{background:#34324c;color:#e8e1ff}.workspace-footer{margin-top:auto;border-top:1px solid #303a4d;padding:20px 12px 0;display:grid;gap:18px;font-size:12px}.pos-theme .page{max-width:1400px}}
@media(min-width:721px) and (max-width:1099px){.workspace-nav{display:flex;overflow:auto;gap:8px;padding:12px 22px;background:#1b2233;border-bottom:1px solid #343f58;white-space:nowrap}.workspace-label,.workspace-footer{display:none}.workspace-nav>a{padding:8px 12px;border-radius:8px;font-size:12px}.workspace-nav>a[aria-current]{background:#373450}.workspace-nav>a span{margin-right:7px}.pos-theme .table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-theme .page{padding:24px}}
@media(max-width:720px){.topbar{min-height:68px;height:auto;padding:14px 18px;gap:8px}.brand{font-size:26px}.brand>span:last-child{font-size:23px}.topbar nav{font-size:11px;gap:12px}.page{padding:24px 18px 94px}.discovery{display:flex;height:auto;position:relative;padding-bottom:70px}.discovery-list{display:contents}.discovery-list>.eyebrow,.discovery-list>h1,.discovery-list>.muted,.discovery-list>.search,.discovery-list>.category-strip{order:-3;margin-left:18px;margin-right:18px}.discovery-list>.eyebrow{margin-top:25px}.discovery-list>h1{font-size:30px;margin-top:10px;margin-bottom:6px}.discovery-list>.muted{margin-top:0;margin-bottom:0}.discovery-list>.search{margin-top:20px;margin-bottom:12px}.discovery-list>.category-strip{margin-bottom:0}.map-wrap{order:-2;height:320px;min-height:280px;margin:0 18px 22px;border-radius:20px;overflow:hidden;border:1px solid #e5e5ef}.discovery-list>.row,#store-list{margin-left:18px;margin-right:18px}.store-thumb{width:108px;height:120px}.store-card .map-focus{margin-left:122px}.mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:800;background:#ffffffed;backdrop-filter:blur(20px);border-top:1px solid #e4e4ee;padding:10px 14px max(10px,env(safe-area-inset-bottom));justify-content:space-around;gap:8px}.mobile-dock a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:#5f5a79;min-width:65px}.mobile-dock a span{font-size:21px;line-height:1.1}.mobile-dock a[aria-current]{color:#6552c1}.pos-theme .mobile-dock{background:#181f30ee;border-color:#394158}.pos-theme .mobile-dock a{color:#d0cee4}.workspace-nav{display:flex;overflow:auto;padding:10px 16px;gap:6px;white-space:nowrap;background:#1b2233}.workspace-nav>a{padding:8px 11px;font-size:12px;border:1px solid #38435b;border-radius:9px}.workspace-nav>a[aria-current]{background:#38314f}.workspace-label,.workspace-footer{display:none}.workspace-nav>a span{margin-right:6px}.pos-theme .table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pos-theme .table-card{padding:14px}.pos-theme .table-card .amount{font-size:23px}.pos-theme .table-card h2{font-size:18px}.pos-theme .table-card .button{font-size:11px;padding:10px 6px}.pos-theme .floor-summary>div{padding:13px 10px}.floor-summary strong{font-size:22px}.floor-summary span{font-size:10px}.floor-summary strong small{font-size:12px}.pos-theme .seat-action:after{display:none}.cast-home .section-heading h1{font-size:21px}.cast-home .quick-actions a{padding:20px 16px}.cast-home .activity-hero{padding:25px}.public-store .two-col{display:flex}.public-store .venue-cover{border-radius:18px}.venue-cover>img{height:240px}.venue-heading{padding:24px}.public-store .panel{padding:22px}.section-nav{gap:24px}.section-nav a{font-size:13px}.live-layout{gap:16px}.ticket-shortcuts{overflow:auto;white-space:nowrap}.demo-banner{font-size:9px}}
.pos-floor .section-heading{margin:0 0 16px}.pos-floor .floor-summary{margin:16px 0}.pos-floor .floor-summary>div{padding:14px 20px}.pos-floor>.panel:has(.seat-action){padding:0;border:0;background:transparent;box-shadow:none;margin-bottom:12px}.pos-floor .duty-strip{padding:8px 0 12px}.pos-floor .floor-filters{margin-bottom:12px}.pos-floor #floor-filter-status:empty{display:none}.pos-floor .recent-orders{margin-top:22px}.cast-home .activity-hero{margin:16px 0 22px}.cast-home .activity-hero h2{margin:8px 0}.cast-home .shift-time{margin:12px 0 20px}.map-wrap #map{background-color:#edf0f5;background-image:linear-gradient(#dce1eb88 1px,transparent 1px),linear-gradient(90deg,#dce1eb88 1px,transparent 1px);background-size:40px 40px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.workspace-nav,.mobile-dock,.floor-filters,.cast-tools{display:none!important}.pos-theme:has(.workspace-nav){padding-left:0}.pos-theme{color:#111;background:#fff}.page{padding:0}.pos-theme .panel{background:#fff;color:#111}.pos-theme .total strong{color:#111}}
