:root{color-scheme:dark;--ink:#f3e9d6;--muted:#aba99f;--gold:#e4bd72;--gold-dark:#866032;--panel:#111b21f2;--line:#88704a60;--green:#a2d3a1;--orange:#e8b569;--red:#e98e7e;font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0c151b;color:var(--ink)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button,a{transition:background .16s,color .16s,box-shadow .16s}button{color:var(--ink);background:linear-gradient(#34414a,#1d2b34);border:1px solid #9a88636b;border-radius:5px;padding:9px 13px;min-height:40px;font-weight:500}button:hover:not(:disabled){background:linear-gradient(#46535b,#2b3a42);border-color:#d4ae69}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}a{color:var(--gold);text-decoration:none}a:hover{color:#fff1c9}input,select{border:1px solid #65737980;border-radius:4px;background:#0b151b;color:var(--ink);padding:10px 11px;width:100%;min-width:0;min-height:42px}input:focus,select:focus{outline:2px solid #d5ac6390;outline-offset:1px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--gold)}input[type=range]{padding:8px 0;accent-color:var(--gold)}label{display:block;color:#d6cdbb;margin:16px 0 8px}label input,label select{margin-top:6px}label small{font-weight:400;color:var(--muted)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:32px;line-height:1.2}h2{font-size:20px;line-height:1.3}h3{font-size:18px;margin:20px 0 6px}strong,b{font-weight:600}small{font-size:12px}p{line-height:1.6}.muted,.field-hint{color:var(--muted)}.field-hint{font-size:12px;margin:10px 0 14px}.eyebrow{color:#c8b586;font-size:10px;letter-spacing:2.4px;font-weight:600;display:block}.scene{position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,#07111b55,#07111baa),url('/assets/forest.png') center/cover no-repeat;background-color:#14232b}.scene:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 35%,transparent,#071016aa)}.gold{background:linear-gradient(170deg,#f2d397,#c99b53 52%,#a77535);color:#291c0c;border:1px solid #f0d39d;box-shadow:inset 0 1px 0 #fff3,0 3px 10px #0003;text-shadow:0 1px 0 #fff3}.gold:hover:not(:disabled){background:linear-gradient(#ffe6ad,#e1b76b);color:#211507;border-color:#ffdfa1}.quiet-button{background:transparent;border-color:transparent;color:#c4bba7;box-shadow:none}.quiet-button:hover:not(:disabled){background:#d7b46b12;border-color:#d7b46b40}.danger-button{background:#4b2728;color:#fac1b2;border-color:#a86b5d60}.full{width:100%}.small{font-size:12px;min-height:34px;padding:6px 11px}.actions,.center-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.live{font-size:11px;white-space:nowrap;color:#b3d4aa}.live.offline{color:#e7b66a}.topbar{min-height:83px;display:flex;gap:22px;align-items:center;justify-content:space-between;padding:12px 30px;background:linear-gradient(#142129f5,#0c161df5);border-bottom:1px solid #b4935066;box-shadow:0 3px 24px #0006}.brand{display:flex;align-items:center;gap:10px;color:#f4dcaa;font-family:Georgia,serif;font-size:17px;line-height:1.1}.brand em{display:block;font-size:13px;font-style:normal;letter-spacing:1px;margin-top:5px}.brand-mark{font-size:33px;color:var(--gold);text-shadow:0 0 18px #e5ae5660}.topbar nav{display:flex;gap:4px}.topbar nav button{background:transparent;border-color:transparent;color:#b6b3a7;min-width:85px}.topbar nav button[aria-pressed=true]{color:#f4d597;background:#dfb05f10;border-bottom:2px solid #dfb05f;border-radius:0}.top-actions{display:flex;gap:9px;align-items:center}.workspace{max-width:1700px;margin:auto;padding:28px 28px 24px}.combat-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.combat-title .eyebrow{margin-bottom:8px}.combat-title p{margin-top:9px}.combat-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.icon-button{background:transparent;border:0;padding:3px 7px;color:#c2b28b;min-height:30px;font-size:19px;vertical-align:middle}.mj-layout{display:grid;grid-template-columns:minmax(270px, .95fr) minmax(300px,1.45fr) minmax(280px,1fr);gap:22px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);padding:19px;border-radius:8px;box-shadow:0 8px 24px #0002,inset 0 1px #eee6c00a}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.section-heading h2{font-size:18px;color:#e7d7b7}.count{border:1px solid #8d795c66;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;color:#d8c5a1;font-size:12px}.roster{padding:18px 12px}.roster>.section-heading{padding:0 6px}.roster-labels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.1px;color:#9e9d91;padding:0 8px 10px}.roster-row{display:flex;gap:9px;align-items:center;padding:11px 6px;border-top:1px solid #bcb4a512;min-height:88px;border-radius:4px}.roster-row.selected{background:linear-gradient(90deg,#d9af5926,#d9af5905);box-shadow:inset 2px 0 #dab36b}.roster-row.hidden-actor{opacity:.65}.initiative-input{width:37px;text-align:center;padding:6px 0;border:0;background:#050d1350;color:#d9c399;min-height:34px;font-size:15px;flex-shrink:0;appearance:textfield}.initiative-input::-webkit-inner-spin-button{appearance:none}.roster-person{background:transparent!important;border:0!important;box-shadow:none;padding:0;text-align:left;min-width:0;flex:1;min-height:40px;font-size:12px}.roster-person strong{display:block;overflow-wrap:anywhere}.roster-person small{color:var(--muted);font-size:10px}.roster-hp{text-align:right;flex-shrink:0;display:flex;flex-direction:column;font-variant-numeric:tabular-nums}.roster-hp strong{font-size:18px;font-family:Georgia,serif}.roster-hp small{color:#919b9d;font-size:10px}.healthy{color:var(--green)}.hurt{color:var(--orange)}.critical{color:var(--red)}.dead{color:#adb3ba}.add-button{background:#12232c;border:1px dashed #b7a27160;color:#dfc999;margin-top:15px}.roster-hint{font-size:10px;color:#8f9798;text-align:center;margin:12px 0 0}.token{position:relative;isolation:isolate;flex-shrink:0;width:75px;height:96px;padding:5px;background:linear-gradient(130deg,#6f4a25 0%,#f6d795 15%,#a37135 30%,#ffe2a4 44%,#6e4720 65%,#d2a05a 85%,#80522b);border-radius:50% 50% 40% 40% / 45% 45% 35% 35%;box-shadow:0 3px 9px #0009,inset 0 0 0 1px #f9df9c,inset 0 0 0 3px #694725}.token:before{content:"";position:absolute;z-index:2;inset:3px;border:1px solid #f0ce833f;border-radius:inherit;pointer-events:none}.token-inner{width:100%;height:100%;border-radius:inherit;background-color:#1d2d37;background-repeat:no-repeat;background-size:cover;box-shadow:inset 0 0 12px #0008}.token-inner[class*=art-],.raw-art{background-image:url('/assets/portraits.png');background-size:200% 200%;background-repeat:no-repeat}.art-hero{background-position:0 0}.art-goblin{background-position:100% 0}.art-dwarf{background-position:0 100%}.art-mage{background-position:100% 100%}.token-tip{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);color:#d6a45b;font-size:20px;text-shadow:0 2px 3px #000;line-height:1}.token-active{box-shadow:0 0 0 2px #c2934b,0 0 25px #f4b94e66,0 0 55px #f4b94e22,inset 0 0 0 1px #fff4c0}.token.tiny{width:38px;height:48px;padding:3px}.tiny .token-tip{font-size:12px;bottom:-6px}.token.medium{width:90px;height:114px}.token.hero-token{width:175px;height:225px;padding:8px}.token.hero-token .token-tip{font-size:30px;bottom:-13px}.hero-token .token-inner{background-size:200% 200%}.combat-center{text-align:center;min-width:0;padding-top:4px}.round-label{display:flex;align-items:center;justify-content:center;gap:16px;font-family:Georgia,serif;font-size:20px;letter-spacing:3px;color:#efdaac;margin:2px auto 16px}.round-label span{width:35px;height:1px;background:linear-gradient(90deg,transparent,#bf9a5c)}.round-label span:last-child{transform:rotate(180deg)}.current-label{font-size:9px;letter-spacing:2px;margin-bottom:21px}.active-character{display:flex;align-items:center;flex-direction:column}.nameplate{background:linear-gradient(#ead4a3,#c7a16b);color:#2d2113;border:3px ridge #b98d4d;box-shadow:0 4px 12px #0008,inset 0 0 12px #5c38172b;border-radius:5px;position:relative;z-index:3;text-align:center;font-family:Georgia,serif;font-size:26px;padding:4px 24px;margin-top:-18px;max-width:100%;overflow-wrap:anywhere}.health{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;white-space:nowrap}.active-character>.health{margin-top:8px}.gem{width:11px;height:11px;background:currentColor;display:inline-block;transform:rotate(45deg);border:1px solid #fff8;box-shadow:0 0 9px currentColor;border-radius:2px;flex-shrink:0}.conditions{display:flex;flex-wrap:wrap;gap:4px;justify-content:inherit;margin-top:5px}.condition{font:10px/1.5 system-ui,sans-serif;border:1px solid #77828460;background:#27323ba6;border-radius:4px;padding:1px 5px;color:#d5d7d2}.condition.due{color:#f6c87f;border-color:#d6a35b}.combat-center>.conditions{justify-content:center;margin:10px}.turn-ribbon{font-family:Georgia,serif;font-size:25px;line-height:1.2;color:#f7d99c;text-align:center;background:linear-gradient(90deg,transparent,#432913dd 20%,#432913dd 80%,transparent);border-top:1px solid #e4b76f70;border-bottom:1px solid #e4b76f70;padding:12px 18px;margin:20px auto;max-width:390px;text-shadow:0 0 20px #ffbf5580}.center-actions{justify-content:center;gap:6px}.center-actions button{font-size:11px;padding:8px 9px;min-height:34px;background:#13232ed9}.history{margin-top:35px;text-align:left;background:#0a161de0;padding:17px;border:1px solid #a5936850;border-radius:6px}.history .section-heading{margin-bottom:8px}.history h2{font-size:16px}.history p{font-size:11px;color:#bdbbb1;padding:7px 0;border-bottom:1px solid #dddddd0c;display:flex;gap:11px}.history time{font-variant-numeric:tabular-nums;color:#8d989c;flex-shrink:0}.right-column{display:grid;gap:20px}.action-stack{list-style:none;padding:0;margin:0 0 20px}.action-stack li{display:flex;gap:12px;position:relative;padding:10px 0;color:#9da5a7}.action-stack .stack-dot{color:#847658;flex-shrink:0}.action-stack li>div{display:flex;flex-direction:column;gap:2px}.action-stack small{font-size:9px;letter-spacing:1.3px}.action-stack strong{font-family:Georgia,serif;font-size:19px;font-weight:400}.action-stack span:not(.stack-dot){font-size:11px}.action-stack li.now{color:#e9d5aa}.action-stack li.now small,.action-stack li.now .stack-dot{color:var(--gold)}.stack-panel>.gold{font-size:12px}.empty-small{color:#98a3a4;text-align:center;padding:16px 4px;font-size:12px}.empty-small small{font-size:10px}.empty-icon{display:block;font-size:29px;color:#9f8c64;margin-bottom:8px}.damage-request{border-top:1px solid #c7b99126;padding-top:14px;margin-top:14px}.damage-request strong{font-size:12px;display:block;margin:7px 0 10px}.request-title{display:flex;justify-content:space-between;align-items:center;color:#8b999d}.request-kind{color:#dfb478;font-size:9px;letter-spacing:1.5px}.request-title small{font-size:10px}.damage-line{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:8px;margin:8px 0;font-size:11px}.damage-line select{font-size:11px;padding:6px;min-height:34px;margin:0}.request-footer{display:flex;gap:8px;margin-top:12px}.request-footer button{font-size:11px;min-height:33px;padding:5px 15px}.preparation-hero{padding:30px 12px 10px}.crest{font-size:76px;color:#d9ac61;line-height:1.2;text-shadow:0 0 60px #f8a53b66}.preparation-hero h2{font-size:25px;color:#f2ddba;margin:12px 0}.preparation-hero p{color:#b2b6b1;font-size:12px;max-width:330px;margin:0 auto}.preparation-tokens{display:flex;justify-content:center;gap:0;margin:32px auto 22px;isolation:isolate}.preparation-tokens .token:nth-child(2){transform:translateY(-9px);z-index:2}.preparation-tokens .token+.token{margin-left:-17px}.readiness{font-size:11px;color:#c6b68f}.app-footer{display:flex;align-items:center;gap:15px;justify-content:space-between;flex-wrap:wrap;max-width:1644px;padding:10px 28px 20px;margin:auto;color:#9a9b8f;font-size:10px}.app-footer .live{margin-left:10px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px}.library-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;overflow:hidden}.library-image{height:235px;position:relative;overflow:hidden;background:#0c151b}.library-image img{width:100%;height:100%;object-fit:contain}.raw-art{height:100%;width:100%}.type-label{position:absolute;left:12px;bottom:12px;font-size:10px;letter-spacing:1px;padding:4px 10px;border:1px solid #c9a76b80;background:#10191eea;color:#e8cd9a;border-radius:3px}.library-body{padding:18px}.library-body h2{font-size:22px}.library-body p{color:#a5aaa6;font-size:12px;margin:7px 0 18px}.library-body .actions{justify-content:space-between}.library-body button{font-size:12px}.encounter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}.encounter h2{margin-top:10px;font-size:24px}.encounter-members{margin:24px 0;display:grid;gap:15px}.person{display:flex;align-items:center;gap:14px}.encounter button{font-size:12px}.entry{max-width:650px;margin:0 auto;padding:42px 20px 26px;text-align:center}.entry .crest{font-size:57px;margin-bottom:12px}.entry>.eyebrow{margin:15px 0}.entry h1{font-size:57px;color:#f0d29c;text-shadow:0 4px 20px #000;line-height:1.05}.entry-subtitle{font-size:14px;color:#c8c4b8;margin:20px 0 27px}.login-panel{max-width:370px;margin:auto;text-align:left;padding:25px;background:linear-gradient(145deg,#17252fee,#10191ff5);border:1px solid #c8a36480;border-radius:8px;box-shadow:0 18px 60px #0008}.login-panel h2{font-size:25px;color:#efd8ac}.login-panel p{font-size:12px;color:#b7b9af;margin-top:10px}.login-panel>.gold{width:100%;margin-top:20px;display:flex;justify-content:space-between}.login-panel label{font-size:12px}#login-error{color:#f2a392}.entry-links{display:flex;gap:13px;flex-wrap:wrap;justify-content:center;font-size:11px;margin:28px auto 20px}.entry-links span{color:#978158}.entry>small{color:#a1a79f;font-size:11px}.loading{text-align:center;padding:100px 20px;color:#ddc592}.loading .sigil{font-size:55px}.loading h1{margin:14px 0}.loading p{color:var(--muted)}dialog{padding:25px;max-width:560px;width:calc(100% - 28px);max-height:90dvh;overflow:auto;background:linear-gradient(145deg,#1d2b33,#0e1920);color:var(--ink);border:1px solid #cda76799;border-radius:10px;box-shadow:0 20px 100px #000a}dialog::backdrop{background:#01090dc9;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.dialog-heading h2{font-size:27px;margin-top:7px}.dialog-heading button{background:transparent;border:0;font-size:24px;padding:0 5px}.dialog-heading .eyebrow{font-size:9px}dialog label{font-size:12px}dialog .full{margin-top:18px}.dialog-footer{margin-top:25px;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;gap:10px;align-items:center;margin:20px 0}.check input{margin:0}.zero-warning{background:#67302c55;color:#f4b7a2;padding:12px;font-size:12px;border-radius:4px}.damage-input-line{display:grid;grid-template-columns:95px 1fr 36px;gap:10px;align-items:end}.damage-input-line button{margin-bottom:8px;padding:5px}.is-heal .damage-input-line label:nth-child(2){visibility:hidden}.existing-conditions{margin-bottom:22px}.template-preview{display:flex;justify-content:center;margin:15px 0 20px}.encounter-line{display:grid;grid-template-columns:1fr 70px 36px;gap:8px;margin:10px 0}.encounter-line button{padding:5px}.party-code{font-family:Georgia,serif;font-size:34px;letter-spacing:5px;text-align:center;background:#091318;border:1px solid #b2905759;color:#f1d49e;padding:17px;margin:22px 0}.share-links input{font-size:12px}.sent-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #c5bfaf18;font-size:12px}.sent-row small{display:block;color:#949f9f;font-size:10px;margin-top:3px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:20;background:#1b3035;border:1px solid #6e9b80;color:#d7edda;padding:13px 23px;max-width:calc(100% - 32px);border-radius:7px;box-shadow:0 8px 40px #0008;transition:transform .2s,opacity .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#41282a;color:#f4c7bb;border-color:#b06e60}.table-screen{min-height:100dvh;padding:28px 35px 24px;display:flex;flex-direction:column;position:relative}.table-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.wood-sign{padding:16px 28px;border:2px ridge #a8874d;background:repeating-linear-gradient(2deg,#281b12 0px,#281b12 7px,#302016 8px,#2a1a10 11px);box-shadow:0 8px 30px #0006;border-radius:5px}.wood-sign h1{font-size:32px;color:#f4d4a0;text-shadow:0 2px #000;margin-top:6px}.round-sign{text-align:center;padding:12px 25px;background:#0b1821ec;border:2px ridge #987642;border-radius:4px;box-shadow:0 8px 25px #0006}.round-sign strong{font-family:Georgia,serif;font-size:28px;display:block;font-weight:400;color:#e8d8b8}.round-sign small{display:block;margin-top:5px}.table-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:390px;padding:28px 0 36px}.table-active{display:flex;flex-direction:column;align-items:center}.token.table-token{width:210px;height:275px;padding:9px}.table-active .nameplate{font-size:30px;min-width:200px;margin-top:-23px}.table-active .health{font-size:15px;margin-top:10px;padding:6px 18px;background:#102017e6;border:1px solid #a1874c80;border-radius:3px}.table-active .conditions{justify-content:center;margin-top:8px}.table-stage .turn-ribbon{font-size:32px;width:440px;max-width:100%;margin:18px 0 0}.queue-rail{background:repeating-linear-gradient(0deg,#22190ff2 0px,#22190ff2 5px,#2a1c11f2 7px,#24190ff2 12px);border-top:3px ridge #aa8148;border-bottom:3px ridge #aa8148;box-shadow:0 -5px 25px #0008;display:flex;align-items:center;gap:25px;padding:20px 23px;min-height:180px}.queue-caption{min-width:90px;color:#e7cf9e}.queue-caption h2{font-size:25px;margin:6px 0}.queue-caption>span:last-child{font-size:30px}.table-queue{display:flex;justify-content:center;gap:25px;flex:1;flex-wrap:wrap}.queue-person{text-align:center;min-width:90px;max-width:130px;display:flex;flex-direction:column;align-items:center}.token.queue-token{width:83px;height:105px;padding:5px}.small-nameplate{font-family:Georgia,serif;font-size:14px;color:#ead7b4;margin-top:6px;overflow-wrap:anywhere}.queue-person .health{font-size:10px;margin-top:4px}.queue-person .gem{width:8px;height:8px}.queue-person .condition{font-size:9px}.table-stack{border-left:1px solid #a1824c70;padding-left:24px;min-width:150px;max-width:220px}.table-stack p{font-family:Georgia,serif;font-size:16px;color:#d9c5a6;margin-top:9px}.table-stack small{display:block;font-family:system-ui,sans-serif;font-size:10px;color:#a7a99e}.table-wait{text-align:center;max-width:600px}.table-wait h2{font-size:36px;margin:15px 0}.table-wait p{color:#c8c7b9}.fullscreen{align-self:flex-end;font-size:11px;margin-top:12px}.phone-screen{max-width:490px;margin:auto;min-height:100dvh;background:#0b1720d9;box-shadow:0 0 70px #0005}.phone-header{padding:15px 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-family:Georgia,serif;color:#e4cb9b;font-size:14px}.phone-header .brand-mark{font-size:23px}.phone-header .live{margin-left:auto;font:10px system-ui,sans-serif}.phone-content{padding:25px 20px}.phone-character{display:flex;flex-direction:column;align-items:center}.token.phone-token{width:130px;height:165px;padding:6px}.phone-character .nameplate{font-size:25px;margin-top:-15px}.personal-hp{margin-top:16px;display:flex;align-items:baseline;gap:6px}.personal-hp strong{font-family:Georgia,serif;font-size:30px;color:#bed8a7;font-weight:400}.personal-hp span{color:#aeb6ab;font-size:12px}.phone-character .conditions{justify-content:center}.phone-turn{text-align:center;padding:19px 14px;margin:22px 0;border-top:1px solid #a3834845;border-bottom:1px solid #a3834845;background:#1a25318c}.phone-turn h2{font-size:26px;color:#d6c8b0;margin:5px 0 9px}.phone-turn p{font-size:12px;color:#b0b8b3}.phone-turn.your-turn{background:linear-gradient(90deg,transparent,#bb8a3022,transparent);border-color:#b88841}.your-turn h2{color:#f1d397}.phone-screen .panel h2{font-size:21px}.phone-screen label{font-size:12px}.phone-screen .damage-input-line{grid-template-columns:85px 1fr 30px;gap:8px}.phone-screen .gold{margin-top:12px}.locked-action{text-align:center;border:1px dashed #8c80594f;border-radius:5px;padding:20px;font-size:12px;color:#a1aba6;margin:20px 0}.phone-sent{margin-top:25px}.phone-sent h2{font-size:18px;margin-bottom:7px}.phone-sent>p{font-size:12px}.request-status{font-size:10px;color:#c9be9e}.request-status.approved{color:#aed3a4}.request-status.rejected{color:#e5a798}.phone-footer{display:flex;justify-content:space-between;gap:8px;margin-top:28px}.phone-footer button{font-size:10px}.inline-input{display:flex;gap:10px;align-items:center}.inline-input input{flex:1;min-width:0}.inline-input button{margin-top:6px!important}.character-select{text-align:center;padding:65px 20px;max-width:800px;margin:auto}.character-select h1{font-size:38px;margin:15px 0}.character-select>p{margin-bottom:28px}.character-options{display:flex;gap:22px;flex-wrap:wrap;justify-content:center;margin:30px 0}.character-options button{background:#10212bd9;border:1px solid #bd9b6080;padding:22px;display:flex;flex-direction:column;align-items:center;gap:18px;min-width:130px}.character-options strong{font-family:Georgia,serif;font-size:21px;font-weight:400}
@media(min-width:1450px){.token.hero-token{width:210px;height:270px}.combat-center{padding-top:10px}.current-label{margin-bottom:25px}.center-actions button{font-size:12px}.history{margin-top:40px}.roster-person{font-size:13px}.roster-row{gap:11px}.token.tiny{width:43px;height:54px}}
@media(max-width:1100px){.topbar{padding:12px 18px;gap:12px;flex-wrap:wrap}.top-actions .live{display:none}.topbar nav button{min-width:auto;padding:8px}.workspace{padding:24px 18px}.mj-layout{grid-template-columns:minmax(255px,.9fr) minmax(280px,1.2fr);gap:18px}.right-column{grid-column:1/-1;grid-template-columns:1fr 1fr;align-items:start}.combat-center .history{margin-top:25px}.table-stack{min-width:110px;padding-left:15px}.queue-rail{gap:18px;padding:18px}.table-queue{gap:18px}.table-screen{padding:20px}.queue-caption{min-width:65px}.queue-caption h2{font-size:20px}}
@media(max-width:700px){.topbar{justify-content:center;padding:12px}.brand{margin-right:auto}.topbar nav{order:3;width:100%;justify-content:center;border-top:1px solid #b4935020;padding-top:6px}.top-actions{gap:3px}.top-actions .quiet-button{font-size:10px;padding:6px}.combat-title{align-items:flex-start;flex-direction:column;margin-bottom:20px}h1{font-size:28px}.combat-toolbar{width:100%;justify-content:flex-end}.mj-layout{display:flex;flex-direction:column}.roster,.combat-center,.right-column{width:100%}.combat-center{order:-1}.preparation-hero{padding:16px 8px 4px}.preparation-hero .crest{font-size:45px}.preparation-tokens{margin:22px auto}.history{display:none}.right-column{display:flex;flex-direction:column}.right-column>.panel{width:100%}.roster-person{font-size:13px}.roster-row{gap:14px}.workspace{padding:20px 14px}.roster-labels{font-size:10px}.roster-person small,.roster-hint{font-size:11px}.library-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.entry{padding-top:30px}.entry h1{font-size:46px}.table-header{gap:10px}.wood-sign{padding:12px 15px}.wood-sign h1{font-size:23px}.wood-sign .eyebrow{font-size:8px;letter-spacing:1.4px}.round-sign{padding:10px}.round-sign strong{font-size:20px}.round-sign .eyebrow{display:none}.table-screen{padding:13px}.table-stage{min-height:360px}.token.table-token{width:165px;height:220px}.table-stage .turn-ribbon{font-size:25px}.queue-rail{flex-wrap:wrap;gap:15px;padding:17px 10px}.queue-caption{width:100%;display:flex;gap:12px;align-items:center;justify-content:center}.queue-caption h2{margin:0}.queue-caption>span:last-child{font-size:24px}.table-queue{gap:18px;width:100%;flex-basis:100%}.token.queue-token{width:65px;height:83px}.queue-person{min-width:70px;max-width:96px}.small-nameplate{font-size:12px}.table-stack{border-left:0;border-top:1px solid #a1824c50;width:100%;max-width:none;text-align:center;padding:12px 0 0}.table-stack p{display:inline-block;margin:8px}.table-wait h2{font-size:29px}.damage-input-line{grid-template-columns:80px 1fr 30px}.app-footer{padding:12px 16px}.app-footer>span:nth-child(2){display:none}dialog{padding:20px}.dialog-heading h2{font-size:24px}.entry .eyebrow{font-size:9px}.eyebrow{font-size:9px}.phone-screen input,.phone-screen select{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* L’écran commun doit garder le tour ET la file visibles sans défilement. */
.mj-action-panel{text-align:left;margin:24px auto 0;max-width:440px}
.mj-action-panel h2{margin-top:7px;color:#ead7b3}
.mj-action-panel label{font-size:12px}
.mj-action-panel .damage-input-line{grid-template-columns:80px minmax(0,1fr) 30px;gap:8px}
.mj-action-panel button[type=submit]{margin-top:15px}
@media(min-width:701px){
  body[data-view=table]{overflow:hidden}
  .table-screen{height:100dvh;min-height:0;padding:20px 28px 14px}
  .table-header{flex-shrink:0}
  .wood-sign{padding:11px 22px}
  .wood-sign h1{font-size:28px}
  .round-sign{padding:8px 20px}
  .round-sign strong{font-size:25px}
  .table-stage{min-height:0;padding:12px 0 20px}
  .token.table-token{height:clamp(130px,28dvh,310px);width:auto;aspect-ratio:.76;padding:7px}
  .table-active .nameplate{font-size:24px;min-width:165px;padding:2px 18px;margin-top:-17px}
  .table-active .health{font-size:12px;margin-top:7px;padding:3px 12px}
  .table-stage .turn-ribbon{font-size:25px;padding:8px 14px;margin-top:11px}
  .queue-rail{flex-shrink:0;min-height:0;padding:12px 18px 18px;gap:18px}
  .token.queue-token{height:clamp(62px,11dvh,115px);width:auto;aspect-ratio:.79;padding:4px}
  .table-queue{gap:20px}
  .queue-person{min-width:70px;max-width:110px}
  .small-nameplate{font-size:12px}
  .table-stack p{font-size:14px;margin-top:5px}
  .fullscreen{position:absolute;right:33px;bottom:0;font-size:9px;min-height:22px;padding:2px 8px;background:#10191fe8}
}
