Files
i-want-to-heal-2/src/styles.css
T

2351 lines
39 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');
:root {
--ink: #f4eed8;
--muted: #a89f87;
--panel: #191b22;
--panel-light: #242630;
--edge: #565066;
--gold: #e5b95f;
--red: #a73543;
--red-bright: #dc5162;
--green: #3f9a66;
--blue: #3477bb;
--purple: #8e68c4;
}
* {
box-sizing: border-box;
}
.sr-only {
height: 1px;
margin: -1px;
overflow: hidden;
position: absolute;
width: 1px;
}
button {
font: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
box-shadow: 0 0 0 5px #8b6726, 0 0 18px rgba(229, 185, 95, 0.65);
outline: 3px solid #fff4a8 !important;
}
html {
background: #07080b;
}
body {
background:
radial-gradient(circle at 20% 0%, rgba(229, 185, 95, 0.08), transparent 26%),
linear-gradient(180deg, #0d0f15 0%, #07080b 100%);
background-color: #07080b;
color: var(--ink);
margin: 0;
min-height: 100vh;
min-width: 320px;
overflow: hidden;
}
#root {
background: transparent;
height: 100dvh;
overflow: hidden;
}
.game-shell {
display: flex;
flex-direction: column;
height: 100dvh;
width: min(1180px, calc(100% - 28px));
margin: 0 auto;
overflow: hidden;
padding: 12px 0;
position: relative;
}
.header-xp {
background: #090a0d;
height: 5px;
width: 100px;
}
.header-xp span,
.experience-bar span {
background: var(--purple);
box-shadow: inset 0 3px #b08bdf;
display: block;
height: 100%;
}
h1,
h2,
p {
margin: 0;
}
h1,
h2 {
color: var(--ink);
font-family: 'Press Start 2P', monospace;
line-height: 1.45;
}
h1 {
font-size: clamp(18px, 3vw, 28px);
}
h2 {
font-size: 14px;
}
.eyebrow {
color: var(--gold);
font-family: 'Press Start 2P', monospace;
font-size: 8px;
letter-spacing: 1px;
margin-bottom: 8px;
text-transform: uppercase;
}
.menu-screen,
.content-screen,
.message-panel {
background: var(--panel);
border: 3px solid #0c0d11;
box-shadow: 7px 7px 0 #08090c;
flex: 1;
margin-top: 12px;
min-height: 0;
outline: 2px solid var(--edge);
overflow: hidden;
padding: 28px;
}
.content-screen {
display: flex;
flex-direction: column;
}
.dungeon-run-screen {
gap: 14px;
margin-top: 0;
}
.action-mode-shell {
width: min(1180px, calc(100% - 28px));
}
.action-mode-screen {
flex: 1;
gap: 18px;
margin-top: 0;
min-height: 0;
}
.action-screen-heading {
gap: 16px;
}
.action-heading-meta {
align-items: center;
display: flex;
gap: 14px;
}
.action-character-strip {
align-items: center;
display: flex;
gap: 10px;
justify-content: flex-end;
text-align: right;
}
.action-character-strip strong,
.action-character-strip small {
font-family: 'Press Start 2P', monospace;
}
.action-character-strip strong {
color: var(--ink);
font-size: 8px;
}
.action-character-strip small {
color: var(--muted);
font-size: 7px;
}
.action-mode-message {
background: #111319;
border: 2px solid #090a0d;
color: var(--gold);
font-family: 'Press Start 2P', monospace;
font-size: 8px;
outline: 2px solid #41404a;
padding: 12px;
}
.action-run-shell {
min-height: 100dvh;
position: relative;
}
.auth-shell {
align-items: center;
background:
radial-gradient(circle at 20% 0%, rgba(229, 185, 95, 0.08), transparent 26%),
linear-gradient(180deg, #0d0f15 0%, #07080b 100%);
display: flex;
min-height: 100dvh;
overflow: hidden;
padding: 24px;
}
.auth-panel {
display: grid;
gap: 18px;
grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
margin: 0 auto;
max-width: 980px;
width: 100%;
}
.auth-panel.single {
grid-template-columns: minmax(0, 520px);
justify-content: center;
}
.auth-brand,
.auth-card {
background: var(--panel);
border: 3px solid #0c0d11;
box-shadow: 7px 7px 0 #08090c;
min-width: 0;
outline: 2px solid var(--edge);
padding: 24px;
}
.auth-brand {
display: grid;
align-content: center;
gap: 16px;
min-height: 360px;
}
.auth-brand h1 {
font-size: clamp(20px, 3.4vw, 34px);
}
.auth-brand > p:last-child {
color: var(--muted);
font-size: 22px;
line-height: 1.2;
}
.auth-tabs {
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-tabs button {
background: #17181e;
border: 2px solid #090a0d;
color: var(--muted);
cursor: pointer;
font-family: 'Press Start 2P', monospace;
font-size: 7px;
min-height: 42px;
outline: 2px solid #3e3d47;
}
.auth-tabs button.selected {
color: var(--gold);
outline-color: var(--gold);
}
.auth-card form {
display: grid;
gap: 14px;
margin-top: 18px;
}
.auth-card label {
color: var(--muted);
display: grid;
font-family: 'Press Start 2P', monospace;
font-size: 7px;
gap: 8px;
text-transform: uppercase;
}
.auth-card input {
background: #111217;
border: 2px solid #090a0d;
color: var(--ink);
font: inherit;
font-size: 16px;
outline: 2px solid #3e3d47;
padding: 10px;
width: 100%;
}
.auth-card input:focus {
outline-color: var(--gold);
}
.auth-message {
color: var(--muted);
font-size: 16px;
line-height: 1.2;
margin-top: 16px;
min-height: 38px;
}
.auth-message.error {
color: #ff8190;
}
.action-run-reward-backdrop {
align-items: center;
background: rgba(5, 6, 9, 0.78);
display: flex;
inset: 0;
justify-content: center;
padding: 18px;
position: fixed;
z-index: 30;
}
.action-run-reward-modal {
background: var(--panel);
border: 3px solid #090a0d;
box-shadow: 8px 8px 0 #050609;
display: grid;
gap: 16px;
max-width: 560px;
outline: 2px solid var(--gold);
padding: 24px;
width: min(560px, 100%);
}
.action-run-reward-summary {
display: grid;
gap: 10px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.action-run-reward-summary div,
.action-run-loot-list {
background: #111319;
border: 2px solid #090a0d;
display: grid;
gap: 8px;
padding: 12px;
}
.action-run-reward-summary dt,
.action-run-reward-summary dd,
.action-run-loot-list strong,
.action-run-loot-list span,
.action-run-reward-actions button {
font-family: 'Press Start 2P', monospace;
}
.action-run-reward-summary dt {
color: var(--muted);
font-size: 7px;
}
.action-run-reward-summary dd {
color: var(--ink);
font-size: 10px;
margin: 0;
}
.action-run-loot-list strong {
color: var(--gold);
font-size: 8px;
}
.action-run-loot-list p {
color: var(--muted);
font-size: 20px;
margin: 0;
}
.action-run-loot-list span {
color: var(--ink);
font-size: 7px;
line-height: 1.4;
}
.action-run-reward-actions {
display: grid;
gap: 10px;
grid-template-columns: 1fr 1fr;
}
.action-mode-grid {
display: grid;
flex: 1;
gap: 16px;
grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
min-height: 0;
}
.action-dungeon-list {
display: grid;
gap: 16px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.action-dungeon-actions {
display: grid;
gap: 10px;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: auto;
}
.action-dungeon-actions button {
background: #242630;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
font-family: 'Press Start 2P', monospace;
font-size: 7px;
min-height: 42px;
outline: 2px solid #4b4855;
}
.action-dungeon-actions button:disabled,
.action-dungeon-card.locked {
opacity: 0.62;
}
.action-hub-nav {
display: grid;
gap: 15px;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0 auto;
max-width: 930px;
width: 100%;
}
.action-hub-nav .menu-card:first-child {
grid-column: auto;
}
.action-hub-nav span,
.action-hub-nav strong,
.action-gear-slot header,
.action-gear-row strong,
.action-gear-row small,
.action-gear-row button {
font-family: 'Press Start 2P', monospace;
}
.action-hub-nav span {
font-size: 19px;
}
.action-hub-nav strong {
font-size: 11px;
line-height: 1.25;
}
.action-dungeon-card,
.action-difficulty-card {
background: #111319;
border: 2px solid #090a0d;
display: flex;
flex-direction: column;
gap: 16px;
outline: 2px solid #41404a;
padding: 18px;
}
.action-dungeon-card p:not(.eyebrow),
.action-difficulty-card p:not(.eyebrow) {
color: var(--muted);
font-size: 20px;
line-height: 1.15;
margin-top: 8px;
}
.action-dungeon-card dl {
display: grid;
gap: 10px;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin: auto 0 0;
}
.action-dungeon-card dl div {
background: #171922;
border: 2px solid #090a0d;
display: grid;
gap: 7px;
padding: 12px;
}
.action-dungeon-card dt,
.action-dungeon-card dd {
font-family: 'Press Start 2P', monospace;
margin: 0;
}
.action-dungeon-card dt {
color: var(--muted);
font-size: 6px;
}
.action-dungeon-card dd {
color: var(--ink);
font-size: 10px;
}
.action-difficulty-card .primary-button {
margin-top: auto;
}
.action-difficulty-card.hard {
outline-color: #6f4f25;
}
.action-dungeon-board {
display: grid;
gap: 14px;
grid-template-columns: minmax(260px, 0.65fr) minmax(420px, 1.35fr);
min-height: 0;
}
.action-dungeon-board .action-dungeon-list {
align-content: start;
display: grid;
gap: 8px;
grid-template-columns: 1fr;
}
.action-dungeon-board .action-dungeon-card {
align-items: center;
background: #111319;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
display: grid;
gap: 10px;
grid-template-columns: 44px minmax(0, 1fr);
min-height: 76px;
outline: 2px solid #41404a;
padding: 10px;
text-align: left;
}
.action-dungeon-board .action-dungeon-card.selected {
outline-color: var(--gold);
}
.action-dungeon-board .action-dungeon-card.locked {
cursor: not-allowed;
opacity: 0.55;
}
.action-dungeon-glyph {
align-items: center;
background: #171922;
border: 2px solid #090a0d;
color: var(--gold);
display: flex;
font-family: 'Press Start 2P', monospace;
font-size: 14px;
height: 44px;
justify-content: center;
}
.action-dungeon-board .action-dungeon-card > span:last-child {
display: grid;
gap: 5px;
min-width: 0;
}
.action-dungeon-board .action-dungeon-card small,
.action-dungeon-board .action-dungeon-card strong,
.action-dungeon-board .action-dungeon-card i,
.action-dungeon-selected dt,
.action-dungeon-selected dd,
.action-tier-grid button,
.action-dungeon-start button {
font-family: 'Press Start 2P', monospace;
}
.action-dungeon-board .action-dungeon-card small {
color: var(--gold);
font-size: 6px;
}
.action-dungeon-board .action-dungeon-card strong {
font-size: 8px;
line-height: 1.25;
}
.action-dungeon-board .action-dungeon-card i {
color: var(--muted);
font-size: 6px;
font-style: normal;
line-height: 1.35;
}
.action-dungeon-setup {
display: grid;
gap: 10px;
grid-template-columns: minmax(0, 1fr);
}
.action-dungeon-selected,
.action-dungeon-tier,
.action-dungeon-start {
background: #111319;
border: 2px solid #090a0d;
display: grid;
gap: 12px;
outline: 2px solid #41404a;
padding: 14px;
}
.action-dungeon-selected p:not(.eyebrow),
.action-dungeon-start p {
color: var(--muted);
font-size: 18px;
line-height: 1.15;
margin: 0;
}
.action-dungeon-selected dl {
display: grid;
gap: 8px;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin: 0;
}
.action-dungeon-selected dl div {
background: #171922;
border: 2px solid #090a0d;
display: grid;
gap: 6px;
padding: 9px;
}
.action-dungeon-selected dt,
.action-dungeon-selected dd {
margin: 0;
}
.action-dungeon-selected dt {
color: var(--muted);
font-size: 6px;
}
.action-dungeon-selected dd {
color: var(--ink);
font-size: 9px;
}
.action-tier-grid {
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.action-tier-grid button {
background: #171922;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
display: grid;
gap: 7px;
outline: 2px solid #30313a;
padding: 12px;
text-align: left;
}
.action-tier-grid button.selected {
outline-color: var(--gold);
}
.action-tier-grid button.coin-white.selected {
outline-color: #f4eed8;
}
.action-tier-grid button.coin-green.selected {
outline-color: #7dff9d;
}
.action-tier-grid button.coin-blue.selected {
outline-color: #5d91ff;
}
.action-tier-grid button.coin-purple.selected {
outline-color: #b884ff;
}
.action-tier-grid strong {
font-size: 9px;
}
.action-tier-grid span {
color: var(--muted);
font-size: 7px;
}
.action-mechanics-admin {
background: #111319;
border: 2px solid #090a0d;
display: grid;
gap: 14px;
grid-template-rows: auto minmax(0, 1fr);
min-height: 0;
outline: 2px solid #41404a;
padding: 16px;
}
.action-mechanics-admin > header,
.action-mechanic-heading,
.action-attack-editor header {
align-items: center;
display: flex;
gap: 12px;
justify-content: space-between;
}
.action-mechanics-admin > p {
color: var(--muted);
font-size: 18px;
line-height: 1.15;
margin: 0;
}
.action-mechanic-card {
background: #171922;
border: 2px solid #090a0d;
display: grid;
gap: 12px;
grid-template-rows: auto auto minmax(0, 1fr) auto;
min-height: 0;
outline: 2px solid #30313a;
padding: 12px;
}
.action-mechanic-heading span,
.action-disabled-attacks strong,
.action-disabled-attacks button,
.action-attack-editor button,
.action-attack-editor strong,
.action-attack-editor small,
.action-attack-fields label {
font-family: 'Press Start 2P', monospace;
}
.action-mechanic-heading h3 {
color: var(--ink);
font-family: 'Press Start 2P', monospace;
font-size: 10px;
line-height: 1.35;
margin: 0;
}
.action-mechanic-heading span {
color: var(--gold);
font-size: 7px;
}
.action-attack-list {
display: grid;
gap: 10px;
min-height: 0;
}
.action-page-controls {
align-items: center;
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.action-attack-list .action-page-controls {
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.action-page-controls button,
.action-page-controls span {
font-family: 'Press Start 2P', monospace;
}
.action-page-controls button {
background: #242630;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
font-size: 6px;
min-height: 32px;
outline: 2px solid #4b4855;
}
.action-page-controls button:disabled {
color: var(--muted);
cursor: default;
opacity: 0.55;
}
.action-page-controls span {
color: var(--gold);
font-size: 7px;
text-align: center;
white-space: nowrap;
}
.action-empty-note {
color: var(--muted);
font-size: 18px;
}
.action-attack-editor {
background: #111319;
border: 2px solid #090a0d;
display: grid;
gap: 10px;
padding: 10px;
}
.action-attack-editor strong {
color: var(--ink);
display: block;
font-size: 8px;
line-height: 1.35;
}
.action-attack-editor small {
color: var(--muted);
display: block;
font-size: 6px;
margin-top: 5px;
}
.action-attack-editor button,
.action-disabled-attacks button {
background: #242630;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
font-size: 6px;
padding: 8px;
}
.action-attack-fields {
display: grid;
gap: 8px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.action-attack-fields label {
color: var(--muted);
display: grid;
font-size: 6px;
gap: 5px;
line-height: 1.35;
}
.action-attack-fields input {
background: #050609;
border: 2px solid #30313a;
color: var(--ink);
font: inherit;
min-width: 0;
padding: 7px;
}
.action-disabled-attacks {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.action-disabled-attacks strong {
align-self: center;
color: var(--gold);
font-size: 7px;
}
.action-placeholder-panel,
.action-gear-panel {
background: #111319;
border: 2px solid #090a0d;
display: grid;
gap: 16px;
grid-template-rows: auto minmax(0, 1fr);
min-height: 0;
outline: 2px solid #41404a;
padding: 18px;
}
.action-placeholder-panel p:not(.eyebrow),
.action-gear-panel p:not(.eyebrow) {
color: var(--muted);
font-size: 20px;
line-height: 1.15;
margin: 0;
}
.action-gear-summary {
display: grid;
gap: 6px;
}
.action-customize-layout {
display: grid;
gap: 14px;
grid-template-columns: minmax(270px, 0.9fr) minmax(340px, 1.1fr);
min-height: 0;
}
.action-slot-grid {
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
min-height: 0;
}
.action-slot-grid button,
.action-inventory-list button,
.action-gear-detail,
.action-inventory-panel {
background: #171922;
border: 2px solid #090a0d;
color: var(--ink);
outline: 2px solid #30313a;
}
.action-slot-grid button {
cursor: pointer;
display: grid;
gap: 6px;
min-height: 64px;
padding: 10px;
text-align: left;
}
.action-slot-grid button.selected,
.action-slot-grid button:hover,
.action-inventory-list button.selected,
.action-inventory-list button:hover {
outline-color: var(--gold);
}
.action-slot-grid span {
color: var(--gold);
font-family: 'Press Start 2P', monospace;
font-size: 10px;
}
.action-slot-grid strong,
.action-slot-grid small,
.action-inventory-panel > header span,
.action-inventory-list strong,
.action-inventory-list small,
.action-gear-detail header span,
.action-stat-compare dt,
.action-stat-compare dd,
.action-gear-detail button {
font-family: 'Press Start 2P', monospace;
}
.action-slot-grid strong,
.action-inventory-list strong {
font-size: 7px;
line-height: 1.35;
}
.action-slot-grid small,
.action-inventory-list small {
color: var(--muted);
font-size: 6px;
}
.action-inventory-panel {
display: grid;
gap: 12px;
grid-template-rows: auto minmax(92px, 0.75fr) auto;
min-height: 0;
padding: 14px;
}
.action-inventory-panel > header,
.action-gear-detail header {
align-items: start;
display: flex;
gap: 12px;
justify-content: space-between;
}
.action-inventory-panel > header span,
.action-gear-detail header span {
color: var(--gold);
font-size: 7px;
}
.action-inventory-list {
display: grid;
gap: 8px;
min-height: 0;
overflow: auto;
}
.action-inventory-list > p {
color: var(--muted);
font-size: 20px;
margin: 0;
}
.action-inventory-list button {
cursor: pointer;
display: flex;
gap: 10px;
justify-content: space-between;
min-height: 44px;
padding: 10px;
text-align: left;
}
.action-gear-detail {
display: grid;
gap: 12px;
padding: 12px;
}
.action-gear-detail.empty {
align-content: center;
}
.action-stat-compare {
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0;
}
.action-stat-compare div {
background: #111319;
border: 2px solid #090a0d;
display: grid;
gap: 6px;
padding: 8px;
}
.action-stat-compare dt {
color: var(--muted);
font-size: 6px;
}
.action-stat-compare dd {
color: var(--ink);
font-size: 7px;
margin: 0;
}
.action-gear-detail button {
background: #242630;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
font-size: 6px;
min-height: 38px;
outline: 2px solid #4b4855;
}
.action-gear-detail button:disabled {
color: var(--muted);
cursor: not-allowed;
opacity: 0.65;
}
.menu-card {
align-items: center;
background: var(--panel-light);
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
display: flex;
gap: 16px;
min-height: 105px;
outline: 2px solid #42414c;
padding: 16px;
text-align: left;
}
.menu-card:first-child {
grid-column: 1 / -1;
}
.mode-select-grid > .mode-select-card:first-child {
grid-column: auto;
}
.menu-card:hover {
outline-color: var(--gold);
transform: translateY(-2px);
}
.cloud-sync-card {
cursor: default;
justify-content: space-between;
}
.cloud-sync-card:hover {
outline-color: #42414c;
transform: none;
}
.cloud-sync-card > div {
display: grid;
flex: 1;
gap: 6px;
}
.cloud-sync-card .text-button:disabled {
opacity: 0.7;
}
.cloud-sync-message {
color: var(--gold);
}
.menu-card > span,
.class-portrait {
align-items: center;
background: #13141a;
border: 2px solid var(--gold);
color: var(--gold);
display: flex;
flex: 0 0 58px;
font-family: 'Press Start 2P', monospace;
font-size: 19px;
height: 58px;
justify-content: center;
}
.menu-card strong,
.menu-card small {
display: block;
}
.menu-card strong {
font-family: 'Press Start 2P', monospace;
font-size: 11px;
margin-bottom: 9px;
}
.menu-card small {
color: var(--muted);
font-size: 18px;
line-height: 1.05;
}
.screen-heading {
align-items: center;
border-bottom: 2px solid #34343d;
display: flex;
justify-content: space-between;
padding-bottom: 14px;
}
.back-button,
.text-button {
background: #15161c;
border: 2px solid #090a0d;
color: var(--muted);
cursor: pointer;
outline: 2px solid #464550;
padding: 9px 13px;
}
.back-button:hover,
.text-button:hover {
color: var(--ink);
outline-color: var(--gold);
}
.boss-slice-shell {
height: 100dvh;
margin: 0 auto;
overflow: hidden;
padding: 12px;
width: min(1360px, 100%);
}
.boss-slice-stage {
background: var(--panel);
border: 3px solid #0c0d11;
box-shadow: 7px 7px 0 #08090c;
display: flex;
flex-direction: column;
gap: 14px;
height: 100%;
outline: 2px solid var(--edge);
overflow: hidden;
padding: 18px;
}
.boss-slice-heading {
align-items: center;
border-bottom: 2px solid #34343d;
display: flex;
flex: 0 0 auto;
justify-content: space-between;
padding-bottom: 14px;
}
.boss-slice-layout {
display: grid;
flex: 1;
column-gap: 0;
grid-template-columns: 184px minmax(0, 1fr) minmax(260px, 320px);
min-height: 0;
row-gap: 16px;
}
.boss-playfield-panel {
background: #08090c;
border: 2px solid #090a0d;
min-height: 0;
outline: 2px solid #41404a;
overflow: hidden;
position: relative;
}
.boss-window-bossbar {
left: 50%;
position: absolute;
top: 12px;
transform: translateX(-50%);
width: min(440px, calc(100% - 40px));
z-index: 3;
}
.boss-window-bossbar strong,
.boss-window-bossbar span {
color: var(--ink);
font-family: 'Press Start 2P', monospace;
font-size: 8px;
}
.boss-window-bossbar strong {
display: block;
text-align: center;
}
.boss-window-bossbar span {
color: var(--muted);
display: block;
margin-top: 4px;
text-align: center;
}
.boss-window-bossbar i {
background: #090a0d;
border: 2px solid #090a0d;
display: block;
height: 16px;
margin-top: 5px;
}
.boss-window-bossbar b {
background: var(--red-bright);
box-shadow: inset 0 4px #ff8b98;
display: block;
height: 100%;
transition: width 120ms linear;
}
.boss-party-frames {
background: rgba(17, 19, 25, 0.94);
border: 2px solid #090a0d;
display: flex;
flex-direction: column;
gap: 9px;
min-height: 0;
outline: 1px solid #41404a;
overflow: auto;
padding: 6px;
width: 184px;
}
.boss-party-heading {
border-bottom: 2px solid #34343d;
display: grid;
gap: 3px;
padding-bottom: 9px;
}
.boss-party-heading span {
color: var(--muted);
font-size: 16px;
}
.party-frame {
background: #171922;
border: 1px solid #090a0d;
color: var(--ink);
cursor: pointer;
display: grid;
gap: 5px;
min-height: 58px;
outline: 1px solid #30313a;
padding: 8px 4px;
text-align: left;
}
.party-frame:hover,
.party-frame.selected {
outline-color: var(--gold);
}
.party-frame.dead {
opacity: 0.55;
}
.party-frame strong,
.party-frame small,
.party-frame em,
.role-chip {
font-family: 'Press Start 2P', monospace;
}
.party-frame strong {
font-size: 8px;
}
.party-frame small,
.party-frame em {
color: var(--muted);
font-size: 6px;
font-style: normal;
}
.party-frame em {
color: #7fd89d;
}
.party-frame i {
background: #090a0d;
display: block;
height: 9px;
overflow: hidden;
position: relative;
}
.party-health-fill,
.party-shield-fill {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
transition: width 120ms linear;
}
.party-health-fill {
background: #76d39a;
}
.party-shield-fill {
background: #5ec7ff;
box-shadow: inset 0 3px #a7e4ff;
}
.role-chip {
color: var(--gold);
font-size: 6px;
text-transform: uppercase;
}
.role-chip.healer {
color: #5ec7ff;
}
.role-chip.tank {
color: var(--gold);
}
.role-chip.melee {
color: var(--red-bright);
}
.role-chip.ranged {
color: var(--purple);
}
.boss-canvas-wrap {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
min-height: 0;
overflow: hidden;
}
.boss-canvas-wrap canvas {
display: block;
}
.boss-hud {
background: #111319;
border: 2px solid #090a0d;
color: var(--ink);
display: flex;
flex-direction: column;
gap: 14px;
min-height: 0;
margin-left: 16px;
outline: 2px solid #41404a;
overflow: auto;
padding: 16px;
}
.boss-hud-status p:not(.eyebrow) {
color: var(--muted);
font-size: 20px;
line-height: 1.15;
margin-top: 8px;
}
.boss-meter {
display: grid;
gap: 8px;
}
.boss-meter > div {
align-items: center;
display: flex;
justify-content: space-between;
}
.boss-meter strong,
.boss-meter span,
.boss-stat-grid dt,
.boss-stat-grid dd,
.boss-controls strong {
font-family: 'Press Start 2P', monospace;
}
.boss-meter strong,
.boss-meter span,
.boss-stat-grid dt {
font-size: 7px;
}
.boss-meter span,
.boss-stat-grid dt {
color: var(--muted);
}
.boss-meter i {
background: #090a0d;
border: 2px solid #090a0d;
display: block;
height: 18px;
}
.boss-meter b {
display: block;
height: 100%;
transition: width 120ms linear;
}
.boss-meter.player b {
background: #5ec7ff;
box-shadow: inset 0 4px #a7e4ff;
}
.boss-meter.boss b {
background: var(--red-bright);
box-shadow: inset 0 4px #ff8b98;
}
.boss-enemy-list {
display: grid;
gap: 8px;
}
.boss-enemy-row {
background: #171922;
border: 2px solid #090a0d;
display: grid;
gap: 6px;
padding: 8px;
}
.boss-enemy-row > div {
align-items: center;
display: flex;
gap: 8px;
justify-content: space-between;
}
.boss-enemy-row strong,
.boss-enemy-row span {
font-family: 'Press Start 2P', monospace;
font-size: 6px;
}
.boss-enemy-row span {
color: var(--muted);
}
.boss-enemy-row i {
background: #090a0d;
display: block;
height: 8px;
}
.boss-enemy-row b {
background: var(--red-bright);
display: block;
height: 100%;
transition: width 120ms linear;
}
.boss-enemy-row.bullfango b {
background: #f08a4b;
}
.boss-spellbar {
display: grid;
gap: 8px;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.boss-spellbar button {
background: #15161c;
border: 2px solid #090a0d;
color: var(--ink);
cursor: pointer;
display: grid;
gap: 4px;
font-family: 'Press Start 2P', monospace;
font-size: 6px;
min-height: 52px;
outline: 2px solid #464550;
overflow: hidden;
padding: 6px 4px;
position: relative;
}
.boss-spellbar button:hover {
outline-color: var(--gold);
}
.boss-spellbar button.cooling {
color: var(--muted);
}
.boss-spellbar button > strong,
.boss-spellbar button > span,
.boss-spellbar button > em {
position: relative;
z-index: 1;
}
.boss-spellbar button > span {
line-height: 1.25;
}
.boss-spellbar button > i {
background: rgba(8, 9, 12, 0.72);
bottom: 0;
display: block;
left: 0;
position: absolute;
width: 100%;
}
.boss-spellbar button > em {
color: var(--gold);
font-style: normal;
}
.boss-castbar {
display: grid;
gap: 7px;
}
.boss-field-castbar {
background: rgba(8, 9, 12, 0.78);
outline: 2px solid #41404a;
padding: 8px;
left: 50%;
position: absolute;
top: 75%;
transform: translate(-50%, -50%);
width: min(360px, 42%);
z-index: 3;
}
.boss-castbar > div {
align-items: center;
display: flex;
justify-content: space-between;
}
.boss-castbar strong,
.boss-castbar span {
font-family: 'Press Start 2P', monospace;
font-size: 7px;
}
.boss-castbar span {
color: var(--muted);
}
.boss-castbar i {
background: #090a0d;
border: 2px solid #090a0d;
display: block;
height: 14px;
}
.boss-castbar b {
background: var(--gold);
display: block;
height: 100%;
}
.boss-stat-grid {
display: grid;
gap: 8px;
grid-template-columns: 1fr 1fr;
margin: 0;
}
.boss-stat-grid div {
background: #171922;
border: 2px solid #090a0d;
display: grid;
gap: 7px;
min-width: 0;
padding: 10px;
}
.boss-stat-grid dd {
color: var(--ink);
font-size: 8px;
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
}
.boss-controls {
border-top: 2px solid #34343d;
display: grid;
gap: 8px;
margin-top: auto;
padding-top: 14px;
}
.boss-controls strong {
color: var(--gold);
font-size: 8px;
}
.boss-controls span {
color: var(--muted);
font-size: 18px;
}
@media (max-width: 920px), (max-height: 620px) {
.boss-slice-shell {
padding: 8px;
}
.boss-slice-stage {
gap: 10px;
padding: 12px;
}
.boss-slice-layout {
gap: 10px;
grid-template-columns: 150px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr) auto;
}
.boss-party-frames {
padding: 5px;
width: 150px;
}
.boss-window-bossbar {
width: min(300px, calc(100% - 24px));
}
.boss-hud {
display: grid;
grid-column: 1 / -1;
grid-template-columns: minmax(170px, 1fr) minmax(260px, 1.2fr) minmax(150px, 0.7fr);
margin-left: 0;
max-height: 178px;
overflow: hidden;
}
.boss-stat-grid,
.boss-controls {
display: none;
}
.boss-hud-status p:not(.eyebrow) {
font-size: 17px;
}
}
@media (max-width: 980px), (max-height: 560px) {
h1 {
font-size: 16px;
}
h2 {
font-size: 11px;
}
.eyebrow {
font-size: 6px;
margin-bottom: 5px;
}
.game-shell,
.action-mode-shell {
padding: 6px;
width: 100%;
}
.auth-shell {
padding: 10px;
}
.auth-panel {
gap: 10px;
grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
max-width: none;
}
.auth-brand,
.auth-card {
box-shadow: none;
padding: 14px;
}
.auth-brand {
gap: 10px;
min-height: 0;
}
.auth-brand h1 {
font-size: 18px;
}
.auth-brand > p:last-child,
.auth-message {
font-size: 14px;
}
.auth-card form {
gap: 10px;
margin-top: 12px;
}
.auth-tabs button {
font-size: 6px;
min-height: 34px;
}
.auth-card label {
font-size: 6px;
gap: 6px;
}
.auth-card input {
font-size: 12px;
padding: 7px;
}
.auth-message {
margin-top: 10px;
min-height: 30px;
}
.content-screen,
.message-panel {
box-shadow: none;
margin-top: 0;
padding: 12px;
}
.action-mode-screen {
gap: 10px;
}
.screen-heading,
.boss-slice-heading {
gap: 10px;
padding-bottom: 8px;
}
.action-heading-meta {
gap: 8px;
}
.action-character-strip {
gap: 6px;
}
.action-character-strip strong,
.action-character-strip small {
font-size: 6px;
}
.header-xp {
width: 62px;
}
.back-button,
.text-button {
font-size: 7px;
padding: 7px 9px;
}
.action-hub-nav {
gap: 9px;
grid-template-columns: repeat(3, minmax(0, 1fr));
max-width: none;
}
.menu-card {
gap: 10px;
min-height: 72px;
padding: 10px;
}
.menu-card > span,
.class-portrait {
flex-basis: 38px;
font-size: 14px;
height: 38px;
}
.menu-card strong,
.action-hub-nav strong {
font-size: 7px;
margin-bottom: 5px;
}
.menu-card small {
font-size: 14px;
line-height: 1;
}
.action-dungeon-board {
gap: 10px;
grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
}
.action-dungeon-board .action-dungeon-list,
.action-dungeon-setup {
gap: 7px;
}
.action-dungeon-board .action-dungeon-card {
gap: 8px;
grid-template-columns: 36px minmax(0, 1fr);
min-height: 58px;
padding: 7px;
}
.action-dungeon-glyph {
font-size: 11px;
height: 36px;
}
.action-dungeon-board .action-dungeon-card strong,
.action-tier-grid strong {
font-size: 7px;
}
.action-dungeon-board .action-dungeon-card small,
.action-dungeon-board .action-dungeon-card i,
.action-tier-grid span,
.action-dungeon-selected dt,
.action-dungeon-card dt {
font-size: 5px;
}
.action-dungeon-selected,
.action-dungeon-tier,
.action-dungeon-start,
.action-gear-panel,
.action-mechanics-admin,
.action-placeholder-panel {
gap: 8px;
padding: 10px;
}
.action-dungeon-selected p:not(.eyebrow),
.action-dungeon-start p,
.action-gear-panel p:not(.eyebrow),
.action-placeholder-panel p:not(.eyebrow),
.action-mechanics-admin > p,
.action-empty-note {
font-size: 14px;
line-height: 1.05;
}
.tag-row {
gap: 5px;
margin-top: 6px;
}
.tag-row span {
font-size: 11px;
padding: 2px 5px;
}
.action-dungeon-selected dl {
gap: 6px;
}
.action-dungeon-selected dl div,
.action-tier-grid button {
gap: 5px;
padding: 7px;
}
.action-dungeon-selected dd {
font-size: 7px;
}
.action-dungeon-actions {
gap: 8px;
}
.action-dungeon-actions button,
.primary-button {
font-size: 6px;
min-height: 34px;
padding: 9px 10px;
}
.action-customize-layout {
gap: 10px;
grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
}
.action-slot-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.action-slot-grid button {
gap: 4px;
min-height: 50px;
padding: 7px;
}
.action-slot-grid span {
font-size: 8px;
}
.action-slot-grid strong,
.action-inventory-list strong {
font-size: 6px;
}
.action-slot-grid small,
.action-inventory-list small,
.action-inventory-panel > header span,
.action-gear-detail header span,
.action-stat-compare dt,
.action-stat-compare dd {
font-size: 5px;
}
.action-inventory-panel {
gap: 8px;
grid-template-rows: auto minmax(58px, 0.6fr) auto;
padding: 9px;
}
.action-inventory-list {
gap: 6px;
}
.action-inventory-list button {
min-height: 34px;
padding: 7px;
}
.action-gear-detail {
gap: 8px;
padding: 8px;
}
.action-stat-compare {
gap: 6px;
}
.action-stat-compare div {
gap: 4px;
padding: 6px;
}
.action-mechanic-card {
gap: 8px;
padding: 9px;
}
.action-mechanic-heading h3 {
font-size: 8px;
}
.action-mechanic-heading span,
.action-page-controls span,
.action-disabled-attacks strong {
font-size: 6px;
}
.action-page-controls button,
.action-attack-editor button,
.action-disabled-attacks button {
font-size: 5px;
min-height: 28px;
padding: 6px;
}
.action-attack-editor {
gap: 8px;
padding: 8px;
}
.action-attack-editor strong {
font-size: 7px;
}
.action-attack-editor small,
.action-attack-fields label {
font-size: 5px;
}
.action-attack-fields {
gap: 6px;
}
.action-attack-fields input {
padding: 5px;
}
.action-disabled-attacks {
gap: 6px;
}
.boss-slice-shell {
padding: 6px;
}
.boss-slice-stage {
box-shadow: none;
gap: 8px;
padding: 8px;
}
.boss-slice-layout {
gap: 8px;
grid-template-columns: 132px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr) 130px;
}
.boss-party-frames {
gap: 4px;
overflow: hidden;
padding: 4px;
width: 132px;
}
.party-frame {
gap: 3px;
min-height: 44px;
padding: 5px 4px;
}
.party-frame strong {
font-size: 6px;
}
.party-frame small,
.party-frame em,
.role-chip {
font-size: 5px;
}
.party-frame i {
height: 7px;
}
.boss-hud {
gap: 8px;
grid-template-columns: minmax(110px, 0.8fr) minmax(96px, 0.7fr) minmax(130px, 1fr) minmax(190px, 1.25fr);
max-height: none;
overflow: hidden;
padding: 8px;
}
.boss-hud-status p:not(.eyebrow) {
font-size: 13px;
}
.boss-meter {
gap: 6px;
}
.boss-meter strong,
.boss-meter span,
.boss-stat-grid dt {
font-size: 5px;
}
.boss-enemy-list {
gap: 5px;
}
.boss-enemy-row {
gap: 4px;
padding: 5px;
}
.boss-enemy-row strong,
.boss-enemy-row span {
font-size: 5px;
}
.boss-spellbar {
gap: 5px;
}
.boss-spellbar button {
font-size: 5px;
min-height: 42px;
padding: 4px 2px;
}
.boss-controls span {
font-size: 13px;
}
.boss-window-bossbar {
top: 8px;
width: min(260px, calc(100% - 20px));
}
.boss-window-bossbar strong,
.boss-window-bossbar span,
.boss-castbar strong,
.boss-castbar span {
font-size: 6px;
}
}
@media (max-width: 680px) {
h1 {
font-size: 13px;
}
.content-screen,
.message-panel {
border-width: 2px;
padding: 8px;
}
.auth-panel {
grid-template-columns: minmax(0, 1fr);
}
.auth-brand {
display: none;
}
.screen-heading {
align-items: start;
}
.action-heading-meta {
align-items: flex-end;
flex-direction: column;
}
.action-hub-nav {
gap: 7px;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.menu-card {
min-height: 64px;
padding: 8px;
}
.menu-card small {
font-size: 12px;
}
.action-dungeon-board {
grid-template-columns: minmax(148px, 0.48fr) minmax(0, 1.52fr);
}
.action-dungeon-board .action-dungeon-card {
grid-template-columns: 30px minmax(0, 1fr);
min-height: 52px;
padding: 6px;
}
.action-dungeon-glyph {
font-size: 9px;
height: 30px;
}
.action-tier-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.action-tier-grid button {
padding: 6px 4px;
}
.action-tier-grid strong,
.action-tier-grid span {
font-size: 5px;
}
.action-dungeon-selected dl,
.tag-row,
.action-dungeon-start p,
.action-gear-summary p:not(.eyebrow) {
display: none;
}
.action-customize-layout {
grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
}
.action-slot-grid {
gap: 6px;
}
.action-slot-grid button {
min-height: 44px;
padding: 6px;
}
.action-inventory-panel > header {
align-items: start;
}
.action-mechanics-admin > header {
align-items: start;
}
.action-attack-fields {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.boss-slice-layout {
grid-template-columns: 104px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr) 124px;
}
.boss-party-frames {
width: 104px;
}
.party-frame {
min-height: 41px;
}
.boss-hud {
grid-template-columns: minmax(88px, 0.75fr) minmax(76px, 0.65fr) minmax(106px, 0.95fr) minmax(180px, 1.4fr);
}
.boss-hud-status h2 {
font-size: 9px;
}
.boss-hud-status p:not(.eyebrow),
.boss-controls span {
font-size: 12px;
}
}
.tag-row {
display: flex;
gap: 7px;
margin-top: 10px;
flex-wrap: wrap;
}
.tag-row span {
background: #15161c;
color: var(--gold);
font-size: 15px;
padding: 3px 7px;
}
.part-buttons {
display: flex;
gap: 8px;
}
.part-buttons .primary-button {
white-space: nowrap;
}
.part-buttons .primary-button.selected-part {
outline-color: #fff;
background: #f0cb79;
}
.part-buttons .primary-button.locked {
filter: grayscale(0.65);
opacity: 0.62;
cursor: not-allowed;
}
.primary-button {
background: var(--gold);
border: 2px solid #08090c;
color: #19150e;
cursor: pointer;
font-family: 'Press Start 2P', monospace;
font-size: 8px;
outline: 2px solid #816630;
padding: 13px 17px;
}
.primary-button:hover:not(:disabled) {
background: #f0cb79;
transform: translateY(-1px);
}
.primary-button:disabled {
cursor: wait;
opacity: 0.6;
}