: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:30px;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{border:1px solid var(--rpcg-accent);color:var(--rpcg-text);background:#021722;border-radius:6px;padding:9px 10px}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}.global-nav{border-bottom:1px solid var(--rpcg-border);z-index:10;background:#021722eb;justify-content:space-between;align-items:center;gap:20px;margin:-30px -30px 28px;padding:14px 30px;display:flex;position:sticky;top:0}.global-nav a{color:var(--rpcg-text);text-decoration:none}.global-nav a:hover{color:var(--rpcg-hover)}.global-nav-brand{flex-direction:column;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-links{flex-wrap:wrap;justify-content:flex-end;gap:14px;display:flex}.app-shell{max-width:1280px;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 status-effects""powers powers equipment""skills skills equipment";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:1px solid #8ed4f84d;border-radius:8px;gap:5px;width:100%;padding:12px;display:grid}.inventory-choice strong{color:var(--rpcg-hover)}.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)}.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:1px solid #8ed4f838;border-radius:6px;grid-template-columns:minmax(110px,.9fr) minmax(150px,1.1fr) max-content;align-items:center;gap:12px;min-width:0;margin-bottom:8px;padding:12px;display:grid}.equip-slot-info,.equip-slot-item{min-width:0}.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-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(220px,1fr));gap:12px;display:grid}.pack-result-card{border:2px solid var(--rpcg-border);background:#0161a140;border-radius:8px;flex-direction:column;gap:6px;padding:12px;display:flex}.pack-result-card span,.pack-result-card p{color:var(--rpcg-muted);margin: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-image,.dac-card-image-placeholder{border:1px solid var(--rpcg-border);object-fit:cover;border-radius:8px;flex:0 0 72px;justify-content:center;align-items:center;max-width:72px;height:72px;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:1px}.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}.light-blue-star{color:#7dd3fc;font-size:.8rem;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-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-deconstruction-material{color:var(--rpcg-muted);text-align:right;flex-direction:column;flex:1;gap:2px;line-height:1.2;display:flex}.dac-card-deconstruction-material span{font-size:.78rem}.dac-card-deconstruction-material strong{color:var(--rpcg-text)}.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:78px;height:78px;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{border-width:2px;position:relative}.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}.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}.eyebrow{color:var(--rpcg-hover);letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:700}.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{align-items:center;gap:5px;display:inline-flex}.nav-envelope,.nav-message-count{color:#c58b45;font-weight:700}.nav-message-count{border:1px solid #c58b45b3;border-radius:999px;padding:2px 6px;font-size:.75rem;line-height:1}.nav-trade-star,.nav-trade-count{color:#67b7ff;font-weight:700}.nav-trade-count{border:1px solid #67b7ffbf;border-radius:999px;padding:2px 6px;font-size:.75rem;line-height:1}.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}.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}.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{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.game-event-form label,.game-event-actions label{color:var(--rpcg-muted);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-form-wide{grid-column:1/-1}.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}}.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}
