:root{--rpcg-background:#042130;--rpcg-panel:#06344c;--rpcg-primary:#0161a1;--rpcg-accent:#0295d7;--rpcg-hover:#8ed4f8;--rpcg-text:#e3edff;--rpcg-muted:#9bb8c9;--rpcg-border:#0161a1;--rpcg-error:#ff6b6b}body{background:var(--rpcg-background);color:var(--rpcg-text);margin:0;padding:24px;font-family:Arial,sans-serif}h1,h2,h3,a{color:var(--rpcg-hover)}.status{color:var(--rpcg-hover);margin:0 0 20px}.error{color:var(--rpcg-error)}.panel{background:var(--rpcg-panel);border:1px solid var(--rpcg-border);border-radius:8px;margin-bottom:20px;padding:16px}table{border-collapse:collapse;background:var(--rpcg-panel);width:100%}th,td{border:1px solid var(--rpcg-border);text-align:left;padding:8px}th{background:var(--rpcg-primary)}tr:hover{background:#8ed4f81f}.small{color:var(--rpcg-muted);font-size:.9em}button{background:var(--rpcg-primary);color:var(--rpcg-text);border:1px solid var(--rpcg-accent);cursor:pointer;border-radius:6px;padding:8px 12px}button:hover{background:var(--rpcg-accent)}.app-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.user-button-wrap{padding-top:10px}.hero-panel p{max-width:900px;line-height:1.5}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;display:grid}.button-row{flex-wrap:wrap;gap:12px;display:flex}.button-link{background:var(--rpcg-primary);border:1px solid var(--rpcg-accent);color:var(--rpcg-text);border-radius:6px;padding:8px 12px;text-decoration:none;display:inline-block}.button-link:hover{background:var(--rpcg-accent)}.section-heading-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.empty-state{border:1px dashed var(--rpcg-accent);border-radius:8px;padding:18px}.form-panel{flex-direction:column;gap:18px;display:flex}.form-field{flex-direction:column;gap:6px;max-width:520px;display:flex}label{color:var(--rpcg-hover);font-weight:700}input,select{color:#e3edff;background:#0c3d58;border:1px solid #0295d7;border-radius:6px;padding:9px 10px}select option{color:#e3edff;background:#0c3d58}button:disabled{cursor:not-allowed;opacity:.65}.template-card-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.template-choice-card{border:1px solid var(--rpcg-border);cursor:pointer;background:#0161a140;border-radius:8px;flex-direction:column;gap:8px;padding:14px;display:flex}.template-choice-card input{width:fit-content}.template-choice-card.selected{border-color:var(--rpcg-hover);box-shadow:0 0 0 2px #8ed4f840}.template-choice-card.dimmed{filter:grayscale(.7);opacity:.4}.template-choice-card.dimmed:hover{filter:grayscale(.3);opacity:.7}.global-nav{z-index:10;background:linear-gradient(#021722f7,#031018f0);border-bottom:1px solid #c58b458c;justify-content:space-between;align-items:center;gap:20px;margin:-24px -24px 24px;padding:12px 24px;display:flex;position:sticky;top:0;box-shadow:0 8px 28px #00000047}.global-nav a{color:var(--rpcg-text);text-decoration:none}.global-nav a:hover{color:var(--rpcg-hover)}.global-nav-brand{flex-direction:column;flex:none;gap:2px;display:flex}.global-nav-brand a{color:var(--rpcg-hover);font-size:1.15rem;font-weight:700}.global-nav-brand span{color:var(--rpcg-muted);font-size:.82rem}.global-nav-brand .global-nav-version{opacity:.75;letter-spacing:.02em;font-size:.68rem}.global-nav-links{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.global-nav-pill{white-space:nowrap;background:radial-gradient(circle at 50% 28%,#ffffff14,#081219e6 68%);border:1px solid #c58b456b;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:4px 11px 4px 5px;transition:border-color .14s,box-shadow .14s,transform .14s;display:inline-flex;box-shadow:inset 0 0 12px #0000008c,0 2px 8px #00000038}.global-nav-pill:hover{color:var(--rpcg-hover);border-color:#ffcc5ce0;transform:translateY(-1px);box-shadow:inset 0 0 14px #00000073,0 0 12px #c58b4552}button.global-nav-pill{appearance:none;color:var(--rpcg-text);cursor:pointer;font:inherit;margin:0;padding:4px}.global-nav-icon{color:#d9b36a;background:radial-gradient(circle at 50% 35%,#ffe59933,#09131cf2 70%);border:1px solid #c58b45ad;border-radius:50%;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;font-size:.86rem;font-weight:800;line-height:1;display:inline-flex}.global-nav-label{font-size:.92rem;line-height:1}.app-shell{max-width:1872px;margin:0 auto}.attribute-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.attribute-grid div{border:1px solid var(--rpcg-border);text-align:center;background:#0161a140;border-radius:8px;padding:14px}.attribute-grid span{color:var(--rpcg-muted);margin-bottom:4px;font-size:.85rem;display:block}.attribute-grid strong{color:var(--rpcg-hover);font-size:1.6rem;display:block}@media (max-width:760px){.global-nav{flex-direction:column;align-items:flex-start}.global-nav-links{justify-content:flex-start}}.character-sheet-header h1{margin-bottom:4px}.character-sheet-layout{grid-template-columns:280px 240px minmax(420px,1fr);grid-template-areas:"overview attributes equipment""status-effects attributes equipment"".attributes powers"".attributes skills";align-items:start;gap:20px;display:grid}.sheet-panel{margin-bottom:0}.overview-panel{grid-area:overview}.attributes-panel{grid-area:attributes}.equipment-panel{grid-area:equipment;min-height:360px}.powers-panel{grid-area:powers;min-height:150px}.skills-panel{grid-area:skills;min-height:150px}.detail-list{gap:8px;margin:0;display:grid}.detail-list div{grid-template-columns:92px 1fr;gap:10px;display:grid}.detail-list dt{color:var(--rpcg-muted);font-weight:700}.detail-list dd{margin:0}.sheet-note{border-top:1px solid #8ed4f840;margin-top:14px;padding-top:12px;line-height:1.4}.attribute-box{background:#0161a129;border:1px solid #8ed4f840;border-radius:8px;overflow:hidden}.attribute-row{grid-template-columns:54px 1fr 1fr 1fr;align-items:center;gap:8px;padding:8px 10px;display:grid}.attribute-row+.attribute-row{border-top:1px solid #8ed4f829}.attribute-header{color:var(--rpcg-muted);text-transform:uppercase;background:#0161a157;font-size:.78rem;font-weight:700}.attribute-row span:first-child{color:var(--rpcg-muted);font-weight:700}.attribute-row strong{color:var(--rpcg-hover);text-align:center;font-size:1.05rem}.attribute-row em{color:var(--rpcg-hover);text-align:center;font-style:normal}.subsection-title{margin:18px 0 8px;font-size:1rem}.compact-stat-box .attribute-row{grid-template-columns:54px 1fr 1fr 1fr}.panel-title-row{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.panel-title-row h3{margin-top:0}.equipment-grid{grid-template-columns:minmax(160px,1fr) minmax(180px,1.2fr) minmax(160px,1fr);gap:14px;display:grid}.equipment-slot-list,.placeholder-list div{background:#0161a129;border:1px solid #8ed4f840;border-radius:6px;padding:12px}.equipment-slot-list p{color:var(--rpcg-hover);margin:0 0 10px}.equipment-slot-list div{color:var(--rpcg-muted);line-height:1.55}.placeholder-list{gap:10px;display:grid}.placeholder-list.compact{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}@media (max-width:1050px){.character-sheet-layout{grid-template-columns:1fr 1fr;grid-template-areas:"overview attributes""status-effects status-effects""equipment equipment""powers powers""skills skills"}}@media (max-width:720px){.character-sheet-layout,.equipment-grid{grid-template-columns:1fr}.character-sheet-layout{grid-template-areas:"overview""attributes""status-effects""equipment""powers""skills"}}.attribute-row span:first-child,.attribute-row strong:last-child{color:var(--rpcg-hover)}.attribute-row strong:not(:last-child),.attribute-row em{color:var(--rpcg-muted)}.equipment-manage-layout{grid-template-columns:300px minmax(520px,1fr);align-items:start;gap:20px;display:grid}.equipment-edit-panel{min-height:520px}.equipment-slot-table{gap:10px;display:grid}.equipment-slot-row{background:#0161a129;border:1px solid #8ed4f840;border-radius:8px;grid-template-columns:170px minmax(240px,1fr) 150px;align-items:center;gap:12px;padding:10px 12px;display:grid}.compact-buttons{justify-content:flex-end;gap:8px}.compact-buttons button{padding:6px 10px}.equipment-modal{width:min(860px,94vw);max-width:860px;max-height:82vh;overflow:auto}.inventory-choice-list{gap:10px;margin-top:14px;display:grid}.inventory-choice{color:var(--rpcg-text);text-align:left;background:#0161a138;border:2px solid #8ed4f84d;border-radius:8px;align-items:flex-start;gap:10px;width:100%;padding:12px;display:flex}.inventory-choice-thumb.dac-standard-image-backdrop{flex-shrink:0;width:64px;height:64px;padding:2px}.inventory-choice-thumb .dac-card-image{object-fit:contain;width:100%;height:100%}.inventory-choice-body{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.inventory-choice strong{color:#f2f2f2}.inventory-choice-name{align-items:baseline;gap:6px;display:inline-flex}.dac-rarity-stars{letter-spacing:-1px;text-shadow:0 1px 2px #0000008c;white-space:nowrap;font-size:.82em;font-weight:800;line-height:1;display:inline-block}.inventory-choice span{color:var(--rpcg-muted)}.live-equipment-grid{margin-top:10px}@media (max-width:900px){.equipment-manage-layout,.equipment-slot-row{grid-template-columns:1fr}.compact-buttons{justify-content:flex-start}}.equipment-column-list{gap:8px;display:grid}.equipment-line{grid-template-columns:minmax(105px,.9fr) minmax(130px,1.2fr);align-items:baseline;gap:12px;display:grid}.equipment-line span{color:var(--rpcg-muted)}.equipment-line strong{color:var(--rpcg-hover);font-weight:700}.equipment-line-header span{color:var(--rpcg-text);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;font-weight:700}.equipment-two-pane-grid{grid-template-columns:minmax(300px,1fr) minmax(300px,1fr)}.equipped-item-name{color:var(--rpcg-hover)}.empty-equipment-slot{color:var(--rpcg-muted)}@media (max-width:900px){.equipment-two-pane-grid{grid-template-columns:1fr}}.equipment-edit-two-pane-grid{grid-template-columns:repeat(2,minmax(320px,1fr));gap:16px;display:grid}.equipment-edit-two-pane-grid h4{color:var(--rpcg-hover);margin:0 0 10px}.equipment-edit-two-pane-grid .equipment-slot-row{grid-template-columns:135px minmax(150px,1fr)}.inventory-choice span:last-child{white-space:pre-line}@media (max-width:1180px){.equipment-edit-two-pane-grid{grid-template-columns:1fr}}.equipment-manage-layout{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:20px;width:100%;display:grid}.equipment-attribute-sidebar,.equipment-edit-panel,.equipment-edit-two-pane-grid,.equipment-slot-table,.equipment-slot-row{box-sizing:border-box;min-width:0}.equipment-edit-panel{width:100%;overflow:hidden}.equipment-edit-two-pane-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;width:100%;display:grid}.equipment-edit-two-pane-grid .equipment-slot-row{grid-template-columns:minmax(115px,.85fr) minmax(130px,1.15fr);align-items:start;gap:10px;width:100%;display:grid}.equipment-edit-two-pane-grid .equipment-slot-row>div{min-width:0}.equipment-edit-two-pane-grid .equipment-slot-row strong,.equipment-edit-two-pane-grid .equipment-slot-row span{overflow-wrap:anywhere}.equipment-edit-two-pane-grid .compact-buttons{grid-column:1/-1;justify-content:flex-start}@media (max-width:1120px){.equipment-manage-layout,.equipment-edit-two-pane-grid{grid-template-columns:1fr}}.equip-builder-layout,.equip-builder-layout *{box-sizing:border-box}.equip-builder-layout{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:20px;width:100%;display:grid}.equip-builder-sidebar,.equip-builder-main,.equip-builder-section,.equip-help-box{background:#06344cf0;border:1px solid #0295d7bf;border-radius:8px;min-width:0}.equip-builder-sidebar{padding:16px}.equip-stat-block{border-bottom:1px solid #8ed4f838;margin-bottom:18px;padding-bottom:14px}.equip-stat-block h3{text-transform:uppercase;margin:0 0 12px;font-size:1.05rem}.equip-stat-row{grid-template-columns:minmax(70px,1fr) 42px 42px 48px;align-items:center;gap:8px;padding:5px 0;display:grid}.equip-stat-header{color:var(--rpcg-muted);font-size:.82rem}.equip-stat-name,.equip-stat-total{color:var(--rpcg-hover)}.equip-stat-base,.equip-stat-adj{color:var(--rpcg-muted);font-style:normal}.equip-sidebar-note{color:var(--rpcg-muted);margin:0;font-size:.9rem}.equip-builder-main{padding:16px;overflow:hidden}.equip-builder-main-header{flex-wrap:wrap;align-items:baseline;gap:16px;margin-bottom:14px;display:flex}.equip-builder-main-header h3{margin:0}.equip-builder-main-header span{color:var(--rpcg-muted)}.auto-equip-button{margin-left:auto}.auto-equip-note{color:var(--rpcg-muted);margin:0 0 12px;font-size:.9rem}.equip-busy-modal{text-align:center;max-width:380px;padding:20px}.equip-busy-head{justify-content:center;align-items:center;gap:10px;margin-bottom:8px;display:flex}.equip-busy-spinner{border:3px solid #0295d740;border-top-color:#0295d7f2;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite equip-busy-spin;display:inline-block}@keyframes equip-busy-spin{to{transform:rotate(360deg)}}.equip-busy-label{color:var(--rpcg-muted);margin:0 0 12px}.equip-busy-bar{background:#ffffff1f;border-radius:6px;width:100%;height:10px;overflow:hidden}.equip-busy-bar-fill{background:#0295d7f2;height:100%;transition:width .2s}.equip-busy-progress{color:var(--rpcg-muted);margin:8px 0 0;font-size:.9rem}.equip-builder-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;width:100%;display:grid}.equip-builder-section{padding:12px;overflow:hidden}.equip-builder-section h3{margin:0 0 12px}.equip-slot-list{gap:0;display:grid}.equip-slot-card{background:#04213057;border:2px solid #8ed4f838;border-radius:6px;grid-template-columns:minmax(76px,100px) minmax(0,1fr) max-content;align-items:center;gap:12px;min-width:0;margin-bottom:8px;padding:12px;display:grid}.equip-slot-header-row{color:var(--rpcg-muted);letter-spacing:.08em;text-transform:uppercase;background:#0161a129;border-color:#8ed4f852;margin-bottom:6px;padding-top:7px;padding-bottom:7px;font-size:.78rem;font-weight:800}.equip-slot-header-row span{text-align:left}.equip-slot-info,.equip-slot-item{min-width:0}.equip-slot-item{text-align:left;justify-self:start}.equip-slot-card:has(.equip-dac-thumb) .equip-slot-item{align-items:center;gap:10px;display:flex}.equip-slot-item-text{min-width:0}.equip-dac-thumb.dac-standard-image-backdrop{flex-shrink:0;width:64px;height:64px;padding:2px}.equip-dac-thumb .dac-card-image{object-fit:contain;width:100%;height:100%}.equip-weapon-stats,.equip-slot-item-summary{color:var(--rpcg-muted);font-size:.85rem;line-height:1.3;display:block}.equip-slot-info strong{color:var(--rpcg-hover);font-weight:700;display:block}.equip-slot-info span,.equip-slot-item span{color:var(--rpcg-muted);font-size:.9rem;line-height:1.25;display:block}.equip-slot-item strong{overflow-wrap:anywhere;font-weight:700;line-height:1.25;display:block}.equip-slot-item-name{color:#f2f2f2;text-align:left;justify-content:flex-start;align-items:baseline;gap:6px;max-width:100%;display:inline-flex!important}.equip-slot-item-name span{color:#f2f2f2;font-size:inherit;line-height:inherit;display:inline}.equip-slot-rarity{justify-content:flex-start;align-items:center;min-width:0;display:flex}.equip-slot-rarity .dac-rarity-stars{font-size:.86rem}.equip-slot-actions{flex-wrap:nowrap;justify-content:flex-end;gap:8px;display:flex}.equip-slot-actions button{padding:6px 10px}.equip-help-box{margin-top:14px;padding:14px}.equip-help-box h3{margin:0 0 8px}.equip-help-box p{color:var(--rpcg-muted);margin:4px 0}@media (max-width:1180px){.equip-builder-layout{grid-template-columns:1fr}.equip-builder-sidebar{max-width:420px}}@media (max-width:900px){.equip-builder-columns{grid-template-columns:1fr}}@media (max-width:620px){.equip-slot-card{grid-template-columns:1fr}.equip-slot-actions{justify-content:flex-start}}.equip-slot-info strong{font-size:1rem}.pack-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;display:grid}.pack-card{flex-direction:column;gap:14px;display:flex}.pack-stats{color:var(--rpcg-muted);flex-direction:column;gap:6px;display:flex}.pack-results-panel{margin-top:20px}.pack-results-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.pack-result-affix-row{flex-wrap:wrap;gap:4px 12px;display:flex}.pack-result-card{border:2px solid var(--rpcg-border);background:#0161a140;border-radius:8px;flex-direction:column;gap:6px;padding:12px;display:flex;position:relative}.pack-result-stars-corner{letter-spacing:.02em;text-shadow:0 1px 2px #000000bf;white-space:nowrap;z-index:2;background:#0f172ac7;border:1px solid #ffffff47;border-radius:999px;padding:.18rem .34rem;font-size:.68rem;font-weight:900;line-height:1;display:inline-flex;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 8px #00000059}.pack-result-stars-corner .dac-rarity-stars{font-size:inherit}.pack-result-card span,.pack-result-card p{color:var(--rpcg-muted);margin:0}.pack-reveal-stage{z-index:4000;pointer-events:none;position:fixed;inset:0;overflow:hidden}.pack-reveal-stage.shake{animation:.5s ease-in-out pack-reveal-shake}.pack-burst{--c:#3aa0ee;--gold:#ffcf5c;position:absolute;top:50%;left:50%}.pack-burst-txt{text-transform:uppercase;white-space:nowrap;color:#fff;letter-spacing:.015em;text-shadow:0 0 6px #fff, 0 0 22px var(--c), 0 0 46px var(--c), 0 6px 10px #0009;font-family:Haettenschweiler,Arial Narrow Bold,Impact,Arial Black,system-ui,sans-serif;font-style:italic;font-weight:400;animation:1.55s cubic-bezier(.2,.9,.25,1) forwards pack-burst-text;position:absolute;top:0;left:0;transform:translate(-50%,-50%)}.pack-burst-lead{letter-spacing:.28em;color:var(--c);text-shadow:0 0 12px var(--c);margin-bottom:-.15em;font-size:.42em;display:block}.pack-burst.uncommon .pack-burst-txt{font-size:clamp(1.7rem,5vw,2.9rem)}.pack-burst.rare .pack-burst-txt{font-size:clamp(2.5rem,8vw,4.4rem)}.pack-burst.affix .pack-burst-txt{font-size:clamp(3rem,10vw,5.4rem)}.pack-burst.epic .pack-burst-txt{font-size:clamp(3.7rem,13vw,7rem)}.pack-burst-ring{border:3px solid var(--c);width:140px;height:140px;box-shadow:0 0 26px var(--c), inset 0 0 26px var(--c);opacity:0;border-radius:50%;margin:-70px 0 0 -70px;animation:1s ease-out forwards pack-burst-ring;position:absolute;top:0;left:0;transform:translate(-50%,-50%)}.pack-burst-rays{background:repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c) 60%, transparent) 0deg 4deg, transparent 4deg 16deg);opacity:0;width:460px;height:460px;margin:-230px 0 0 -230px;animation:1.1s ease-out forwards pack-burst-rays;position:absolute;top:0;left:0;transform:translate(-50%,-50%);-webkit-mask:radial-gradient(closest-side,#0000 24%,#000 30%,#0000 72%);mask:radial-gradient(closest-side,#0000 24%,#000 30%,#0000 72%)}.pack-burst-spark{background:var(--c);width:8px;height:8px;box-shadow:0 0 10px var(--c);transform:translate(-50%, -50%) rotate(var(--a)) translateX(0);animation:pack-burst-spark var(--sd,1s) ease-out forwards;border-radius:50%;margin:-4px 0 0 -4px;position:absolute;top:0;left:0}.pack-burst.epic .pack-burst-spark:nth-child(2n){background:var(--gold);box-shadow:0 0 12px var(--gold)}@keyframes pack-burst-text{0%{opacity:0;filter:blur(7px);transform:translate(-50%,-50%)scale(.2)rotate(-5deg)}32%{opacity:1;filter:blur();transform:translate(-50%,-50%)scale(1.16)rotate(-2deg)}48%{transform:translate(-50%,-50%)scale(.98)rotate(-2deg)}76%{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(-2deg)}to{opacity:0;filter:blur(3px);transform:translate(-50%,-50%)scale(1.32)rotate(-2deg)}}@keyframes pack-burst-ring{0%{opacity:0;transform:translate(-50%,-50%)scale(.12)}12%{opacity:.95}to{opacity:0;transform:translate(-50%,-50%)scale(2.7)}}@keyframes pack-burst-rays{0%{opacity:0;transform:translate(-50%,-50%)scale(.2)rotate(0)}22%{opacity:.8}to{opacity:0;transform:translate(-50%,-50%)scale(2.1)rotate(22deg)}}@keyframes pack-burst-spark{0%{opacity:1;transform:translate(-50%, -50%) rotate(var(--a)) translateX(0) scale(1)}to{opacity:0;transform:translate(-50%, -50%) rotate(var(--a)) translateX(var(--d)) scale(.3)}}@keyframes pack-reveal-shake{0%,to{transform:translate(0)}20%{transform:translate(-7px,4px)}40%{transform:translate(6px,-5px)}60%{transform:translate(-5px,-3px)}80%{transform:translate(5px,4px)}}@media (prefers-reduced-motion:reduce){.pack-burst-txt{animation:1.4s forwards pack-burst-fade}.pack-burst-ring,.pack-burst-rays,.pack-burst-spark{display:none}.pack-reveal-stage.shake{animation:none}@keyframes pack-burst-fade{0%{opacity:0;transform:translate(-50%,-50%)scale(1)}20%{opacity:1}80%{opacity:1}to{opacity:0}}}.inventory-summary-panel{margin-bottom:20px}.inventory-filter-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:14px;display:grid}.inventory-filter-row label{color:var(--rpcg-muted);flex-direction:column;gap:6px;display:flex}.inventory-filter-row select{border:1px solid var(--rpcg-border);color:var(--rpcg-text);background:#00000040;border-radius:6px;padding:8px}.dac-inventory-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.dac-inventory-card{flex-direction:column;gap:12px;display:flex}.dac-card-top-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dac-card-top-row h3{margin-bottom:4px}.dac-card-rarity-row{min-height:1em;margin:-1px 0 4px}.dac-card-rarity-row .dac-rarity-stars{font-size:.92rem}.dac-card-image,.dac-card-image-placeholder{border:1px solid var(--rpcg-border);object-fit:cover;border-radius:8px;flex:0 0 96px;justify-content:center;align-items:center;max-width:96px;height:96px;display:flex;overflow:hidden}.dac-card-image-placeholder{color:var(--rpcg-muted);letter-spacing:.08em;background:#0161a140;font-weight:700}.dac-card-stat-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;display:grid}.dac-card-stat-grid span,.dac-card-details{color:var(--rpcg-muted)}.dac-inventory-card{border-width:2px}.dac-quantity-badge{color:#e5e7eb;background:#0f172ab8;border:1px solid #ffffff38;border-radius:999px;justify-content:center;align-items:center;min-width:2.4rem;margin-right:.35rem;padding:.1rem .45rem;font-size:.8rem;font-weight:700;display:inline-flex}.dac-card-subline{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.dac-inventory-card .dac-card-stat-line{margin:0;font-weight:600}.dac-inventory-card .dac-card-flavor{color:var(--rpcg-muted);margin:0;font-style:italic}.light-blue-star{color:#7dd3fc;font-size:.8rem;line-height:1}.dac-equipped-badge{color:#7dd3fc;letter-spacing:.02em;text-transform:uppercase;background:#7dd3fc24;border:1px solid #7dd3fc73;border-radius:999px;padding:2px 7px;font-size:.68rem;font-weight:700;line-height:1}.dac-inline-quantity{color:#e5e7eb;border:1px solid #7dd3fc59;border-radius:999px;margin-left:.25rem;padding:.05rem .45rem;font-size:.78rem;font-weight:700;display:inline-flex}.dac-card-action-row{justify-content:flex-end;margin-top:auto;display:flex}.success-panel{border-color:#22c55e59}.modal-backdrop{z-index:50;background:#000000b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-panel{width:min(520px,100%);max-width:520px}.quantity-control-label{color:var(--rpcg-muted);flex-direction:column;gap:6px;margin:14px 0;display:flex}.quantity-control-label input{border:1px solid var(--rpcg-border);color:var(--rpcg-text);background:#00000040;border-radius:6px;padding:8px}.modal-action-row{justify-content:flex-end;margin-top:16px}.inline-error{background:#dc262614;border:1px solid #dc262659;border-radius:10px;gap:.25rem;margin:.75rem 0;padding:.75rem;display:grid}.inline-error strong{color:#b91c1c}.dac-card-visual-stack{flex-direction:column;flex:0 0 82px;align-items:center;gap:6px;display:flex}.dac-image-quantity{color:#e5e7eb;border:1px solid #7dd3fc59;border-radius:999px;justify-content:center;min-width:58px;padding:.05rem .45rem;font-size:.78rem;font-weight:700;display:inline-flex}.dac-card-artist-credit{color:var(--rpcg-muted);white-space:nowrap;justify-content:flex-end;width:110px;min-width:0;font-size:.6rem;font-style:italic;line-height:1.15;display:flex;overflow:visible}.artist-credit-figure{margin:14px 0 0}.artist-credit-figure--header{text-align:center;flex:none;margin:0}.artist-credit-example{flex-direction:column;align-items:center;gap:6px;padding:16px 30px;display:inline-flex}.artist-credit-figure figcaption{margin-top:8px}.dac-title-affix-line{color:var(--rpcg-muted);margin:0 0 4px;font-style:italic}.pack-affix-hit{font-weight:700;color:#facc15!important}.pack-affix-miss{color:var(--rpcg-muted)}.dac-card-source-material{grid-column:1/-1;margin-top:.25rem}.dac-card-footer-row{justify-content:space-between;align-items:center;gap:12px;margin-top:auto;display:flex}.dac-card-footer-actions{align-items:center;gap:10px;display:flex}.dac-card-deconstruction-material{color:var(--rpcg-muted);text-align:left;white-space:nowrap;flex-direction:column;flex:none;gap:2px;line-height:1.2;display:flex}.dac-card-deconstruction-material strong{color:var(--rpcg-text)}.dac-action-icon-btn{aspect-ratio:96/123;background:var(--rpcg-panel);border:1px solid var(--rpcg-accent);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:38px;padding:0;line-height:0;display:inline-flex;overflow:hidden}.dac-action-icon-btn img{object-fit:cover;width:100%;height:100%;display:block}.dac-action-icon-btn:hover:not(:disabled){background:var(--rpcg-panel);border-color:var(--rpcg-hover);box-shadow:0 0 6px #8ed4f880}.dac-action-icon-btn:disabled{cursor:not-allowed;opacity:.4}.success-toast{color:#ecfdf5;z-index:80;background:#15803df5;border:1px solid #bbf7d08c;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:14px;max-width:min(560px,100vw - 32px);padding:14px 16px;display:flex;position:fixed;top:76px;right:18px;box-shadow:0 14px 40px #00000059}.success-toast div{flex-direction:column;gap:4px;display:flex}.success-toast strong{color:#fff}.success-toast span{line-height:1.35}.success-toast button{color:#fff;background:0 0;border:0;padding:0 2px;font-size:1.25rem;line-height:1}.dac-material-image-backdrop,.dac-standard-image-backdrop{border:1px solid #ffffff29;border-radius:10px;justify-content:center;align-items:center;width:102px;height:102px;padding:3px;display:flex}.dac-material-image-backdrop{box-shadow:inset 0 0 18px #ffffff0f}.dac-material-image-backdrop .dac-card-image,.dac-standard-image-backdrop .dac-card-image{border:0}.dac-material-image-backdrop,.dac-standard-image-backdrop{position:relative}.dac-material-image-backdrop{border-width:2px}.dac-material-tier-stars{letter-spacing:.02em;text-shadow:0 1px 2px #000000bf;white-space:nowrap;z-index:2;background:#0f172ac7;border:1px solid #ffffff47;border-radius:999px;gap:.02rem;padding:.18rem .34rem;font-size:.68rem;font-weight:900;line-height:1;display:inline-flex;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 8px #00000059}.dac-material-tier-stars-empty{color:#64748b}.dac-image-stars-corner{letter-spacing:.02em;text-shadow:0 1px 2px #000000bf;white-space:nowrap;z-index:2;background:#0f172ac7;border:1px solid #ffffff47;border-radius:999px;padding:.18rem .34rem;font-size:.68rem;font-weight:900;line-height:1;display:inline-flex;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 8px #00000059}.dac-image-stars-corner .dac-rarity-stars{font-size:inherit}.decon-exp-summary{background:#0f172a6b;border:1px solid #8ed4f838;border-radius:10px;gap:7px;margin-top:14px;padding:10px 12px;display:grid}.decon-exp-summary-header,.decon-exp-summary-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.decon-exp-summary-header strong{color:var(--rpcg-hover)}.decon-exp-summary-header span,.decon-exp-summary-footer span{color:var(--rpcg-muted);font-size:.86rem}.decon-exp-progress-track{background:#ffffff14;border:1px solid #8ed4f838;border-radius:999px;height:10px;overflow:hidden}.decon-exp-progress-fill{background:linear-gradient(90deg,#8ed4f8,#a855f7);border-radius:999px;min-width:2px;height:100%;transition:width .22s}@media (max-width:720px){.decon-exp-summary-header,.decon-exp-summary-footer{flex-direction:column;align-items:flex-start;gap:4px}}.pack-open-button-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.pack-open-button-row button{white-space:nowrap}.crafting-summary-panel{margin-bottom:20px}.crafting-layout{grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:18px;display:grid}.crafting-recipe-list{flex-direction:column;gap:10px;display:flex}.crafting-recipe-button{text-align:left;background:#0161a12e;flex-direction:column;align-items:flex-start;gap:4px;width:100%;display:flex}.crafting-recipe-button.selected{border-color:var(--rpcg-hover);box-shadow:0 0 0 2px #8ed4f838}.crafting-recipe-button small{color:var(--rpcg-muted)}.crafting-detail-panel{gap:18px;display:grid}.crafting-detail-header{align-items:flex-start;gap:16px;display:flex}.crafting-output-image-wrap{background:#0f172a6b;border:1px solid #8ed4f838;border-radius:12px;flex:0 0 96px;justify-content:center;align-items:center;width:96px;height:96px;display:flex;overflow:hidden}.crafting-output-image{object-fit:contain;width:92px;height:92px}.crafting-quantity-row{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.crafting-quantity-row label{color:var(--rpcg-muted);flex-direction:column;gap:6px;max-width:140px;display:flex}.crafting-ingredient-list{gap:8px;display:grid}.crafting-ingredient-row{background:#0f172a59;border:1px solid #8ed4f838;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.crafting-ingredient-row.missing{border-color:#ef444473}.crafting-ingredient-row.missing span:last-child{color:#fca5a5;font-weight:700}.crafting-last-result{background:#15803d24;border:1px solid #bbf7d040;border-radius:10px;padding:10px 12px}@media (max-width:860px){.crafting-layout{grid-template-columns:1fr}.crafting-detail-header{flex-direction:column}}.crafting-material-matrix-panel,.crafting-filter-panel,.crafting-transaction-panel{gap:14px;display:grid}.crafting-material-table-wrap{overflow-x:auto}.crafting-material-table{border-collapse:collapse;width:100%;min-width:680px}.crafting-material-table th,.crafting-material-table td{text-align:right;border:1px solid #8ed4f833;padding:8px 10px}.crafting-material-table th:first-child,.crafting-material-table td:first-child{text-align:left}.crafting-material-table thead th,.crafting-material-table tbody th{color:var(--rpcg-text);background:#0f172a73}.crafting-filter-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:12px;display:grid}.crafting-filter-grid label,.crafting-recipe-select-label{color:var(--rpcg-muted);flex-direction:column;gap:6px;display:flex}.crafting-checkbox-label{align-items:center;min-height:42px;flex-direction:row!important}.crafting-checkbox-label input{width:auto}.crafting-recipe-select-label{margin-top:12px}.crafting-transaction-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.crafting-transaction-grid ul{margin:0;padding-left:20px}.crafting-transaction-grid li{margin:6px 0}.crafting-active-recipes-note{color:var(--rpcg-muted);margin:2px 0 0}.crafting-ingredient-row{justify-content:initial;grid-template-columns:minmax(90px,.7fr) minmax(180px,1.5fr) minmax(150px,1fr);display:grid}.crafting-ingredient-row span:first-child,.crafting-ingredient-row span:last-child{text-align:right}.crafting-ingredient-row span:nth-child(2){text-align:left}.crafting-ingredient-header{color:var(--rpcg-text);background:#0f172a8c;font-weight:700}.material-tier-stars{letter-spacing:1px;white-space:nowrap;font-size:.86rem;display:inline-block}.material-tier-stars-filled{color:var(--rpcg-hover)}.material-tier-stars-empty{color:#94a3b88c}.material-tier-stars-1 .material-tier-stars-filled{color:#9ca3af}.material-tier-stars-2 .material-tier-stars-filled{color:#22c55e}.material-tier-stars-3 .material-tier-stars-filled{color:#ef4444}.material-tier-stars-4 .material-tier-stars-filled{color:#3b82f6}.material-tier-stars-5 .material-tier-stars-filled{color:#f97316}.material-tier-stars-6 .material-tier-stars-filled{color:#a855f7}.crafting-cost-impact-table .impact-cell{color:var(--rpcg-muted);white-space:nowrap}.crafting-cost-impact-table .impact-cell.changed{color:var(--rpcg-text);background:#8ed4f814;font-weight:700}.crafting-cost-impact-table .impact-left.recipe-cost{color:#fff}.crafting-cost-impact-table .impact-left.conversion-source{color:#fb923c}.crafting-cost-impact-table .impact-divider{color:var(--rpcg-muted);margin:0 5px}.crafting-cost-impact-table .impact-after{color:var(--rpcg-muted)}.crafting-cost-impact-table .impact-after.changed-result{color:#86efac}.crafting-cost-help-text{margin:10px 0 0}.impact-help-cost{color:#fff}.impact-help-green{color:#86efac}.impact-help-orange{color:#fb923c}.status-effects-panel{grid-area:status-effects;min-height:116px}.status-effect-icon-list{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.status-effect-icon-card{background:#0f172a6b;border:2px solid #94a3b852;border-radius:10px;width:56px;height:56px;padding:3px;position:relative;box-shadow:0 0 0 1px #0f172abf,0 10px 18px #00000038}.status-effect-icon-card img{object-fit:contain;border-radius:7px;width:100%;height:100%;display:block}.status-effect-icon-card:hover{transform:translateY(-1px);box-shadow:0 0 0 1px #e2e8f040,0 14px 22px #00000047}.status-effect-icon-fallback{width:100%;height:100%;color:var(--rpcg-hover);place-items:center;font-size:1.45rem;font-weight:800;display:grid}.status-effect-stack-count{color:#fff;background:#0f172af2;border:1px solid #e2e8f059;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 4px;font-size:.7rem;font-weight:800;display:grid;position:absolute;bottom:-6px;right:-6px}.status-effect-buff{border-color:#4ade80b8}.status-effect-debuff{border-color:#f87171b8}.status-grant-list{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.status-pill{color:var(--rpcg-text);background:#0f172a73;border:1px solid #94a3b840;border-radius:999px;padding:2px 8px;font-size:.74rem;line-height:1.45}.status-pill-buff{border-color:#4ade806b}.status-pill-debuff{border-color:#f871716b}.landing-header h1{margin-bottom:4px}.public-landing-panel{background:radial-gradient(circle at 0 0,#0295d747,#06344cf2 42%,#021722f5);padding:28px}.public-landing-panel h3{margin:8px 0 14px;font-size:2rem}.public-landing-panel p{max-width:900px;line-height:1.55}.public-feature-grid .panel{min-height:130px}.closed-access-panel{max-width:760px;margin:40px auto}.message-layout{gap:18px;display:grid}.message-filter-panel{gap:14px;display:grid}.message-filter-row{flex-wrap:wrap;gap:14px;display:flex}.message-filter-row label{flex-direction:column;gap:6px;min-width:210px;display:flex}.message-count-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.message-count-grid div{background:#0161a129;border:1px solid #8ed4f840;border-radius:8px;padding:12px}.message-count-grid strong{color:var(--rpcg-hover);font-size:1.4rem;display:block}.message-count-grid span{color:var(--rpcg-muted);font-size:.9rem;display:block}.message-list{gap:14px;display:grid}.message-card{margin-bottom:0}.message-card-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.message-card-header h3{margin-top:0;margin-bottom:4px}.message-body{white-space:pre-wrap;line-height:1.5}.message-status-pill{color:var(--rpcg-hover);text-transform:uppercase;border:1px solid #8ed4f880;border-radius:999px;padding:4px 9px;font-size:.78rem}.message-unread{box-shadow:0 0 0 2px #8ed4f824}.nav-message-link,.nav-trade-link{position:relative}.nav-envelope,.nav-message-count{color:#c58b45;font-weight:700}.nav-message-count{background:#021722f5;border:1px solid #c58b45d1;border-radius:999px;margin-left:-2px;padding:2px 6px;font-size:.72rem;line-height:1}.nav-message-unread{border-color:#c58b45d9;box-shadow:inset 0 0 12px #0000008c,0 0 12px #c58b454d}.nav-trade-star,.nav-trade-count{color:#67b7ff;font-weight:700}.nav-trade-count{background:#021722f5;border:1px solid #67b7ffd1;border-radius:999px;margin-left:-2px;padding:2px 6px;font-size:.72rem;line-height:1}.nav-trade-pending{border-color:#67b7ffcc;box-shadow:inset 0 0 12px #0000008c,0 0 12px #67b7ff42}.tradeable-count{color:#c58b45;font-weight:700}textarea{border:1px solid var(--rpcg-accent);color:var(--rpcg-text);background:#021722;border-radius:6px;padding:9px 10px}.form-field-wide{max-width:100%}.message-compose-panel,.trade-form{gap:14px;display:grid}.trade-layout,.trade-list{gap:16px;display:grid}.trade-card{margin-bottom:0}.trade-pending{box-shadow:0 0 0 2px #c58b4524}.message-two-pane-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.message-sidebar{gap:16px;display:grid;position:sticky;top:82px}.message-new-button{width:100%}.message-sidebar-count{background:#0161a129;border:1px solid #8ed4f840;border-radius:8px;padding:12px}.message-sidebar-count strong{color:var(--rpcg-hover);font-size:1.8rem;display:block}.message-sidebar-count span{color:var(--rpcg-muted);font-size:.9rem;display:block}.message-sidebar-section{gap:8px;display:grid}.message-sidebar-section h3{margin:0}.message-sidebar-options{gap:6px;display:grid}.message-sidebar-options button{text-align:left;background:#00000029;border-color:#8ed4f840;justify-content:space-between;align-items:center;display:flex}.message-sidebar-options button.active{color:var(--rpcg-hover);background:#8ed4f82e;border-color:#8ed4f8bf}.message-sidebar-options em{color:#c58b45;font-style:normal;font-weight:700}.message-main-pane{gap:14px;min-width:0;display:grid}.panel-soft{background:#00000029;border:1px solid #8ed4f838;border-radius:8px;padding:12px}.trade-requested-selection{gap:8px;display:grid}.trade-requested-selection p{margin:0}.trade-item-dialog{max-width:820px}.trade-item-dialog-list{gap:10px;max-height:55vh;display:grid;overflow:auto}.trade-item-dialog-row{background:#0000002e;border:1px solid #8ed4f833;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.trade-item-dialog-row div{gap:3px;display:grid}.trade-item-dialog-row span{color:var(--rpcg-muted);font-size:.9rem}@media (max-width:860px){.message-two-pane-layout{grid-template-columns:1fr}.message-sidebar{position:static}}.dialog-backdrop{z-index:1000;background:#000000ad;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.dialog-card{color:var(--rpcg-text);background:#021722;border:1px solid #8ed4f873;border-radius:12px;gap:14px;width:min(100%,640px);max-height:86vh;padding:18px;display:grid;overflow:auto;box-shadow:0 24px 80px #0000008c}.dialog-actions{justify-content:flex-end}.dac-image-quantity{white-space:nowrap;min-width:auto;max-width:92px;padding:.18rem .42rem;font-size:.7rem;line-height:1}.trade-requested-summary-list{margin:0;padding-left:1.1rem}.trade-dialog-filter-bar{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:end;gap:10px;display:grid}.trade-dialog-filter-bar label,.trade-item-dialog-quantity{color:var(--rpcg-muted);gap:5px;font-size:.85rem;display:grid}.trade-dialog-filter-bar select,.trade-item-dialog-quantity input{border:1px solid var(--rpcg-border);color:var(--rpcg-text);background:#00000040;border-radius:6px;padding:8px}.trade-item-dialog-quantity{min-width:86px}.trade-item-dialog-quantity input{width:86px}.trade-dialog-actions{justify-content:space-between}.tradeable-quantity-brown{color:#c58b45;font-weight:800}.dac-tile-selectable{cursor:pointer}.dac-tile-selectable:hover{border-color:#4a6ea0}.dac-inventory-card.dac-tile-selected{border-color:#4f8a45;box-shadow:0 0 0 2px #4f8a4573}.dac-tile-owners{color:var(--rpcg-muted,#9aa0ac);margin:4px 0 0}.trade-scope{flex-direction:column;gap:6px;margin:8px 0 4px;display:flex}.trade-owner-list{flex-wrap:wrap;gap:10px;padding:8px 0 0;display:flex}.trade-owner-list label{align-items:center;gap:6px;display:inline-flex}.trade-finalize{flex-wrap:wrap;align-items:flex-end;gap:14px;margin-top:8px;display:flex}.trade-finalize label{flex-direction:column;gap:4px;display:flex}.trade-gift-recipient{flex-direction:column;gap:4px;max-width:320px;display:flex}.trade-pack-offer{margin:10px 0 4px}.trade-pack-offer .trade-owner-list label{gap:4px}.wallet-balances{flex-wrap:wrap;gap:16px;margin-bottom:14px;display:flex}.wallet-balance{background:#1d212a;border:1px solid #2e3340;border-radius:10px;flex-direction:column;align-items:center;gap:4px;min-width:130px;padding:16px 24px;display:flex}.wallet-balance-amount{color:#e8d090;font-size:30px;font-weight:800;line-height:1}.wallet-balance-label{color:#8a8a82;letter-spacing:.1em;text-transform:uppercase;font-size:11px}.equipped-quantity-blue{color:#7dd3fc}.dac-qty-breakdown .tradeable-quantity-brown{font-weight:400}.trade-builder-shell{grid-template-columns:minmax(220px,280px) minmax(0,1fr);grid-template-areas:"left offered""left requested""actions actions";align-items:stretch;gap:16px;display:grid}.trade-builder-left-pane{grid-area:left;align-content:start;gap:12px;display:grid}.trade-builder-pane{gap:12px;min-height:180px;display:grid}.trade-builder-offered-pane{grid-area:offered}.trade-builder-requested-pane{grid-area:requested}.trade-builder-action-bar{text-align:center;flex-wrap:wrap;grid-area:actions;justify-content:center;align-items:center;gap:12px;display:flex}.trade-builder-action-bar label{text-align:left;min-width:220px}.trade-selection-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.trade-selection-list li{background:#0000002e;border:1px solid #8ed4f833;border-radius:8px;padding:9px 10px}.empty-state-inline{color:var(--rpcg-muted);margin:0}.trade-item-dialog-row em{color:var(--rpcg-muted);font-style:normal}@media (max-width:920px){.trade-builder-shell{grid-template-columns:1fr;grid-template-areas:"left""offered""requested""actions"}}.trade-item-dialog{width:min(96vw,1080px);max-width:1080px}.trade-dialog-header-row{justify-content:space-between;align-items:start;gap:16px;display:flex}.trade-dialog-header-row h3,.trade-dialog-header-row p{margin-top:0}.trade-dialog-filter-bar{grid-template-columns:repeat(6,minmax(120px,1fr))}.trade-builder-top-pane{grid-area:top;gap:12px;display:grid}.trade-header-form-grid{grid-template-columns:minmax(220px,280px) minmax(150px,20ch) minmax(320px,1fr);align-items:end;gap:12px;display:grid}.trade-header-form-grid label{color:var(--rpcg-muted);gap:6px;font-size:.9rem;display:grid}.trade-header-form-grid input,.trade-header-form-grid select,.trade-header-form-grid textarea{border:1px solid var(--rpcg-border);color:var(--rpcg-text);background:#00000040;border-radius:6px;padding:8px}.trade-note-field textarea{resize:vertical;min-height:42px}.compact-button-row{align-items:center;gap:8px}@media (max-width:1040px){.trade-dialog-filter-bar{grid-template-columns:repeat(3,minmax(140px,1fr))}.trade-header-form-grid{grid-template-columns:1fr}}@media (max-width:920px){.trade-builder-shell-v0109{grid-template-columns:1fr;grid-template-areas:"top""offered""requested""actions"}}.trade-builder-shell-v0109{grid-template-columns:minmax(0,1fr);grid-template-areas:"top""offered""requested""actions"}.trade-title-form-grid{grid-template-columns:minmax(260px,360px) minmax(320px,1fr);align-items:stretch;gap:16px;display:grid}.trade-title-copy h2{margin-top:0}.trade-header-form-stack{gap:10px;margin-top:12px;display:grid}.trade-header-form-stack label,.trade-title-form-grid label{color:var(--rpcg-muted);gap:6px;font-size:.9rem;display:grid}.trade-header-form-stack input,.trade-header-form-stack select,.trade-title-form-grid textarea{border:1px solid var(--rpcg-border);color:var(--rpcg-text);background:#00000040;border-radius:6px;padding:8px}.trade-header-form-stack .trade-subject-field input{max-width:20ch}.trade-selection-table{border:1px solid #8ed4f833;border-radius:10px;overflow:hidden}.trade-selection-table-row{background:#00000029;grid-template-columns:minmax(80px,.7fr) minmax(220px,2fr) minmax(120px,1fr) minmax(140px,1fr);align-items:center;gap:10px;padding:9px 10px;display:grid}.trade-selection-table-row+.trade-selection-table-row{border-top:1px solid #8ed4f829}.trade-selection-table-header{color:var(--rpcg-muted);text-transform:uppercase;background:#8ed4f824;font-size:.85rem;font-weight:800}@media (max-width:860px){.trade-title-form-grid,.trade-selection-table-row{grid-template-columns:1fr}.trade-selection-table-header{display:none}}.trade-builder-top-pane{padding-top:12px;padding-bottom:12px}.trade-title-copy h2{margin-bottom:10px}.trade-title-copy .small{display:none}@media (min-width:861px){.trade-title-form-grid{grid-template-columns:minmax(260px,360px) minmax(320px,1fr)}}.trade-title-form-grid{align-items:end}.trade-title-copy,.trade-note-field{align-self:end}.trade-header-form-stack .trade-subject-field input{width:100%;max-width:none}.trade-title-form-grid .trade-note-field textarea{resize:none;min-height:40px}.admin-card-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px;display:grid}.admin-stat-card h3{margin-top:0}.admin-stat-number{color:var(--rpcg-hover);margin:8px 0 12px;font-size:2rem;font-weight:700}.admin-link-grid{flex-wrap:wrap;gap:12px;display:flex}.admin-table-wrap{overflow-x:auto}.admin-table-wrap table{min-width:900px}.combat-debug-log-scroll{max-height:60vh;overflow-y:auto}.combat-debug-log-scroll table{min-width:720px}.combat-debug-detail-cell{max-width:520px}.combat-debug-detail-cell code{white-space:pre-wrap;word-break:break-word;max-height:8em;font-size:.8rem;display:block;overflow:auto}.pack-selection-panel,.selected-pack-open-panel{flex-direction:column;gap:14px;display:flex}.pack-selection-table td{vertical-align:top}.selected-pack-row{box-shadow:inset 4px 0 0 var(--rpcg-hover);background:#8ed4f829}.responsive-table-wrap{overflow-x:auto}.game-event-admin-layout,.game-event-list{gap:16px;display:grid}.game-event-form{flex-direction:column;gap:14px;display:flex}.game-event-form-row{flex-wrap:wrap;align-items:flex-start;gap:16px;display:flex}.game-event-form-row>.gef-field{flex:240px;min-width:0}.gef-wide{width:100%}.game-event-form .small{color:var(--rpcg-muted);font-size:.78rem;line-height:1.4}.game-event-form label,.game-event-actions label{color:var(--rpcg-muted);align-content:start;gap:6px;font-size:.9rem;display:grid}.game-event-form input,.game-event-form select,.game-event-form textarea,.game-event-actions select{border:1px solid var(--rpcg-border);color:var(--rpcg-text);background:#00000040;border-radius:6px;padding:8px}.game-event-arc-cell{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.game-event-arc-zero{color:var(--rpcg-muted);opacity:.55}.game-event-card{gap:14px;display:grid}.game-event-card-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.game-event-card-header h2{margin-top:0;margin-bottom:4px}.game-event-slots{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;display:grid}.game-event-slot{color:var(--rpcg-muted);background:#0000002e;border:1px solid #8ed4f833;border-radius:8px;padding:9px 10px}.game-event-slot.registered{color:var(--rpcg-text);border-color:#8ed4f899}.game-event-actions{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.game-event-actions label{min-width:210px}.compact-pack-open-buttons{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.compact-pack-open-buttons button{white-space:nowrap}.game-event-description{margin-top:.25rem}.game-event-arc-counts{grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;display:grid}.game-event-arc-counts>div{background:#0000002e;border:1px solid #8ed4f833;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.game-event-arc-counts span{color:var(--rpcg-muted);font-size:.85rem}.game-event-arc-counts strong{color:var(--rpcg-text)}.game-event-registration-row{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.game-event-registered-count{white-space:nowrap}.game-event-registration-row .game-event-arc-counts{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.game-event-registration-row .game-event-arc-counts>div{gap:6px;min-width:62px;padding:6px 8px}.game-event-registration-row .game-event-arc-counts span{font-size:.76rem}.game-event-registration-row .game-event-actions{margin-left:auto}.game-event-registration-row .game-event-actions label{min-width:150px}.game-event-slots-details{border-top:1px solid #8ed4f829;padding-top:8px}.game-event-slots-details summary{color:var(--rpcg-hover);cursor:pointer;font-weight:700}.game-event-slots-details[open] .game-event-slots{margin-top:10px}.combat-result-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-top:1rem;display:grid}.full-width-panel{grid-column:1/-1}.compact-table th,.compact-table td{padding:.35rem .5rem}.json-output{white-space:pre-wrap;max-height:28rem;overflow-x:auto}.warning-text{color:#8a5a00;font-weight:600}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end;gap:1rem;display:grid}.form-grid label{flex-direction:column;gap:.35rem;font-weight:700;display:flex}.form-grid input,.form-grid select{width:100%}.form-actions{align-items:end;gap:.75rem;display:flex}.error-text{color:#9b1c1c;font-weight:700}.combat-page-grid{gap:1rem;display:grid}.combat-shell{grid-template-columns:minmax(240px,320px) 1fr;gap:1rem;margin-top:1rem;display:grid}.combat-left-pane,.combat-right-pane,.combat-message-window,.combat-focus-card{background:#07122059;border:1px solid #8ed4f833;border-radius:10px;padding:1rem}.combat-left-pane{flex-direction:column;gap:.5rem;display:flex}.combat-participant-button{text-align:left;background:#ffffff0a;border:1px solid #8ed4f829;border-radius:8px;flex-direction:column;gap:.15rem;padding:.6rem;display:flex}.combat-participant-button.selected{outline:2px solid #8ed4f899}.combat-participant-button.current-turn{font-weight:800}.combat-participant-button small,.muted-text{opacity:.78}.combat-action-row{flex-wrap:wrap;gap:.75rem;margin:1rem 0;display:flex}.combat-message-window{min-height:12rem;max-height:22rem;overflow-y:auto}.combat-message-window p{margin:0 0 .5rem}@media (max-width:820px){.combat-shell{grid-template-columns:1fr;grid-template-areas:"initiative""focus""result""log"}}.combat-participant-button.hero,.combat-focus-card.hero{background:#16653438;border-color:#22c55e8c}.combat-participant-button.monster,.combat-focus-card.monster{background:#7f1d1d3d;border-color:#ef44448c}.combat-participant-button.hero small,.combat-focus-card.hero p:first-of-type{color:#86efac}.combat-participant-button.monster small,.combat-focus-card.monster p:first-of-type{color:#fca5a5}.focused-defense-block{margin-top:.85rem}.focused-defense-block h5{margin:0 0 .35rem;font-size:.95rem}.focused-defense-block .data-table{margin-top:.35rem}.focused-defense-block .data-table th,.focused-defense-block .data-table td{vertical-align:top;font-size:.82rem}.combat-participant-button.defeated,.combat-focus-card.defeated{opacity:.58;filter:grayscale(.55);text-decoration:none}.combat-participant-button.defeated span,.combat-focus-card.defeated h4{text-decoration:line-through}.status-text{color:#86efac;font-weight:800}.public-site-header h1{max-width:780px;margin-bottom:8px;font-size:2.2rem}.eyebrow{color:var(--rpcg-accent);letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:700}.notify-panel{max-width:760px}.notify-form{gap:14px;max-width:520px;display:grid}.notify-form button{width:fit-content}.combat-action-controls{background:#0217228c;border:1px solid #0295d759;border-radius:.75rem;grid-template-columns:minmax(14rem,1fr) minmax(14rem,1fr) auto;align-items:end;gap:.75rem;margin:1rem 0;padding:.75rem;display:grid}.combat-action-controls label{gap:.35rem;font-weight:700;display:grid}@media (max-width:820px){.combat-action-controls{grid-template-columns:1fr}}.combat-shell{grid-template-columns:minmax(250px,300px) minmax(520px,1fr) minmax(600px,720px);grid-template-areas:"initiative focus result""log log log";align-items:start}.combat-left-pane{grid-area:initiative}.combat-focus-pane,.combat-result-pane,.combat-log-pane{background:#07122059;border:1px solid #8ed4f833;border-radius:10px;padding:1rem}.combat-focus-card p{margin:.4rem 0}.combat-focus-card h4{margin:0 0 .5rem}.combat-log-pane h3{margin-top:0}.combat-log-pane .combat-message-window{max-height:26rem}.combat-result-pane.normal{border-color:#8ed4f859}.combat-result-pane.miss{background:#1e293b47;border-color:#94a3b88c}.combat-result-pane.heal{background:#16653438;border-color:#22c55eb3}.combat-result-pane.critical-hit{border-color:#facc15d9;box-shadow:0 0 18px #facc1538}.combat-result-pane.critical-failure{border-color:#f87171d9;box-shadow:0 0 18px #f8717138}.combat-result-pane.kill{background:#7f1d1d4d;border-color:#ef4444f2;box-shadow:0 0 20px #ef444438}.combat-result-main{font-size:1.05rem;font-weight:800;line-height:1.45}.combat-result-immersion{line-height:1.55}.combat-result-hp{color:#e3edff;font-weight:800}.combat-result-badge{letter-spacing:.06em;text-transform:uppercase;border-radius:999px;margin:0 0 .5rem;padding:.25rem .55rem;font-size:.76rem;font-weight:900;display:inline-block}.combat-result-badge.critical-hit{color:#fde68a;background:#facc1533;border:1px solid #facc15bf}.combat-result-badge.critical-failure,.combat-result-badge.kill{color:#fecaca;background:#ef444433;border:1px solid #ef4444bf}.combat-result-badge.heal{color:#bbf7d0;background:#22c55e33;border:1px solid #22c55ebf}.combat-hit-summary{border-top:1px solid #8ed4f82e;margin-top:1rem;padding-top:1rem}.combat-hit-summary h3{margin:0 0 .75rem}@media (max-width:1200px){.combat-shell{grid-template-columns:minmax(220px,300px) 1fr;grid-template-areas:"initiative focus""result result""log log"}}@media (max-width:820px){.combat-shell{grid-template-columns:1fr;grid-template-areas:"initiative""focus""result""log"}}.combat-shell{grid-template-columns:minmax(240px,280px) minmax(700px,1fr) minmax(460px,560px);grid-template-areas:"initiative map result""initiative map focus""log log log";align-items:start;gap:1rem}.combat-map-pane{grid-area:map}.combat-result-pane{grid-area:result}.combat-focus-pane{grid-area:focus}.combat-log-pane{grid-area:log}.combat-map-pane,.combat-focus-pane,.combat-result-pane,.combat-log-pane{background:#07122059;border:1px solid #8ed4f833;border-radius:10px;padding:1rem}.combat-map-pane h3,.combat-result-pane h3,.combat-focus-pane h3{margin-top:0}.hex-map-wrap{grid-template-rows:1.6rem 1fr;grid-template-columns:2rem 1fr;gap:.35rem;max-width:780px;display:grid}.hex-corner{grid-area:1/1}.hex-col-legend{color:#b7d8ee;text-align:center;grid-area:1/2;grid-template-columns:repeat(10,minmax(0,1fr));gap:.25rem;font-size:.78rem;display:grid}.hex-row-legend{color:#b7d8ee;text-align:center;grid-area:2/1;grid-template-rows:repeat(10,3.7rem);align-items:center;gap:.25rem;font-size:.78rem;display:grid}.hex-grid{grid-area:2/2;grid-template-columns:repeat(10,minmax(0,1fr));gap:.25rem;display:grid}.hex-cell{color:#dff5ff;cursor:pointer;background:#061624d6;border:1px solid #8ed4f838;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;min-height:3.7rem;display:flex;position:relative}.hex-cell:nth-child(20n+11),.hex-cell:nth-child(20n+12),.hex-cell:nth-child(20n+13),.hex-cell:nth-child(20n+14),.hex-cell:nth-child(20n+15),.hex-cell:nth-child(20n+16),.hex-cell:nth-child(20n+17),.hex-cell:nth-child(20n+18),.hex-cell:nth-child(20n+19),.hex-cell:nth-child(20n+20){transform:translate(.45rem)}.hex-cell.in-range{border-color:#22c55e59}.hex-cell.selected{outline:2px solid #facc15;box-shadow:0 0 16px #facc1533}.hex-cell.focused{outline:2px solid #38bdf8}.hex-cell.hero{background:#12543adb}.hex-cell.monster{background:#651b22db}.hex-coord{opacity:.75;font-size:.68rem}.hex-token{letter-spacing:.04em;font-size:.95rem;font-weight:900}.combat-log-pane details{background:#010d1873;border:1px solid #8ed4f829;border-radius:8px;padding:.65rem .85rem}.combat-log-pane summary{cursor:pointer;color:#dff5ff;font-weight:700}@media (max-width:1600px){.combat-shell{grid-template-columns:minmax(220px,260px) minmax(560px,1fr) minmax(380px,460px)}.hex-row-legend{grid-template-rows:repeat(10,3.15rem)}.hex-cell{min-height:3.15rem}}.focused-defense-block summary{cursor:pointer;color:#e3edff;font-weight:800}.combat-action-row-top{margin-top:1rem;margin-bottom:.75rem}.combat-action-controls-stacked{grid-template-columns:1fr;align-items:stretch}.combat-action-controls-stacked button{justify-self:start}.combat-rules-layout{grid-template-columns:minmax(280px,.85fr) minmax(520px,1.6fr);align-items:start;gap:14px;display:grid}.combat-rule-events-panel{grid-column:1/-1}.combat-rules-list{flex-direction:column;gap:8px;max-height:720px;display:flex;overflow-y:auto}.combat-rule-list-item{text-align:left;color:#e3edff;cursor:pointer;background:#041a26bf;border:1px solid #57d1ff40;border-radius:10px;grid-template-columns:auto 1fr;align-items:center;gap:4px 8px;padding:10px;display:grid}.combat-rule-list-item:hover,.combat-rule-list-item.selected{background:#083a52e6;border-color:#57d1ff}.combat-rule-list-item span:last-child{color:#aac7da;grid-column:1/-1;font-size:.85rem}.status-pill{letter-spacing:.02em;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:700;display:inline-block}.status-good{color:#8ff0cd;background:#36d39933}.status-warning{color:#ffd98a;background:#ffc75733}.status-muted{color:#c6d4df;background:#a0b1be2e}.status-danger{color:#faa;background:#ff656533}.compact-field-grid{grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;display:grid}.full-width-label{margin-top:12px;display:block}.json-editor{min-height:260px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.compact-table{border-collapse:collapse;width:100%;font-size:.9rem}.compact-table th,.compact-table td{text-align:left;vertical-align:top;border-bottom:1px solid #57d1ff2e;padding:7px 8px}.compact-table th{color:#9fdcff;font-weight:700}.compact-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 12px;display:grid}.compact-stat-grid div{background:#041a268c;border:1px solid #57d1ff33;border-radius:10px;padding:8px}.compact-stat-grid strong{color:#f2fbff;font-size:1.1rem;display:block}.compact-stat-grid span{color:#aac7da;font-size:.75rem;display:block}.combat-rule-category-summary{grid-template-columns:1fr;gap:6px;max-height:170px;margin:10px 0 12px;display:grid;overflow-y:auto}.combat-rule-category-summary button{text-align:left;color:#e3edff;cursor:pointer;background:#082a3cb3;border:1px solid #57d1ff33;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;display:flex}.combat-rule-category-summary button:hover{background:#083a52e6;border-color:#57d1ff}.combat-rule-category-summary span{color:#aac7da;font-size:.8rem}.combat-rules-title-row,.combat-rule-editor-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.combat-rules-title-row h2,.combat-rule-editor-title-row h2{margin:0}.combat-rules-counts{color:#aac7da;flex-wrap:wrap;justify-content:flex-end;gap:6px;font-size:.78rem;display:flex}.combat-rules-counts span{white-space:nowrap;background:#041a268c;border:1px solid #57d1ff38;border-radius:999px;padding:3px 8px}.combat-rules-counts strong{color:#f2fbff}.combat-rules-filter-grid{grid-template-columns:repeat(3,minmax(140px,1fr));align-items:end}.combat-rule-editor-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.readonly-blue-field{color:#9fdcff;background:#061c2abf;border-color:#57d1ff59;font-weight:700}.description-editor{width:90%;min-height:118px}.combat-rule-bottom-actions{justify-content:flex-end}.combat-rules-layout{grid-template-columns:minmax(520px,1.05fr) minmax(440px,1fr)}.readonly-display-label{color:#9fdcff}.readonly-display-value{color:#f2fbff;overflow-wrap:anywhere;min-height:38px;padding:9px 0 8px;font-weight:700;display:block}.full-width-label:has(.json-editor){margin-top:6px}.json-editor{resize:both;width:100%;max-width:none;min-height:300px;display:block}@media (max-width:1100px){.combat-rules-layout,.combat-rule-editor-grid{grid-template-columns:1fr}}.combat-rules-page{flex-direction:column;gap:16px;display:flex}.admin-tabs{border-bottom:1px solid var(--rpcg-border,#2a3550);gap:4px;display:flex}.admin-tab{color:var(--rpcg-muted,#8d99ad);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:none;border-radius:8px 8px 0 0;margin-bottom:-1px;padding:9px 18px;font-size:.95rem;font-weight:600}.admin-tab:hover{color:var(--rpcg-text,#e6ecf5)}.admin-tab.is-active{color:var(--rpcg-text,#e6ecf5);border-color:var(--rpcg-border,#2a3550);border-bottom:1px solid var(--rpcg-panel,#0e1626);background:var(--rpcg-panel,#0e1626)}.combat-rules-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:10px 0 6px;display:flex}.combat-rules-filters label{color:var(--rpcg-muted,#8d99ad);flex-direction:column;gap:4px;font-size:.8rem;display:flex}.combat-rules-filters .crf-search{flex:280px}.combat-rules-filters .crf-search input{width:100%}.combat-rules-filters select{min-width:150px}.combat-rules-table{width:100%}.combat-rules-table td{vertical-align:top}.combat-rule-desc-cell{max-width:520px;color:var(--rpcg-muted,#b7c0d0);-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.admin-modal-backdrop{z-index:1000;background:#030812a8;justify-content:center;align-items:flex-start;padding:5vh 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.admin-modal{background:var(--rpcg-panel,#0e1626);border:1px solid var(--rpcg-border,#2a3550);border-radius:14px;flex-direction:column;width:min(760px,100%);max-height:90vh;display:flex;box-shadow:0 24px 70px #0000008c}.admin-modal-head{border-bottom:1px solid var(--rpcg-border,#2a3550);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.admin-modal-head h3{margin:0;font-size:1.05rem}.admin-modal-close{color:var(--rpcg-muted,#8d99ad);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:1.1rem}.admin-modal-close:hover{color:var(--rpcg-text,#e6ecf5);background:#ffffff0f}.admin-modal-body{padding:18px 20px;overflow-y:auto}.admin-modal-actions{border-top:1px solid var(--rpcg-border,#2a3550);justify-content:flex-end;align-items:center;gap:12px;padding:14px 20px;display:flex}.admin-modal-actions .status{margin-right:auto}.focused-threat-block{background:#0217227a;border:1px solid #8ed4f83d;border-radius:10px;margin-top:.85rem;padding:.75rem}.focused-threat-block h5{color:#8ed4f8;margin:0 0 .5rem;font-size:.92rem}.threat-pill-row{flex-wrap:wrap;gap:.5rem;display:flex}.threat-pill{color:#f8fbff;cursor:help;background:#ffffff0e;border:1px solid #8ed4f838;border-radius:999px;justify-content:space-between;align-items:center;gap:.65rem;min-width:10.5rem;padding:.4rem .55rem;display:inline-flex}.threat-pill strong{font-size:.78rem;font-weight:800}.threat-pill span{color:#fff;font-size:.9rem;font-weight:900}.threat-help-text{font-size:.78rem;margin:.45rem 0 0!important}.combat-result-pane{min-height:16rem}.combat-status-effect-strip{background:#02172252;border:1px solid #8ed4f82e;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.45rem;margin:.45rem 0 .35rem;padding:.45rem .55rem;display:flex}.combat-status-effect-label{color:#8ed4f8;letter-spacing:.02em;text-transform:uppercase;margin-right:.2rem;font-size:.78rem;font-weight:800}.combat-status-pill{color:#fff;cursor:help;background:#0f172a9e;border:1px solid #94a3b852;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .5rem;font-size:.78rem;display:inline-flex}.combat-status-pill strong{background:#ffffff1f;border-radius:999px;place-items:center;min-width:1.15rem;height:1.15rem;font-size:.7rem;display:inline-grid}.abilities-admin-shell{flex-direction:column;gap:1rem;display:flex}.abilities-tab-row{flex-wrap:wrap;gap:.6rem;display:flex}.abilities-tab-row button{color:#e8f8ff;background:#0217229e;border:1px solid #8ed4f852;border-radius:999px;padding:.55rem 1rem;font-weight:800}.abilities-tab-row button.selected{color:#fff;background:#8ed4f82e;border-color:#8ed4f8b8}.abilities-layout{grid-template-columns:minmax(500px,.95fr) minmax(560px,1.15fr);align-items:start;gap:1rem;display:grid}.abilities-filter-grid,.abilities-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.abilities-power-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.abilities-json-editor{min-height:220px}.multi-select-field{min-height:8.5rem}.field-help{color:#e8f8ff9e;margin-top:.15rem;font-size:.72rem;font-weight:600;display:block}@media (max-width:1200px){.abilities-layout{grid-template-columns:1fr}.abilities-power-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.abilities-editor-grid,.abilities-power-editor-grid,.abilities-filter-grid{grid-template-columns:1fr}}.eligibility-summary-card{background:#02172273;border:1px solid #8ed4f847;border-radius:.85rem;grid-column:span 2;padding:.75rem}.eligibility-summary-card p{margin:.3rem 0}.eligibility-summary-header{color:#8ed4f8;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.35rem;font-weight:800;display:flex}.compact-button{min-height:auto;padding:.35rem .65rem;font-size:.78rem}.eligibility-editor-panel{background:#010f189e;border:1px solid #8ed4f852;border-radius:1rem;grid-template-columns:minmax(220px,.65fr) minmax(320px,1.35fr);gap:1rem;margin:1rem 0;padding:1rem;display:grid}.eligibility-column h3,.subtype-group h4{color:#8ed4f8;margin:0 0 .55rem}.checkbox-list{gap:.35rem;display:grid}.checkbox-row{color:#e8f8ff;flex-direction:row;align-items:center;gap:.5rem;margin:0;font-weight:700;display:flex}.checkbox-row input{width:auto;margin:0}.subtype-group{border-top:1px solid #ffffff14;margin-top:.7rem;padding-top:.7rem}.subtype-checkbox-list{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:900px){.eligibility-editor-panel{grid-template-columns:1fr}.subtype-checkbox-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.subtype-checkbox-list{grid-template-columns:1fr}}.skill-progress-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.skill-progress-card{background:#0161a129;border:1px solid #8ed4f840;border-radius:6px;padding:10px 12px}.skill-progress-header{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.skill-progress-header strong{color:var(--rpcg-hover)}.skill-progress-header span,.skill-progress-footer{color:var(--rpcg-muted);font-size:.82rem}.skill-progress-track{background:#051020d1;border:1px solid #8ed4f838;border-radius:999px;height:9px;margin-top:8px;overflow:hidden}.skill-progress-fill{background:linear-gradient(90deg,#8ed4f861,#8ed4f8d1);height:100%}.skill-progress-footer{margin-top:6px}.skill-progress-card{padding:9px 10px}.power-progress-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.power-progress-card{background:#4c1d9529;border:1px solid #c4b5fd40;border-radius:6px;padding:9px 10px}.power-progress-header{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.power-progress-header strong{color:var(--rpcg-hover)}.power-progress-header span,.power-progress-meta{color:var(--rpcg-muted);font-size:.82rem}.power-progress-track{background:#051020d1;border:1px solid #c4b5fd38;border-radius:999px;height:9px;margin-top:8px;overflow:hidden}.power-progress-fill{background:linear-gradient(90deg,#c4b5fd61,#c4b5fdd1);height:100%}.power-progress-meta{gap:4px;margin-top:7px;display:grid}.power-wpwd-badge{color:var(--rpcg-text,#ede9fe);font-variant-numeric:tabular-nums;letter-spacing:.02em;white-space:nowrap;cursor:help;background:#4c1d9547;border:1px solid #c4b5fd59;border-radius:999px;justify-self:start;margin-top:2px;padding:1px 7px;font-weight:600}.powers-panel,.skills-panel{width:100%}.power-progress-grid{grid-template-columns:repeat(auto-fit,minmax(180px,220px))}.skill-progress-grid{grid-template-columns:repeat(auto-fit,minmax(144px,180px))}.powers-panel,.skills-panel{justify-self:stretch}.portrait-images-link{margin-top:6px;font-size:.85rem}.skills-summary{cursor:pointer;list-style:none}.skills-summary::-webkit-details-marker{display:none}.skills-summary h3:after{content:"▸";color:var(--rpcg-muted);margin-left:8px;font-size:.85rem;transition:transform .15s;display:inline-block}.skills-panel details[open] .skills-summary h3:after{transform:rotate(90deg)}.skills-panel details>.skill-progress-grid{margin-top:12px}.character-sheet-layout{grid-template-areas:"overview attributes equipment""status-effects attributes equipment"". .powers"". .skills"}.powers-panel,.skills-panel{place-self:start stretch}.character-sheet-layout{grid-template-columns:280px 240px minmax(420px,1fr);grid-template-areas:"left-lane attributes right-lane""status-effects attributes right-lane"}.character-left-lane{flex-direction:column;grid-area:left-lane;align-self:start;gap:10px;min-width:0;display:flex}.character-left-lane .overview-panel,.character-left-lane .portrait-panel,.character-left-lane .combat-affinities-panel{grid-area:auto;place-self:stretch stretch;width:100%}.character-portrait-frame,.character-portrait-placeholder{aspect-ratio:1;background:radial-gradient(circle at top,#60a5fa3d,#0f172ae6);border:1px solid #94a3b852;border-radius:14px;justify-content:center;align-items:center;width:100%;max-width:240px;margin:0 auto;display:flex;overflow:hidden}.character-portrait-image{object-fit:cover;object-position:center top;width:100%;height:100%;display:block}.character-portrait-placeholder span{color:#dbeafe;text-shadow:0 2px 18px #60a5fa59;font-size:72px;font-weight:800;line-height:1}.combat-affinities-panel details{margin:0}.combat-affinities-panel summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;font-weight:700;display:flex}.combat-affinities-panel summary em{color:#93c5fd;font-size:12px;font-style:normal;font-weight:600}.combat-affinity-table-wrap{margin-top:10px;overflow-x:auto}.combat-affinity-table{width:100%}.combat-affinity-table th,.combat-affinity-table td{text-align:left;white-space:nowrap}.combat-affinity-table th:first-child,.combat-affinity-table td:first-child,.combat-affinity-table th:last-child,.combat-affinity-table td:last-child{text-align:right}.active-affinity-row td{color:#dbeafe;font-weight:700}.character-right-lane{flex-direction:column;grid-area:right-lane;align-self:start;gap:20px;min-width:0;display:flex}.character-right-lane .equipment-panel,.character-right-lane .powers-panel,.character-right-lane .skills-panel{grid-area:auto;place-self:stretch stretch;width:100%}@media (max-width:1050px){.character-sheet-layout{grid-template-columns:1fr 1fr;grid-template-areas:"left-lane attributes""status-effects status-effects""right-lane right-lane"}}@media (max-width:720px){.character-sheet-layout{grid-template-columns:1fr;grid-template-areas:"left-lane""attributes""status-effects""right-lane"}}.phb-legend{flex-wrap:wrap;gap:14px;margin-bottom:16px;display:flex}.phb-armor-table th,.phb-armor-table td{text-align:center;vertical-align:middle;min-width:92px}.phb-armor-table th:first-child,.phb-armor-table th:nth-child(2),.phb-armor-table td:first-child,.phb-armor-table td:nth-child(2){text-align:left}.phb-mark{font-size:1.1rem;font-weight:700}.phb-layout{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:20px;display:grid}.phb-nav-panel{position:sticky;top:78px}.phb-topic-nav{flex-direction:column;gap:8px;display:flex}.phb-topic-nav strong{color:var(--rpcg-hover);margin-top:12px}.phb-topic-nav a{border-left:3px solid var(--rpcg-border);padding-left:10px;text-decoration:none}.phb-topic-nav a:hover{border-left-color:var(--rpcg-hover)}.phb-content{min-width:0}.phb-section-card{scroll-margin-top:92px}.phb-table-wrap{overflow-x:auto}.phb-mark{text-align:center;white-space:nowrap;font-weight:700}.phb-symbol{min-width:24px;display:inline-block}.phb-weapon-heading{cursor:help;text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.phb-empty{color:var(--rpcg-muted)}.phb-legend-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.phb-legend-item,.phb-profile-card{border:1px solid var(--rpcg-border);background:#0161a140;border-radius:8px;padding:12px}.phb-legend-item strong{color:var(--rpcg-hover);margin-bottom:4px;font-size:1.2rem;display:block}.phb-profile-card h4{color:var(--rpcg-hover);margin-top:0}.phb-coming-soon{color:var(--rpcg-muted)}@media (max-width:900px){.phb-layout{grid-template-columns:1fr}.phb-nav-panel{position:static}}.equipped-item-name{align-items:baseline;gap:6px;min-height:1.35em;padding-right:1.85rem;display:inline-flex;position:relative}.equipped-item-stars-corner{top:-.42rem;right:-.18rem}.equipped-item-stars-corner .dac-rarity-stars{font-size:inherit}.dac-rule-wide-textarea{width:100%}.dac-rule-wide-textarea textarea{box-sizing:border-box;width:100%;max-width:none;display:block}.filter-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.filter-row label{color:var(--rpcg-muted);gap:4px;font-size:.86rem;display:grid}.filter-row select,.filter-row input{min-width:150px;color:var(--rpcg-text);border:1px solid var(--rpcg-border);background:#0f172aeb;border-radius:6px;padding:8px}.filter-row option{color:#f8fafc;background:#0f172a}.admin-nav-layout{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-top:18px;display:grid}.admin-nav-section h2{margin-top:0}.admin-nav-list{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.admin-nav-list li{border-top:1px solid #ffffff1f;padding-top:10px}.admin-nav-list li:first-child{border-top:0;padding-top:0}.admin-nav-note{color:var(--rpcg-muted);margin-top:2px;font-size:.85rem;display:block}.phb-weapon-heading{flex-direction:column;align-items:center;gap:2px;line-height:1.15;display:inline-flex}.phb-weapon-heading small{opacity:.78;white-space:nowrap;font-size:.72rem;font-weight:500}.character-sheet-layout,.character-left-lane,.character-right-lane{gap:10px}.character-left-lane .sheet-panel,.character-right-lane .sheet-panel,.attributes-panel{box-sizing:border-box;min-width:0}.equipment-modal{width:min(1120px,96vw);max-width:1120px}.equipment-dialog-filters{grid-template-columns:minmax(220px,1fr) minmax(140px,180px) minmax(140px,180px);align-items:end;gap:10px;margin:10px 0 6px;display:grid}.equipment-dialog-filters label{color:var(--rpcg-muted);gap:4px;font-size:12px;display:grid}.equipment-dialog-filters input,.equipment-dialog-filters select{color:var(--rpcg-text);background:#ffffff14;border:1px solid #8ed4f847;border-radius:6px;padding:8px 9px}.equipment-choice-affixes{flex-wrap:wrap;gap:8px;display:flex}.affix-name{color:#b57cff;font-weight:700}.equipped-item-name-parts{display:inline}.combat-affinity-table-wrap{overflow-x:visible}.combat-affinity-table{table-layout:fixed;width:100%;font-size:12px}.combat-affinity-table th,.combat-affinity-table td{padding:4px 5px}.combat-affinity-table th{font-size:11px;line-height:1.1}.combat-affinity-table th:first-child,.combat-affinity-table td:first-child,.combat-affinity-table th:last-child,.combat-affinity-table td:last-child{width:26%}.combat-affinity-table th:nth-child(2),.combat-affinity-table td:nth-child(2){width:48%}@media (max-width:760px){.equipment-dialog-filters{grid-template-columns:1fr}}.equipment-dialog-error{color:var(--rpcg-text);background:#b43c3c2e;border:1px solid #ff8c8c80;border-radius:8px;gap:4px;margin:8px 0 12px;padding:10px 12px;display:grid}.equipment-dialog-error strong{color:#ffb3b3}.inventory-choice .affix-name,.inventory-choice strong .affix-name,.inventory-choice span.affix-name,.inventory-choice .equipment-choice-affix-name{color:#b57cff!important;font-weight:700!important}.character-gender-picker{width:100%;max-width:240px;margin:10px auto 0}.character-gender-picker label{color:#cbd5e1;margin-bottom:4px;font-size:.8rem;font-weight:700;display:block}.character-gender-row{gap:8px;display:flex}.character-gender-row select{flex:1;min-width:0}.character-gender-row button{flex:none;padding-left:10px;padding-right:10px}.success-message{color:#86efac;margin:6px 0 0}.gender-choice-button{color:var(--rpcg-text);cursor:pointer;background:#3a3a3a;border:1px solid #6e6e6e;border-radius:6px;padding:8px 14px;font-weight:700;display:inline-block}.gender-choice-button:hover{border-color:var(--rpcg-accent);background:#4a4a4a}.gender-choice-button.selected{color:#fff;background:#3498db;border-color:#7fc4f2}.gender-choice-button:focus-visible{outline-offset:2px;outline:2px solid #fff}.character-portrait-caption{text-align:center;flex-direction:column;align-items:center;gap:4px;margin-top:10px;display:flex}.character-portrait-caption strong{color:#f8fafc;font-size:1.05rem}.character-portrait-caption span{color:#94a3b8;font-size:.8rem;line-height:1.25}.character-subtype-preview-header{justify-content:space-between;align-items:center}.character-subtype-preview-card{cursor:default}.character-subtype-preview-card:hover{transform:none}.character-subtype-preview-card a{margin-top:.5rem;font-size:.85rem}.arc-role-choice-card{color:var(--rpcg-text);font:inherit;text-align:left;align-items:stretch}.arc-role-choice-card img{aspect-ratio:1;object-fit:cover;object-position:center top;background:#0217228c;border:1px solid #8ed4f833;border-radius:8px;width:100%}.arc-role-card-tagline{color:#f8fafc;font-weight:700}.arc-role-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:980px){.arc-role-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.arc-role-card-grid{grid-template-columns:1fr}}.character-create-panel{width:100%;max-width:1600px}.character-create-form .form-field{width:100%;max-width:none}.character-create-form input[type=text]{max-width:520px}.arc-role-card-grid{grid-template-columns:repeat(4,minmax(220px,1fr));width:100%}.arc-role-choice-card,.race-choice-card{min-width:0}.race-card-grid{grid-template-columns:repeat(8,minmax(130px,1fr));gap:10px;width:100%}@media (max-width:1320px){.race-card-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}.race-choice-card{color:var(--rpcg-text);font:inherit;text-align:left;align-items:stretch;padding:10px}.race-choice-card img{aspect-ratio:1;object-fit:cover;object-position:center top;background:#0217228c;border:1px solid #8ed4f833;border-radius:8px;width:100%}.race-card-tagline{color:#f8fafc;font-size:.88rem;font-weight:700;line-height:1.2}.race-choice-card .small{font-size:.78rem;line-height:1.2}.subtype-preview-grid{grid-template-columns:repeat(auto-fit,minmax(350px,1fr));width:100%}.character-create-helper-row{justify-content:space-between;align-items:flex-start;gap:16px;width:100%;display:flex}.character-create-helper-row .small{margin-bottom:0}.character-create-guide-link{color:#93c5fd;white-space:nowrap;border:1px solid #8ed4f859;border-radius:999px;flex:none;padding:6px 10px;font-size:.85rem;font-weight:700;text-decoration:none}.character-create-guide-link:hover{color:#dbeafe;border-color:#8ed4f8bf}@media (max-width:720px){.character-create-helper-row{flex-direction:column;align-items:flex-start;gap:8px}}.inline-action-link{color:var(--rpcg-accent);text-underline-offset:3px;font-weight:700;text-decoration:underline}.inline-action-link:hover{color:#fff}.subtype-select-panel .sheet-note{margin:14px 0 18px}.subtype-choice-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.subtype-choice-card{color:var(--rpcg-text);cursor:pointer;text-align:left;background:#09131feb;border:1px solid #8ed4f83d;border-radius:12px;gap:8px;padding:14px;display:grid}.subtype-choice-card strong{color:var(--rpcg-accent);font-size:1.05rem}.subtype-choice-card span,.subtype-choice-card small{line-height:1.35}.subtype-choice-card small{color:var(--rpcg-muted)}.subtype-choice-card.selected{border-color:var(--rpcg-accent);box-shadow:0 0 0 1px #f2c14e59,0 0 18px #f2c14e38}.subtype-save-row{grid-column:1/-1;margin-top:4px}.admin-nav-disabled{color:var(--rpcg-muted);opacity:.6;cursor:not-allowed}.adv-ok{color:#7fc77f}.adv-err{color:#ff9b9b}.adv-upload-note code{background:#00000040;border-radius:4px;padding:1px 5px}.adv-editor-cols{grid-template-columns:minmax(280px,360px) 1fr;align-items:start;gap:16px;display:grid}.adv-editor-cols.adv-cols-3{grid-template-columns:minmax(240px,300px) minmax(0,1fr) minmax(340px,440px)}@media (max-width:1400px){.adv-editor-cols.adv-cols-3{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}.adv-editor-cols.adv-cols-3 .adv-preview-col{grid-column:1/-1}}@media (max-width:900px){.adv-editor-cols,.adv-editor-cols.adv-cols-3{grid-template-columns:1fr}}.adv-copy-row{flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 4px;display:flex}.adv-copy-row label{align-items:center;gap:6px;display:flex}.loot-sets-layout{grid-template-columns:minmax(260px,340px) 1fr;align-items:start;gap:16px;display:grid}@media (max-width:900px){.loot-sets-layout{grid-template-columns:1fr}}.loot-set-items{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.loot-set-btn{text-align:left;border:1px solid var(--rpcg-border);width:100%;color:var(--rpcg-text);cursor:pointer;background:0 0;border-radius:8px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.loot-set-btn:hover{background:#ffffff0a}.loot-set-btn.active{border-color:var(--rpcg-accent);box-shadow:0 0 0 1px var(--rpcg-accent)}.loot-set-name{font-weight:600}.loot-set-meta{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px 16px;margin-bottom:12px;display:grid}.loot-set-meta>div{flex-direction:column;display:flex}.loot-set-meta label,.loot-set-rules label{letter-spacing:.06em;text-transform:uppercase;color:var(--rpcg-muted);font-size:.7rem}.loot-kv{margin:2px 0 0;padding:0;list-style:none}.loot-set-notes{margin-top:8px}.adv-tilelist-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.adv-tiles{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.adv-tile{border:1px solid var(--rpcg-border);border-radius:8px;align-items:stretch;gap:6px;display:flex;overflow:hidden}.adv-tile.active{border-color:var(--rpcg-accent);box-shadow:0 0 0 1px var(--rpcg-accent)}.adv-tile-main{color:var(--rpcg-text);text-align:left;cursor:pointer;background:0 0;border:none;flex:auto;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.adv-tile-main:hover{background:#ffffff0a}.adv-tile-order{color:var(--rpcg-muted);text-align:right;min-width:1.4em;font-size:.75rem}.adv-tile-icon{font-size:1.1rem}.adv-tile-title{white-space:nowrap;text-overflow:ellipsis;flex-direction:column;min-width:0;display:flex;overflow:hidden}.adv-tile-type{letter-spacing:.04em;text-transform:uppercase;color:var(--rpcg-muted);font-size:.7rem}.adv-tile-actions{flex-shrink:0;align-items:center;gap:2px;padding:4px;display:flex}.adv-tile-actions button{border:1px solid var(--rpcg-border);color:var(--rpcg-text);cursor:pointer;background:0 0;border-radius:5px;width:32px;height:32px}.adv-tile-actions button.primary{white-space:nowrap;width:auto;height:auto;padding:7px 12px;font-weight:600}.adv-tile-actions button:hover:not(:disabled){border-color:var(--rpcg-accent)}.adv-tile-actions button:disabled{opacity:.35;cursor:default}.adv-asset-spec{border-left:3px solid var(--rpcg-accent);background:#ffffff08;border-radius:4px;margin:0 0 12px;padding:10px 12px;line-height:1.5}.adv-field{margin-bottom:12px;display:block}.adv-field input,.adv-field select,.adv-field textarea{width:100%;margin-top:4px;display:block}.adv-field-row{flex-wrap:wrap;gap:12px;display:flex}.adv-field-row .adv-field{flex:140px}.adv-check{align-self:flex-end;align-items:center;gap:6px;display:flex}.adv-check input{width:auto;margin:0}.adv-asset-row{gap:8px;margin-top:4px;display:flex}.adv-asset-row input{flex:auto}.adv-player-graphics{border:1px solid #3a3730;border-radius:8px;margin:6px 0 12px;padding:10px 12px}.adv-player-label{color:#c8c4b8;font-size:13px}.adv-player-thumb{object-fit:cover;border-radius:6px;flex:none;width:34px;height:34px}.adv-encounter-note,.adv-upload-note{margin:4px 0 12px}.adv-form-actions{align-items:center;gap:12px;margin-top:8px;display:flex}.adv-preview-wrap{border-top:1px solid var(--rpcg-border);margin-top:18px;padding-top:14px}.adv-preview{background:radial-gradient(circle at 50% 0,#14161c 0%,#0a0a0c 70%);border-radius:12px;padding:20px}.adv-preview-card{color:#e6e2d6;background:#16181e;border:1px solid #2a2e38;border-radius:14px;max-width:520px;margin:0 auto;padding:22px 24px}.adv-preview-kicker{letter-spacing:.14em;text-transform:uppercase;color:#8a8a82;margin-bottom:6px;font-size:11px}.adv-preview-title{color:#e8d090;margin-bottom:10px;font-size:24px}.adv-preview-graphic{border-radius:10px;max-width:100%;margin:8px 0 14px;display:block}.adv-preview-body{color:#d8d4c8;white-space:pre-wrap;font-size:15px;line-height:1.55}.adv-preview-audio{width:100%;margin-top:14px}.adv-preview-present{color:#d8f0c0;background:#2c5a32;border:1px solid #4f8a45;border-radius:8px;margin-top:16px;padding:10px 22px;font-size:14px;font-weight:600;display:inline-block}.adv-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.adv-header-id{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.adv-header-select{color:var(--rpcg-text);background:0 0;border:1px solid #0000;border-radius:8px;max-width:520px;padding:4px 8px;font-size:1.25rem;font-weight:700}.adv-header-select:hover{border-color:var(--rpcg-border)}.adv-status{letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--rpcg-border);color:var(--rpcg-muted);border-radius:999px;padding:3px 10px;font-size:.7rem}.adv-status-published{color:#7fc77f;background:#50a0501f;border-color:#3f6a3f}.adv-status-draft{color:#e8d090;background:#a08c3c1f;border-color:#6a5f3f}.adv-header-meta{color:var(--rpcg-muted);font-size:.8rem}.adv-header-actions{flex-shrink:0;align-items:center;gap:12px;display:flex}.adv-header-actions .button-link.is-active{color:var(--rpcg-accent);font-weight:600}.adv-settings-drawer{border:1px solid var(--rpcg-border);background:#ffffff05;border-radius:10px;margin-top:12px;padding:14px 16px}.adv-drawer-title{color:#e8d090;margin:0 0 10px;font-size:.95rem}.adv-cols-3 .adv-tilelist,.adv-cols-3 .adv-preview-col{align-self:start;max-height:calc(100vh - 24px);position:sticky;top:12px;overflow:auto}.adv-tile-overflow{display:inline-flex;position:relative}.adv-tile-menu{z-index:5;border:1px solid var(--rpcg-border);background:#1c1e24;border-radius:8px;min-width:140px;padding:4px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 6px 20px #00000080}.adv-tile-menu button{text-align:left;width:100%;height:auto;color:var(--rpcg-text);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:8px 10px}.adv-tile-menu button:hover{background:#ffffff0f}.adv-tile-menu-danger{color:#ff9b9b}.adv-editform-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.adv-editform-head h2{margin:0}.adv-save-bar{border-top:1px solid var(--rpcg-border);background:#14161cf5;border-radius:0 0 8px 8px;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:10px 12px;display:flex;position:sticky;bottom:0}.adv-save-actions{align-items:center;gap:10px;display:flex}.adv-save-state{align-items:center;gap:6px;font-size:.85rem;font-weight:600;display:inline-flex}.adv-save-state:before{content:"";background:currentColor;border-radius:50%;width:8px;height:8px}.adv-save-saved{color:#7fc77f}.adv-save-dirty{color:#e8d090}.adv-save-saving{color:#8fb8e8}.adv-save-error{color:#ff9b9b}.adv-field-label{margin-bottom:2px;font-weight:600;display:block}.adv-upload-btn{font-weight:600}.adv-asset-row{flex-wrap:wrap;align-items:center}.adv-url-fallback{margin:6px 0 4px}.adv-url-fallback summary{cursor:pointer;color:var(--rpcg-muted);font-size:.8rem}.adv-url-fallback input{width:100%;margin-top:6px}.adv-url-fallback[open] summary{color:var(--rpcg-text)}.adv-where-uploads summary{color:var(--rpcg-muted)}.adv-where-uploads code{background:#00000040;border-radius:4px;padding:1px 5px}.adv-spec-more summary{cursor:pointer;color:var(--rpcg-accent);margin-top:4px;font-size:.8rem}.adv-audio-mini{height:32px}.adv-player-toggle{margin-bottom:8px;font-weight:600}.adv-player-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:8px;display:grid}.adv-player-card{border:1px solid var(--rpcg-border);border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:8px;display:flex}.adv-player-card .adv-player-label{color:#c8c4b8;flex:none;font-size:12px}.adv-player-card .adv-player-thumb{width:72px;height:72px}.adv-player-card-actions{gap:6px;display:flex}.adv-player-thumb-empty{color:var(--rpcg-muted);background:#ffffff0a;justify-content:center;align-items:center;display:flex}.adv-preview-head{margin-bottom:10px}.adv-preview-head h2{margin:0 0 2px}.adv-preview-head-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.adv-preview-as{color:var(--rpcg-muted);align-items:center;gap:6px;display:inline-flex}.adv-preview-as select{width:auto}.adv-preview-note{color:var(--rpcg-muted);margin-top:10px}.adv-preview-empty{color:var(--rpcg-muted)}.adv-drawer-head{align-items:center;gap:12px;display:flex}.adv-drawer-head .adv-drawer-title{margin:0}.adv-tile-filter{gap:6px;margin:10px 0 4px;display:flex}.adv-tile-filter input[type=search]{flex:auto;min-width:0}.adv-tile-filter select{flex:none;width:auto}.enc-spawns,.enc-objectives{margin:14px 0}.enc-spawns h3,.enc-objectives h3{margin:0}.enc-spawn-list{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.enc-spawn-row,.enc-obj-row{align-items:center;gap:8px;display:flex}.enc-spawn-row select{flex:auto;min-width:0}.enc-obj-row input{flex:auto}.enc-spawn-dot{border:1px solid #0a0a0c;border-radius:50%;flex-shrink:0;width:14px;height:14px}.enc-coord{color:var(--rpcg-muted);align-items:center;gap:4px;font-size:.8rem;display:flex}.enc-coord input{width:56px}.enc-spawn-row>button,.enc-obj-row>button{border:1px solid var(--rpcg-border);color:var(--rpcg-text);cursor:pointer;background:0 0;border-radius:5px;flex-shrink:0;width:28px;height:28px}.enc-spawn-row>button:hover,.enc-obj-row>button:hover{border-color:var(--rpcg-accent)}.enc-preview-svg{border:1px solid var(--rpcg-border);background:radial-gradient(circle at 50% 0,#14161c 0%,#0a0a0c 70%);border-radius:10px;max-width:420px}.mon-fieldset{border:1px solid var(--rpcg-border);border-radius:8px;margin:0 0 14px;padding:10px 14px 4px}.mon-fieldset legend{letter-spacing:.08em;text-transform:uppercase;color:var(--rpcg-muted);padding:0 6px;font-size:.75rem}.mon-fieldset .adv-field-row .adv-field{flex:90px}.mon-ability-list{gap:4px;margin:4px 0 0;padding:0;list-style:none;display:grid}.mon-ability-row{cursor:pointer;border:1px solid var(--rpcg-border);border-radius:6px;align-items:center;gap:8px;padding:4px 6px;display:flex}.mon-ability-row input{width:auto;margin:0}.mon-ability-row .adv-tile-type{margin-left:6px;display:inline}.survey-steps{flex-wrap:wrap;gap:10px;margin:8px 0 14px;display:flex}.survey-steps span{color:var(--rpcg-muted);border:1px solid var(--rpcg-border);border-radius:999px;padding:4px 12px;font-size:.85rem}.survey-steps span.active{color:var(--rpcg-text);border-color:var(--rpcg-accent);background:#0295d726}.survey-field{margin:10px 0 16px;display:block}.survey-label{margin-bottom:6px;font-weight:600;display:block}.survey-field textarea{width:100%}.survey-options{flex-wrap:wrap;gap:8px;display:flex}.survey-chip{border:1px solid var(--rpcg-border);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;display:inline-flex}.survey-chip.selected{border-color:var(--rpcg-accent);background:#0295d72e}.survey-chip input{margin:0}.survey-topic-groups{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:10px;display:grid}.survey-topic-group h3{margin:0 0 6px;font-size:.95rem}.survey-topic-list{gap:4px;display:grid}.survey-topic{border:1px solid var(--rpcg-border);cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:5px 9px;font-size:.9rem;display:flex}.survey-topic.selected{border-color:var(--rpcg-accent);background:#0295d729}.survey-topic input{width:auto;margin:0}.survey-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.survey-summary-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:8px 0;display:grid}.survey-summary-grid div{border:1px solid var(--rpcg-border);border-radius:6px;padding:6px 9px}.survey-summary-grid dt{text-transform:uppercase;letter-spacing:.05em;color:var(--rpcg-muted);font-size:.7rem}.survey-summary-grid dd{margin:2px 0 0;font-weight:600}.survey-summary-topics{margin-top:8px}.survey-summary-topics>dt{text-transform:uppercase;letter-spacing:.05em;color:var(--rpcg-muted);margin-bottom:4px;font-size:.7rem}.survey-summary-chips{flex-wrap:wrap;gap:6px;display:flex}.survey-avoid-chip{color:#ffc9c9;background:#ff50501f;border:1px solid #ff9b9b;border-radius:999px;padding:2px 10px;font-size:.82rem;display:inline-block}.survey-other-notes{margin-top:12px}.survey-other-notes ul{margin:4px 0 0;padding-left:18px}.survey-player-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.survey-player-card{border:1px solid var(--rpcg-border);border-radius:8px;padding:10px 12px}.survey-player-head{flex-direction:column;margin-bottom:6px;display:flex}.exit-encounter-row{flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0;display:flex}.exit-encounter-name{flex:160px;min-width:0}.exit-encounter-row select{flex:none}.button-link.active{background:var(--rpcg-accent);color:var(--rpcg-text)}.gnav-menus{flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:4px;display:flex}.gnav-right{align-items:center;gap:10px;display:flex}.gnav-menu{position:relative}.gnav-menu-btn{color:var(--rpcg-text);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;gap:7px;padding:5px 12px 5px 6px;transition:border-color .14s,color .14s;display:inline-flex}.gnav-menu-btn:hover,.gnav-menu-btn.gnav-open{color:var(--rpcg-hover);border-color:#c58b4580}.gnav-menu-label{font-size:.95rem;line-height:1}.gnav-caret{opacity:.7;font-size:.68rem}.gnav-dropdown{z-index:40;background:linear-gradient(#061822fc,#041018fc);border:1px solid #c58b458c;border-radius:12px;flex-direction:column;gap:2px;min-width:210px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 14px 34px #00000080}.gnav-dropdown-right{left:auto;right:0}.gnav-item{color:var(--rpcg-text);white-space:nowrap;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;text-decoration:none;display:flex}.gnav-item:hover{color:var(--rpcg-hover);background:#c58b4524}button.gnav-item{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.gnav-soon,.gnav-soon:hover{color:var(--rpcg-muted);cursor:default;background:0 0}.gnav-soon-tag{color:var(--rpcg-muted);letter-spacing:.04em;text-transform:uppercase;border:1px solid #ffffff2e;border-radius:6px;padding:1px 6px;font-size:.66rem}.gnav-badge{color:#fff;background:#c41e3a;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.72rem;font-weight:700;display:inline-flex}.gnav-icon-btn{color:#d9b36a;cursor:pointer;background:radial-gradient(circle at 50% 30%,#ffffff0f,#081219e6);border:1px solid #c58b456b;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:1rem;text-decoration:none;display:inline-flex;position:relative}.gnav-icon-btn:hover,.gnav-icon-btn.gnav-open{color:var(--rpcg-hover);border-color:#ffcc5cd9}.gnav-badge-dot{position:absolute;top:-5px;right:-5px}.gnav-toggle{background:#081219cc;border:1px solid #c58b456b;border-radius:999px;padding:2px;display:inline-flex}.gnav-toggle button{color:var(--rpcg-muted);cursor:pointer;font:inherit;background:0 0;border:none;border-radius:999px;padding:4px 12px;font-size:.82rem}.gnav-toggle-on{color:#8fc0ff;background:#378add38}.gnav-toggle-admin.gnav-toggle-on{color:#ffcf7a;background:#c58b454d}.gnav-simple{color:var(--rpcg-text);border-radius:999px;padding:5px 11px;font-size:.9rem;text-decoration:none}.gnav-simple:hover{color:var(--rpcg-hover)}.gnav-cta{border:1px solid #c58b4580}.gnav-admin-btn{color:#ffcf7a;border:1px solid #c58b4599}.gnav-admin-btn:hover{color:#ffcf7a;background:#c58b4538}.gnav-plain-btn{color:var(--rpcg-muted);cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;font-size:1.5rem;line-height:1;display:inline-flex;position:relative}.gnav-plain-btn:hover,.gnav-plain-btn.gnav-open{color:var(--rpcg-hover)}.gnav-plain-btn svg{width:28px;height:28px;display:block}.agreement-gate-overlay{z-index:9000;background:#0a0a0ec7;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.agreement-gate-modal{color:#e8e8ee;background:#14141b;border:1px solid #3a3a48;border-radius:10px;flex-direction:column;width:100%;max-width:760px;max-height:88vh;display:flex;box-shadow:0 12px 40px #00000080}.agreement-gate-title{color:#f2d98a;border-bottom:1px solid #2c2c38;margin:0;padding:16px 20px;font-size:1.15rem}.agreement-gate-body{padding:16px 20px;font-size:.92rem;line-height:1.5;overflow-y:auto}.agreement-gate-body h3{color:#f2d98a;margin:14px 0 6px;font-size:1.02rem}.agreement-gate-body h4{color:#dcdce6;margin:12px 0 4px;font-size:.95rem}.agreement-gate-body p{margin:4px 0}.agreement-gate-body li{margin:2px 0 2px 18px}.agreement-gate-gap{height:6px}.agreement-gate-check{align-items:flex-start;gap:8px;padding:12px 20px 4px;font-size:.9rem;display:flex}.agreement-gate-check input{margin-top:3px}.agreement-gate-name{color:#e8e8ee;background:#0e0e14;border:1px solid #3a3a48;border-radius:6px;margin:6px 20px;padding:9px 11px;font-size:.95rem}.agreement-gate-error{color:#ff8080;margin:2px 20px;font-size:.85rem}.agreement-gate-footer{border-top:1px solid #2c2c38;align-items:center;gap:14px;padding:10px 20px 18px;display:flex}.agreement-gate-accept{color:#1a1a10;cursor:pointer;background:#c9a44a;border:none;border-radius:6px;padding:10px 18px;font-weight:600}.agreement-gate-accept:disabled{opacity:.6;cursor:default}.agreement-gate-count{color:#9a9aa8;font-size:.82rem}.agreements-admin .panel{margin-bottom:16px}.agreements-form{flex-direction:column;gap:8px;max-width:760px;display:flex}.agreements-form>label{flex-direction:column;gap:3px;font-size:.9rem;display:flex}.agreements-form input[type=text],.agreements-form select,.agreements-form textarea{color:#e8e8ee;background:#0e0e14;border:1px solid #3a3a48;border-radius:6px;padding:7px 9px}.agreements-form textarea{font-family:ui-monospace,Menlo,Consolas,monospace}.agreements-check{align-items:center;gap:8px;flex-direction:row!important}.agreements-actions{flex-wrap:wrap;gap:6px;display:flex}.agreements-actions button{cursor:pointer;padding:4px 8px;font-size:.8rem}.agreements-viewer{margin-top:12px}.agreements-viewer pre{white-space:pre-wrap;background:#0e0e14;border:1px solid #2c2c38;border-radius:6px;max-height:340px;padding:12px;font-size:.85rem;overflow:auto}.agreement-gate-small{max-width:460px}.agreement-gate-signhint{color:#b9b9c6;padding:6px 20px 0;font-size:.85rem}.attribute-row strong.at-racial-max{color:#b57cff}.plinko-board{aspect-ratio:6/5;border:2px solid var(--rpcg-border);background:#0161a12e;border-radius:8px;width:468px;max-width:100%;margin:0 auto;position:relative;overflow:hidden}.plinko-pegs{flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:6% 6% 18%}.plinko-peg-row{justify-content:center;gap:6.5%;display:flex}.plinko-peg{background:#ffffff8c;border-radius:50%;width:7px;height:7px}.plinko-ball{z-index:2;background:#ffd166;border-radius:50%;width:16px;height:16px;margin:-8px 0 0 -8px;position:absolute;box-shadow:0 0 10px #ffd166e6}.plinko-chutes{grid-auto-columns:1fr;grid-auto-flow:column;gap:3px;display:grid;position:absolute;inset:auto 6% 4%}.plinko-chute{text-align:center;color:var(--rpcg-muted);background:#0f172a8c;border-radius:3px;padding:4px 0;font-size:11px}.plinko-chute--hit{color:#10233a;background:#ffd166;font-weight:700}@media (prefers-reduced-motion:reduce){.plinko-ball{transition:none!important}}.promo-switch-row{align-items:center;gap:.75rem;margin:.5rem 0;font-weight:600;display:flex}.promo-switch{appearance:none;border:2px solid var(--rpcg-border);cursor:pointer;background:#0f172a99;border-radius:999px;flex:none;width:52px;height:28px;transition:background .14s;position:relative}.promo-switch:after{content:"";background:#e2e8f0;border-radius:50%;width:20px;height:20px;transition:transform .14s;position:absolute;top:2px;left:2px}.promo-switch:checked{background:#15803d}.promo-switch:checked:after{transform:translate(24px)}.promo-switch:disabled{opacity:.6;cursor:not-allowed}.promo-switch:focus-visible{outline-offset:2px;outline:2px solid #7dd3fc}@media (prefers-reduced-motion:reduce){.promo-switch,.promo-switch:after{transition:none}}.promo-board-row{grid-template-columns:1fr;align-items:start;gap:16px;display:grid}@media (min-width:900px){.promo-board-row{grid-template-columns:auto minmax(0,1fr)}}.promo-board-panel,.promo-odds-panel{min-width:0}@media (min-width:900px){.promo-board-panel{width:max-content}}.loot-editor{margin-top:12px}.loot-toolbar{align-items:center;gap:14px;margin-bottom:10px;display:flex}.loot-table{border-collapse:collapse;width:100%}.loot-table th,.loot-table td{text-align:left;vertical-align:top;border-bottom:1px solid #2a2a2a;padding:8px 10px}.loot-table th.num,.loot-table td.num,.loot-sub th.num,.loot-sub td.num{text-align:right;font-variant-numeric:tabular-nums}.loot-row.open>td{background:#1b1b1b}.loot-name{font-weight:600}.loot-expand{color:inherit;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:15px}.loot-expand:focus-visible{outline-offset:2px;outline:2px solid #6aa9ff}.loot-detail-row>td{background:#161616;border-left:3px solid #3a5f8a;padding:14px 18px}.loot-ingredients{flex-direction:column;gap:20px;display:flex}.loot-ingredients h4{letter-spacing:.04em;text-transform:uppercase;color:#9aa7bb;margin:0 0 8px;font-size:13px}.loot-sub{border-collapse:collapse;width:100%;margin-bottom:10px}.loot-sub th,.loot-sub td{text-align:left;border-bottom:1px solid #262626;padding:6px 8px;font-size:13px}.loot-form{flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}.loot-form label{color:#9aa7bb;flex-direction:column;gap:3px;font-size:12px;display:flex}.loot-form input,.loot-form select{padding:5px 7px}.loot-rarities{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.loot-check{color:#c9d2df;align-items:center;gap:4px;font-size:12px;display:inline-flex}.loot-pill{background:#2a2a2a;border-radius:20px;padding:2px 7px;font-size:11px}.loot-pill.active{color:#8fd7a4;background:#1f3b28}.loot-pill.retired,.loot-pill.inactive,.loot-pill.archived{color:#d7ab8f;background:#3b2a1f}.loot-warn{color:#e0a463;font-weight:600}.loot-resolved{border-top:1px solid #2a2a2a;margin-top:18px;padding-top:14px}.loot-scroll{max-height:420px;overflow:auto}.button-link.danger{color:#e79a9a}.loot-finder{margin-bottom:18px}.loot-finder h3{margin:0 0 4px;font-size:15px}.loot-filterbar{flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0;display:flex}.loot-filterbar input{min-width:280px;padding:6px 9px}.loot-sort{color:inherit;font:inherit;cursor:pointer;text-align:inherit;background:0 0;border:none;padding:0;font-weight:600}.loot-sort:hover{text-decoration:underline}.loot-sort.on{color:#6aa9ff}.loot-sort:focus-visible{outline-offset:2px;outline:2px solid #6aa9ff}.loot-row.selected>td{background:#1d2430;box-shadow:inset 3px 0 #6aa9ff}.loot-panel{border-left:3px solid #3a5f8a;margin-top:18px}.loot-panel-head{border-bottom:1px solid #2a2a2a;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;padding-bottom:12px;display:flex}.loot-panel-head h3{margin:0 0 2px;font-size:17px}.loot-panel-foot{border-top:1px solid #2a2a2a;margin-top:16px;padding-top:12px}.loot-block{margin-bottom:22px}.loot-block h4{letter-spacing:.04em;text-transform:uppercase;color:#9aa7bb;margin:0 0 8px;font-size:13px}.loot-summary dl{flex-wrap:wrap;gap:6px 28px;margin:0 0 10px;display:flex}.loot-summary dl>div{flex-direction:column;gap:2px;display:flex}.loot-summary dt{text-transform:uppercase;letter-spacing:.05em;color:#8d99ad;font-size:11px}.loot-summary dd{font-variant-numeric:tabular-nums;margin:0}.loot-notes{color:#c9d2df;margin:0 0 10px}.loot-form label.grow{flex:260px}.loot-addform{background:#1b1b1b;border:1px solid #2a2a2a;border-radius:8px;margin-top:8px;padding:10px 12px}.loot-editing>td{background:#1f2733}.loot-actions{white-space:nowrap;gap:8px;display:flex}.loot-inline{align-items:center;gap:6px;display:inline-flex}input.loot-w{text-align:right;width:84px}.loot-picker .loot-scroll{max-height:280px}
