@font-face{font-family:"Noto Sans JP SV";src:url("/sv/asset/vendor/fonts/noto-sans-jp-japanese-800.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans JP SV";src:url("/sv/asset/vendor/fonts/noto-sans-jp-japanese-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
:root{--pink:#e6007e;--cyan:#19c3e6;--purple:#7a1bd6;--bg:#0b1020;--panel:#18203a;--panel2:#10172b;--line:#303a61;--text:#f2f4ff;--muted:#aab3d6;--danger:#ff5364;--gold:#f0c263}
.connection-status{position:fixed;z-index:5000;top:max(8px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(92vw,520px);padding:12px 16px;border-radius:10px;background:#fff3bf;color:#4c3900;font-size:15px;font-weight:900;text-align:center;box-shadow:0 5px 18px rgba(0,0,0,.25)}.connection-status.error{background:#b5122b;color:#fff}.connection-status[hidden]{display:none}
.geinin-closed{min-height:100vh;background:linear-gradient(180deg,#fff 0%,#fff7fb 52%,#f3f7fb 100%)!important;color:#17171d}.geinin-closed>.geinin-closed-cover{display:flex}.geinin-closed>.geinin-header,.geinin-closed>.geinin-shell,.geinin-closed>.geinin-live-video,.geinin-closed>.fx-layer,.geinin-closed>.connection-status{display:none!important}.geinin-closed-cover{display:none;min-height:100vh;width:min(100%,760px);margin:0 auto;padding:calc(34px + env(safe-area-inset-top)) 18px calc(38px + env(safe-area-inset-bottom));flex-direction:column;align-items:center;justify-content:center}.geinin-closed-logo{display:block;width:min(72vw,330px);height:auto;margin:0 auto 18px}.geinin-closed-cover h1{margin:0 0 30px;text-align:center;font-size:clamp(30px,8vw,52px);line-height:1.35;font-weight:900;color:#bd073a;letter-spacing:.04em}.geinin-closed-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}.geinin-closed-photos figure{margin:0;overflow:hidden;border:7px solid #fff;border-radius:5px;background:#fff;box-shadow:0 8px 22px rgba(28,19,22,.2);transform:rotate(-1.5deg)}.geinin-closed-photos figure:nth-child(2),.geinin-closed-photos figure:nth-child(3){transform:rotate(1.5deg)}.geinin-closed-photos img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}@media(max-width:440px){.geinin-closed-cover{justify-content:flex-start}.geinin-closed-photos{gap:10px}.geinin-closed-photos figure{border-width:5px}}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0}body{min-height:100vh;background:linear-gradient(#11182c,var(--bg));color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif;line-height:1.5}button,input,textarea{font:inherit}.appbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top)) 14px 12px;background:#0b1020ee;border-bottom:1px solid var(--line)}.ttl{font-weight:900;background:linear-gradient(90deg,var(--pink),var(--cyan));background-clip:text;color:transparent}.sub,.note,small{color:var(--muted)}.docs-link{color:var(--cyan);font-weight:800}.wrap{max-width:720px;margin:auto;padding:14px 12px 44px}.card{margin-bottom:14px;padding:15px;background:var(--panel);border:1px solid var(--line);border-radius:16px}.card h2{margin:0 0 12px;font-size:15px;color:var(--cyan)}button{min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:11px;background:var(--panel2);color:var(--text);font-weight:800;cursor:pointer}button:active{transform:scale(.96);filter:brightness(1.25)}input,textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--panel2);color:var(--text)}textarea{min-height:90px;resize:vertical}form>button,.add-row button,#locationToggle,#copyUrl{background:linear-gradient(135deg,var(--pink),#781bd0);border:0}.stage-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stage-buttons button.active{background:linear-gradient(135deg,var(--pink),#781bd0);border-color:transparent}.big-step{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:16px}.big-step button{width:64px;height:58px;font-size:28px}.big-step strong{min-width:70px;text-align:center;font-size:44px;color:var(--gold)}.staff-performer{display:grid;grid-template-columns:minmax(100px,1fr) 44px 44px 44px auto;gap:5px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.staff-performer.eliminated{opacity:.48;filter:grayscale(1)}.performer-info{min-width:0}.performer-info small{display:block}.name-button{width:100%;min-height:0;padding:0;border:0;background:none;text-align:left;white-space:normal}.step{padding:0;font-size:21px}.step.plus{background:var(--pink);border-color:var(--pink)}.eliminate.active,.delete{color:var(--danger);border-color:var(--danger)}.delete{padding:6px;font-size:12px}.add-row{display:flex;gap:8px;margin-top:14px}.add-row button{flex:none}.message{position:relative;margin-top:10px;padding:11px;background:var(--panel2);border-radius:10px}.message p{margin:0 0 5px;white-space:pre-wrap;overflow-wrap:anywhere}.message .delete{position:absolute;right:7px;bottom:7px;min-height:30px}.hero{text-align:center;margin-bottom:14px;padding:18px;border:1px solid var(--pink);border-radius:18px;background:linear-gradient(135deg,#3c1237,var(--panel))}.hero span{display:block;font-weight:900;font-size:20px}.hero strong{font-size:78px;line-height:1;color:var(--gold)}.hero small{font-size:22px}.rank-row{display:flex;gap:12px;align-items:center;padding:13px 4px;border-bottom:1px solid var(--line)}.rank-row strong{font-size:17px}.rank-number{width:32px;text-align:center;font-weight:900;color:var(--gold)}.rank-row.eliminated{opacity:.45;filter:grayscale(1)}.rank-row.eliminated .rank-number{color:var(--danger);font-size:22px}#map{height:330px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);display:flex;align-items:center;justify-content:center;text-align:center}.venue{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:8px}.new-badge{display:none;margin-left:6px;padding:2px 6px;border-radius:6px;background:var(--pink);color:#fff;font-size:10px}.new-badge.on{display:inline}.toast{position:fixed;z-index:50;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;padding:10px 16px;border-radius:11px;background:#000e;transition:.18s;pointer-events:none}.toast.on{opacity:1;transform:translate(-50%,0)}.timeline{display:grid;grid-template-columns:100px 1fr;gap:0;margin:0}.timeline dt,.timeline dd{margin:0;padding:9px 4px;border-bottom:1px solid var(--line)}.timeline dt{color:var(--gold);font-weight:900}.pdf-link{display:block;margin-top:14px;padding:12px;border:1px solid var(--cyan);border-radius:11px;color:var(--cyan);font-weight:800;text-align:center;text-decoration:none}.rule{padding:12px;border-left:4px solid var(--cyan);background:var(--panel2);margin-bottom:9px}.rule.danger{border-color:var(--danger)}.rule p{margin:4px 0 0}.docs p{overflow-wrap:anywhere}
@media(max-width:560px){.staff-performer{grid-template-columns:minmax(100px,1fr) repeat(3,42px)}.staff-performer .delete{grid-column:1/-1;justify-self:end}.hero strong{font-size:68px}}

/* 芸人ページ: 縦1カラムの進行表示とLeaflet地図 */
html,body{overflow-x:hidden}
.stage-card{margin-bottom:14px;padding:16px;text-align:center;border:1px solid var(--cyan);border-radius:16px;background:var(--panel)}
.stage-card span{display:block;color:var(--muted);font-size:13px;font-weight:800}
.stage-card strong{display:block;margin-top:3px;color:var(--cyan);font-size:30px}
#map{display:block;overflow:hidden;width:100%;height:330px;touch-action:pan-x pan-y}
.map-legend{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:10px 0 0;color:var(--muted);font-size:12px}
.legend-dot{display:inline-block;width:11px;height:11px;margin-right:-5px;border:2px solid #fff;border-radius:50%}
.venue-dot{background:var(--cyan)}.staff-dot{background:var(--pink)}.own-dot{background:#287cff}
.venue-number{border:0;background:transparent;box-shadow:none;color:#04222a;font-weight:900;font-size:11px}
.leaflet-control-attribution{max-width:85%;white-space:normal;text-align:right;font-size:9px}
.leaflet-container{font-family:inherit}

/* STAFFヘッダーは狭い画面でもタイトルを1行で保ち、説明を下段に置く */
.staff-appbar{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px}
.staff-appbar .ttl{white-space:nowrap}
.staff-appbar .sub{width:100%;white-space:normal;overflow-wrap:anywhere}

/* 改訂3: 芸人ページ＝紙のような白・手作り感（Fable直筆デザイン） */
html:has(.geinin-page){background:#e9e6df}
.geinin-page{background:#e9e6df;color:#22252b;font-size:17px;font-family:"Hiragino Sans","Noto Sans JP SV",-apple-system,BlinkMacSystemFont,sans-serif}
.geinin-shell{min-height:60vh}
.geinin-page .geinin-header,.geinin-shell{width:100%;max-width:480px;margin:0 auto;background:#fcfbf8;box-shadow:0 0 26px rgba(30,25,15,.10)}
.geinin-page .geinin-header{position:relative;padding:20px 14px 4px;text-align:center;border-bottom:0}
.geinin-logo{display:block;width:min(150px,42vw);height:auto;margin:0 auto 10px;transform:rotate(-2deg)}
.geinin-header h1{margin:0 auto 14px;color:#1c1e22;font-family:"Noto Sans JP SV","Hiragino Sans",sans-serif;font-weight:900;line-height:1.3;letter-spacing:.005em}
.geinin-header h1 .t-line1{display:inline;font-size:clamp(23px,6.4vw,27px);background:linear-gradient(transparent 64%,#ffe94d 64%);padding:0 2px}
.geinin-header h1 .t-line2{display:block;margin-top:2px;font-size:clamp(19px,5.2vw,22px);color:#3a3d44}
/* 現場写真＝各所に斜めに貼る背景飾り（切り抜かず全体を見せる） */
.deco-snap{position:absolute;z-index:0;margin:0;padding:5px 5px 15px;background:#fff;border:1px solid #e3ded2;box-shadow:0 3px 9px rgba(30,25,15,.20);pointer-events:none}
.deco-snap img{display:block;width:100%;height:auto}
.geinin-page .geinin-header,.geinin-shell,.tab-panel,.current-venue{overflow:visible}
.geinin-page .geinin-header{overflow:hidden}
.geinin-shell{overflow:hidden}
.deco-a{width:96px;top:6px;left:-20px;transform:rotate(-8deg)}
.deco-b{width:92px;top:12px;right:-18px;transform:rotate(7deg)}
.current-venue{position:relative}
.deco-c{width:88px;top:-34px;right:-16px;transform:rotate(9deg)}
.deco-d{position:static;display:block;width:118px;margin:6px 0 0 6px;transform:rotate(-5deg)}
.geinin-page .deco-a{width:106px;top:8px;left:-24px;transform:rotate(-9deg)}.geinin-page .deco-b{width:108px;top:7px;right:-23px;transform:rotate(8deg)}.geinin-page .deco-d{width:154px;margin:18px 4px 2px auto;transform:rotate(4deg)}.geinin-page .deco-d::after{content:"ロケ現場";position:absolute;right:8px;bottom:2px;color:#d9006c;font-size:10px;font-weight:900;letter-spacing:.08em}
.geinin-page .deco-main-mid{z-index:0;width:132px;top:55%;right:-24px;transform:rotate(6deg);opacity:.86}.geinin-page .tab-panel[data-panel="main"]>.current-venue,.geinin-page .tab-panel[data-panel="main"]>.geinin-card{position:relative;z-index:1}
.geinin-page .docs-panel{isolation:isolate;overflow:hidden}.geinin-page .docs-panel>:not(.tab-photo-collage){position:relative;z-index:2}.tab-photo-collage{position:absolute;z-index:0;inset:48px -14px 0;margin:0;pointer-events:none}.tab-photo-collage figure{position:absolute;width:42%;margin:0;padding:4px 4px 12px;background:#fff;border:1px solid #d4ccbc;box-shadow:0 6px 16px rgba(30,25,15,.3);opacity:.84}.tab-photo-collage figure:nth-child(1){top:3%;left:-4%;transform:rotate(-7deg)}.tab-photo-collage figure:nth-child(2){top:34%;right:-4%;transform:rotate(7deg)}.tab-photo-collage figure:nth-child(3){top:66%;left:-4%;transform:rotate(-5deg)}.tab-photo-collage figure:nth-child(4){top:86%;right:-4%;transform:rotate(6deg)}.tab-photo-collage img{display:block;width:100%;height:118px;object-fit:cover;object-position:center 32%}.tab-photo-collage figure::after{content:"";position:absolute;left:50%;top:-7px;width:38px;height:12px;transform:translateX(-50%) rotate(-2deg);background:rgba(255,225,76,.88)}.tab-photo-collage.three figure:nth-child(1) img{object-position:center 36%}.tab-photo-collage.three figure:nth-child(2) img{object-position:center 28%}.tab-photo-collage.three figure:nth-child(3) img{object-position:center 20%}.docs-panel[data-panel="performers"] .tab-photo-collage figure:nth-child(2) img{object-position:center 18%}.docs-panel[data-panel="performers"] .tab-photo-collage figure:nth-child(3) img{object-position:center 38%}.docs-panel[data-panel="rules"] .tab-photo-collage figure:nth-child(1) img,.docs-panel[data-panel="rules"] .tab-photo-collage figure:nth-child(2) img,.docs-panel[data-panel="rules"] .tab-photo-collage figure:nth-child(3) img{object-position:center 24%}.geinin-page .geinin-schedule,.geinin-page .geinin-performer-list,.geinin-page .geinin-rule,.geinin-page .rule-copy{background-color:rgba(255,255,255,.78)}
.geinin-page .content-photo{position:relative;z-index:2;display:block;width:58%;margin:20px 0;padding:5px 5px 15px;background:#fff;border:1px solid #d4ccbc;box-shadow:0 6px 16px rgba(30,25,15,.25)}.geinin-page .content-photo.left{margin-left:3%;transform:rotate(-3deg)}.geinin-page .content-photo.right{margin-right:3%;margin-left:auto;transform:rotate(3deg)}.geinin-page .content-photo img{display:block;width:100%;height:142px;object-fit:cover;object-position:center 30%}.geinin-page .content-photo img[src*="performers-02"],.geinin-page .content-photo img[src*="rules-03"]{object-position:center 18%}.geinin-page .content-photo::after{content:"";position:absolute;left:50%;top:-8px;width:42px;height:13px;transform:translateX(-50%) rotate(-2deg);background:rgba(255,225,76,.9)}.geinin-page .geinin-schedule,.geinin-page .geinin-performer-list,.geinin-page .geinin-rule,.geinin-page .rule-copy{background-color:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}.geinin-page .geinin-performer-list>.content-photo{width:58%;margin-top:22px;margin-bottom:22px}
.geinin-page .content-photo.top-photo{width:72%;margin:4px auto 22px;transform:rotate(-1.5deg)}.geinin-page .content-photo.top-photo img{height:158px;object-position:center 30%}
.geinin-page [data-panel="schedule"] .content-photo{width:78%}.geinin-page [data-panel="schedule"] .content-photo img{height:190px}.geinin-page [data-panel="schedule"] .content-photo.top-photo{width:88%}.geinin-page [data-panel="schedule"] .content-photo.top-photo img{height:210px}
.tab-panel{position:relative}
.header-inner{position:relative;min-height:118px}
.geinin-header h1,.geinin-logo{position:relative;z-index:1}
.current-venue .venue-label,.current-venue strong{position:relative;z-index:1}
/* タブ（スワイプ切替の見出し） */
.geinin-tabs{position:sticky;top:0;z-index:30;display:flex;background:#fcfbf8;border-top:1px solid #eee9df;border-bottom:2px solid #e3ded2}
.geinin-tabs button{flex:1 1 0;min-width:0;min-height:48px;margin:0;padding:0 1px;border:0;border-radius:0;background:none;color:#8d887d;font-size:clamp(11px,3.2vw,14px);font-weight:800;letter-spacing:0;white-space:nowrap}
.geinin-tabs button[aria-selected="true"]{color:#d9006c;box-shadow:inset 0 -4px 0 #d9006c}
.geinin-tabs button:active{transform:none;filter:none;background:#f5f2ea}
.tab-panels{padding:20px 14px 56px}
/* 見出しタグ（マスキングテープ風） */
.geinin-card h2,.doc-heading span{display:inline-block;margin:0 0 12px;padding:5px 12px 4px;background:#d9006c;color:#fff;font-size:13px;font-weight:800;letter-spacing:.06em;border-radius:3px;transform:rotate(-1.2deg)}
.map-card h2{background:#1b7f9e}.history-card h2{background:#33363d}
.geinin-card{margin:0 0 22px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.geinin-card>div,.geinin-card #map{background:#fff}
.message-card>div,.history-card>div{padding:4px 12px;background:#fff;border:1px solid #e3ded2;border-radius:10px;box-shadow:0 1px 4px rgba(30,25,15,.07)}
.geinin-message{padding:13px 2px;border-top:1px dashed #d8d2c4}
.geinin-message:first-child{border-top:0}
.geinin-message p{margin:0;color:#22252b;font-size:18px;font-weight:600;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.geinin-message time{display:block;margin-top:6px;color:#8d887d;font-size:12px;font-weight:600}
.geinin-empty{margin:0;padding:14px 2px;color:#6f6a60;font-size:15px;font-weight:600}
.geinin-page .new-badge{background:#d9006c;color:#fff;font-size:11px;vertical-align:2px;transform:none}
/* 現在のステージ（テロップ風・箱に入れない） */
.current-venue{margin:2px 0 24px;text-align:center}
.venue-label{display:flex;align-items:center;justify-content:center;gap:10px;color:#6f6a60;font-size:13px;font-weight:800;letter-spacing:.14em}
.venue-label::before,.venue-label::after{content:"";width:34px;height:1px;background:#b7b1a3}
.current-venue strong{display:inline-block;margin-top:6px;padding:0 6px;color:#1c1e22;font-family:"Noto Sans JP SV","Hiragino Sans",sans-serif;font-weight:900;font-size:clamp(25px,7vw,31px);line-height:1.35;word-break:keep-all;overflow-wrap:anywhere;background:linear-gradient(transparent 66%,#ffe94d 66%)}
/* MAP */
.geinin-page #map{height:300px;border:1px solid #d8d2c6;border-radius:10px;box-shadow:0 1px 4px rgba(30,25,15,.07)}
.geinin-page .map-legend{margin:10px 2px 0;color:#4a4d55;font-size:13px;font-weight:700}
.geinin-page .leaflet-control-attribution{color:#4a4d55;background:#fffffff0}
.geinin-map-recenter{margin-top:10px}
.geinin-map-recenter button{position:relative;overflow:hidden;min-height:48px;border:1.5px solid #bdb5a5;background:#fff;color:#24272e;font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif;font-size:15px;font-weight:900;box-shadow:0 3px 0 #d7d0c1;transition:transform .12s ease,box-shadow .12s ease,background .2s ease}
.geinin-map-recenter #mapToMe{border-color:#1b7f9e;background:#eef9fc;color:#0f5d73;box-shadow:0 3px 0 #b8dae2}
.geinin-map-recenter button:active{transform:translateY(3px) scale(.98);box-shadow:0 0 0 transparent;filter:none}
/* ネタ履歴 */
.neta-history-row{display:grid;grid-template-columns:auto minmax(0,1fr) 46px;gap:10px;align-items:center;padding:13px 2px;border-top:1px dashed #d8d2c4}
.neta-history-row:first-child{border-top:0}
.history-seq{padding:3px 8px;background:#f0ede4;border-radius:3px;color:#5c574c;font-size:12px;font-weight:800;white-space:nowrap}
.history-name{min-width:0;color:#1c1e22;font-size:19px;font-weight:800;overflow-wrap:anywhere}
.history-result{font-size:32px;font-weight:900;line-height:1;text-align:center}
.history-result.maru{color:#d9006c}.history-result.batsu{color:#1f5fa8}
.history-result.hold{color:#666}
/* 資料タブ（スケジュール・出演者・ルール） */
.doc-heading{margin-bottom:6px}
.doc-heading h2{margin:2px 0 14px;color:#1c1e22;font-family:"Noto Sans JP SV","Hiragino Sans",sans-serif;font-weight:900;font-size:24px}
.geinin-timeline{display:grid;grid-template-columns:auto 1fr;column-gap:12px;margin:0;background:#fff;border:1px solid #e3ded2;border-radius:10px;padding:6px 12px;box-shadow:0 1px 4px rgba(30,25,15,.07)}
.geinin-timeline dt,.geinin-timeline dd{margin:0;padding:11px 2px;border-top:1px dashed #d8d2c4;font-size:15px}
.geinin-timeline dt:first-of-type,.geinin-timeline dt:first-of-type+dd{border-top:0}
.geinin-timeline dt{color:#d9006c;font-weight:900;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.geinin-timeline dd{color:#22252b;font-weight:600}
.geinin-performer-list{display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:#fff;border:1px solid #e3ded2;border-radius:10px;box-shadow:0 1px 4px rgba(30,25,15,.07)}
.performer-help{margin:-8px 0 10px;color:#686d74;font-size:13px;font-weight:700}.geinin-performer-list .performer-chip{min-height:44px;padding:8px 11px;border:1px solid #dfe3e8;border-radius:9px;background:#f5f6f7;color:#22252b;font-size:15px;font-weight:700;text-align:left;box-shadow:0 2px 0 #dfe3e8}.performer-chip strong{display:block}.performer-detail{display:none;margin-top:4px;color:#d00066;font-size:13px;font-weight:900}.performer-chip[aria-expanded="true"]{width:100%;border-color:#d00066;background:#fff5fa;box-shadow:0 2px 0 #efb7d2}.performer-chip[aria-expanded="true"] .performer-detail{display:block}.performer-chip.eliminated{color:#777;background:#eceeef}.performer-chip.eliminated .performer-detail{color:#b3152d}
.geinin-rule{margin-bottom:10px;padding:13px 14px;background:#fff;border:1px solid #e3ded2;border-left:5px solid #d9006c;border-radius:8px;box-shadow:0 1px 4px rgba(30,25,15,.07)}
.geinin-rule.batsu{border-left-color:#1f5fa8}
.geinin-rule strong{font-size:19px;font-weight:900;color:#1c1e22}
.geinin-rule p{margin:4px 0 0;color:#4a4d55;font-size:15px;font-weight:600}
.rule-copy{margin:14px 2px;color:#4a4d55;font-size:15px;font-weight:600;line-height:1.7}
.geinin-pdf-link{display:block;margin-top:16px;padding:13px;border:1px dashed #b7b1a3;border-radius:8px;background:#fff;color:#22252b;font-weight:800;font-size:15px;text-align:center;text-decoration:none}
.geinin-pdf-link::before{content:"PDF ";color:#d9006c;font-weight:900}

/* STAFF: ネタ履歴の主入力 */
.neta-input-card{border:2px solid var(--cyan)}
.field-label{display:block;margin-bottom:6px;color:var(--text);font-weight:800}
#historyPerformer{width:100%;min-height:50px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--panel2);color:var(--text);font:inherit;font-weight:800}
.result-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 18px}
.result-buttons button{height:76px;border-width:2px;font-size:42px}
.result-maru{border-color:var(--ok,#27c281);background:#12623f;color:#fff}
.result-batsu{border-color:var(--danger);background:#761f30;color:#fff}
.neta-input-card h3{margin:0 0 8px;color:var(--cyan);font-size:14px}
.staff-history-row{display:flex;gap:8px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.staff-history-summary{flex:1;min-width:0}
.staff-history-summary small,.staff-history-result{display:block}
.staff-history-result{color:var(--text);font-size:16px;overflow-wrap:anywhere}
.staff-history-result.maru{color:#56dfa5}.staff-history-result.batsu{color:#ff7180}
.history-undo,.history-delete{flex:none;color:var(--danger);border-color:var(--danger);font-size:13px}
.staff-history-row{cursor:pointer;transition:background .16s ease,border-color .16s ease}
.staff-history-row.selected{border-color:#d9304f;background:#fff7f8}
.staff-history-row:focus-visible{outline:3px solid #76b8ca;outline-offset:2px}

@media(max-width:420px){.photo-row .snap img{height:56px}.neta-history-row{gap:7px}.history-name{font-size:18px}}

/* 改訂3: STAFFページも芸人ページと同じ手作り感の紙デザインに統一 */
html:has(.staff-page){background:#e9e6df}
.staff-page{background:#e9e6df;color:#22252b;font-size:17px;font-family:"Hiragino Sans","Noto Sans JP SV",-apple-system,BlinkMacSystemFont,sans-serif}
.staff-page .staff-header,.staff-page .wrap{width:100%;max-width:480px;margin:0 auto;background:#fcfbf8}
.staff-header{position:relative;overflow:hidden;padding:20px 14px 12px;text-align:center;border-bottom:0;box-shadow:0 0 26px rgba(30,25,15,.10)}
.staff-header .header-inner{position:relative;min-height:118px}
.staff-logo{display:block;width:min(150px,42vw);height:auto;margin:0 auto 10px;transform:rotate(-2deg);position:relative;z-index:1}
.staff-header h1{position:relative;z-index:1;margin:0;color:#1c1e22;font-weight:900;line-height:1.25}
.staff-header h1 .t-line1{display:inline;font-size:clamp(23px,6.6vw,29px);background:linear-gradient(transparent 64%,#ffe94d 64%);padding:0 4px}
.staff-header p{position:relative;z-index:1;margin:9px 0 0;color:#5c574c;font-size:14px;font-weight:800}
.staff-page .wrap{position:relative;padding:20px 14px 56px;box-shadow:0 0 26px rgba(30,25,15,.10)}
/* カード＝白い紙片＋マスキングテープ見出し */
.staff-page .card{position:relative;margin:0 0 22px;padding:15px 14px;background:#fff;border:1px solid #e3ded2;border-radius:10px;box-shadow:0 2px 7px rgba(30,25,15,.10)}
.staff-page .card h2{display:inline-block;margin:-26px 0 14px -6px;padding:5px 12px 4px;background:#d9006c;color:#fff;font-size:13px;font-weight:800;letter-spacing:.05em;border-radius:3px;transform:rotate(-1.2deg);box-shadow:0 2px 5px rgba(30,25,15,.18)}
.staff-page .neta-input-card h2{background:#1b7f9e}
.staff-page .card h3{margin:14px 0 8px;color:#5c574c;font-size:14px;font-weight:800}
.staff-page .sub,.staff-page .note,.staff-page small{color:#6f6a60}
.staff-page button{border:2px solid #c9c2b4;border-radius:9px;background:#fff;color:#22252b;font-weight:900}
.staff-page button:focus-visible,.staff-page input:focus-visible,.staff-page textarea:focus-visible,.staff-page select:focus-visible{outline:3px solid #1b7f9e;outline-offset:2px}
.staff-page input,.staff-page textarea,.staff-page select,.staff-page #historyPerformer{border:2px solid #c9c2b4;border-radius:9px;background:#fdfcf9;color:#1c1e22;font-weight:700}
.staff-page input::placeholder,.staff-page textarea::placeholder{color:#8d887d;opacity:1}
.staff-page form>button,.staff-page .add-row button,.staff-page #locationToggle,.staff-page #copyUrl{border-color:#a80058;background:#d9006c;color:#fff}
.staff-page .stage-buttons button{background:#fff;color:#22252b}
.staff-page .stage-buttons button.active{border-color:#a80058;background:#d9006c;color:#fff}
.staff-page .big-step strong{color:#c05a00}
.staff-page .big-step button{border-color:#c9c2b4;background:#f6f3ec;color:#1c1e22}
.staff-page .step{border-color:#c9c2b4;background:#f6f3ec;color:#1c1e22}
.staff-page .step.plus{border-color:#a80058;background:#d9006c;color:#fff}
.staff-page #undoNeta{border-color:#1b7f9e;color:#186079}
.staff-page .neta-input-card{border:1px solid #b6e0ea}
.staff-page .field-label{color:#22252b;font-size:15px;font-weight:800}
.staff-page .result-maru{border-color:#006c43;background:#007a4d;color:#fff}
.staff-page .result-batsu{border-color:#9e172b;background:#c51d36;color:#fff}
.staff-page .result-buttons button:disabled{border-color:#c9c2b4;background:#ece8df;color:#8d887d;opacity:1}
.staff-page .result-buttons{grid-template-columns:repeat(3,1fr)}
.staff-page .result-hold{background:linear-gradient(#777,#53565d);color:#fff;box-shadow:0 7px 0 #35373c,inset 0 2px 0 rgba(255,255,255,.35)}
.staff-page .candidate-status-note{display:flex;gap:16px;margin:8px 0 3px;font-size:13px;font-weight:900}.candidate-status-note span::before{content:"";display:inline-block;width:13px;height:13px;margin-right:5px;border-radius:3px;vertical-align:-2px}.candidate-status-note .unattempted::before{background:#fff1a8}.candidate-status-note .attempted::before{background:#d9eedf}
.staff-page .candidate.unattempted{background:#fff1a8;border-color:#d6b84c}.staff-page .candidate.attempted{background:#d9eedf;border-color:#88b895}.staff-page .candidate.on{border-color:#d9006c;background:#d9006c;color:#fff}
.staff-page .staff-history-row{border-top:1px dashed #d8d2c4}
.staff-page .staff-history-result{color:#1c1e22}
.staff-page .staff-history-result.maru{color:#007047}.staff-page .staff-history-result.batsu{color:#c01835}
.staff-page .staff-history-result.hold{color:#555}
.staff-page .history-undo,.staff-page .history-delete,.staff-page .delete{border-color:#c01835;background:#fff;color:#c01835}
.staff-page .staff-performer{border-bottom:1px dashed #d8d2c4;background:none}
.staff-page .staff-performer.eliminated{opacity:1;filter:none;background:#f2efe8;color:#8d887d}
.staff-page .performer-info small{color:#6f6a60}
.staff-page .name-button{border:0;background:transparent;color:#1c1e22;font-weight:800}
.staff-page .staff-performer.eliminated .name-button,.staff-page .staff-performer.eliminated .performer-info small{color:#8d887d}
.staff-page .eliminate{border-color:#c01835;background:#fff;color:#c01835}
.staff-page .eliminate.active{border-color:#9e172b;background:#c51d36;color:#fff}
.staff-page .message{border:1px dashed #d8d2c4;background:#fdfcf9;color:#1c1e22}
.staff-page .message p{color:#1c1e22}
.staff-page a{color:#186079;font-weight:800;overflow-wrap:anywhere}
.staff-page .toast{border:1px solid #fff;background:#1c1e22;color:#fff}
/* STAFFヘッダーの散らし写真 */
.staff-header .deco-a{width:92px;top:6px;left:-18px;transform:rotate(-8deg)}
.staff-header .deco-b{width:88px;top:12px;right:-16px;transform:rotate(7deg)}
.staff-page .deco-c{position:absolute;z-index:0;width:96px;top:-30px;right:-14px;transform:rotate(9deg);margin:0;padding:5px 5px 15px;background:#fff;border:1px solid #e3ded2;box-shadow:0 3px 9px rgba(30,25,15,.20);pointer-events:none}
.staff-page .deco-c img{display:block;width:100%;height:auto}
.staff-page .card,.staff-page .add-row,.staff-page form{position:relative;z-index:1}

@media(max-width:420px){.staff-page .card{padding:14px}}

/* タブ切替の滑らかさと資料タブの安定高さ */
.tab-panel{animation:tab-in-right .34s cubic-bezier(.2,.85,.3,1)}
.tab-panel[hidden]{display:none}
.tab-panel.enter-left{animation-name:tab-in-left}.tab-panel.enter-right{animation-name:tab-in-right}
@keyframes tab-in-right{from{opacity:.15;transform:translateX(28px) scale(.985)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes tab-in-left{from{opacity:.15;transform:translateX(-28px) scale(.985)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes tab-in{from{opacity:.25;transform:translateX(9px)}to{opacity:1;transform:translateX(0)}}
.geinin-shell.is-swiping .tab-panel.active{transform:translateX(var(--swipe-x));transition:none;filter:brightness(.985)}
.geinin-tabs button{position:relative;overflow:hidden;transition:color .2s ease,background .2s ease,transform .14s ease}
.geinin-tabs button[aria-selected="true"]{animation:tab-pop .3s cubic-bezier(.2,1.5,.4,1)}
@keyframes tab-pop{0%{transform:scale(.92)}100%{transform:scale(1)}}
.tap-ripple{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:rgba(217,0,108,.18);pointer-events:none;animation:tap-ripple .5s ease-out forwards}
@keyframes tap-ripple{to{transform:scale(18);opacity:0}}
@media(prefers-reduced-motion:reduce){.tab-panel,.geinin-tabs button[aria-selected="true"],.tap-ripple{animation:none!important}.geinin-map-recenter button{transition:none}.geinin-shell.is-swiping .tab-panel.active{transform:none}}
.docs-panel{min-height:480px}
.geinin-tabs{z-index:500}

/* 改訂5: 本番中バナー（録画中風・点滅） */
.onair-banner{position:sticky;top:52px;z-index:490;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 12px 12px;padding:15px;background:#c1122a;color:#fff;font-weight:900;font-size:28px;letter-spacing:.12em;border:3px solid #fff;border-radius:12px;box-shadow:0 8px 24px rgba(160,10,30,.48);animation:onair-live-pulse 1.4s ease-in-out infinite}
.onair-banner[hidden]{display:none}
.onair-dot{width:13px;height:13px;background:#fff;border-radius:50%;animation:onair-blink 1s steps(1) infinite}
@keyframes onair-blink{0%,50%{opacity:1}51%,100%{opacity:.15}}
@keyframes onair-live-pulse{0%,100%{box-shadow:0 8px 24px rgba(160,10,30,.38)}50%{box-shadow:0 8px 30px rgba(220,0,45,.7)}}
.onair-banner.before{padding:10px;border:1px solid #d7dce2;background:#eef1f4;color:#555b63;font-size:16px;box-shadow:0 3px 10px rgba(20,28,38,.1);animation:none}.onair-banner.before .onair-dot{width:10px;height:10px;background:#8d949d;animation:none}
.onair-banner.test{background:#6d35c5;box-shadow:0 8px 24px rgba(84,38,160,.48)}.onair-banner.test .onair-dot{background:#ffe45c}

/* 改訂5: メッセージの流れるテロップ */
.msg-ticker{overflow:hidden;margin:0 0 22px;padding:11px 0;background:#1c1e22;border-radius:8px;white-space:nowrap}
.msg-ticker.is-empty{background:#f0ede4}
.msg-track{display:inline-block;white-space:nowrap;will-change:transform}
.msg-run{display:inline-block;padding-right:0;color:#fff;font-size:18px;font-weight:800;letter-spacing:.01em}
.msg-run+.msg-run{margin-left:4rem}
.msg-ticker.is-empty .msg-run,.msg-ticker.is-empty .msg-item{color:#8d887d}
.msg-item{display:inline-block;padding:0 14px;font-size:16px;font-weight:700}
@keyframes msg-scroll{from{transform:translateX(100vw)}to{transform:translateX(-100%)}}

/* 改訂5: STAFF 本番ボタン */
.staff-page .onair-card #onairToggle{width:100%;min-height:54px;margin-top:6px;border-color:#8a0c1f;background:#c1122a;color:#fff;font-size:18px}
.staff-page .onair-card #onairToggle.is-live{background:#fff;border-color:#c1122a;color:#c1122a}
.staff-page .onair-card #onairToggle.is-live::before{content:"■ ";}

/* 改訂4: 地図の番号ピン */
.spot-pin{background:none;border:0}
.spot-pin span{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#d9006c;color:#fff;font-weight:900;font-size:19px;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 8px rgba(30,25,15,.5);cursor:pointer}
.spot-photo-popup{display:grid;gap:8px;min-width:220px}.spot-photo-popup strong{font-size:16px}.spot-photo-popup img{display:block;width:100%;max-height:260px;border-radius:8px;object-fit:contain;background:#eee}.spot-photo-popup p{margin:0;font-size:14px;line-height:1.5}

/* 改訂4: 芸人ページ 資料タブ（地点メモのギャラリー） */
.shiryo-list{display:flex;flex-direction:column;gap:16px}
.shiryo-card{background:#fff;border:1px solid #e3ded2;border-radius:10px;box-shadow:0 2px 7px rgba(30,25,15,.10);overflow:hidden}
.shiryo-head{display:flex;align-items:center;gap:10px;padding:12px 14px 0}
.shiryo-num{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#d9006c;color:#fff;font-weight:900;border-radius:50%;flex:none}
.shiryo-floor{padding:3px 10px;background:#f0ede4;border-radius:4px;color:#5c574c;font-size:14px;font-weight:800}
.shiryo-photo{margin:12px 0 0}
.shiryo-photo img{display:block;width:100%;height:auto}
.shiryo-comment{margin:0;padding:12px 14px 14px;color:#22252b;font-size:16px;font-weight:600;line-height:1.6}

/* 改訂4: STAFF 地点登録 */
.staff-page .spot-card{position:relative;z-index:1}
.staff-page .spot-capture{display:flex;align-items:center;gap:12px;margin:12px 0}
.staff-page #spotCapture{border-color:#1b7f9e;background:#eaf7fb;color:#0f5468;min-height:48px}
.staff-page .spot-captured{color:#5c574c;font-size:13px;font-weight:700;overflow-wrap:anywhere}
.staff-page #spotSubmit{width:100%;margin-top:14px;min-height:50px;border-color:#a80058;background:#d9006c;color:#fff}
.staff-page #spotSubmit:disabled{border-color:#c9c2b4;background:#ece8df;color:#8d887d}
.staff-page #spotPhoto{padding:9px 12px;font-weight:600}
.staff-page .spot-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:11px 0;border-top:1px dashed #d8d2c4}
.staff-page .spot-row-num{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#d9006c;color:#fff;font-weight:900;border-radius:50%}
.staff-page .spot-row-info{min-width:0}
.staff-page .spot-row-info strong{display:block;color:#1c1e22;font-weight:800;overflow-wrap:anywhere}
.staff-page .spot-row-info small{color:#6f6a60}
.staff-page .spot-row.spot-hidden{opacity:.55}
.staff-page .spot-toggle{border-color:#c9c2b4;background:#f6f3ec;color:#5c574c;font-size:12px;padding:8px 10px}
.staff-page .spot-toggle.on{border-color:#1b7f9e;background:#1b7f9e;color:#fff}

/* ===== 改訂6(2026-07-25): STAFF操作盤を作り直し＝AI感排除・操作盤として設計 ===== */
/* 紙の質感は活かしつつ、色の騒がしさを消し、情報の強弱と落ち着いた操作系にする */
.staff-page{background:#e6e2d8}
.staff-page .staff-header,.staff-page .wrap{max-width:500px}
.staff-page .staff-header{padding:20px 16px 14px}
.staff-page .staff-header h1 .t-line1{font-size:clamp(21px,6vw,27px);background:linear-gradient(transparent 62%,#ffe94d 62%)}
.staff-page .staff-header p{margin-top:8px;color:#6b665b;font-size:12.5px;font-weight:700;letter-spacing:.02em}
.staff-page .wrap{padding:22px 16px 60px}

/* カード=白い操作面。角丸控えめ・柔らかい影・派手な枠をやめる */
.staff-page .card{margin:0 0 18px;padding:17px 16px 18px;background:#fff;border:1px solid #e2dccc;border-radius:12px;box-shadow:0 1px 2px rgba(40,32,15,.04),0 6px 18px rgba(40,32,15,.06)}
/* 見出し=編集的な小ラベル＋濃い罫線（マスキングテープ廃止） */
.staff-page .card h2{display:flex;align-items:center;gap:9px;margin:0 0 15px;padding:0 0 10px;background:none;color:#1b1d24;font-size:15px;font-weight:900;letter-spacing:.04em;border-bottom:2px solid #1b1d24;border-radius:0;transform:none;box-shadow:none}
.staff-page .card h2::before{content:"";width:8px;height:16px;background:#d9006c;border-radius:1px}
.staff-page .card h3{margin:18px 0 9px;color:#3a3d44;font-size:12.5px;font-weight:900;letter-spacing:.06em;text-transform:none}
.staff-page .note{color:#6b665b;font-size:12.5px;font-weight:600;line-height:1.6}

/* ボタン基調=落ち着いたインク。ピンクは主操作だけに絞る */
.staff-page button{border:1.5px solid #cbc4b4;border-radius:9px;background:#fff;color:#1b1d24;font-weight:800;transition:transform .04s}
.staff-page button:active{transform:translateY(1px);filter:none}

/* 本番=主役の赤（唯一の強い色） */
.staff-page .onair-card{border-color:#e6bcc3}
.staff-page .onair-card h2::before{background:#c1122a}
.staff-page .onair-card #onairToggle{width:100%;min-height:56px;margin-top:12px;border:0;background:#c1122a;color:#fff;font-size:18px;letter-spacing:.06em;box-shadow:0 4px 0 #8a0c1f}
.staff-page .onair-card #onairToggle:active{box-shadow:0 1px 0 #8a0c1f;transform:translateY(3px)}
.staff-page .onair-card #onairToggle.is-live{background:#fff;border:2px solid #c1122a;color:#c1122a;box-shadow:0 4px 0 #e6bcc3}

/* ステージ=一体のセグメント切替 */
.staff-page .stage-buttons{gap:0;border:1.5px solid #1b1d24;border-radius:10px;overflow:hidden}
.staff-page .stage-buttons button{border:0;border-right:1.5px solid #1b1d24;border-radius:0;background:#fff;color:#1b1d24;font-size:16px;letter-spacing:.04em}
.staff-page .stage-buttons button:last-child{border-right:0}
.staff-page .stage-buttons button.active{background:#1b1d24;color:#fff}
.staff-page #liveStageButtons button{min-height:52px;padding:7px 4px;font-size:14px;line-height:1.2}.staff-page #currentStageName{margin-left:auto;color:#b00056;font-size:14px;letter-spacing:0;text-align:right}
.staff-page .schedule-original-link{display:block;margin:-4px 0 13px;padding:11px;border:1.5px solid #1b7f9e;border-radius:10px;background:#eef8fb;color:#0f5468;font-size:15px;font-weight:900;text-align:center;text-decoration:none}

/* ネタ番号=大きな表示数字＋控えめステッパー */
.staff-page .big-step{gap:22px;margin-top:18px}
.staff-page .big-step strong{min-width:64px;font-size:46px;font-weight:900;color:#1b1d24}
.staff-page .big-step button{width:60px;height:54px;border:1.5px solid #1b1d24;background:#fff;color:#1b1d24;font-size:26px}
.staff-page #undoNeta{display:block;width:100%;margin-top:14px;border-color:#cbc4b4;background:#faf8f3;color:#6b665b;font-size:13px;font-weight:800}

/* 合否=左右で意味が伝わる大ボタン（彩度を少し落として上品に） */
.staff-page .result-buttons button{height:72px;border-width:0;font-size:38px;border-radius:11px}
.staff-page .result-maru{background:#0a7048;color:#fff;box-shadow:0 4px 0 #05502f}
.staff-page .result-batsu{background:#b31f34;color:#fff;box-shadow:0 4px 0 #841626}
.staff-page .result-buttons button:active{transform:translateY(3px)}
.staff-page .result-buttons button:disabled{background:#ece8df;color:#a49e90;box-shadow:none}

/* 芸人一覧=操作盤らしい静かなロスター（28行の騒がしさを消す） */
.staff-page #performers{margin:-2px 0 2px;border-top:1px solid #eae4d7}
.staff-page .staff-performer{grid-template-columns:minmax(0,1fr) 40px 40px 38px;gap:7px;align-items:center;padding:11px 1px;border-bottom:1px solid #eae4d7;background:none}
.staff-page .staff-performer .name-button{font-size:16.5px;font-weight:800;color:#1b1d24;letter-spacing:.01em}
.staff-page .performer-info small{margin-top:2px;color:#8a8577;font-size:12px;font-weight:700}
/* ステッパー=四角い枠のみ・−は無彩色 / ＋（マル加算）だけピンクで主張 */
.staff-page .staff-performer .step{width:40px;height:40px;border:1.5px solid #cbc4b4;background:#fff;color:#1b1d24;font-size:22px;border-radius:9px;padding:0}
.staff-page .staff-performer .step.plus{border-color:#d9006c;background:#d9006c;color:#fff}
/* ×脱落=赤の輪郭トグル / 削除=極小の控えめ */
.staff-page .staff-performer .eliminate{width:38px;height:40px;border:1.5px solid #d7b3ba;background:#fff;color:#b31f34;font-size:17px;border-radius:9px}
.staff-page .staff-performer .eliminate.active{border-color:#b31f34;background:#b31f34;color:#fff}
.staff-page .staff-performer .delete{grid-column:1/-1;justify-self:end;margin-top:-4px;min-height:0;padding:3px 8px;border:0;background:none;color:#a49e90;font-size:11.5px;font-weight:700;text-decoration:underline}
.staff-page .staff-performer.eliminated{opacity:1;background:#f4f1ea}
.staff-page .staff-performer.eliminated .name-button{color:#8a8577}
.staff-page .add-row{margin-top:16px;gap:9px}
.staff-page .add-row input{flex:1}
.staff-page .add-row button{flex:none;border:1.5px solid #1b1d24;background:#1b1d24;color:#fff;padding:0 18px}

/* 入力欄=紙に馴染む枠 */
.staff-page input,.staff-page textarea,.staff-page select{border:1.5px solid #cbc4b4;border-radius:9px;background:#fdfcf9;font-weight:700}
.staff-page #messageDuration{width:100%;min-height:48px;padding:10px 12px;color:#22252b}
.staff-page #messageForm>button{width:100%;margin-top:12px}
.staff-page textarea{min-height:84px}
.staff-page .field-label{margin-top:14px;color:#3a3d44;font-size:13px;font-weight:800}
.staff-page form>button,.staff-page #copyUrl{border:0;background:#1b1d24;color:#fff}
.staff-page #locationToggle{border:1.5px solid #1b7f9e;background:#eef8fb;color:#0f5468}

/* ネタ履歴・地点・メッセージの各行=白背景に馴染ませ、境界はヘアライン */
.staff-page .neta-input-card{border-color:#bfe3ec}
.staff-page .neta-input-card h2::before{background:#1b7f9e}
.staff-page .staff-history-row,.staff-page .spot-row,.staff-page .message{border-color:#eae4d7}
.staff-page #geininLink{display:block;margin-bottom:10px;padding:11px 12px;background:#faf8f3;border:1px dashed #cbc4b4;border-radius:8px;font-size:13px}
.staff-page #copyUrl{width:100%}

/* 情報の呼吸=装飾写真はヘッダーの外に散らさず控えめに */
.staff-page .deco-c{opacity:.9}

/* 改訂6-2: STAFFヘッダー＝収録タイトル＋収録日 */
.staff-page .staff-header h1 .t-line1{font-size:clamp(18px,4.9vw,23px);line-height:1.35;background:linear-gradient(transparent 66%,#ffe94d 66%);box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:0 3px}
.staff-page .rec-date{margin-top:11px;color:#3a3d44;font-size:13px;font-weight:900;letter-spacing:.04em}

/* 改訂6-3: STAFFヘッダーを芸人ページと同じ2行組みに揃える／空メッセージ枠の黒帯を解消 */
.staff-page .staff-header h1{margin:0 auto 2px;line-height:1.3}
.staff-page .staff-header h1 .t-line1{display:inline;font-size:clamp(20px,5.4vw,25px);background:linear-gradient(transparent 64%,#ffe94d 64%);padding:0 3px}
.staff-page .staff-header h1 .t-line2{display:block;margin-top:4px;color:#3a3d44;font-size:clamp(16px,4.3vw,20px);font-weight:900}
/* 芸人ページ: メッセージが無いときはテロップ枠ごと隠す（黒帯を出さない） */
.msg-ticker.is-empty{display:none}

/* ===== 改訂7(2026-07-25): 手作り感を出す＝手書き風フォント＋紙の質感＋手描きの不揃い（AI感の一掃） ===== */
@font-face{font-family:"Yusei Magic SV";src:url("/sv/asset/vendor/fonts/yusei-magic-subset.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
/* 本文＝Apple端末の丸ゴシックで温かみ（iPhone実機が主戦場）。見出し/ラベル/ボタン＝手書きマーカー */
.geinin-page,.staff-page{font-family:"Hiragino Maru Gothic ProN","ヒラギノ丸ゴ ProN W4","Yu Gothic","YuGothic",-apple-system,sans-serif}
.geinin-page h1,.geinin-page h2,.geinin-page h3,.staff-page h1,.staff-page h2,.staff-page h3,
.geinin-page .venue-label,.geinin-page .current-venue strong,.staff-page .field-label,
.geinin-page .doc-heading h2,.geinin-page .doc-heading span,.geinin-page .rule-copy,
.geinin-page .geinin-rule strong,.staff-page .rec-date,.geinin-tabs button,.staff-page .note,
.geinin-page .map-legend,.staff-page button,.geinin-page .msg-run,.geinin-page .msg-item,
.staff-page .staff-header p,.onair-banner,.geinin-page .history-seq,.staff-page .spot-captured,
.staff-page .field-label,.geinin-page .shiryo-floor,.staff-page .stage-buttons button,
.staff-page .big-step strong,.geinin-page .history-name,.staff-page .name-button{
  font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN","Yu Gothic",sans-serif}
/* タイトルの蛍光ライン：手描き風に少し傾ける */
.geinin-header h1 .t-line1,.staff-page .staff-header h1 .t-line1{transform:rotate(-1deg);display:inline-block}
.geinin-header h1 .t-line2,.staff-page .staff-header h1 .t-line2{transform:rotate(.6deg)}

/* 紙の質感：かすかな粒状ノイズ（外部依存なし・インラインSVG） */
.geinin-page .geinin-header,.geinin-shell,.staff-page .staff-header,.staff-page .wrap{
  background-color:#fcfbf7;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E")}
.staff-page,html:has(.staff-page){background-color:#e7e2d6}
.geinin-page,html:has(.geinin-page){background-color:#e7e2d6}

/* 手描きの不揃い：カードの角を左右で微妙に変え、切り貼り感を出す */
.staff-page .card{border-radius:15px 12px 16px 11px/12px 16px 11px 15px;border-color:#dfd8c6}
.staff-page .card:nth-of-type(even){border-radius:12px 15px 11px 16px/15px 11px 16px 12px}
.geinin-page .geinin-card>div,.geinin-page .message-card>div,.geinin-page .history-card>div,
.geinin-page .shiryo-card,.geinin-page .geinin-timeline,.geinin-page .geinin-performer-list,
.geinin-page .geinin-rule{border-radius:13px 11px 14px 10px/11px 14px 10px 13px}
/* マスキングテープ見出し（芸人）を少しめくれさせる */
.geinin-card h2,.doc-heading span,.geinin-page .shiryo-num,.geinin-page .history-card h2{box-shadow:1px 2px 3px rgba(30,25,15,.22)}
/* セクション見出し（スタッフ）の四角タブを手描きの塗り風に */
.staff-page .card h2::before{border-radius:1px 2px 1px 2px;transform:rotate(-3deg)}

/* ボタンの角も少し不揃いにして機械感を消す */
.staff-page button{border-radius:10px 8px 11px 9px/9px 11px 8px 10px}
.staff-page .stage-buttons{border-radius:11px 10px 12px 9px}

/* ===== 改訂8(2026-07-25): 文字拡大・立体ボタン・演出(エフェクト)10種 ===== */
/* --- 文字を全体的に大きく --- */
.geinin-page{font-size:18.5px}
.staff-page{font-size:18px}
.staff-page .card h2{font-size:17px}
.staff-page .note{font-size:14px}
.staff-page .field-label{font-size:15px}
.staff-page button{font-size:17px}
.staff-page .name-button{font-size:18px}
.staff-page .performer-info small{font-size:13.5px}
.geinin-page .geinin-card h2,.geinin-page .doc-heading h2{font-size:23px}
.geinin-page .geinin-message p,.geinin-page .history-name{font-size:20px}
.geinin-page .msg-run{font-size:20px}
.geinin-tabs button{font-size:clamp(12px,3.6vw,16px)}
.geinin-page .current-venue strong{font-size:clamp(27px,7.6vw,34px)}
.geinin-page .shiryo-comment,.geinin-page .geinin-timeline dd{font-size:17px}

/* --- 立体感のあるボタン（押し心地までこだわる） --- */
.staff-page button{position:relative;border-bottom-width:1.5px;box-shadow:0 3px 0 rgba(40,32,15,.16),inset 0 1px 0 rgba(255,255,255,.6);transition:transform .05s,box-shadow .05s}
.staff-page button:active{transform:translateY(3px);box-shadow:0 0 0 rgba(40,32,15,.16),inset 0 1px 0 rgba(255,255,255,.4)}
.staff-page .onair-card #onairToggle{box-shadow:0 5px 0 #8a0c1f,inset 0 1px 0 rgba(255,255,255,.3)}
.staff-page .onair-card #onairToggle:active{box-shadow:0 1px 0 #8a0c1f}
.staff-page .stage-buttons button{box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.staff-page .stage-buttons button.active{box-shadow:inset 0 2px 4px rgba(0,0,0,.35)}
.staff-page .staff-performer .step.plus{box-shadow:0 3px 0 #9c0050,inset 0 1px 0 rgba(255,255,255,.4)}
.staff-page .staff-performer .step.plus:active{box-shadow:0 0 0 #9c0050}
.staff-page .result-buttons button{box-shadow:0 5px 0 rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.35)}
.staff-page .result-buttons button:active{box-shadow:0 1px 0 rgba(0,0,0,.28)}

/* --- 演出ボタン（スタッフ）：色分け＋立体 --- */
.fx-card .fx-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:12px}
.staff-page .fx-btn{min-height:58px;padding:8px 6px;border:0;border-radius:12px 10px 13px 9px;color:#fff;font-weight:900;font-size:16px;letter-spacing:.02em;line-height:1.2}
.staff-page .fx-btn-start{background:linear-gradient(#19c3e6,#0e8fac);box-shadow:0 5px 0 #0a6a80,inset 0 1px 0 rgba(255,255,255,.4)}
.staff-page .fx-btn-eliminate{background:linear-gradient(#33373f,#181b21);box-shadow:0 5px 0 #050608,inset 0 1px 0 rgba(255,255,255,.2)}
.staff-page .fx-btn-alarm{background:linear-gradient(#e23a3a,#b31f1f);box-shadow:0 5px 0 #7d1414,inset 0 1px 0 rgba(255,255,255,.3)}
.staff-page .fx-btn-oneminute{background:linear-gradient(#f0a020,#c47908);box-shadow:0 5px 0 #8a5405,inset 0 1px 0 rgba(255,255,255,.4);color:#3a2400}
.staff-page .fx-btn-finale{background:linear-gradient(#f0c020,#d99a0a);box-shadow:0 5px 0 #a06e05,inset 0 1px 0 rgba(255,255,255,.5);color:#4a3400}
.staff-page .fx-btn-prize{background:linear-gradient(#3fbf6f,#1e8f49);box-shadow:0 5px 0 #146133,inset 0 1px 0 rgba(255,255,255,.35)}
.staff-page .fx-btn-suspense{background:linear-gradient(#6a4bd0,#4a2ba6);box-shadow:0 5px 0 #331d78,inset 0 1px 0 rgba(255,255,255,.3)}
.staff-page .fx-btn-applause{background:linear-gradient(#ff8bb0,#e0507f);box-shadow:0 5px 0 #a83359,inset 0 1px 0 rgba(255,255,255,.4);color:#3a0a1e}
.staff-page .fx-btn-locate{background:linear-gradient(#d9006c,#a80054);box-shadow:0 5px 0 #79003b,inset 0 1px 0 rgba(255,255,255,.3)}
.staff-page .fx-btn-chance{background:linear-gradient(#ff5aa0,#f0c020);box-shadow:0 5px 0 #b06a10,inset 0 1px 0 rgba(255,255,255,.45);color:#3a1030}
.staff-page .fx-btn:active{transform:translateY(4px);box-shadow:0 1px 0 rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.3)}

/* --- 演出レイヤー（芸人・全画面） --- */
.fx-layer{position:fixed;inset:0;z-index:99999;display:none;overflow:hidden;pointer-events:none}
.fx-layer.on{display:block}
.fx-layer.fx-dark{background:rgba(6,6,10,.82)}
.fx-layer.fx-alarm{animation:fx-alarmbg .5s steps(1) infinite}
@keyframes fx-alarmbg{0%,50%{background:rgba(200,0,0,.42)}51%,100%{background:rgba(200,0,0,0)}}
/* フラッシュ */
.fx-flash{position:absolute;inset:0;background:#fff;animation:fx-flash .5s ease-out forwards}
.fx-flash.fx-amber{background:#ffd24a}.fx-flash.fx-gold{background:#ffe27a}
@keyframes fx-flash{0%{opacity:.95}100%{opacity:0}}
/* 速度線 */
.fx-speedlines{position:absolute;inset:-20%;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,0) 0deg,rgba(255,255,255,0) 3deg,rgba(25,195,230,.5) 3.4deg,rgba(255,255,255,0) 4deg);animation:fx-spin 1.6s linear,fx-fadeout 2.2s forwards;transform-origin:50% 50%}
@keyframes fx-spin{to{transform:rotate(60deg)}}
@keyframes fx-fadeout{0%,60%{opacity:.9}100%{opacity:0}}
/* スラム文字（カットイン） */
.fx-slam{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;padding:0 16px}
.fx-slam span{display:inline-block;font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif;font-weight:900;font-size:clamp(44px,15vw,110px);line-height:1.05;color:#fff;-webkit-text-stroke:3px #111;paint-order:stroke fill;text-shadow:0 6px 0 rgba(0,0,0,.35),0 0 26px rgba(0,0,0,.5);animation:fx-slam 2.2s cubic-bezier(.2,1.4,.35,1) forwards}
.fx-slam.fx-cyan span{color:#37e0ff}.fx-slam.fx-red span{color:#ff4d5e}.fx-slam.fx-gold span{color:#ffd233}.fx-slam.fx-amber span{color:#ffbe2e}
.fx-slam.fx-alarm-text{padding-inline:8px}.fx-slam.fx-alarm-text span{max-width:100%;white-space:nowrap;font-size:clamp(28px,10.5vw,76px);letter-spacing:-.04em}
.fx-slam .fx-clock{display:block;font-size:.7em;-webkit-text-stroke:0;text-shadow:none;margin-bottom:-6px}
@keyframes fx-slam{0%{transform:scale(3.2) rotate(-12deg);opacity:0}12%{transform:scale(1) rotate(-3deg);opacity:1}18%{transform:scale(1.08) rotate(1deg)}24%{transform:scale(1) rotate(-2deg)}80%{transform:scale(1) rotate(-2deg);opacity:1}100%{transform:scale(1.15);opacity:0}}
.fx-slam.fx-wiggle span{animation:fx-slam 2.2s cubic-bezier(.2,1.4,.35,1) forwards,fx-wiggle .3s ease-in-out .5s 5}
@keyframes fx-wiggle{0%,100%{rotate:-3deg}50%{rotate:3deg}}
/* 巨大× */
.fx-bigx{position:absolute;left:50%;top:46%;width:min(70vw,360px);height:min(70vw,360px);transform:translate(-50%,-50%)}
.fx-bigx svg{width:100%;height:100%}
.fx-bigx line{stroke:#ff2233;stroke-width:12;stroke-linecap:round;filter:drop-shadow(0 0 14px rgba(255,0,30,.8));stroke-dasharray:120;stroke-dashoffset:120;animation:fx-draw .4s ease-out forwards}
.fx-bigx line:last-child{animation-delay:.25s}
@keyframes fx-draw{to{stroke-dashoffset:0}}
.fx-caption{position:absolute;left:0;right:0;top:66%;text-align:center}
.fx-caption span{font-family:"Yusei Magic SV",sans-serif;font-weight:900;font-size:clamp(30px,9vw,64px);color:#fff;-webkit-text-stroke:2px #111;paint-order:stroke fill}
.fx-caption.fx-red span{color:#ff4d5e}.fx-caption.fx-white span{color:#fff}
.fx-caption.fx-type span{overflow:hidden;white-space:nowrap;display:inline-block;border-right:.08em solid #fff;animation:fx-type 1.6s steps(6) forwards,fx-blink .5s step-end 4}
@keyframes fx-type{from{width:0}to{width:6.2em}}
@keyframes fx-blink{50%{border-color:transparent}}
/* サイレン */
.fx-siren{position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(255,0,0,.0) 0,rgba(255,0,0,.0) 40px,rgba(255,220,0,.35) 40px,rgba(255,220,0,.35) 80px);animation:fx-siren 1s linear infinite}
@keyframes fx-siren{to{background-position:113px 0}}
/* スポットライト */
.fx-spotlight{position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,rgba(255,255,240,.35) 0,rgba(255,255,240,.08) 22%,rgba(0,0,0,0) 46%);animation:fx-fadein .6s ease-out}
@keyframes fx-fadein{from{opacity:0}to{opacity:1}}
/* 本隊はココ ラベル */
.fx-locate-cap{position:absolute;left:0;right:0;top:16%;text-align:center}
.fx-locate-cap span{display:inline-block;padding:10px 22px;background:#d9006c;color:#fff;font-family:"Yusei Magic SV",sans-serif;font-weight:900;font-size:clamp(26px,7vw,44px);border-radius:14px;box-shadow:0 6px 0 #8a0044,0 0 24px rgba(217,0,108,.6);animation:fx-bob 1s ease-in-out infinite}
@keyframes fx-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
/* 地図の本隊ピン パルス */
.fx-map-pulse{animation:fx-mappulse 1s ease-out infinite}
@keyframes fx-mappulse{0%{stroke-width:4;stroke-opacity:.9;r:8}100%{stroke-width:1;stroke-opacity:0;r:34}}
/* 画面シェイク */
.fx-shake{animation:fx-shake .5s cubic-bezier(.36,.07,.19,.97) 1}
@keyframes fx-shake{10%,90%{transform:translate(-2px,1px)}20%,80%{transform:translate(4px,-2px)}30%,50%,70%{transform:translate(-7px,3px)}40%,60%{transform:translate(7px,-3px)}}

/* 改訂8-2: STAFFページの識別は「有吉の壁 STAFF」（企画名サバイバルはタイトルにしない・収録タイトルとして小さく表示） */
.staff-page .staff-header h1 .t-line1{font-size:clamp(26px,7vw,34px);letter-spacing:.06em}
.staff-page .rec-title{margin:10px 0 2px;color:#3a3d44;font-size:14px;font-weight:800;font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif}
.staff-page .rec-date{margin-top:2px;color:#6b665b;font-size:12.5px}
.staff-page .staff-online{display:inline-flex;align-items:center;gap:5px;margin:8px 0 0;padding:5px 10px;border:1px solid #b9dfca;border-radius:999px;background:#edf9f2;color:#17643d;font-size:13px;font-weight:800}.staff-online-dot{width:9px;height:9px;border-radius:50%;background:#19a65b;box-shadow:0 0 0 3px rgba(25,166,91,.14)}.staff-page .staff-online strong{font-size:16px}
.staff-live-banner{position:sticky;top:55px;z-index:390;display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 12px;padding:12px;border-radius:10px;background:#c1122a;color:#fff;font-size:22px;font-weight:900;letter-spacing:.08em;box-shadow:0 6px 18px rgba(160,10,30,.3)}.staff-live-banner[hidden]{display:none}.staff-live-banner>span{width:13px;height:13px;border-radius:50%;background:#fff;animation:onair-blink 1s steps(1) infinite}.staff-live-banner small{padding:3px 7px;border-radius:999px;background:#fff;color:#a20e24;font-size:11px;letter-spacing:0}
.staff-page.staff-is-live .live-unsafe{display:none!important}

/* 改訂8-3: 演出を4種に絞る（終了ボタンの色・2×2グリッド） */
.staff-page .fx-btn-end{background:linear-gradient(#5a6270,#333a45);box-shadow:0 5px 0 #1b2029,inset 0 1px 0 rgba(255,255,255,.25)}

/* 改訂8-4: お知らせ(トースト)を手作り感のあるカードに作り直す（AI感排除） */
.staff-page .toast{
  left:50%; right:auto; bottom:calc(26px + env(safe-area-inset-bottom));
  display:flex; align-items:center; gap:7px;
  min-height:0; max-width:calc(100vw - 28px); padding:8px 13px 9px 10px;
  background:#fffdf8; color:#1b1d24; border:0; border-left:7px solid #d9006c;
  border-radius:13px 10px 14px 11px/11px 14px 10px 13px;
  box-shadow:0 10px 26px rgba(30,20,10,.30),0 2px 0 rgba(0,0,0,.05);
  font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif; font-weight:700; font-size:13px; letter-spacing:.01em;
  transform:translate(-50%,26px) rotate(-1.3deg); opacity:0;
  transition:transform .28s cubic-bezier(.2,1.5,.4,1),opacity .2s;
}
.staff-page .toast::before{
  content:""; flex:none; width:18px; height:18px; background-size:contain; background-repeat:no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23d9006c'/%3E%3Cpath d='M6.5 12.5l3.6 3.6L17.8 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.staff-page .toast.on{transform:translate(-50%,0) rotate(-1.3deg); opacity:1}
.staff-page .toast.toast-err{border-left-color:#c1122a}
.staff-page .toast.toast-err::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23c1122a'/%3E%3Cpath d='M12 6v8' stroke='white' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.6' r='1.5' fill='white'/%3E%3C/svg%3E");
}

/* ===== 改訂9(2026-07-25): STAFFタブ化・検索・ポイント一覧・カメラ ===== */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
/* スタッフのタブ */
.staff-tabs{position:sticky;top:0;z-index:400;display:grid;grid-template-columns:repeat(4,1fr);width:100%;max-width:500px;margin:0 auto;background:#fcfbf7;border-bottom:3px solid #1b1d24}
.staff-tabs button{min-height:52px;min-width:0;padding:0 2px;border:0;border-right:1px solid #ddd6c6;border-radius:0;background:none;color:#8a8577;font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif;font-weight:900;font-size:clamp(14px,4.2vw,17px);white-space:nowrap}
.staff-tabs button:last-child{border-right:0}
.staff-tabs button[aria-selected="true"]{color:#d9006c;box-shadow:inset 0 -4px 0 #d9006c}
.staff-tabs button:active{background:#f2eee3}
.stab-panel[hidden]{display:none}
.stab-panel{animation:tab-in .18s ease-out}
/* 芸人検索の候補 */
.candidates{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.staff-page .candidate{min-height:46px;padding:9px 15px;border:1.5px solid #cbc4b4;border-radius:10px 8px 11px 9px;background:#fff;color:#1b1d24;font-size:16px;font-weight:800;box-shadow:0 3px 0 rgba(40,32,15,.14)}
.staff-page .candidate.on{border-color:#d9006c;background:#d9006c;color:#fff;box-shadow:0 3px 0 #9c0050}
.selected-performer{margin:8px 0 12px;padding:11px 14px;border:2px dashed #cbc4b4;border-radius:10px;color:#6b665b;font-weight:800;font-family:"Yusei Magic SV",sans-serif}
.selected-performer.has-sel{border-style:solid;border-color:#00a9c7;background:#eef9fc;color:#0f5468}
/* 獲得ポイント一覧（読み取り専用ランキング） */
.point-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 2px;border-bottom:1px solid #ece7db}
.point-row:first-child{border-top:1px solid #ece7db}
.point-rank{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#1b1d24;color:#fff;border-radius:50%;font-weight:900;font-size:15px}
.point-row:nth-child(1) .point-rank{background:#e0a400}.point-row:nth-child(2) .point-rank{background:#9aa2ad}.point-row:nth-child(3) .point-rank{background:#c07b3a}
.point-name{min-width:0;color:#1b1d24;font-size:19px;font-weight:800;overflow-wrap:anywhere;font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif}
.point-value{flex:none;color:#d9006c;font-weight:900;font-size:20px;font-family:"Yusei Magic SV",sans-serif;white-space:nowrap}
.point-row.eliminated{opacity:1;background:#f4f1ea}
.point-row.eliminated .point-name{color:#8a8577}.point-row.eliminated .point-value{color:#8a8577;font-size:16px}
.point-row.eliminated .point-rank{background:#c3bcac}
/* 芸人の追加・削除 */
.roster-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #ece7db}
.roster-row .name-button{flex:1;min-width:0;font-size:17px;font-weight:800;text-align:left}
.roster-row .roster-name{display:block;flex:1;min-width:0;padding:9px 2px;border:0;background:none;box-shadow:none;color:#17191d;font-size:17px;font-weight:800;text-align:left}.roster-row .roster-name:active{background:#f6f1e7}.roster-row .roster-remove{flex:none}
/* 写真ボタン */
.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 10px}
.staff-page #spotTakePhoto{border-color:#1b7f9e;background:#eef8fb;color:#0f5468}
.spot-photo-name{display:block;margin-bottom:12px;color:#6b665b;font-size:13.5px;font-weight:700}

/* 改訂10(2026-07-25): スタッフの送信タブ(MAP・位置発信) */
.staff-page .staff-map-frame{position:relative;border:3px solid transparent;border-radius:13px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.staff-page .staff-map-frame.map-active{border-color:#19a8dc;box-shadow:0 0 0 4px rgba(25,168,220,.2),0 7px 20px rgba(25,168,220,.25);transform:scale(.995)}.staff-page #staffMap{height:280px;border:1.5px solid #cbc4b4;border-radius:10px;background:#eef2f7}.staff-page #staffMap.map-locked{touch-action:pan-y}
.staff-page .map-send-card .map-legend{display:flex;gap:16px;align-items:center;margin:10px 2px 4px;color:#3a3d44;font-size:14px;font-weight:800}
.staff-page .loc-state{margin:8px 0 10px;color:#6b665b;font-size:15px;font-weight:800}
.staff-page .loc-state.is-live{color:#0a7048}
.staff-page #locationToggle{width:100%;min-height:52px;border-color:#1b7f9e;background:#eef8fb;color:#0f5468;font-size:17px}
.staff-page #locationToggle.is-live{border-color:#0a7048;background:#0a7048;color:#fff}

/* 改訂11(2026-07-25): 資料タブ(カメラ主役)・スピナー */
.staff-page .cam-main{width:100%;min-height:74px;margin:6px 0 12px;border:0;border-radius:14px 11px 15px 10px;background:linear-gradient(#19c3e6,#0e8fac);color:#fff;font-family:"Yusei Magic SV",sans-serif;font-size:21px;font-weight:900;box-shadow:0 6px 0 #0a6a80,inset 0 1px 0 rgba(255,255,255,.4)}
.staff-page .cam-main::before{content:"";display:inline-block;width:26px;height:20px;margin-right:10px;vertical-align:-3px;border:2.5px solid #fff;border-radius:5px;box-shadow:inset 0 0 0 2px #19c3e6}
.staff-page .cam-main:active{transform:translateY(4px);box-shadow:0 2px 0 #0a6a80}
.staff-page .cam-sub{width:100%;margin:0 0 6px;border-color:#cbc4b4;background:#fff;color:#5c574c}
.spot-preview{margin:0 0 10px;padding:6px;background:#fff;border:1px solid #e3ded2;border-radius:10px;box-shadow:0 2px 7px rgba(30,20,10,.1)}
.spot-preview img{display:block;width:100%;height:auto;border-radius:6px}
.staff-page .spot-status{margin:2px 0 12px;color:#3a3d44;font-size:14px;font-weight:800;line-height:1.5}
.staff-page .spot-location-choice{display:flex;align-items:center;gap:10px;margin:10px 0 14px;padding:12px;border:1px solid #d8d2c6;border-radius:10px;background:#f8f6f0;color:#30343b;font-weight:800}
.staff-page .spot-location-choice input{width:22px;height:22px;margin:0;accent-color:#1b7f9e}
.staff-page .danger-action{width:100%;margin-top:14px;border-color:#c01835;background:#fff;color:#c01835}
.staff-page .test-reset-card{border:2px solid #c01835;background:#fff9f9}.staff-page .test-reset-card h2{color:#a50f29}.staff-page #runtimeReset{min-height:52px;font-size:16px}
.staff-page .test-toggle{width:100%;margin-top:26px;border:1.5px solid #b66a00;background:#fff7e8;color:#8a4b00}.staff-page .test-toggle.is-live{background:#b66a00;color:#fff}.staff-page .test-note{margin:7px 2px 0;color:#76634b;font-size:12px;font-weight:700}
.staff-page .spot-status:empty{display:none}
.staff-page .upload-choice{width:min(360px,calc(100% - 28px));padding:18px;border:0;border-radius:16px;background:#fff;color:#17191d;box-shadow:0 18px 60px rgba(0,0,0,.35)}.staff-page .upload-choice::backdrop{background:rgba(10,12,16,.62)}.staff-page .upload-choice h3{margin:0 0 14px;font-size:20px}.staff-page .upload-choice button{display:block;width:100%;margin-top:10px;min-height:52px}.staff-page .upload-choice .upload-cancel{background:#f1f2f4;color:#555;border-color:#d8dce2}
.staff-live-banner #liveNetaNumber{margin-left:2px;padding:4px 9px;border-radius:8px;background:#fff;color:#9d1025;font-size:18px;letter-spacing:0;white-space:nowrap}.staff-page .neta-fx{margin:18px 0;padding:14px 0;border-top:2px solid #e8e2d7;border-bottom:2px solid #e8e2d7}.staff-page .neta-fx h3{margin:0 0 10px;font-size:16px}.staff-page .neta-fx .fx-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.geinin-page .staff-star-pin,.staff-page .staff-star-pin,.geinin-page .own-direction-pin{background:none;border:0}.geinin-page .staff-star-pin span,.staff-page .staff-star-pin span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:3px solid #fff;border-radius:50%;background:#ff9f0a;color:#17233c;font-size:23px;line-height:1;box-shadow:0 3px 9px rgba(0,0,0,.42)}.geinin-page .own-direction-pin span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:3px solid #fff;border-radius:50%;background:#1267d6;box-shadow:0 3px 9px rgba(0,0,0,.35)}.geinin-page .own-direction-pin i{display:block;color:#fff;font-size:22px;font-style:normal;line-height:1;transform-origin:center}.geinin-page .own-direction-pin.no-heading i{font-size:0}.geinin-page .own-direction-pin.no-heading i::after{content:"";display:block;width:12px;height:12px;border-radius:50%;background:#fff}.geinin-page .legend-star{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:12px;margin-right:4px;border-radius:50%;background:#ff9f0a;color:#17233c;font-size:12px;vertical-align:-2px}
.direction-arrow-pin{background:none!important;border:0!important}.direction-arrow-pin span{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid #fff;border-radius:50%;background:#1267d6;box-shadow:0 2px 7px rgba(0,0,0,.4)}.direction-arrow-pin i{display:block;width:16px;height:22px;background:#fff;clip-path:polygon(50% 0,100% 58%,68% 52%,68% 100%,32% 100%,32% 52%,0 58%);transform-origin:50% 50%}.direction-arrow-pin.broadcast span{background:#ff9f0a}.direction-arrow-pin.broadcast i{background:#17233c}.direction-arrow-pin span>em{position:absolute;left:50%;top:27px;min-width:24px;padding:1px 4px;transform:translateX(-50%);border-radius:7px;background:#17233c;color:#fff;font-size:9px;font-style:normal;font-weight:900;text-align:center;white-space:nowrap}.direction-arrow-pin span>em:empty{display:none}.direction-arrow-pin.no-heading i{width:10px;height:10px;border-radius:50%;clip-path:none}
.geinin-page .staff-star-pin em,.staff-page .staff-star-pin em{position:absolute;left:50%;top:34px;transform:translateX(-50%);min-width:30px;padding:3px 6px;border:2px solid #fff;border-radius:7px;background:#17233c;color:#fff;font-size:11px;font-style:normal;font-weight:900;text-align:center;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.32)}.staff-page #staffFloor{margin-bottom:14px}
@keyframes message-arrived{0%,100%{background:#1c1e22;box-shadow:none}12%,78%{background:#f2c500;box-shadow:0 0 0 6px rgba(255,213,0,.32),0 7px 24px rgba(242,197,0,.42)}}.geinin-page .msg-ticker.message-new{animation:message-arrived 1.25s ease 5}.geinin-page .msg-ticker.message-new .msg-run{color:#17191d}.geinin-page .msg-run{font-size:clamp(23px,6.4vw,30px);font-weight:900}
.geinin-page .neta-history-row .history-seq{white-space:pre-line;line-height:1.35}.geinin-page .neta-history-row.stage-start{margin-top:13px;border-top:5px solid #1b1d24}.geinin-page .neta-history-row.stage-1{background:#fff}.geinin-page .neta-history-row.stage-2{background:#fff8dc}.geinin-page .neta-history-row.stage-3{background:#eef8ff}
.ranking-help{margin:-7px 0 14px;color:#5d6168;font-size:14px;font-weight:700;line-height:1.6}.geinin-ranking-list{overflow:hidden;border:1px solid #ded9ce;border-radius:14px;background:#fff}.geinin-rank-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:64px;padding:10px 12px;border-top:1px solid #ece7dc}.geinin-rank-row:first-child{border-top:0}.geinin-rank-number{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#d9006c;color:#fff;font-size:18px;font-weight:900}.geinin-rank-row:nth-child(1) .geinin-rank-number{background:#e0a400}.geinin-rank-row:nth-child(2) .geinin-rank-number{background:#9aa2ad}.geinin-rank-row:nth-child(3) .geinin-rank-number{background:#c07b3a}.geinin-rank-row strong{font-size:17px}.geinin-rank-value{color:#d00066;font-size:15px;font-weight:900;white-space:nowrap}.geinin-rank-row.eliminated{background:#f2efe8;color:#888}.geinin-rank-row.eliminated .geinin-rank-number{background:#bbb4a5}.geinin-rank-row.eliminated .geinin-rank-value{color:#8a8577}
.staff-page .point-value{white-space:pre-line;text-align:right;line-height:1.4}
.geinin-page .geinin-map-frame{position:relative;border:3px solid transparent;border-radius:17px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.geinin-page .geinin-map-frame.map-active{border-color:#19a8dc;box-shadow:0 0 0 4px rgba(25,168,220,.2),0 7px 20px rgba(25,168,220,.25);transform:scale(.995)}.geinin-page #map.map-locked{touch-action:pan-y}
.staff-page .map-stage-buttons{margin-bottom:8px}
.staff-page .map-stage-buttons button{padding:8px 5px;font-size:13px}

/* 最終フォント指定: STAFFは判読性優先、芸人側は標準アプリに近い自然な書体 */
body.staff-page,body.staff-page *{font-family:"Helvetica Neue","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif!important;font-kerning:normal;-webkit-font-smoothing:antialiased}
body.staff-page{font-weight:600;letter-spacing:.01em}
body.geinin-page,body.geinin-page *{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif!important;font-kerning:normal;-webkit-font-smoothing:antialiased}
body.geinin-page{font-weight:400;letter-spacing:0}

/* 芸人ページ最終仕上げ: スマホアプリらしい階層・余白・触り心地 */
html:has(body.geinin-page){background:#dfe3e8}
body.geinin-page{background-color:#f4f6f8;background-image:radial-gradient(circle,rgba(217,0,108,.10) 1.2px,transparent 1.4px),radial-gradient(circle,rgba(27,127,158,.08) 1.2px,transparent 1.4px);background-position:0 0,8px 8px;background-size:16px 16px;color:#17191d}
.geinin-page .geinin-header{position:relative;overflow:hidden;background:#fff;background-image:radial-gradient(circle at 8% 8%,rgba(25,195,230,.12),transparent 34%),radial-gradient(circle at 92% 12%,rgba(217,0,108,.10),transparent 32%);border-bottom:1px solid #e5e7eb}
.geinin-page .geinin-header::after{content:"";position:absolute;left:20%;right:20%;bottom:-22px;height:34px;background:#d9006c;opacity:.08;filter:blur(20px);pointer-events:none}
.geinin-page .header-inner{max-width:600px;margin:auto;padding-left:18px;padding-right:18px}
.geinin-page .geinin-shell{max-width:600px;min-height:calc(100dvh - 118px);margin:auto;background:#f4f6f8;background-image:none;box-shadow:0 0 36px rgba(20,28,38,.11)}
.geinin-page .geinin-tabs{top:0;padding-top:env(safe-area-inset-top,0);background:rgba(255,255,255,.88);border-color:#e4e7eb;box-shadow:0 5px 16px rgba(20,28,38,.07);backdrop-filter:blur(16px) saturate(1.35);-webkit-backdrop-filter:blur(16px) saturate(1.35)}
.geinin-page .geinin-tabs button{position:relative;min-height:54px;color:#70757d;font-size:clamp(11px,3.4vw,14px);transition:color .2s ease,background .2s ease,transform .12s ease}
.geinin-page .geinin-tabs button[aria-selected="true"]{background:linear-gradient(180deg,rgba(217,0,108,.055),transparent);color:#c60062;box-shadow:inset 0 -3px 0 #d9006c}
.geinin-page .geinin-tabs button:active{transform:scale(.95);background:rgba(217,0,108,.08)}
.geinin-page .tab-panels{padding:22px 16px calc(64px + env(safe-area-inset-bottom))}
.geinin-page .current-venue{margin:4px 0 22px;padding:17px 14px 18px;border:1px solid #e5e7eb;border-radius:16px;background:linear-gradient(145deg,#fff,#f8f9fb);box-shadow:0 7px 22px rgba(20,28,38,.07)}
.geinin-page .current-venue strong{background:none;font-size:clamp(24px,6.8vw,31px);letter-spacing:-.025em}
.geinin-page .venue-label{letter-spacing:.10em}
.geinin-page .geinin-card>div,.geinin-page .message-card>div,.geinin-page .history-card>div,.geinin-page .shiryo-card,.geinin-page .geinin-timeline,.geinin-page .geinin-performer-list,.geinin-page .geinin-rule{border-color:#e3e6ea;border-radius:14px;box-shadow:0 5px 18px rgba(20,28,38,.065)}
.geinin-page #map{border-color:#dde1e6;border-radius:14px;box-shadow:0 5px 18px rgba(20,28,38,.08)}
.geinin-page .geinin-map-recenter button{border-color:#d8dce2;border-radius:12px;background:#fff;box-shadow:0 2px 6px rgba(20,28,38,.08);font-weight:700}
.geinin-page .geinin-map-recenter button:active{transform:scale(.97);box-shadow:none}
.geinin-page .geinin-map-recenter button.active{border-color:#1267d6;background:#1267d6;color:#fff;box-shadow:0 0 0 3px rgba(18,103,214,.2),0 4px 10px rgba(18,103,214,.32);transform:translateY(-1px)}.geinin-page #mapToStaff.active{border-color:#ff9f0a;background:#ff9f0a;color:#17233c;box-shadow:0 0 0 3px rgba(255,159,10,.25),0 4px 10px rgba(255,159,10,.32)}.staff-page .map-recenter button.active{border-color:#1267d6!important;background:#1267d6!important;color:#fff!important;box-shadow:0 0 0 3px rgba(18,103,214,.2),0 4px 10px rgba(18,103,214,.32)!important;transform:translateY(-1px)}.geinin-page .geinin-map-recenter button.active::before,.staff-page .map-recenter button.active::before{content:"✓";display:inline-grid;place-items:center;width:19px;height:19px;margin-right:5px;border-radius:50%;background:#fff;color:#1267d6;font-size:13px;font-weight:900;vertical-align:-1px}.geinin-page #mapToStaff.active::before{color:#c66b00}
.geinin-page .onair-banner{overflow:hidden;border-radius:12px}
.geinin-page .onair-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.24) 45%,transparent 70%);transform:translateX(-120%);animation:onair-sheen 2.8s ease-in-out infinite}
.geinin-page .onair-banner.before::after{display:none}
@keyframes onair-sheen{0%,45%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
.geinin-page .tab-panel.active>.current-venue,.geinin-page .tab-panel.active>.geinin-card,.geinin-page .tab-panel.active>.doc-heading{animation:app-rise .42s cubic-bezier(.2,.8,.25,1) both}
.geinin-page .tab-panel.active>.geinin-card:nth-of-type(2){animation-delay:.05s}.geinin-page .tab-panel.active>.geinin-card:nth-of-type(3){animation-delay:.10s}
@keyframes app-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.geinin-page .onair-banner::after,.geinin-page .tab-panel.active>.current-venue,.geinin-page .tab-panel.active>.geinin-card,.geinin-page .tab-panel.active>.doc-heading{animation:none!important}}

/* スマホジェスチャー: 縦スクロールを守りながら横スワイプを指に追従 */
.geinin-page .geinin-shell,.staff-page main.wrap{touch-action:pan-y pinch-zoom;overscroll-behavior-x:none}
.staff-page main.wrap.is-swiping .stab-panel.active{transform:translateX(var(--staff-swipe-x));transition:none;filter:brightness(.985)}
.staff-page .staff-history-row{position:relative;touch-action:pan-y;will-change:transform;transition:transform .18s ease,background .16s ease,border-color .16s ease}
.history-block{margin:24px -4px 0;padding:18px 12px 14px;border-top:4px solid #1b1d24;border-radius:12px;background:#f7f5ef;box-shadow:inset 0 0 0 1px #e2dccf}
.history-title-row{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:9px;border-bottom:2px solid #1b1d24}.staff-page .history-title-row>h3{display:block;margin:0;padding:0;background:none;border:0;border-radius:0;color:#1b1d24;font-size:21px;letter-spacing:.02em}.staff-page .history-title-row .history-reset{flex:none;min-height:44px;padding:6px 10px;border-color:#c01835;background:#fff;color:#c01835;font-size:12px;box-shadow:none}
.history-stage-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 12px}.staff-page .history-stage-buttons button{min-height:46px;padding:7px;border-color:#cbc4b4;background:#fff;color:#555149;font-size:15px;box-shadow:0 2px 0 rgba(40,32,15,.12)}.staff-page .history-stage-buttons button.active{border-color:#1b7f9e;background:#1b7f9e;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.18)}
.staff-page .staff-history-row{min-height:82px;margin:9px 0;padding:13px 12px;gap:12px;border:1.5px solid #d5cec0!important;border-radius:12px;background:#fff;box-shadow:0 3px 0 rgba(40,32,15,.12);cursor:pointer}
.staff-page .staff-history-row:not(.selected)::after{content:"›";flex:none;color:#1b7f9e;font-size:31px;font-weight:700;line-height:1}
.staff-page .staff-history-row:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(40,32,15,.12)}
.staff-page .staff-history-row.selected{border-color:#c01835!important;background:#fff7f8;box-shadow:0 3px 0 rgba(192,24,53,.18)}
.staff-page .staff-history-summary{min-width:0;flex:1}.staff-page .staff-history-summary small{font-size:15px;font-weight:700;line-height:1.4}.staff-page .staff-history-result{display:block;margin-top:3px;font-size:21px;font-weight:900;line-height:1.35}
.staff-page .history-delete{flex:none;min-width:58px;min-height:44px;padding:7px 10px;font-size:14px}
.history-empty{padding:16px 4px;text-align:center}
.staff-page #staffMap,.geinin-page #map{touch-action:none}
@media(prefers-reduced-motion:reduce){.staff-page main.wrap.is-swiping .stab-panel.active{transform:none}.staff-page .staff-history-row{transition:none}}

/* PDF原本ビューアー: ブラウザ操作に頼らずアプリへ戻れる */
.pdf-viewer-page{margin:0;background:#eef1f4;color:#17191d;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Sans",sans-serif}
.pdf-viewer-bar{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;min-height:58px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:rgba(255,255,255,.94);border-bottom:1px solid #dfe3e8;backdrop-filter:blur(14px)}
.pdf-viewer-bar strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.pdf-back{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;background:#d9006c;color:#fff;font-weight:800;text-decoration:none}
.pdf-back::before{content:"‹";margin-right:6px;font-size:25px;line-height:1}
.pdf-viewer-main{height:calc(100dvh - 58px - env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom)}
.pdf-viewer-main iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.pdf-image-view{min-height:100%;padding:10px;background:#d8dce2}.pdf-image-view img{display:block;width:100%;height:auto;margin:auto;background:#fff;box-shadow:0 3px 16px rgba(0,0,0,.18)}.pdf-image-view a{display:block;min-height:48px;margin:12px auto;padding:12px;border-radius:10px;background:#1b7f9e;color:#fff;font-weight:900;text-align:center;text-decoration:none}

/* 当日スケジュール: 元予定と実時間を同時表示 */
.schedule-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #ece7db}
.staff-page .schedule-apply{position:sticky;top:62px;z-index:5;width:100%;min-height:52px;margin:12px 0 8px;border:0;background:#d9006c;color:#fff;font-size:17px;box-shadow:0 4px 0 #99004c}.staff-page .schedule-apply:disabled{background:#ddd8cd;color:#8a8577;box-shadow:none}.staff-page .schedule-apply:not(:disabled)::before{content:"✓ ";font-weight:900}
.schedule-edit-row:first-child{border-top:0}.schedule-edit-info strong,.schedule-edit-info small{display:block}.schedule-edit-info strong{font-size:14px}.schedule-edit-info small{margin-top:3px;font-size:12px}
.staff-page .schedule-edit-row.kind-onair{margin:14px -10px;padding:17px 10px;border:0;border-radius:14px;background:linear-gradient(135deg,#d9006c,#920048);box-shadow:0 8px 20px rgba(180,0,88,.3)}.staff-page .schedule-edit-row.kind-onair .schedule-edit-info strong{color:#fff;font-size:17px;font-weight:900;line-height:1.5}.schedule-edit-live-badge{display:inline-block;margin-bottom:6px;padding:3px 10px;border-radius:999px;background:#ffe33e;color:#3b2900;font-size:12px;font-weight:900;letter-spacing:.12em}.staff-page .schedule-edit-row.kind-onair .schedule-wave{color:#fff}.staff-page .schedule-edit-row.kind-onair input{border:3px solid #ffe33e;background:#fff;color:#17191d;font-size:16px;font-weight:900;box-shadow:0 3px 8px rgba(0,0,0,.2)}.staff-page .schedule-edit-row.kind-onair .schedule-delta{color:#fff}.staff-page .schedule-edit-row.kind-onair .schedule-clear{color:#fff}
.staff-page .schedule-edit-row.kind-opening{margin:12px -8px;padding:15px 8px;border:2px solid #f2a51a;border-left:8px solid #df7900;border-radius:13px;background:linear-gradient(135deg,#fff7d6,#ffe0a1);box-shadow:0 7px 18px rgba(207,119,0,.22)}.staff-page .schedule-edit-row.kind-opening .schedule-edit-info strong{color:#643600;font-size:16px;font-weight:900;line-height:1.5}.schedule-edit-live-badge.opening{background:#df7900;color:#fff}.staff-page .schedule-edit-row.kind-opening input{border:2px solid #df7900;background:#fff;color:#3d2500;font-size:16px;font-weight:900}
.schedule-edit-controls{display:grid;grid-template-columns:92px 18px 92px;gap:5px 4px;align-items:center}.staff-page .schedule-edit-controls input{width:92px;min-height:44px;padding:7px 4px;font-size:14px}.schedule-wave{text-align:center;color:#555149;font-weight:900}.schedule-delta{grid-column:1/-1;font-size:11px;color:#777168}.schedule-delta.changed{color:#c01835;font-weight:800}.staff-page .schedule-clear{grid-column:1/-1;min-height:30px;padding:3px 8px;border:0;background:none;box-shadow:none;color:#777168;font-size:11px;text-decoration:underline}
.geinin-schedule{padding:8px;overflow:hidden;border:1px solid #e3e6ea;border-radius:14px;background:#eef1f4;box-shadow:0 5px 18px rgba(20,28,38,.065)}
.schedule-row{display:grid;grid-template-columns:102px minmax(0,1fr);gap:12px;align-items:center;margin:7px 0;padding:14px;border:1px solid #e1e5e9;border-left:5px solid #aeb5bd;border-radius:12px;background:#fff;box-shadow:0 2px 7px rgba(20,28,38,.05)}.schedule-times{display:flex;flex-direction:column;gap:5px;align-items:flex-start}.schedule-planned{color:#17191d;font-size:21px;font-weight:900;line-height:1.25;font-variant-numeric:tabular-nums}.schedule-row.updated .schedule-planned{color:#777b82;font-size:15px;text-decoration:line-through}.schedule-arrow{display:none}.schedule-actual{color:#d00066;font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}.schedule-shift{padding:3px 7px;border-radius:999px;font-size:11px;font-style:normal;font-weight:800}.schedule-shift.oshi{background:#fff0f1;color:#b3152d}.schedule-shift.maki{background:#eaf8fc;color:#12657a}.schedule-shift.ontime{background:#eef7ef;color:#28713a}.schedule-kind{display:inline-block;padding:3px 9px;border-radius:999px;background:#eef0f2;color:#555b63;font-size:11px;font-weight:900;letter-spacing:.08em}.schedule-row p{margin:6px 0 0;color:#25282d;font-size:15px;font-weight:700;line-height:1.55}.schedule-content{min-width:0}
.schedule-planned,.schedule-actual{display:flex;flex-wrap:wrap;align-items:baseline;gap:0;max-width:100%;white-space:normal}.schedule-start-time{flex:0 0 100%;font-size:1em;font-weight:900}.schedule-time-separator{font-size:.58em;font-weight:700}.schedule-end-time{font-size:.68em;font-weight:800;opacity:.82}.schedule-row.updated .schedule-planned .schedule-start-time{font-size:1em}.schedule-row.updated .schedule-planned .schedule-end-time{font-size:.78em}
.schedule-row.period-morning{background:linear-gradient(135deg,#e8f8ff,#fffbea)}.schedule-row.period-day{background:linear-gradient(135deg,#fff,#fff9e9)}.schedule-row.period-evening{background:linear-gradient(135deg,#fff7ef,#ffe8d8)}.schedule-row.period-night{border-color:#39455d;background:linear-gradient(135deg,#26334d,#111a2d)}.schedule-row.period-night .schedule-planned,.schedule-row.period-night p{color:#fff}.schedule-row.kind-meet{position:relative;margin:4px 0 18px;padding:21px 16px;border:3px solid #69c9f0;border-left:9px solid #ffc83d;background:linear-gradient(135deg,#dff6ff,#fff7bd);box-shadow:0 10px 26px rgba(80,174,214,.22)}.schedule-row.kind-meet::before{content:"最初に確認";position:absolute;right:10px;top:-12px;padding:4px 10px;border-radius:999px;background:#ffc83d;color:#2d2200;font-size:11px;font-weight:900}.schedule-row.kind-meet .schedule-planned{color:#143f5b;font-size:28px}.schedule-row.kind-meet .schedule-kind{padding:5px 11px;background:#1685b6;color:#fff;font-size:14px}.schedule-row.kind-meet p{margin-top:8px;color:#183746;font-size:19px;font-weight:900;line-height:1.45}.schedule-row.kind-prep{border-left-color:#1b7f9e}.schedule-row.kind-prep .schedule-kind{background:#e9f7fb;color:#12657a}.schedule-row.kind-opening{border-left-color:#df8b11}.schedule-row.kind-opening .schedule-kind{background:#fff5dc;color:#9a5b00}.schedule-row.kind-move{border-left-color:#3483c7}.schedule-row.kind-move .schedule-kind{background:#eaf4fd;color:#23669f}.schedule-row.kind-break{border-left-color:#3a9b63}.schedule-row.kind-break .schedule-kind{background:#eaf8ef;color:#267247}.schedule-row.kind-finish{border-left-color:#77839b;background:linear-gradient(135deg,#24304a,#0f1728)}.schedule-row.kind-finish .schedule-kind{background:#e8edf7;color:#253047}.schedule-row.kind-finish .schedule-planned,.schedule-row.kind-finish p{color:#fff}
.schedule-row.kind-opening{position:relative;margin:12px 0;padding:17px 14px;border:2px solid #f2a51a;border-left:8px solid #df7900;background:linear-gradient(135deg,#fff8d8,#ffe1a3);box-shadow:0 7px 18px rgba(207,119,0,.2)}.schedule-row.kind-opening .schedule-planned,.schedule-row.kind-opening .schedule-actual{color:#7a4100;font-size:23px}.schedule-row.kind-opening .schedule-kind{padding:4px 11px;background:#df7900;color:#fff;font-size:13px}.schedule-row.kind-opening p{color:#5b3300;font-size:17px;font-weight:900}
.schedule-row.kind-rehearsal{margin:11px 0;padding:16px 14px;border:2px solid #9a6bd8;border-left:7px solid #6d35b5;background:linear-gradient(135deg,#faf6ff,#f0e5ff);box-shadow:0 6px 16px rgba(109,53,181,.16)}.schedule-row.kind-rehearsal .schedule-planned{color:#4d2388;font-size:23px}.schedule-row.kind-rehearsal .schedule-kind{padding:4px 10px;background:#6d35b5;color:#fff;font-size:13px;letter-spacing:.1em}.schedule-row.kind-rehearsal p{color:#342544;font-size:16px;font-weight:900}
.schedule-row.kind-onair{margin:13px 0;padding:18px 15px;border:0;border-radius:14px;background:linear-gradient(135deg,#d9006c,#9e004e);box-shadow:0 8px 20px rgba(180,0,88,.25)}.schedule-row.kind-onair .schedule-planned,.schedule-row.kind-onair .schedule-actual,.schedule-row.kind-onair p{color:#fff}.schedule-row.kind-onair.updated .schedule-planned{color:#ffd6e9}.schedule-row.kind-onair .schedule-kind{background:#ffe33e;color:#3b2900;font-size:12px}.schedule-row.kind-onair .schedule-shift{background:#fff;color:#a0004f}.schedule-row.kind-onair p{font-size:17px;font-weight:900}
@media(max-width:390px){.schedule-edit-row{grid-template-columns:1fr}.schedule-edit-controls{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)}.staff-page .schedule-edit-controls input{width:100%;font-size:16px}}

/* 軽量サムネイルはタップ時だけ高画質版へ切替 */
.shiryo-photo.has-full{position:relative;cursor:pointer}.shiryo-photo.has-full::after{content:"タップで高画質";position:absolute;right:10px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(20,24,30,.78);color:#fff;font-size:11px;font-weight:700;backdrop-filter:blur(5px)}

/* 削除済み履歴は保管し、いつでも復元可能 */
#deletedHistorySection{margin-top:10px;text-align:right}.staff-page .history-restore-all{min-height:40px;padding:6px 10px;border-color:#1b7f9e;background:#eef8fb;color:#0f5468;font-size:13px}
#spotSubmit{width:100%;min-height:54px;border:0;background:#d9006c;color:#fff;font-size:18px;box-shadow:0 5px 0 #9c0050,inset 0 1px 0 rgba(255,255,255,.3)}
#spotSubmit:disabled{background:#ece8df;color:#a49e90;box-shadow:none}
/* スピナー（送信中・作業中） */
.spinner{position:fixed;z-index:60;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:11px;padding:12px 20px;background:#1b1d24ee;color:#fff;border-radius:12px 10px 13px 11px;box-shadow:0 8px 24px rgba(0,0,0,.35);font-family:"Yusei Magic SV",sans-serif;font-weight:800;font-size:15px}
.spinner[hidden]{display:none}
.spinner-ring{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#ff5aa0;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* 改訂13(2026-07-25): ネタ番号=数字＋訂正ボタン */
.neta-now{display:flex;align-items:center;justify-content:center;gap:22px;margin:10px 0 2px}
.neta-now strong{min-width:64px;text-align:center;font-family:"Yusei Magic SV","Hiragino Maru Gothic ProN",sans-serif;font-size:54px;font-weight:900;color:#1b1d24;line-height:1}
.staff-page #netaEdit{min-height:46px;padding:9px 20px;border-color:#1b7f9e;background:#eef8fb;color:#0f5468;font-size:16px}
/* 芸人候補が多いので少し詰める */
.neta-card .candidates{max-height:none}

/* 改訂14(2026-07-25): 資料の送信中表示・○青/×赤の立体ボタン・芸人ページを開く */
/* 資料一覧: サムネイル＋表示状態バッジ */
.staff-page .spot-list-panel{margin:28px -2px 0;padding:16px 14px 10px;border:3px solid #1b7f9e;border-radius:16px;background:linear-gradient(180deg,#eefafe 0,#fff 90px);box-shadow:0 7px 20px rgba(27,127,158,.18)}.staff-page .spot-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.staff-page .spot-list-heading h3{margin:0;color:#102f3a;font-size:24px}.staff-page .spot-list-heading strong{padding:5px 10px;border-radius:999px;background:#1b7f9e;color:#fff;font-size:14px}.staff-page .spot-list-panel>p{margin:7px 0 13px;color:#52636a;font-size:14px;font-weight:700}.staff-page .spot-delete{border-color:#c1122a!important;background:#fff5f6!important;color:#b20d22!important;font-weight:900!important}
.staff-page .spot-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 2px;border-top:1px dashed #d8d2c4}
.staff-page .spot-item:first-child{border-top:0}
.spot-thumb{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #e3ded2}
.spot-item-info{min-width:0}
.spot-badge{display:inline-block;margin-bottom:5px;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:900;font-family:"Yusei Magic SV",sans-serif}
.spot-badge.on{background:#0a7048;color:#fff}
.spot-badge.off{background:#e5e1d6;color:#6b665b}
.spot-item-info strong{display:block;color:#1b1d24;font-size:16px;font-weight:800;overflow-wrap:anywhere}
.spot-item.spot-hidden{opacity:.62}
.spot-item-actions{display:flex;flex-direction:column;gap:7px}
.staff-page .spot-item-actions .spot-toggle{border-color:#1b7f9e;background:#eef8fb;color:#0f5468;font-size:13px;padding:8px 12px}
.staff-page .spot-item-actions .spot-toggle.on{border-color:#0a7048;background:#0a7048;color:#fff}
/* ○=青 / ×=赤 の立体ボタン */
.staff-page .result-buttons button{height:80px;border:0;border-radius:16px;font-size:44px;font-weight:900;transition:transform .05s,box-shadow .05s}
.staff-page .result-maru{background:linear-gradient(#2196f3,#1565c0);color:#fff;box-shadow:0 7px 0 #0d4a91,inset 0 2px 0 rgba(255,255,255,.4)}
.staff-page .result-batsu{background:linear-gradient(#f4415a,#c1122a);color:#fff;box-shadow:0 7px 0 #8a0c1f,inset 0 2px 0 rgba(255,255,255,.35)}
.staff-page .result-buttons button:active{transform:translateY(5px);box-shadow:0 2px 0 rgba(0,0,0,.3),inset 0 2px 0 rgba(255,255,255,.3)}
.staff-page .result-maru:disabled{background:linear-gradient(#9cc6f2,#7fb0e6);color:#fff;box-shadow:0 5px 0 #6a9fd8}
.staff-page .result-batsu:disabled{background:linear-gradient(#f2a3af,#e88794);color:#fff;box-shadow:0 5px 0 #d97f8c}
/* 芸人ページを開く ボタン（IDの旧スタイルに勝つ指定） */
.staff-page a#geininLink.open-geinin{display:block;width:100%;min-height:56px;line-height:56px;margin:0;padding:0;text-align:center;background:#1b1d24;color:#fff;font-weight:900;font-size:18px;font-family:"Yusei Magic SV",sans-serif;text-decoration:none;border:0;border-radius:12px 10px 13px 11px;box-shadow:0 5px 0 #050608,inset 0 1px 0 rgba(255,255,255,.2)}
.staff-page a#geininLink.open-geinin:active{transform:translateY(4px);box-shadow:0 1px 0 #050608}

/* 改訂15(2026-07-25): スタッフが芸人地図の範囲を指定 */
.staff-page #mapViewApply{width:100%;min-height:50px;margin:10px 0 4px;border-color:#7d1558;background:linear-gradient(#d9006c,#a80054);color:#fff;font-size:16px;box-shadow:0 5px 0 #79003b,inset 0 1px 0 rgba(255,255,255,.3)}
.staff-page #mapViewApply:active{transform:translateY(4px);box-shadow:0 1px 0 #79003b}

/* 改訂16(2026-07-25): hidden属性がdisplay指定に負けないように（○×等の「タップで出現」を確実に） */
[hidden]{display:none!important}

/* 改訂17(2026-07-26): STAFFログイン画面 */
.login-wrap{max-width:420px}
.staff-page .login-card{margin-top:22px}
.staff-page .login-card input{margin-bottom:4px}
.staff-page .login-card #loginBtn{width:100%;min-height:54px;margin-top:16px;border:0;background:#d9006c;color:#fff;font-size:18px;box-shadow:0 5px 0 #9c0050,inset 0 1px 0 rgba(255,255,255,.3)}
.staff-page .login-card #loginBtn:active{transform:translateY(4px);box-shadow:0 1px 0 #9c0050}
.login-err{min-height:20px;margin:12px 2px 0;color:#c1122a;font-weight:800;font-size:14px;text-align:center}

/* 改訂18(2026-07-26): 使い方タブ＋5タブ対応 */
.staff-tabs{grid-template-columns:repeat(5,1fr)}
.staff-tabs button{font-size:clamp(12px,3.6vw,16px)}
.help-lead{margin:2px 0 4px;color:#22252b;font-size:16px;font-weight:700;line-height:1.6}
.staff-page .help-card h3{margin:20px 0 8px;display:inline-block;padding:5px 12px;background:#1b1d24;color:#fff;font-size:14px;border-radius:4px}
.help-list{margin:8px 0 0;padding:0 0 0 2px;list-style:none}
.help-list li{position:relative;margin:0 0 12px;padding:0 0 0 20px;color:#22252b;font-size:15.5px;font-weight:600;line-height:1.7}
.help-list li::before{content:"";position:absolute;left:2px;top:9px;width:8px;height:8px;background:#d9006c;border-radius:50%}
.help-list b{color:#0f1116;font-weight:900}

/* 改訂19(2026-07-26): 使い方をわかりやすく（番号フロー＋できること一覧） */
.help-flow{list-style:none;margin:14px 0 8px;padding:0}
.help-flow li{display:flex;gap:12px;align-items:center;margin-bottom:11px}
.help-num{flex:none;display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:#d9006c;color:#fff;font-family:"Yusei Magic SV",sans-serif;font-weight:900;border-radius:50%;font-size:18px}
.help-flow b{color:#0f1116;font-size:16.5px}
.help-flow p{margin:1px 0 0;color:#5e5a52;font-size:13.5px;font-weight:600;line-height:1.4}
.help-o{color:#1565c0}.help-x{color:#c1122a}
.help-dl{margin:8px 0 4px}
.help-dl dt{margin-top:13px;color:#0f1116;font-weight:900;font-size:15.5px}
.help-dl dt::before{content:"";display:inline-block;width:9px;height:9px;margin-right:8px;background:#1b7f9e;border-radius:2px;vertical-align:1px}
.help-dl dd{margin:3px 0 0 17px;color:#22252b;font-size:14.5px;font-weight:600;line-height:1.7}
.noda-guide{margin:22px 0 8px;padding:16px 14px;border:2px solid #d9006c;border-radius:14px;background:#fff7fb;box-shadow:0 4px 12px rgba(217,0,108,.09)}
.staff-page .noda-guide h3{margin:0 0 10px;padding:0;background:none;color:#b00056;font-size:18px;border-radius:0}
.noda-guide ul{margin:0;padding:0;list-style:none}.noda-guide li{position:relative;margin-top:11px;padding-left:19px;color:#22252b;font-size:15px;font-weight:700;line-height:1.65}.noda-guide li:first-child{margin-top:0}.noda-guide li::before{content:"●";position:absolute;left:0;top:0;color:#d9006c;font-size:10px;line-height:2.5}.noda-guide strong{color:#b00025;font-weight:900}

/* スマホ実機の最終ガード: 320〜430pxで横にはみ出さない */
html:has(.geinin-page),html:has(.staff-page),body.geinin-page,body.staff-page{width:100%;max-width:100%;overflow-x:hidden}
.geinin-page .geinin-header,.geinin-page .geinin-shell,.staff-page .staff-header,.staff-page .staff-tabs,.staff-page .wrap{width:100%;max-width:100%;min-width:0}
.geinin-page .geinin-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;overflow:hidden}
.geinin-page .geinin-tabs button{width:100%;min-width:0;padding-inline:0;font-size:clamp(10px,3vw,14px);overflow:hidden;text-overflow:clip}
.geinin-page .current-venue strong{display:block;max-width:100%;word-break:normal;overflow-wrap:anywhere;white-space:normal}
.geinin-page .map-recenter{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.geinin-page .map-recenter button{min-width:0;padding-inline:5px;font-size:clamp(11px,3.2vw,14px)}
.geinin-page #mapToStaff{border-color:#d9006c;background:#fff0f7;color:#9e004e}.geinin-page #mapToStaff:disabled{border-color:#d8dce2;background:#f1f2f4;color:#999;box-shadow:none;opacity:.72}
.geinin-page #map .leaflet-control-zoom a,.staff-page #staffMap .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;font-size:22px}
.schedule-row,.schedule-edit-row,.history-title-row,.deleted-history-title{min-width:0}.schedule-row p,.schedule-edit-info strong,.deleted-history-row span{overflow-wrap:anywhere}
@media(max-width:390px){
  .staff-page .wrap{padding-inline:10px}.staff-page .card{padding-inline:11px}
  .staff-page .spot-item{grid-template-columns:52px minmax(0,1fr)}.spot-thumb{width:52px;height:52px}.staff-page .spot-item-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .history-title-row{gap:6px}.staff-page .history-title-row>h3{font-size:18px}.staff-page .history-title-row .history-reset{padding-inline:7px;font-size:11px}
  .geinin-page .tab-panels{padding-inline:12px}.geinin-page .current-venue{padding-inline:10px}.geinin-page .current-venue strong{font-size:clamp(22px,7vw,28px)}
  .geinin-page .schedule-row{grid-template-columns:82px minmax(0,1fr);gap:9px;padding:12px 10px}.geinin-page .schedule-times{width:82px;min-width:0;overflow:hidden}
  .geinin-page .schedule-planned{font-size:19px}.geinin-page .schedule-row.kind-onair{padding:15px 11px}
}

/* PCで開いても、実運用と同じスマホ幅で表示する */
@media(min-width:481px){
  .geinin-page .geinin-header,.geinin-page .geinin-shell,
  .staff-page .staff-header,.staff-page .staff-tabs,.staff-page .wrap{max-width:430px;margin-left:auto;margin-right:auto}
}

/* 改訂20(2026-07-26): 地図の戻るボタン・階数select・QR */
.camera-live-card #staffCameraPreview{cursor:zoom-in}
.staff-page .camera-audio-toggle{width:100%;min-height:48px;margin-top:12px;border-color:#777;background:#fff;color:#444;font-size:17px;font-weight:900}.staff-page .camera-audio-toggle.active{border-color:#0a7048;background:#e8f7ef;color:#075f3c}
.staff-page .spot-location-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 10px}.staff-page .spot-location-actions button{background:#fff;color:#3a3d44}.staff-page .spot-location-actions button.active{border-color:#1b7f9e;background:#1b7f9e;color:#fff}.spot-location-map{width:100%;height:260px;border:2px solid #d8d2c6;border-radius:12px;overflow:hidden}.spot-location-status{margin:7px 0 15px;font-weight:900;color:#3a3d44}.spot-original-link{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:8px;background:#d9006c;color:#fff;font-weight:900;text-decoration:none}.shiryo-original-link{display:block;margin:12px 0;padding:18px;border-radius:10px;background:#d9006c;color:#fff;font-size:18px;font-weight:900;text-align:center;text-decoration:none}
.camera-live-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#111}.staff-page #cameraLiveToggle{width:100%;min-height:54px;margin-top:12px;border-color:#b00025;background:#fff;color:#b00025;font-size:18px;font-weight:900}.staff-page #cameraLiveToggle.is-live{background:#b00025;color:#fff;box-shadow:0 0 0 4px rgba(176,0,37,.18)}.staff-page #cameraLiveToggle:disabled{border-color:#ccc;background:#eee;color:#999;box-shadow:none}.camera-live-rule{margin:9px 0 0;color:#b00025;font-size:14px;font-weight:900;text-align:center}.camera-live-status{margin:7px 0 0;color:#444;font-size:15px;font-weight:900;text-align:center}.live-watch-card{margin:0 0 20px;padding:14px;border:2px solid #d9003f;border-radius:14px;background:#fff7fa}.geinin-page #liveWatchButton{width:100%;min-height:58px;border:0;background:#d9003f;color:#fff;font-size:18px;font-weight:900;box-shadow:0 5px 0 #940028}.geinin-page #liveWatchButton:disabled{background:#ddd8d2;color:#7b7772;box-shadow:none}.live-watch-card p{margin:10px 2px 0;color:#555;font-size:13px;font-weight:700;text-align:center}.geinin-live-video{position:fixed;z-index:2000;inset:0;display:flex;flex-direction:column;margin:0;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));border:0;border-radius:0;background:#050608}.geinin-live-video[hidden]{display:none}.geinin-live-video video{display:block;flex:1;width:100%;min-height:0;object-fit:contain;background:#000}.live-video-heading{display:flex;align-items:center;gap:8px;flex:none;padding:4px 2px 12px;color:#fff}.live-video-heading>span{width:12px;height:12px;border-radius:50%;background:#f32042;animation:onair-blink 1s steps(1) infinite}.live-video-heading strong{font-size:16px}.live-video-heading small{margin-left:auto;color:#ffe33e;font-size:17px;font-weight:900}.geinin-page #liveVideoClose{flex:none;width:100%;min-height:52px;margin-top:10px;border:2px solid #fff;background:#202329;color:#fff;font-size:17px;font-weight:900}.geinin-live-video>p{flex:none;margin:8px 2px 0;color:#c9ccd2;font-size:12px;font-weight:700;text-align:center}
.map-recenter{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 4px}
.staff-page .staff-map-recenter{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.staff-page .staff-map-recenter button{min-width:0;padding-inline:5px;font-size:13px}.staff-page .staff-map-recenter #mapToStaff{border-color:#ffb03b;background:#fff8eb;color:#9b5700}.staff-page .staff-map-recenter #mapToStaff.active{border-color:#ff9f0a!important;background:#ff9f0a!important;color:#17233c!important;box-shadow:0 0 0 3px rgba(255,159,10,.25),0 4px 10px rgba(255,159,10,.32)!important}.staff-page .staff-map-recenter #mapToStaff.active::before{color:#c66b00}.staff-page .staff-map-recenter button:disabled{border-color:#d8dce2!important;background:#f1f2f4!important;color:#999!important;box-shadow:none!important;opacity:.72}

/* MAP表示先: 未選択は無彩色、選択中の1項目だけを同じ濃い青で明示 */
.geinin-page .geinin-map-recenter button:not(:disabled),.staff-page .staff-map-recenter button:not(:disabled){border-color:#cbd1d9!important;background:#fff!important;color:#303640!important;box-shadow:0 2px 5px rgba(20,28,38,.1)!important;transform:none}
.geinin-page .geinin-map-recenter button.active,.staff-page .staff-map-recenter button.active{border-color:#0758bd!important;background:#1267d6!important;color:#fff!important;box-shadow:0 0 0 4px rgba(18,103,214,.24),0 5px 12px rgba(18,103,214,.38)!important;transform:translateY(-2px)!important}
.geinin-page .geinin-map-recenter button.active::before,.staff-page .staff-map-recenter button.active::before{background:#fff!important;color:#1267d6!important}
.geinin-page .geinin-map-recenter button,.staff-page .staff-map-recenter button{position:relative;white-space:nowrap;font-size:clamp(10px,2.8vw,13px)!important;letter-spacing:-.02em}
.geinin-page .geinin-map-recenter button.active::before,.staff-page .staff-map-recenter button.active::before{position:absolute;right:4px;top:4px;width:16px;height:16px;margin:0;font-size:11px;line-height:16px}
.staff-page #mapToVenue,.staff-page #mapToMe{border-color:#1b7f9e;background:#eef8fb;color:#0f5468;font-size:15px}
.staff-page #spotFloorOther{margin-top:8px}
.qr-box{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:14px;padding:16px;background:#fff;border:1px solid #e3ded2;border-radius:12px;box-shadow:0 2px 7px rgba(30,20,10,.08)}
.qr-box #qrImg{width:200px;height:200px;background:#fff}
.qr-box #qrImg img,.qr-box #qrImg canvas{width:200px!important;height:200px!important;display:block}
.qr-cap{color:#3a3d44;font-size:13.5px;font-weight:700;text-align:center;line-height:1.5}
.map-layer-toggles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.neta-markers-toggle{width:100%;min-height:42px;border:1.5px solid #b8bec8;border-radius:10px;background:#fff;color:#555;font-size:13px;font-weight:900}.neta-markers-toggle.active{border-color:#1267d6;background:#eaf3ff;color:#0758bd}.staff-page .map-send-card>.neta-markers-toggle{margin-top:10px}.neta-location-pin{background:none;border:0}.neta-location-pin span{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:2px solid #fff;border-radius:50%;background:#df0067;color:#fff;font-size:12px;font-weight:900;box-shadow:0 2px 5px rgba(0,0,0,.4)}.neta-location-pin.batsu span{background:#176db1}.neta-location-detail{display:grid;gap:3px;min-width:120px}.neta-location-detail strong{font-size:14px}.neta-location-detail span{font-size:13px}.neta-location-detail .maru{color:#d9006c;font-weight:900}.neta-location-detail .batsu{color:#176db1;font-weight:900}.shiryo-card.has-location{cursor:pointer;box-shadow:0 0 0 2px rgba(18,103,214,.18),0 5px 18px rgba(20,28,38,.08)}.shiryo-card.has-location::after{content:"地図で見る";display:block;padding:8px 12px;background:#eaf3ff;color:#0758bd;font-size:12px;font-weight:900;text-align:right}
.geinin-page .map-layer-toggles{grid-template-columns:1fr}
.map-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.map-title-row h2{flex:1;margin:0}.map-title-row .map-legend{flex:none;margin:0;padding:0;background:transparent;font-size:12px;white-space:nowrap}.geinin-page .geinin-map-recenter{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.geinin-page .geinin-map-recenter button{min-width:0;padding-inline:4px}.geinin-page #spotMarkersToggle{width:100%;min-height:48px}

/* 芸人側はロケ中の可読性を優先し、小さい文字を使わない */
.geinin-page{font-size:17px}
.geinin-page .geinin-tabs button{font-size:15px!important}
.geinin-page .geinin-card h2,.geinin-page .doc-heading span{font-size:16px}
.geinin-page .geinin-message time,.geinin-page .new-badge,.geinin-page .venue-label,.geinin-page .map-legend,.geinin-page .history-seq,.geinin-page .performer-help,.geinin-page .performer-detail,.geinin-page .ranking-help,.geinin-page .deco-d::after{font-size:16px}
.geinin-page .geinin-timeline dt,.geinin-page .shiryo-floor,.geinin-page .spot-photo-popup p,.geinin-page .live-watch-card p,.geinin-page .geinin-live-video>p{font-size:16px}
.geinin-page .schedule-shift,.geinin-page .schedule-kind,.geinin-page .schedule-row.kind-meet::before,.geinin-page .shiryo-photo.has-full::after,.geinin-page .shiryo-card.has-location::after{font-size:15px}
.geinin-page .geinin-map-recenter button{min-height:58px;font-size:15px!important;line-height:1.2;white-space:normal!important}
.geinin-page .geinin-map-recenter button.active::before{font-size:15px}
.geinin-page .spot-pin span,.geinin-page .venue-number,.geinin-page .staff-star-pin em,.geinin-page .direction-arrow-pin span>em,.geinin-page .leaflet-control-attribution{font-size:15px}
.geinin-page .direction-arrow-pin.no-heading i{width:16px;height:22px;border-radius:0;clip-path:polygon(50% 0,100% 58%,68% 52%,68% 100%,32% 100%,32% 52%,0 58%)}
.geinin-page .leaflet-control-attribution{max-width:72%;padding:1px 3px!important;font-size:10px!important;line-height:1.15;opacity:.72}
.geinin-page .geinin-rule p,.geinin-page .rule-copy{font-size:20px;line-height:1.75;font-weight:700}
.geinin-page .ranking-heading{display:flex;align-items:center;justify-content:space-between;min-height:104px;margin:0 0 14px;padding:4px 8px 4px 14px}.geinin-page .ranking-heading h2{margin:0;padding:10px 18px;border-radius:10px;background:linear-gradient(135deg,#d9006c,#a50052);color:#fff;font-size:34px;font-weight:900;letter-spacing:.02em;box-shadow:0 5px 14px rgba(180,0,88,.28)}.geinin-page .ranking-heading .deco-c{position:static;flex:none;width:88px;margin:0;transform:rotate(9deg)}
.staff-page #spotStage{margin-bottom:14px;border:2px solid #1b7f9e;background:#f2fbfe;font-weight:900}.spot-scope{display:inline-block;margin:0 0 5px;padding:3px 9px;border-radius:999px;background:#1b7f9e;color:#fff;font-size:13px;font-weight:900}
