*{box-sizing:border-box}body{margin:0;background:#14121a;color:#e8e4f0;font-family:system-ui,-apple-system,sans-serif}.screen{max-width:640px;margin:0 auto;padding:2rem 1.5rem}h1,h2,h3{font-family:Georgia,serif;letter-spacing:.02em}.tagline{color:#a89ec2;font-style:italic;margin-top:-.25rem}form{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;color:#cfc7e0}input,select{background:#201c29;border:1px solid #3a3348;color:#e8e4f0;padding:.6rem;border-radius:4px;font-size:1rem}button{background:#6c3ce9;color:#fff;border:none;padding:.7rem 1.2rem;border-radius:4px;font-size:1rem;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button.danger{background:#7a1f2b;margin-top:1.5rem}.error{color:#e97c7c}.warning{color:#d9a441;font-size:.85rem}.muted{color:#776e8c}.crawler-panel{border:1px solid #3a3348;border-radius:6px;padding:1rem;margin-bottom:1.5rem}.health-bar{position:relative;background:#2a2436;border-radius:4px;height:1.6rem;overflow:hidden;margin:.5rem 0}.health-bar-fill{background:#a5324f;height:100%;transition:width .3s ease}.health-bar span{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:.8rem;text-shadow:0 1px 2px black}.stat-row{display:flex;gap:1rem;font-size:.9rem;color:#cfc7e0}.trial-card{border:1px solid #3a3348;border-radius:6px;padding:1rem;margin-bottom:.75rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.risk-tag{font-size:.7rem;text-transform:uppercase;padding:.1rem .4rem;border-radius:3px;margin-left:.5rem}.risk-low{background:#2d4a37;color:#a3d9b1}.risk-elevated{background:#5a2d2d;color:#e0a3a3}.broadcast-feed{margin-top:1.5rem;border-top:1px solid #3a3348;padding-top:1rem}.broadcast-line{font-size:.9rem;color:#cfc7e0;border-bottom:1px solid #2a2436;padding:.4rem 0}.god-list{display:flex;flex-direction:column;gap:1rem;margin:1.5rem 0}.god-card{border:1px solid #3a3348;border-radius:6px;padding:1rem}.god-card .perk{color:#a3d9b1;font-size:.9rem}.god-card .smite{color:#e0a3a3;font-size:.9rem}.death-banner{font-size:1.3rem;color:#e0a3a3;font-weight:700;margin:.5rem 0}.permadeath-section{margin-top:2rem;border-top:1px solid #3a3348;padding-top:1rem}.trial-section{margin-bottom:1.5rem}.trial-section-header{color:#a89ec2;text-transform:uppercase;font-size:.85rem;letter-spacing:.05em;border-bottom:1px solid #3a3348;padding-bottom:.3rem;margin-bottom:.6rem}.outcome-banner{text-align:center;font-weight:700;font-size:1.2rem;letter-spacing:.05em;padding:.6rem;border-radius:4px;margin:1rem 0}.outcome-success{background:#2d4a37;color:#a3d9b1}.outcome-fail{background:#4a3d2d;color:#d9c1a3}.outcome-near-death{background:#5a3d2d;color:#e0b37c}.outcome-death{background:#5a2d2d;color:#e0a3a3}.level-up-tag{color:#d9a441}.spells-line{font-size:.85rem;color:#a3d9b1;margin-top:.3rem}.readiness{font-size:.85rem;font-weight:700;margin:.3rem 0}.readiness-good{color:#a3d9b1}.readiness-medium{color:#d9a441}.readiness-bad{color:#e0a3a3}.allocate-panel{margin-top:.75rem;border-top:1px solid #3a3348;padding-top:.75rem}.allocate-buttons{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.allocate-btn{background:#3a3348;font-size:.85rem;padding:.4rem .7rem}.shop-panel{margin:1.5rem 0;border-top:1px solid #3a3348;padding-top:1rem}.shop-message{color:#d9a441;font-size:.85rem}.shop-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.shop-item{border:1px solid #3a3348;border-radius:6px;padding:.6rem .8rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.shop-item p{font-size:.8rem;color:#a89ec2;margin:.2rem 0 0}.cooldown-tag{color:#e0a3a3;font-size:.8rem}.game-shell{max-width:640px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding-bottom:4.5rem}.game-header{position:sticky;top:0;background:#14121a;border-bottom:1px solid #3a3348;padding:.8rem 1.5rem .6rem;z-index:10}.header-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.4rem}.header-sub{color:#a89ec2;font-size:.85rem}.header-currency{color:#d9a441;font-weight:700;font-size:.95rem}.game-header .health-bar{margin:0}.outcome-banner{margin:.75rem 1.5rem 0}.tab-content{flex:1;padding:1rem 1.5rem}.tab-bar{position:fixed;bottom:0;left:0;right:0;max-width:640px;margin:0 auto;display:flex;background:#1c1826;border-top:1px solid #3a3348;z-index:10}.tab-btn{flex:1;background:none;border-radius:0;color:#a89ec2;font-size:.85rem;padding:.9rem .5rem;display:flex;align-items:center;justify-content:center;gap:.4rem}.tab-btn-active{color:#e8e4f0;font-weight:700;border-top:2px solid #6c3ce9}.on-air-dot{width:6px;height:6px;border-radius:50%;background:#e0576b;box-shadow:0 0 4px #e0576b}.status-tab .stat-row{flex-wrap:wrap;margin-bottom:.5rem}.leaderboard-header-row{display:flex;justify-content:space-between;align-items:center}.refresh-btn{background:#3a3348;font-size:.8rem;padding:.35rem .7rem}.leaderboard-list{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.5rem}.leaderboard-row{display:grid;grid-template-columns:2rem 1fr auto auto;align-items:center;gap:.6rem;border:1px solid #3a3348;border-radius:6px;padding:.5rem .7rem;font-size:.85rem}.leaderboard-row-you{border-color:#6c3ce9;background:#6c3ce91a}.leaderboard-rank{color:#a89ec2}.leaderboard-detail{color:#a89ec2;font-size:.75rem}.leaderboard-ratings{color:#d9a441;font-weight:700}.hall-of-fame-header{margin-top:1.5rem}.signout-section{margin-top:2rem;border-top:1px solid #3a3348;padding-top:1rem}.link-btn{background:none;color:#a89ec2;text-decoration:underline;padding:.5rem 0;margin-top:1rem;font-size:.85rem}.trial-card-locked{opacity:.55}.boss-tag{font-size:.7rem;text-transform:uppercase;padding:.1rem .4rem;border-radius:3px;margin-left:.5rem;background:#5a2d5a;color:#e0a3e0}.floor-clear-tag{color:#a3d9b1}.section-switch{display:flex;gap:.5rem;margin-bottom:1rem}.section-switch button{flex:1;background:#201c29;border:1px solid #3a3348}.section-btn-active{background:#6c3ce9!important}.combat-sub-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}.combat-sub-tabs button{background:#201c29;border:1px solid #3a3348;font-size:.8rem;padding:.4rem .7rem}.subtab-btn-active{background:#3a3348!important;border-color:#6c3ce9!important;color:#e8e4f0}.floor-selector{margin-bottom:.75rem;font-size:.85rem;color:#a89ec2}.floor-selector select{padding:.3rem .5rem;font-size:.85rem}.activity-stats-row{display:flex;flex-wrap:wrap;gap:.6rem;font-size:.75rem;color:#a89ec2;margin:.3rem 0}.rooms-panel{margin-bottom:1.5rem;border-bottom:1px solid #3a3348;padding-bottom:1rem}.room-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1rem}.room-tag{background:#2d4a37;color:#a3d9b1;font-size:.75rem;padding:.25rem .6rem;border-radius:12px}.tab-btn{position:relative}.unread-badge{position:absolute;top:.3rem;right:.6rem;background:#e0576b;color:#fff;font-size:.65rem;font-weight:700;border-radius:10px;padding:.05rem .35rem;line-height:1.3}.achievement-line{color:#d9a441;font-weight:500}.achievement-tag{color:#d9a441;font-size:.85rem;margin-top:.3rem}.achievements-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.achievement-card{border:1px solid #3a3348;border-radius:6px;padding:.6rem .8rem}.achievement-card strong{color:#d9a441;font-size:.9rem}.achievement-card p{font-size:.8rem;color:#a89ec2;margin:.3rem 0 0}.church-status{margin-bottom:1.5rem;border-bottom:1px solid #3a3348;padding-bottom:1rem}.church-status button{margin-top:.5rem}.title-tag{color:#d9a441;font-style:italic;font-size:.9rem}.energy-bar,.mana-bar{position:relative;background:#2a2436;border-radius:4px;height:1.2rem;overflow:hidden;margin:.4rem 0}.energy-bar-fill{background:#d9a441;height:100%;transition:width .3s ease}.mana-bar-fill{background:#5a7fd9;height:100%;transition:width .3s ease}.energy-bar span,.mana-bar span{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font-size:.7rem;text-shadow:0 1px 2px black}.item-effect{font-size:.75rem;color:#6c9ed9;margin-top:.2rem}.strikethrough{text-decoration:line-through;color:#776e8c;font-size:.85em}.defect-section{margin-top:1.5rem;border-top:1px solid #3a3348;padding-top:1rem}.casino-panel{border:1px solid #3a3348;border-radius:6px;padding:1rem;margin-bottom:1rem}.casino-bet-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.casino-bet-row input{width:5rem}.slots-reels{display:flex;gap:.75rem;font-size:2.2rem;margin:.75rem 0}.blackjack-table p{font-size:.95rem;margin:.3rem 0}.blackjack-actions{display:flex;gap:.5rem;margin-top:.5rem}.payout-label{margin-top:.75rem;margin-bottom:.3rem}.payout-table{display:flex;flex-direction:column;gap:.2rem}.payout-row{display:flex;justify-content:space-between;font-size:.85rem;padding:.2rem 0;border-bottom:1px solid #2a2436}.slot-symbol-small{font-size:1rem}.blackjack-controls{display:flex;align-items:center;gap:.75rem;min-height:2.6rem;margin-top:.5rem}.blackjack-controls input{width:4rem}.party-form{margin-bottom:1.5rem}.party-tab input[type=text]{flex:1}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:200;padding:1.5rem}.battle-log-panel{border-radius:8px;padding:1rem 1.2rem;width:100%;max-width:480px;max-height:75vh;overflow-y:auto;background:#1c1826;box-shadow:0 8px 30px #00000080}.battle-log-win{border:1px solid #2d4a37}.battle-log-lose{border:1px solid #5a2d2d}.battle-log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.battle-log-lines p{font-size:.82rem;margin:.25rem 0;color:#cfc7e0}.purgatory-stats{margin:1rem 0 1.5rem;border-top:1px solid #3a3348;border-bottom:1px solid #3a3348;padding:.75rem 0}.bounty-amount-input{width:25rem!important;max-width:100%}.bounty-amount-row{margin-top:1rem}.bounty-search-wrapper{position:relative}.bounty-search-input{width:25rem;max-width:100%}.bounty-search-results{position:absolute;top:100%;left:0;right:0;z-index:20;display:flex;flex-direction:column;gap:.3rem;margin-top:.3rem;background:#14121a;border:1px solid #3a3348;border-radius:6px;padding:.4rem;box-shadow:0 4px 12px #0006}.bounty-search-result{background:#201c29;border:1px solid #3a3348;text-align:left;font-size:.85rem;padding:.5rem .7rem}.bounty-target-group{border:1px solid #3a3348;border-radius:6px;padding:.5rem .7rem;margin-bottom:.5rem}.bounty-target-group .leaderboard-row{border:none;padding:0;grid-template-columns:2rem 1fr auto auto auto}.bounty-target-group .leaderboard-row button{padding:.5rem 1rem;white-space:nowrap;min-width:4.5rem}.bounty-detail-list{margin-top:.4rem;padding-top:.4rem;border-top:1px solid #2a2436;display:flex;flex-direction:column;gap:.3rem}.bounty-detail-row{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#a89ec2}.death-cause-large{color:#d9a441;font-size:1.15rem;font-weight:500;line-height:1.5;margin:.5rem 0}.death-tax-row{color:#e0576b;font-size:1.15rem;font-weight:700;margin:.5rem 0 1rem;border:1px solid #5a2d2d;border-radius:6px;padding:.6rem 1rem;background:#5a2d2d33}.tithe-info{font-size:.85rem;color:#6c9ed9}.shield-badge{color:#6c9ed9;font-size:.9rem}.bank-balances{display:flex;gap:1.5rem;margin:1rem 0 1.5rem}.bank-balance-block{display:flex;flex-direction:column;border:1px solid #3a3348;border-radius:8px;padding:.75rem 1.25rem}.bank-balance-label{font-size:.8rem;color:#a89ec2;text-transform:uppercase;letter-spacing:.05em}.bank-balance-amount{font-size:1.8rem;font-weight:700;color:#d9a441}.bank-form{display:flex;flex-direction:column;gap:1rem}.bank-form-buttons{display:flex;gap:1rem}.lock-tier-select{display:flex;gap:.5rem}.deposit-row{grid-template-columns:1fr auto auto auto}
