:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243036;background:#f4f6f1;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.app{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr)}.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(135deg,#2d5b5229,#d6b35f1f),#f4f6f1}.auth-shell{width:min(420px,100%);display:grid;gap:18px}.auth-brand{color:#1f2d2b;justify-content:center}.auth-panel{gap:16px}.auth-primary{width:100%;justify-content:center}.link-button{width:fit-content;justify-self:center;background:transparent;color:#2d5b52;padding:4px 0;font-weight:700}.link-button:hover{text-decoration:underline}.sidebar{background:#1f2d2b;color:#f7fbf2;padding:24px 18px;display:flex;flex-direction:column;gap:22px}.signed-in{display:grid;gap:8px;color:#f7fbf2}.signed-in span{color:#cbd8d1;font-size:14px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:20px}.brand-mark{width:40px;height:40px;flex:none}.api-control{display:grid;gap:8px}.api-control span,.field label,.field>span{font-size:12px;color:#607173;font-weight:700;text-transform:uppercase}.api-control select,.field input,.field select,.field textarea{width:100%;border:1px solid #c9d2ca;border-radius:6px;padding:10px 11px;background:#fff;color:#243036}.inline-select{min-height:36px;border:1px solid #c9d2ca;border-radius:6px;padding:6px 9px;background:#fff;color:#243036}.field input[type=color]{height:44px;padding:4px 6px}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:10px;color:#dfe8e1;background:transparent;border-radius:6px;padding:11px 12px;text-align:left}.nav button.active,.nav button:hover{background:#32433f;color:#fff}.content{padding:28px;display:grid;gap:18px;align-content:start}.topbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.topbar h1{margin:0;font-size:28px;letter-spacing:0}.topbar p{margin:6px 0 0;color:#607173}.status{min-height:42px;display:flex;align-items:center;gap:10px;border-radius:8px;background:#e7eee7;color:#334641;padding:10px 14px}.status.error{background:#f6dedb;color:#8d2c20}.topbar-actions{display:flex;align-items:flex-start;gap:10px}.notifications-menu{position:relative}.notifications-menu summary{list-style:none;cursor:pointer}.notifications-menu summary::-webkit-details-marker{display:none}.notification-count{min-width:20px;min-height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 6px;background:#b23b2f;color:#fff;font-size:12px;font-weight:900}.notifications-panel{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:min(380px,calc(100vw - 32px));max-height:420px;overflow:auto;display:grid;gap:8px;border:1px solid #d8e0d7;border-radius:8px;padding:10px;background:#fff;box-shadow:0 14px 30px #1f2d2b29}.notification-empty,.notification-item{border:1px solid #e3e8e2;border-radius:6px;padding:10px;background:#fbfcf7}.notification-item.unread{border-color:#b9c5bd;background:#eef5ee}.notification-item p{margin:0;color:#263a35;font-size:13px;font-weight:800}.notification-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.notification-actions .btn{min-height:34px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{background:#fff;border:1px solid #d9dfd8;border-radius:8px;padding:18px;display:grid;gap:14px}.panel h2,.panel h3{margin:0;letter-spacing:0}.panel h2{font-size:18px}.panel h3{font-size:15px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.button-row{display:flex;flex-wrap:wrap;gap:8px}.filter-toggle{display:inline-flex;align-items:center;gap:8px;color:#3a4a46;font-size:13px;font-weight:700;white-space:nowrap}.filter-toggle input{width:16px;height:16px;accent-color:#2d5b52}.game-filters{flex:1 1 100%;display:grid;gap:10px}.filter-summary{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#607173;font-size:13px;font-weight:800}.filter-summary .link-button{justify-self:auto;font-size:13px}.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;width:100%}.checklist-filter{position:relative;align-self:start}.checklist-filter-search{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:6px;align-items:center}.checklist-filter-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:10;display:grid;gap:7px;min-width:260px;padding:10px;border:1px solid rgba(154,173,163,.62);border-radius:8px;background:#fbfcf7c7;box-shadow:0 16px 32px #1f2d2b2e;-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25)}.checklist-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#607173;font-size:12px;font-weight:800}.checklist-filter-actions .link-button{justify-self:auto;font-size:12px}.checklist-filter-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.checklist-filter-options{height:148px;overflow:auto;display:grid;align-content:start;gap:7px;border:1px solid #d8e0d7;border-radius:6px;padding:8px;background:#ffffff94}.checklist-filter-options .filter-toggle{min-width:0;white-space:normal}.checklist-filter-options .filter-toggle span{overflow-wrap:anywhere;text-transform:none;color:#3a4a46;font-size:12px}.filter-field{min-width:0}.filter-field span{font-size:11px;color:#607173;font-weight:800;text-transform:uppercase}.filter-field input,.filter-field select{min-height:36px;padding:8px 9px}.range-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.field{display:grid;gap:6px}.field.span-2{grid-column:span 2}.field.span-4{grid-column:span 4}.tag-selector{border:1px solid #d8e0d7;border-radius:6px;padding:10px}.tag-selector legend{padding:0 4px;color:#607173;font-size:12px;font-weight:800;text-transform:uppercase}.tag-options{display:flex;flex-wrap:wrap;gap:8px}.tag-option{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8e0d7;border-radius:999px;padding:6px 10px;background:#f7faf6;color:#263a35;font-size:13px;font-weight:700}.tag-option input{margin:0}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.btn{min-height:38px;border-radius:6px;padding:0 13px;display:inline-flex;align-items:center;gap:8px;background:#2d5b52;color:#fff;font-weight:700}.btn.secondary{background:#e7eee7;color:#263a35}.btn.danger{background:#ae493c}.btn.warning{background:#b46f2a}.btn.icon{width:38px;padding:0;justify-content:center}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid #e3e8e2;text-align:left;vertical-align:middle}th{font-size:12px;color:#607173;text-transform:uppercase}.actions-column{width:1%;white-space:nowrap}.cell-with-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;max-width:100%}.cell-value{min-width:0;overflow:hidden}.mobile-cell-icon{display:none}.inline-actions{flex:0 0 auto;flex-wrap:nowrap}.game-summary,.game-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;min-width:220px}.game-summary strong,.game-card strong{display:block;color:#1f2d2b}.game-title-link,.game-title-text{color:inherit;font-size:inherit;font-weight:inherit;margin-top:0;text-decoration:none}.game-title-link:hover{color:inherit;text-decoration:none}.game-summary span,.game-card span{display:block;margin-top:3px;color:#607173;font-size:12px}.game-cover{width:54px;height:54px;border-radius:6px;object-fit:cover;background:#eef3ec;border:1px solid #d8e0d7}.tag-pills{display:flex;flex-wrap:wrap;gap:6px;min-width:140px}.tag-pill{border-radius:999px;padding:4px 8px;background:#e7eee7;color:#263a35;font-size:12px;font-weight:800}.missing-cover{display:grid;place-items:center;color:#607173}.designer-list,.designer-games,.game-card-list{display:grid;gap:10px}.designer-item{display:grid;border:1px solid #e3e8e2;border-radius:8px;background:#fbfcf7}.designer-item.active{border-color:#9eb8ad;background:#eef4eb}.designer-row,.shelf-toggle-row{min-height:46px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 10px}.shelf-toggle-row{border:1px solid #e3e8e2;border-radius:8px;background:#fbfcf7}.designer-name{min-width:0;background:transparent;color:#20322e;font-weight:800;text-align:left;padding:4px 0}.designer-name:hover{color:#2d5b52;text-decoration:underline}.designer-games.inline{padding:0 10px 10px}.shelf-toggle-row{grid-template-columns:minmax(160px,1fr) minmax(0,1fr) auto}.shelf-toggle-row.disabled{opacity:.58}.game-card-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.game-card{border:1px solid #e3e8e2;border-radius:8px;padding:10px;background:#fbfcf7}.muted{color:#607173}.metric-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{background:#eef3ec;border-radius:8px;padding:14px}.metric strong{display:block;font-size:24px}.shelf-list{display:grid;gap:18px;overflow-x:auto;padding-bottom:4px}.shelf-viz{display:grid;gap:8px;width:max-content}.shelf-viz.compact{gap:6px}.shelf-viz.compact .shelf-header{font-size:11px}.shelf-viz.compact .shelf-title strong{max-width:var(--shelf-width-px, 231px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shelf-header{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#3a4a46}.shelf-title,.shelf-header-actions{display:flex;align-items:center;gap:8px}.shelf-header-actions{justify-content:flex-end}.locked-badge{display:inline-flex;align-items:center;gap:4px;border:1px solid #b9c5bd;border-radius:6px;padding:3px 7px;color:#32423f;background:#eef4eb;font-size:12px;font-weight:800}.shelf-canvas{position:relative;width:var(--shelf-width-px, 231px);height:var(--shelf-height-px, 231px);max-width:none;border:2px solid #41524e;background:linear-gradient(90deg,rgba(65,82,78,.09) 1px,transparent 1px),linear-gradient(0deg,rgba(65,82,78,.09) 1px,transparent 1px),#f9faf4;background-size:24px 24px;overflow:hidden}.game-box{position:absolute;border:2px solid rgba(31,45,43,.45);border-radius:5px;padding:4px;display:block;overflow:hidden;background:var(--box-color);box-shadow:inset 0 -12px 20px #1f2d2b14;cursor:pointer}.game-box span{max-width:100%;overflow-wrap:anywhere}.game-box:focus-visible{outline:3px solid #2d5b52;outline-offset:2px}.game-box.search-dimmed{background:#d5dad5;border-color:#aab3ad;opacity:.42}.game-box.search-match{outline:3px solid #1f2d2b;outline-offset:1px;z-index:2}.shelf-game-actions{position:absolute;top:3px;right:3px;display:flex;gap:3px}.shelf-game-action{width:22px;height:22px;border-radius:5px;display:grid;place-items:center;background:#1f2d2bd1;color:#fff;opacity:.9}.shelf-game-action:hover,.shelf-game-action:focus-visible{opacity:1;outline:2px solid rgba(255,255,255,.85);outline-offset:1px}.shelf-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:7px 12px;max-width:var(--shelf-width-px, 520px);padding:8px 0 4px}.shelf-legend-item{min-width:0;display:flex;align-items:center;gap:7px;color:#31413d;font-size:12px;font-weight:700}.shelf-legend-item span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shelf-legend-item.search-dimmed{opacity:.42}.shelf-legend-item.search-match{color:#16231f}.shelf-legend-swatch{width:13px;height:13px;flex:0 0 auto;border-radius:3px;border:1px solid rgba(31,45,43,.42);background:var(--box-color)}.shelf-legend-item.search-dimmed .shelf-legend-swatch{background:#d5dad5}.shelf-search{width:min(320px,100%)}.shelf-grid-group{display:grid;gap:10px;width:max-content}.shelf-grid-cells{display:grid;grid-template-columns:repeat(var(--shelf-grid-columns),max-content);gap:12px;align-items:start}.empty-shelf-cell{width:var(--shelf-width-px, 231px);height:var(--shelf-height-px, 231px);min-width:120px;min-height:80px;display:grid;place-items:center;border:2px dashed #c9d2ca;border-radius:6px;background:#fbfcf7;color:#80908b;font-size:12px;font-weight:800}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#1f2d2b61}.modal-panel{width:min(520px,100%);border:1px solid #d5ded6;border-radius:8px;padding:20px;display:grid;gap:16px;background:#fffef9;box-shadow:0 18px 45px #1f2d2b38}.modal-panel h2{margin:0}.empty-state{border:1px dashed #b9c5bd;border-radius:8px;padding:20px;color:#607173;background:#fbfcf7}@media(max-width:980px){.app{grid-template-columns:1fr}.sidebar{position:static}.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.two,.grid.three,.metric-row,.form-grid{grid-template-columns:1fr}.field.span-2,.field.span-4{grid-column:span 1}.topbar{display:grid}}@media(max-width:640px){th.hide-on-mobile,td.hide-on-mobile{display:none}th,td{padding:8px 6px}.game-summary,.game-card{grid-template-columns:42px minmax(0,1fr);min-width:0}.game-summary strong{overflow-wrap:anywhere}.game-cover{width:42px;height:42px}.cell-with-actions{gap:6px}.cell-with-actions .inline-actions{display:grid;grid-template-columns:repeat(3,34px);gap:4px}.btn.icon{width:34px;min-height:34px}.games-table,.games-table thead,.games-table tbody,.games-table tr,.games-table td{display:block;width:100%}.games-table thead{display:none}.games-table tr{border-bottom:1px solid #d8e0d7;padding:10px 0}.games-table td{border-bottom:0;padding:4px 0}.games-table .cell-with-actions{grid-template-columns:1fr;gap:8px}.games-table .cell-with-actions .inline-actions{justify-content:start}.games-table .game-summary{grid-template-columns:44px minmax(0,1fr);min-width:0}.games-table .game-cover{width:44px;height:44px}.games-table .tag-pills{min-width:0}.games-table .mobile-cell-content{display:inline-flex;align-items:center;gap:7px;color:#334441}.games-table .mobile-cell-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;color:#607173;flex:0 0 auto}}@media(max-width:900px)and (orientation:landscape){.content{padding:16px}.panel{padding:14px}th,td{padding:8px 6px}.games-table,.games-table thead,.games-table tbody,.games-table tr,.games-table td{display:block;width:100%}.games-table thead{display:none}.games-table tr{border-bottom:1px solid #d8e0d7;padding:10px 0}.games-table td{border-bottom:0;padding:4px 0}.games-table .cell-with-actions{grid-template-columns:1fr;gap:8px}.games-table .cell-value{overflow:visible}.games-table .cell-with-actions .inline-actions{display:grid;grid-template-columns:repeat(3,34px);justify-content:start;gap:4px}.games-table .game-summary{grid-template-columns:48px minmax(0,1fr);min-width:0}.games-table .game-summary strong{overflow-wrap:anywhere}.games-table .game-cover{width:48px;height:48px}.games-table .tag-pills{min-width:0}.games-table .mobile-cell-content{display:inline-flex;align-items:center;gap:7px;color:#334441}.games-table .mobile-cell-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;color:#607173;flex:0 0 auto}.btn.icon{width:34px;min-height:34px}}.drawer-backdrop{position:fixed;inset:0;z-index:30;display:flex;justify-content:flex-end;background:#1f2d2b52}.game-drawer{width:min(460px,100%);height:100vh;overflow:auto;display:grid;align-content:start;gap:16px;padding:20px;background:#fffef9;border-left:1px solid #d5ded6;box-shadow:-16px 0 40px #1f2d2b2e}.drawer-header,.drawer-title,.detail-list p,.tree-toolbar,.tree-save-row,.saved-filter-item,.shelf-search-controls{display:flex;align-items:center;gap:10px}.drawer-header{justify-content:space-between}.drawer-title{min-width:0}.drawer-title h2{margin:0;overflow-wrap:anywhere}.drawer-title span,.detail-list span{color:#607173;font-size:13px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.detail-card{display:grid;gap:5px;padding:12px;border:1px solid #e3e8e2;border-radius:8px;background:#fbfcf7}.detail-card span{color:#607173;font-size:11px;font-weight:800;text-transform:uppercase}.drawer-section{display:grid;gap:8px}.detail-list p{justify-content:space-between;margin:0;border-bottom:1px solid #e7ece5;padding:8px 0}.saved-filter-builder{flex:1 1 100%;display:grid;gap:10px;padding-top:10px;border-top:1px solid #e3e8e2}.tree-toolbar,.tree-save-row{flex-wrap:wrap}.tree-toolbar .field{min-width:160px}.tree-rules{display:grid;gap:8px}.tree-rule{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,.8fr) minmax(120px,1fr) 38px;gap:8px}.tree-rule select,.tree-rule input,.tree-save-row input{min-height:38px;border:1px solid #c9d2ca;border-radius:6px;padding:8px 9px;background:#fff;color:#243036}.saved-filter-list{display:flex;flex-wrap:wrap;gap:8px}.saved-filter-item{border:1px solid #d8e0d7;border-radius:8px;padding:4px 6px 4px 10px;background:#fbfcf7}.tag-pill{background:var(--tag-color, #e7eee7);color:var(--tag-text-color, #263a35)}.color-swatch,.tag-color-dot{display:inline-block;background:var(--tag-color, #9ec5ab);border:1px solid rgba(31,45,43,.28)}.color-swatch{width:28px;height:20px;border-radius:5px}.tag-color-dot{width:11px;height:11px;border-radius:50%;flex:0 0 auto}.shelf-search-controls{width:min(420px,100%);justify-content:flex-end;flex-wrap:wrap}.game-box[draggable=true]{cursor:grab}.game-box[draggable=true]:active{cursor:grabbing}.shelf-list.fit-mobile{overflow-x:visible}.shelf-viz.fit-mobile{width:100%;max-width:100%}.shelf-viz.fit-mobile .shelf-canvas{width:min(var(--shelf-width-px),100%);aspect-ratio:var(--shelf-width-px) / var(--shelf-height-px);height:auto}.shelf-viz.fit-mobile .shelf-legend{max-width:100%}@media(max-width:640px){.content{padding:14px}.game-drawer{width:100%}.detail-grid,.tree-rule{grid-template-columns:1fr}.shelf-grid-cells{grid-template-columns:1fr;width:100%}.empty-shelf-cell,.shelf-grid-group,.shelf-viz{width:100%}.shelf-header,.shelf-header-actions{align-items:flex-start;flex-wrap:wrap}}.game-filter-toolbar{flex:1 1 100%;display:grid;gap:10px}.filter-compact-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:end;width:100%}.filter-counts{min-height:38px;display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#607173;font-weight:800}.filter-counts strong{color:#1f2d2b;font-size:20px}.filter-view-select{min-width:160px}.filter-sort-select{min-width:190px}.filter-direction-select{min-width:128px}.filter-view-badge{border:1px solid #b9c5bd;border-radius:6px;padding:3px 7px;background:#f7faf6;color:#32423f;font-size:12px;font-weight:800}.compact-filter-actions{justify-content:flex-end}.filter-expand-row{display:grid;gap:10px;padding:12px;border:1px solid #d8e0d7;border-radius:8px;background:#fbfcf7}.filter-row-heading{display:flex;align-items:center;gap:8px;color:#334641;font-size:13px;font-weight:800;text-transform:uppercase}@media(max-width:760px){.filter-compact-row{grid-template-columns:1fr;align-items:stretch}.compact-filter-actions{justify-content:flex-start}}.shelf-fill-badge{display:inline-flex;align-items:center;border:1px solid #b9c5bd;border-radius:6px;padding:3px 7px;color:#263a35;background:#f3e4b7;font-size:12px;font-weight:800;white-space:nowrap}.shelf-viz.compact .shelf-fill-badge{font-size:11px;padding:2px 6px}.compare-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.compare-board.gauntlet .compare-card{border-color:#c7a54c}.compare-neutral-actions{grid-column:1 / -1;display:flex;justify-content:center;gap:10px}.compare-neutral-actions .btn{min-width:130px;justify-content:center}.tournament-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}.tournament-controls .field{display:grid;gap:7px}.tournament-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.friend-dropdown{position:relative}.friend-dropdown details{position:relative}.friend-dropdown summary{min-height:38px;display:flex;align-items:center;border:1px solid #d8e0d7;border-radius:6px;padding:0 10px;background:#fff;color:#263a35;font-size:14px;font-weight:800;cursor:pointer;list-style:none}.friend-dropdown summary::-webkit-details-marker{display:none}.friend-dropdown summary:after{content:"";width:8px;height:8px;margin-left:auto;border-right:2px solid #607173;border-bottom:2px solid #607173;transform:rotate(45deg) translateY(-2px)}.friend-dropdown details[open] summary:after{transform:rotate(225deg) translateY(-2px)}.friend-dropdown-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:min(280px,100vw - 32px);display:grid;gap:6px;border:1px solid #d8e0d7;border-radius:8px;padding:8px;background:#fff;box-shadow:0 14px 30px #1f2d2b29}.friend-empty{padding:7px 9px;color:#607173;font-size:13px;font-weight:800}.start-tournament-row{display:flex;justify-content:center}.friend-picker{min-width:0;display:flex;flex-wrap:wrap;gap:8px}.friend-option{min-height:38px;display:inline-flex;align-items:center;gap:8px;border:1px solid #d8e0d7;border-radius:6px;padding:7px 9px;background:#fbfcf7;color:#334641;font-size:13px;font-weight:800}.friend-option input{width:16px;height:16px}.participant-row{display:flex;flex-wrap:wrap;gap:8px}.participant-row span{border:1px solid #d8e0d7;border-radius:6px;padding:6px 9px;background:#fbfcf7;color:#607173;font-size:12px;font-weight:800}.participant-row span.voted{background:#e7eee7;color:#263a35;border-color:#b9c5bd}.compare-waiting{align-items:start}.compare-waiting h2,.compare-waiting p{margin:0}.compare-waiting p{color:#607173;font-weight:700}.compare-card{min-width:0;min-height:430px;display:grid;grid-template-rows:220px minmax(0,1fr) auto;gap:14px;border:1px solid #d9dfd8;border-radius:8px;padding:14px;background:#fff}.compare-card .game-cover{width:100%;height:220px;object-fit:contain;background:#eef3ec}.compare-card.winner{width:min(520px,100%)}.compare-card-body{min-width:0;display:grid;align-content:start;gap:12px}.compare-card-body h2{margin:0;color:#1f2d2b;font-size:22px;overflow-wrap:anywhere}.compare-facts{display:flex;flex-wrap:wrap;gap:8px}.compare-facts span{border:1px solid #d8e0d7;border-radius:6px;padding:5px 8px;background:#fbfcf7;color:#334641;font-size:12px;font-weight:800}.compare-pick{width:100%;justify-content:center}.compare-winner-badge{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:0 13px;background:#f3e4b7;color:#263a35;font-weight:800}.compare-complete{justify-items:center;text-align:center}.compare-complete h2{margin:0;color:#1f2d2b;overflow-wrap:anywhere}.compare-complete p{margin:0;color:#607173;font-weight:800}.compare-winner-grid{width:100%;display:flex;gap:16px;justify-content:space-evenly;flex-wrap:wrap}.compare-standings{display:grid;gap:8px}.compare-standing-row{min-height:38px;display:grid;grid-template-columns:minmax(0,1fr) 56px 92px;align-items:center;gap:10px;border:1px solid #e3e8e2;border-radius:6px;padding:8px 10px;background:#fbfcf7;color:#334641;font-size:13px}.compare-standing-row span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.compare-standing-row strong,.compare-standing-row span:last-child{text-align:right}.compare-standing-row.eliminated{opacity:.58}.compare-history-row{display:flex;align-items:center;gap:8px;color:#334641;font-size:13px;font-weight:700}.stats-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.chart-builder-layout{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;align-items:start}.chart-builder-form{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.chart-preview-column{min-width:0;display:grid}.stats-chart-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}.stats-chart-card{min-width:0;display:grid;gap:14px;border:1px solid #d9dfd8;border-radius:8px;padding:14px;background:#fff}.stats-chart-card.preview{background:#fbfcf7}.stats-chart-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.stats-chart-header h3{margin:0;overflow-wrap:anywhere}.stats-chart-header span{display:block;margin-top:4px;color:#607173;font-size:12px;font-weight:800}.bar-chart{display:grid;gap:9px}.bar-row{min-width:0;display:grid;grid-template-columns:minmax(84px,.8fr) minmax(120px,1fr) 48px;gap:9px;align-items:center;color:#334641;font-size:12px}.bar-row>span,.pie-legend-row>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.bar-row strong,.pie-legend-row strong{text-align:right}.bar-track{height:18px;overflow:hidden;border-radius:5px;background:#e7eee7}.bar-fill{width:0;height:100%;border-radius:5px;background:var(--chart-color, #2d5b52)}.pie-chart-wrap{min-width:0;display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center}.pie-chart{width:150px;height:150px;transform:rotate(-90deg)}.pie-chart circle{transition:stroke-dasharray .16s ease}.pie-legend{min-width:0;display:grid;gap:8px}.pie-legend-row{min-width:0;display:grid;grid-template-columns:14px minmax(0,1fr) 48px;gap:8px;align-items:center;color:#334641;font-size:12px}.chart-swatch{width:12px;height:12px;border:1px solid rgba(31,45,43,.28);border-radius:3px;background:var(--chart-color, #2d5b52)}@media(max-width:760px){.compare-board,.compare-winner-grid{grid-template-columns:1fr}.compare-card{min-height:0;grid-template-rows:180px auto auto}.compare-card .game-cover{height:180px}.stats-metrics,.chart-builder-layout,.chart-builder-form,.stats-chart-grid,.pie-chart-wrap,.tournament-controls{grid-template-columns:1fr}.bar-row{grid-template-columns:minmax(0,1fr) 52px}.bar-track{grid-column:1 / -1;grid-row:2}}.profile-menu summary{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;cursor:pointer;list-style:none;color:#f7fbf2}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary:hover,.profile-menu[open] summary{background:#32433f}.profile-menu-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-avatar,.profile-avatar{display:grid;place-items:center;object-fit:cover;border-radius:50%;background:#d6b35f;color:#1f2d2b;flex:none}.menu-avatar{width:36px;height:36px}.profile-avatar{width:96px;height:96px;font-size:40px;font-weight:800}.profile-menu-actions{display:grid;gap:4px;padding:6px 0 0}.profile-menu-actions button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;border-radius:6px;background:transparent;color:#dfe8e1;text-align:left}.profile-menu-actions button:hover{background:#32433f;color:#fff}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:18px;align-items:start}.profile-grid .panel p{margin:0;line-height:1.5}.profile-avatar-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.avatar-upload{cursor:pointer}.avatar-upload input{display:none}.profile-notice{grid-column:1 / -1}.profile-danger{border-color:#e3b3ae}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.directory-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.directory-heading h2{margin:0}.directory-heading p{margin:6px 0 0;color:#607173}.directory-search{display:flex;align-items:center;gap:10px;max-width:440px;padding:0 12px;border:1px solid #c9d2ca;border-radius:8px;background:#fff;color:#607173}.directory-search:focus-within{border-color:#2d5b52;box-shadow:0 0 0 2px #2d5b521f}.directory-search input{width:100%;min-width:0;height:42px;border:0;outline:0;background:transparent;color:#243036}.directory-create{padding:16px;border:1px solid #d9dfd8;border-radius:8px;background:#f7faf6}.directory-hint{color:#607173}.directory-error{color:#8d2c20}.user-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.user-card{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;padding:18px 12px 14px;border:1px solid #d9dfd8;border-radius:10px;background:#fbfcf9;text-align:center}.user-card-avatar{display:grid;place-items:center;width:88px;height:88px;margin-bottom:8px;border-radius:50%;object-fit:cover;background:#d6b35f;color:#1f2d2b;font-size:34px;font-weight:800}.user-card-name{max-width:100%;overflow-wrap:anywhere;font-size:15px;color:#243036}.user-card-nickname{max-width:100%;overflow-wrap:anywhere;color:#607173;font-size:13px}.user-card-actions{width:100%;display:grid;gap:7px;margin-top:12px}.user-card-actions .btn{width:100%;justify-content:center;min-height:34px;font-size:12px}.user-role-control{display:grid;gap:4px;color:#607173;font-size:11px;font-weight:700;text-align:left}.user-role-control select{width:100%;padding:7px 8px;border:1px solid #c9d2ca;border-radius:6px;background:#fff;color:#243036}.directory-pagination{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;color:#607173;font-size:13px}.directory-pagination .btn:disabled{opacity:.45;cursor:default}.auth-page{overflow:hidden;align-items:start;padding:clamp(32px,6vh,80px) clamp(24px,3vw,64px);background:radial-gradient(circle at 7% 10%,rgba(230,174,93,.26),transparent 34%),radial-gradient(circle at 92% 86%,rgba(59,118,97,.18),transparent 36%),#f4f1e6}.auth-layout{width:min(1760px,100%);display:grid;grid-template-columns:minmax(0,1.7fr) minmax(420px,.9fr);align-items:center;column-gap:clamp(32px,3vw,64px);row-gap:clamp(36px,5vh,72px)}.auth-heading{grid-column:1 / -1;justify-self:center;display:grid;justify-items:center;gap:16px;width:100%;text-align:center;animation:auth-enter .65s ease-out both}.auth-logo{display:flex;align-items:center;justify-content:center;gap:clamp(16px,1.8vw,28px);margin:0;max-width:100%}.auth-logo-mark{width:clamp(76px,7vw,104px);height:auto;flex:none}.auth-logo-wordmark{display:block;width:clamp(400px,45vw,700px);max-width:100%;height:auto}.auth-lede{max-width:760px;margin:0;color:#52665c;font-size:clamp(17px,1.5vw,21px);line-height:1.5}.auth-showcase{min-height:clamp(500px,56vh,640px);display:grid;grid-template-columns:52% 48%;overflow:hidden;border:3px solid #285248;border-radius:18px;background:#24483f;box-shadow:0 20px 0 -12px #b28252,0 28px 44px #1f2d2b26}.auth-showcase-art{position:relative;min-width:0;min-height:100%;overflow:hidden;isolation:isolate;background:#eadcc5}.auth-room-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 65%}.auth-showcase-copy{display:grid;align-content:center;gap:12px;min-width:0;padding:32px clamp(22px,2.4vw,42px);color:#f8f2df}.auth-showcase-eyebrow{margin:0 0 3px;color:#e8bd6a;font-size:11px;font-weight:900;letter-spacing:.18em}.auth-feature-list{display:grid;gap:2px}.auth-feature-line{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center;padding:19px 0;border-top:1px dashed rgba(245,239,220,.26)}.auth-feature-illustration{display:block;width:64px;height:56px;overflow:visible;filter:drop-shadow(1px 2px 1px rgba(9,29,24,.25))}.auth-feature-line strong,.auth-feature-line small{display:block}.auth-feature-line strong{font-size:clamp(16px,1.1vw,20px);line-height:1.25}.auth-feature-line small{margin-top:6px;color:#c8d9cb;font-size:clamp(13px,.9vw,15px);line-height:1.5}.auth-shell{width:100%;align-self:stretch;animation:auth-enter .65s .1s ease-out both}.auth-panel{min-height:100%;align-content:center;gap:24px;padding:clamp(32px,3vw,52px);border-radius:18px;box-shadow:0 20px 70px #1f2d2b1a}.auth-panel h2{margin:0}.auth-panel-intro{margin:-5px 0 4px;color:#607173;line-height:1.55}.auth-panel .grid{gap:15px}.auth-panel .btn{justify-content:center;min-height:50px;font-size:16px}.auth-panel>.link-button{padding:10px 0;font-size:16px}.feedback-toast{position:fixed;right:24px;bottom:24px;z-index:100;width:min(400px,calc(100vw - 32px));display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #c8dccc;border-radius:10px;background:#f1f8f1;color:#254b36;box-shadow:0 14px 35px #1f2d2b29;animation:auth-enter .2s ease-out both}.feedback-toast.error{border-color:#e6b9b4;background:#fff1ef;color:#853329}.feedback-toast button{display:grid;place-items:center;flex:none;padding:2px;border-radius:5px;background:transparent;color:inherit}.feedback-toast button:hover{background:#00000012}@keyframes auth-enter{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1050px){.auth-layout{grid-template-columns:minmax(0,1fr);max-width:860px;row-gap:32px}.auth-logo-wordmark{width:min(75vw,580px)}.auth-showcase{min-height:450px}.auth-shell{max-width:620px;justify-self:center}.auth-panel{min-height:360px}}@media(max-width:560px){.auth-page{align-items:start;padding:26px 18px 42px}.auth-layout{row-gap:24px}.auth-heading{gap:12px}.auth-logo{flex-direction:column;gap:14px;width:100%}.auth-logo-mark{width:64px}.auth-logo-wordmark{width:min(100%,400px)}.auth-lede{font-size:15px}.auth-showcase{grid-template-columns:1fr}.auth-showcase-art{min-height:360px}.auth-showcase-copy{padding:18px 22px 20px}.auth-feature-line{padding:9px 0}.auth-panel{min-height:320px;padding:28px}.feedback-toast{right:16px;bottom:16px}}@media(prefers-reduced-motion:reduce){.auth-heading,.auth-shell,.feedback-toast{animation:none}}.auth-panel h2{margin:0;font-size:clamp(28px,2.2vw,38px);line-height:1.2;text-align:center}.auth-panel-intro{justify-self:center;max-width:400px;margin:-3px 0 4px;color:#607173;line-height:1.55;text-align:center}.auth-choice-divider{display:flex;align-items:center;gap:12px;width:100%;color:#82918c;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.auth-choice-divider:before,.auth-choice-divider:after{content:"";height:1px;flex:1;background:#dce3dc}
