/* ========================================================= * REPRTERRA WEB — style.css * ========================================================= */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; overflow: hidden; background: #0b0f0a; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #e8e2d0; user-select: none; -webkit-user-select: none; } #game { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; cursor: crosshair; } /* ---------------- HUD ---------------- */ #hud { position: fixed; inset: 0; pointer-events: none; } #hud > * { pointer-events: auto; } #topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: linear-gradient(180deg, rgba(14,18,12,0.95), rgba(14,18,12,0.78)); border-bottom: 1px solid #2c3324; font-size: 13px; } .chip { display: flex; align-items: center; gap: 5px; background: #171d13; border: 1px solid #333c28; border-radius: 6px; padding: 3px 9px; min-width: 86px; } .chip .i { font-size: 14px; } .chip .v { font-weight: 700; color: #ffe9ad; font-variant-numeric: tabular-nums; } .chip .r { font-size: 10px; color: #7fa06a; font-variant-numeric: tabular-nums; } .chip .r.neg { color: #e06a5a; } .chip.bad { border-color: #8a3a2e; animation: blink 1s infinite; } @keyframes blink { 50% { filter: brightness(1.5); } } .spacer { flex: 1; } #daylabel { font-weight: 800; color: #ffd97a; letter-spacing: 1px; text-shadow: 0 1px 2px #000; } #wavelabel { font-weight: 700; color: #b8d69a; min-width: 150px; text-align: right; } #wavelabel.bad { color: #ff6a52; animation: blink 0.8s infinite; } .tbtn { background: #232b1b; color: #d8d2ba; border: 1px solid #455230; border-radius: 6px; padding: 4px 9px; cursor: pointer; font-size: 13px; font-weight: 700; } .tbtn:hover { background: #33402a; } .tbtn.active { background: #4a6b35; color: #fff; } /* wave banner */ #wavebanner { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); display: none; align-items: center; background: rgba(90,16,8,0.85); border: 1px solid #c23b2e; border-radius: 8px; padding: 7px 22px; font-size: 17px; font-weight: 800; color: #ffd2c4; letter-spacing: 1px; text-shadow: 0 1px 3px #000; } #wavebanner.pulse { animation: bannerpulse 1s infinite; } @keyframes bannerpulse { 50% { box-shadow: 0 0 24px rgba(255,60,40,0.65); } } /* selection panel */ #selpanel { position: absolute; right: 10px; top: 56px; width: 250px; max-height: calc(100vh - 220px); overflow-y: auto; background: rgba(16,20,13,0.93); border: 1px solid #3a452c; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; } #selpanel h3 { font-size: 15px; color: #ffe08a; margin-bottom: 6px; } #selpanel h4 { font-size: 12px; color: #b8d69a; margin: 8px 0 4px; text-transform: uppercase; letter-spacing: 1px; } #selpanel p { margin: 4px 0; line-height: 1.35; } #selpanel p.hint { color: #96a37e; font-size: 11.5px; } .hpbar { height: 8px; background: #26221a; border-radius: 4px; overflow: hidden; margin: 5px 0; border: 1px solid #000; } .hpbar > div { height: 100%; background: linear-gradient(90deg,#5fbf5f,#8fd66a); transition: width .25s; } .status b.bad { color: #ff6a52; } .warn { color: #ffc45a; } .bad { color: #ff6a52; } .good { color: #a8e07a; } .sect { margin-top: 6px; } .upg { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px dashed #333c28; } .upg small { color: #96a37e; display: block; font-size: 10.5px; } .pips { color: #ffd76a; letter-spacing: 2px; } button.buy { background: #3f5a2e; border: 1px solid #5d7a44; color: #fff; border-radius: 5px; padding: 4px 8px; cursor: pointer; font-size: 11px; white-space: nowrap; } button.buy:hover { background: #4d7038; } button.buy:disabled { opacity: 0.45; cursor: default; } .queue { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0; } .qslot { background: #22291a; border: 1px solid #3a452c; border-radius: 4px; padding: 2px 6px; font-size: 10.5px; color: #b8d69a; } .bigbtn { display: inline-block; background: #4a6b35; border: 1px solid #6d8f50; color: #fff; font-weight: 800; border-radius: 8px; padding: 9px 18px; font-size: 14px; cursor: pointer; text-align: center; transition: transform .06s, background .12s; } .bigbtn:hover { background: #557a3e; transform: translateY(-1px); } .bigbtn.subtle { background: #232b1b; border-color: #455230; color: #c8c2aa; font-weight: 600; } .bigbtn.subtle:hover { background: #303a24; } .bigbtn.danger { background: #6b2f22; border-color: #8f4430; } .bigbtn.danger:hover { background: #80382a; } .rowbtns { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .rowcenter { display: flex; gap: 10px; justify-content: center; margin-top: 14px; } /* palette */ #palette { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; } .palcol { display: flex; flex-direction: column; gap: 5px; } .palbtn { position: relative; width: 128px; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; text-align: left; background: rgba(20,25,15,0.92); border: 1px solid #3a452c; border-radius: 8px; padding: 5px 7px 5px 7px; cursor: pointer; color: #ddd6bd; font-family: inherit; } .palbtn .ic { font-size: 17px; grid-row: span 2; } .palbtn .nm { font-size: 11.5px; font-weight: 700; white-space: nowrap; } .palbtn .cost { font-size: 10px; color: #a8b98a; white-space: nowrap; } .palbtn .hk { position: absolute; top: -6px; right: -4px; background: #4a6b35; border: 1px solid #6d8f50; border-radius: 4px; font-size: 9px; padding: 0 4px; color: #fff; } .palbtn:hover { border-color: #7d9a58; background: rgba(38,48,26,0.95); } .palbtn.on { border-color: #ffd76a; box-shadow: 0 0 10px rgba(255,215,106,0.35); } .palbtn.cant .nm, .palbtn.cant .cost { opacity: 0.45; } /* minimap */ #mmwrap { position: absolute; left: 10px; bottom: 10px; background: rgba(16,20,13,0.9); border: 1px solid #3a452c; border-radius: 10px; padding: 6px; } #minimap { display: block; width: 176px; height: 176px; image-rendering: pixelated; cursor: pointer; border-radius: 6px; } .mmlabel { text-align: center; font-size: 9px; letter-spacing: 3px; color: #7a8763; margin-top: 4px; } /* toasts */ #toasts { position: absolute; bottom: 200px; left: 12px; display: flex; flex-direction: column-reverse; gap: 6px; max-width: 320px; } .toast { background: rgba(16,20,13,0.94); border: 1px solid #3a452c; border-left: 3px solid #7d9a58; border-radius: 7px; padding: 7px 11px; font-size: 12.5px; opacity: 0; transform: translateX(-12px); transition: all .3s; } .toast.show { opacity: 1; transform: none; } .toast.warn { border-left-color: #ffb04a; } .toast.bad { border-left-color: #e04a34; color: #ffd2c4; } /* tooltip */ #tooltip { position: fixed; z-index: 50; width: 240px; background: rgba(12,15,9,0.97); border: 1px solid #4a5735; border-radius: 8px; padding: 9px 11px; font-size: 11.5px; line-height: 1.45; color: #d5cfb8; pointer-events: none; } #tooltip b { color: #ffe08a; } #tooltip i { color: #96a37e; font-style: normal; } /* ---------------- overlays ---------------- */ .overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(10,14,8,0.82) 0%, rgba(5,8,4,0.95) 100%); } .card { background: linear-gradient(180deg, #1a2013, #12160d); border: 1px solid #455230; border-radius: 16px; padding: 30px 36px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05); max-width: 92vw; max-height: 92vh; overflow-y: auto; } .card.wide { width: 720px; } .title { font-size: 54px; letter-spacing: 10px; color: #e8dfc2; text-shadow: 0 3px 0 #000, 0 0 34px rgba(140,180,90,0.25); } .title .red { color: #c23b2e; text-shadow: 0 3px 0 #000, 0 0 30px rgba(194,59,46,0.6); } .subtitle { margin-top: 8px; color: #96a37e; font-size: 13px; letter-spacing: 2px; } .fanline { margin-top: 10px; color: #5f6b4d; font-size: 11px; } .fanline a { color: #8fae6a; } .diffrow { display: flex; gap: 12px; justify-content: center; margin: 26px 0 14px; flex-wrap: wrap; } .diffbtn { width: 190px; height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 17px; } .diffbtn small { font-weight: 400; font-size: 10.5px; color: #cfe0b2; line-height: 1.4; } .diffbtn.recommended { border-width: 2px; box-shadow: 0 0 18px rgba(125,154,88,0.4); } #endscreen h1 { font-size: 42px; letter-spacing: 6px; margin-bottom: 14px; } #endscreen h1.good { color: #a8e07a; text-shadow: 0 0 30px rgba(140,220,90,0.4); } #endscreen h1.bad { color: #ff5f4a; text-shadow: 0 0 30px rgba(255,80,60,0.4); } .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 10px auto; width: fit-content; text-align: left; font-size: 14px; } .stats span { color: #96a37e; margin-right: 10px; } .stats b { color: #ffe9ad; float: right; } .flavor { color: #7a8763; font-style: italic; margin-top: 12px; } #pauseoverlay { flex-direction: column; } .pausetxt { font-size: 40px; font-weight: 900; letter-spacing: 8px; color: #e8e2d0; text-align: center; text-shadow: 0 3px 0 #000; } .pausetxt small { display: block; font-size: 13px; letter-spacing: 2px; color: #96a37e; margin-top: 8px; } .pauserow { display: flex; gap: 10px; margin-top: 26px; justify-content: center; } .pauserow .bigbtn { min-width: 130px; } .helpcols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; text-align: left; margin: 14px 0 18px; } .helpcols ul { list-style: none; } .helpcols li { padding: 5px 0; font-size: 12.5px; line-height: 1.45; border-bottom: 1px dashed #2c3324; color: #c5bfa6; } .helpcols b { color: #ffe08a; } @media (max-width: 1100px) { #palette { transform: translateX(-50%) scale(0.85); transform-origin: bottom center; } } @media (max-width: 900px) { #selpanel { display: none !important; } .helpcols { grid-template-columns: 1fr; } }