940 lines
16 KiB
CSS
940 lines
16 KiB
CSS
:root {
|
|
font-family:
|
|
"SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
color: #282831;
|
|
background: #d9e2dd;
|
|
font-synthesis: none;
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
--cream: #fffbea;
|
|
--cream-dark: #eee8ce;
|
|
--ink: #282831;
|
|
--blue: #2366a5;
|
|
--blue-dark: #164875;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
html,
|
|
body,
|
|
#app {
|
|
min-width: 280px;
|
|
min-height: 100%;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
min-height: 100dvh;
|
|
padding: env(safe-area-inset-top) env(safe-area-inset-right)
|
|
env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
overflow-x: hidden;
|
|
}
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
button,
|
|
label {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
button {
|
|
min-height: 44px;
|
|
cursor: pointer;
|
|
border: 0;
|
|
}
|
|
button:disabled {
|
|
cursor: default;
|
|
opacity: 0.45;
|
|
pointer-events: none;
|
|
}
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
canvas:focus-visible,
|
|
label:focus-within {
|
|
outline: 3px solid #5aa4de;
|
|
outline-offset: 2px;
|
|
}
|
|
#app:has(#rom-file:focus-visible) label[for="rom-file"] {
|
|
outline: 3px solid #5aa4de;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
#app {
|
|
height: 100dvh;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
}
|
|
|
|
.site-header {
|
|
min-height: 48px;
|
|
padding: 6px clamp(10px, 2vw, 24px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
color: var(--cream);
|
|
background: var(--blue-dark);
|
|
border-bottom: 4px double #101d2b;
|
|
}
|
|
.brand {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
font-weight: 800;
|
|
letter-spacing: 0.18em;
|
|
}
|
|
.header-state,
|
|
.power {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.power {
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
.power i {
|
|
display: block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border: 1px solid #0b1d2c;
|
|
border-radius: 50%;
|
|
background: #a0a692;
|
|
}
|
|
.power i.on {
|
|
background: #8ee36f;
|
|
box-shadow: 0 0 6px #b9ff9e;
|
|
}
|
|
.text-button {
|
|
padding: 4px 12px;
|
|
color: var(--cream);
|
|
background: transparent;
|
|
border: 2px solid #b4d6ed;
|
|
}
|
|
|
|
.app-shell {
|
|
width: min(1500px, 100%);
|
|
min-height: 0;
|
|
margin: 0 auto;
|
|
padding: 10px clamp(8px, 2vw, 24px) 6px;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
.tabs {
|
|
display: flex;
|
|
align-items: end;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
scrollbar-width: thin;
|
|
}
|
|
.tabs button {
|
|
flex: 1 0 auto;
|
|
min-width: 92px;
|
|
padding: 8px 13px;
|
|
white-space: nowrap;
|
|
background: #c8d8df;
|
|
border: 2px solid #566675;
|
|
border-bottom: 0;
|
|
color: #27394a;
|
|
font-size: 12px;
|
|
}
|
|
.tabs button[aria-selected="true"] {
|
|
position: relative;
|
|
z-index: 1;
|
|
color: #fff;
|
|
background: var(--blue);
|
|
font-weight: 700;
|
|
}
|
|
.tabs button span {
|
|
margin-right: 5px;
|
|
font-size: 9px;
|
|
}
|
|
.tab-panel {
|
|
min-height: 0;
|
|
background: var(--cream);
|
|
border: 4px double var(--ink);
|
|
}
|
|
|
|
.game-panel {
|
|
overflow: hidden;
|
|
}
|
|
.console {
|
|
height: 100%;
|
|
min-height: 0;
|
|
padding: 8px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 198px;
|
|
gap: 10px;
|
|
background: var(--cream);
|
|
}
|
|
.screen-bezel {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
padding: 5px;
|
|
background: #202634;
|
|
border: 4px double #080b10;
|
|
}
|
|
.screen {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: #dce9ce;
|
|
border: 2px solid #0a0c10;
|
|
}
|
|
#game-screen {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
image-rendering: pixelated;
|
|
}
|
|
.screen-caption {
|
|
min-height: 26px;
|
|
padding: 6px 5px 2px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: #c5dced;
|
|
font-size: 9px;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.screen-empty,
|
|
.pause-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: clamp(8px, 2.5vw, 28px);
|
|
background: color-mix(in srgb, var(--cream) 96%, transparent);
|
|
}
|
|
.screen-empty {
|
|
display: flex;
|
|
align-items: safe center;
|
|
justify-content: safe center;
|
|
overflow: auto;
|
|
}
|
|
.load-card {
|
|
flex: 0 0 auto;
|
|
width: min(430px, 100%);
|
|
margin: auto;
|
|
padding: clamp(12px, 2vw, 22px);
|
|
background: var(--cream);
|
|
border: 4px double var(--ink);
|
|
box-shadow: 6px 6px 0 #2d6685;
|
|
}
|
|
.menu-title {
|
|
margin: 0 0 7px;
|
|
color: var(--blue);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.15em;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.load-card h1,
|
|
.menu-panel h2,
|
|
dialog h2 {
|
|
margin: 0 0 10px;
|
|
font-size: clamp(17px, 2.5vw, 25px);
|
|
line-height: 1.15;
|
|
}
|
|
.load-card > p:not(.menu-title) {
|
|
margin: 7px 0 12px;
|
|
font-size: 11px;
|
|
}
|
|
.player-setup {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
margin: 12px 0;
|
|
}
|
|
.player-setup label {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
.player-setup input,
|
|
.player-setup select {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 44px;
|
|
margin-top: 3px;
|
|
padding: 7px;
|
|
background: #fffef5;
|
|
border: 3px double var(--ink);
|
|
border-radius: 0;
|
|
}
|
|
.primary-button,
|
|
.menu-button {
|
|
min-height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 13px;
|
|
color: #fff;
|
|
background: var(--blue);
|
|
border: 3px double #102d4b;
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
}
|
|
.primary-button:hover,
|
|
.menu-button:hover {
|
|
background: var(--blue-dark);
|
|
}
|
|
.disabled {
|
|
opacity: 0.45;
|
|
pointer-events: none;
|
|
}
|
|
.privacy-note {
|
|
color: #5e6464;
|
|
text-align: center;
|
|
}
|
|
.file-input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip-path: inset(50%);
|
|
}
|
|
|
|
.native-dialogue {
|
|
position: absolute;
|
|
z-index: 3;
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
padding: 12px;
|
|
color: var(--ink);
|
|
background: var(--cream);
|
|
border: 5px double var(--ink);
|
|
box-shadow: 4px 4px 0 #0007;
|
|
}
|
|
.native-dialogue p {
|
|
max-height: 120px;
|
|
overflow: auto;
|
|
margin: 0;
|
|
white-space: pre-line;
|
|
}
|
|
.native-dialogue > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 4px;
|
|
}
|
|
.native-dialogue > .dialogue-choice {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
margin-top: 6px;
|
|
}
|
|
.dialogue-choice input {
|
|
flex: 1 1 12ch;
|
|
min-width: 0;
|
|
max-width: 20ch;
|
|
padding: 6px 8px;
|
|
text-transform: none;
|
|
background: #fff;
|
|
border: 3px double var(--ink);
|
|
}
|
|
.battle {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 3;
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr auto;
|
|
gap: 4px;
|
|
padding: 10px;
|
|
color: var(--ink);
|
|
background: #f8f8f0;
|
|
}
|
|
.battle-foe,
|
|
.battle-player {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
}
|
|
.battle canvas {
|
|
width: auto;
|
|
height: min(100%, 168px);
|
|
aspect-ratio: 1;
|
|
image-rendering: pixelated;
|
|
}
|
|
.battle-hud {
|
|
flex: 0 1 260px;
|
|
padding: 6px 10px;
|
|
border: 4px double var(--ink);
|
|
border-top: 0;
|
|
border-right: 0;
|
|
}
|
|
.battle-player .battle-hud {
|
|
border-left: 0;
|
|
border-right: 4px double var(--ink);
|
|
}
|
|
.battle-hud strong {
|
|
margin-right: 8px;
|
|
}
|
|
.hp-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.8rem;
|
|
font-weight: 800;
|
|
}
|
|
.hp-bar {
|
|
flex: 1;
|
|
height: 8px;
|
|
background: #fff;
|
|
border: 2px solid var(--ink);
|
|
}
|
|
.hp-bar i {
|
|
display: block;
|
|
height: 100%;
|
|
background: #3aa54f;
|
|
transition: width 0.4s linear;
|
|
}
|
|
.hp-bar i.low {
|
|
background: #d9a91c;
|
|
}
|
|
.hp-bar i.critical {
|
|
background: #d33b49;
|
|
}
|
|
.battle-numbers {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.battle-status {
|
|
font-size: 0.8rem;
|
|
font-weight: 800;
|
|
}
|
|
.battle-box {
|
|
min-height: 96px;
|
|
padding: 10px 12px;
|
|
background: var(--cream);
|
|
border: 5px double var(--ink);
|
|
}
|
|
.battle-box p {
|
|
margin: 0 0 6px;
|
|
white-space: pre-line;
|
|
}
|
|
.battle-menu {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
.battle-menu button {
|
|
padding: 6px 10px;
|
|
text-align: left;
|
|
color: var(--ink);
|
|
background: var(--cream-dark);
|
|
border: 3px double var(--ink);
|
|
}
|
|
.battle-menu button:disabled {
|
|
opacity: 0.5;
|
|
}
|
|
.battle-menu button small {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
}
|
|
.battle-menu .wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.pokepic {
|
|
position: absolute;
|
|
z-index: 3;
|
|
top: 18%;
|
|
left: 50%;
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
background: var(--cream);
|
|
border: 5px double var(--ink);
|
|
box-shadow: 4px 4px 0 #0007;
|
|
transform: translateX(-50%);
|
|
}
|
|
.pokepic canvas {
|
|
width: 168px;
|
|
height: 168px;
|
|
image-rendering: pixelated;
|
|
}
|
|
.pokepic button {
|
|
padding: 7px 12px;
|
|
color: #fff;
|
|
background: var(--blue);
|
|
border: 3px double #102d4b;
|
|
}
|
|
.dialogue-choice button {
|
|
min-width: 64px;
|
|
}
|
|
.dialogue-choice button[aria-pressed="true"]::before {
|
|
content: "▶ ";
|
|
}
|
|
.dialogue-choice button[aria-pressed="false"] {
|
|
color: var(--ink);
|
|
background: var(--cream-dark);
|
|
border-color: var(--ink);
|
|
}
|
|
.dialogue-choice output {
|
|
align-self: center;
|
|
min-width: 11ch;
|
|
text-align: center;
|
|
font-weight: 800;
|
|
}
|
|
.native-dialogue button,
|
|
.pause-overlay button {
|
|
padding: 7px 12px;
|
|
color: #fff;
|
|
background: var(--blue);
|
|
border: 3px double #102d4b;
|
|
}
|
|
.pause-overlay {
|
|
z-index: 4;
|
|
align-content: center;
|
|
gap: 12px;
|
|
color: #fff;
|
|
background: #162032d9;
|
|
font-weight: 800;
|
|
letter-spacing: 0.18em;
|
|
}
|
|
|
|
.minimap-overlay {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: 8px;
|
|
right: 8px;
|
|
padding: 3px;
|
|
background: var(--cream);
|
|
border: 4px double var(--ink);
|
|
box-shadow: 3px 3px 0 #0005;
|
|
}
|
|
.has-game .minimap-overlay {
|
|
display: block;
|
|
}
|
|
#minimap {
|
|
display: block;
|
|
width: 128px;
|
|
height: 102px;
|
|
image-rendering: pixelated;
|
|
}
|
|
#minimap-position {
|
|
max-width: 128px;
|
|
margin: 3px 0 0;
|
|
text-align: center;
|
|
font-size: 8px;
|
|
}
|
|
|
|
.controls {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
grid-template-columns: 1fr 1fr;
|
|
align-items: center;
|
|
align-content: center;
|
|
justify-items: center;
|
|
gap: 10px 5px;
|
|
padding: 4px;
|
|
border-left: 2px solid #9b998c;
|
|
}
|
|
.game-key {
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
touch-action: none;
|
|
user-select: none;
|
|
border: 2px solid #20242d;
|
|
background: #53677a;
|
|
color: #fff;
|
|
font-weight: 800;
|
|
}
|
|
.game-key.pressed {
|
|
translate: 0 2px;
|
|
filter: brightness(1.35);
|
|
}
|
|
.dpad {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 44px);
|
|
grid-template-rows: repeat(3, 44px);
|
|
grid-column: 1 / 3;
|
|
}
|
|
.dpad .game-key,
|
|
.dpad-center {
|
|
background: #394754;
|
|
}
|
|
.dpad [data-game-button="up"] {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
.dpad [data-game-button="left"] {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
.dpad-center {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
border: 2px solid #20242d;
|
|
}
|
|
.dpad [data-game-button="right"] {
|
|
grid-column: 3;
|
|
grid-row: 2;
|
|
}
|
|
.dpad [data-game-button="down"] {
|
|
grid-column: 2;
|
|
grid-row: 3;
|
|
}
|
|
.action-keys {
|
|
display: flex;
|
|
gap: 7px;
|
|
}
|
|
.action-keys .game-key {
|
|
border-radius: 50%;
|
|
background: var(--blue);
|
|
}
|
|
.system-keys {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.system-keys .game-key {
|
|
padding: 4px 7px;
|
|
font-size: 8px;
|
|
background: #6d7478;
|
|
}
|
|
|
|
.menu-panel {
|
|
overflow: auto;
|
|
padding: clamp(18px, 4vw, 48px);
|
|
}
|
|
.menu-panel > header {
|
|
padding-bottom: 15px;
|
|
border-bottom: 3px double #747269;
|
|
}
|
|
.save-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin: 22px 0;
|
|
}
|
|
.save-actions button,
|
|
.play-button {
|
|
padding: 8px 14px;
|
|
color: #fff;
|
|
background: var(--blue);
|
|
border: 3px double #102d4b;
|
|
}
|
|
.save-copy {
|
|
max-width: 720px;
|
|
color: #4e5157;
|
|
}
|
|
.replace-rom {
|
|
max-width: 720px;
|
|
margin-top: 24px;
|
|
padding-top: 20px;
|
|
border-top: 3px double #747269;
|
|
}
|
|
.replace-rom h3 {
|
|
margin: 0;
|
|
}
|
|
.replace-rom .menu-button {
|
|
width: fit-content;
|
|
}
|
|
.world-map-frame {
|
|
min-height: 180px;
|
|
height: calc(100% - 100px);
|
|
display: grid;
|
|
place-items: center;
|
|
margin-top: 16px;
|
|
padding: 10px;
|
|
overflow: auto;
|
|
background: #dce8d0;
|
|
border: 4px double var(--ink);
|
|
}
|
|
#world-map {
|
|
display: block;
|
|
width: min(100%, 640px);
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
image-rendering: pixelated;
|
|
}
|
|
#map-empty {
|
|
max-width: 460px;
|
|
text-align: center;
|
|
color: #5f6763;
|
|
}
|
|
.planned-panel {
|
|
max-width: none;
|
|
}
|
|
.planned-panel > p:last-child {
|
|
max-width: 680px;
|
|
font-size: 15px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.global-bar {
|
|
min-height: 68px;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
grid-template-areas: "play status save" "play notice save";
|
|
align-items: center;
|
|
gap: 0 14px;
|
|
padding: 7px clamp(10px, 2vw, 24px);
|
|
color: #eaf2f5;
|
|
background: #263744;
|
|
border-top: 4px double #0e161d;
|
|
}
|
|
.play-button {
|
|
grid-area: play;
|
|
min-width: 88px;
|
|
}
|
|
.status {
|
|
grid-area: status;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
}
|
|
.game-notice {
|
|
grid-area: notice;
|
|
margin: 0;
|
|
color: #b8d4e6;
|
|
font-size: 10px;
|
|
}
|
|
.game-notice:empty {
|
|
display: none;
|
|
}
|
|
.save-status {
|
|
grid-area: save;
|
|
margin: 0;
|
|
max-width: 280px;
|
|
text-align: right;
|
|
color: #b8c7ce;
|
|
font-size: 9px;
|
|
}
|
|
.error {
|
|
color: #ffb0a1 !important;
|
|
}
|
|
|
|
dialog {
|
|
width: min(520px, calc(100% - 24px));
|
|
padding: 24px;
|
|
color: var(--ink);
|
|
background: var(--cream);
|
|
border: 5px double var(--ink);
|
|
border-radius: 0;
|
|
}
|
|
dialog::backdrop {
|
|
background: #111827b8;
|
|
}
|
|
dialog p {
|
|
line-height: 1.65;
|
|
}
|
|
dialog dl {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
dialog dd {
|
|
margin: 0;
|
|
}
|
|
.dialog-close {
|
|
float: right;
|
|
background: transparent;
|
|
font-size: 22px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.site-header {
|
|
min-height: 42px;
|
|
}
|
|
.app-shell {
|
|
padding: 5px 5px 3px;
|
|
}
|
|
.tabs button {
|
|
min-width: 83px;
|
|
padding: 6px 9px;
|
|
font-size: 10px;
|
|
}
|
|
.console {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: minmax(0, 1fr) 132px;
|
|
padding: 5px;
|
|
gap: 4px;
|
|
}
|
|
.controls {
|
|
grid-template-columns: 132px minmax(95px, 1fr) 48px;
|
|
grid-template-rows: 1fr;
|
|
border-left: 0;
|
|
border-top: 2px solid #9b998c;
|
|
padding: 2px;
|
|
}
|
|
.dpad {
|
|
grid-column: 1;
|
|
}
|
|
.action-keys {
|
|
grid-column: 2;
|
|
}
|
|
.system-keys {
|
|
grid-column: 3;
|
|
}
|
|
#minimap {
|
|
width: 96px;
|
|
height: 77px;
|
|
}
|
|
#minimap-position {
|
|
max-width: 96px;
|
|
}
|
|
.screen-caption {
|
|
min-height: 22px;
|
|
padding-top: 4px;
|
|
}
|
|
.global-bar {
|
|
min-height: 76px;
|
|
grid-template-columns: auto 1fr;
|
|
grid-template-areas: "play status" "notice save";
|
|
gap: 3px 9px;
|
|
}
|
|
.save-status {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 390px) {
|
|
.header-state {
|
|
gap: 6px;
|
|
}
|
|
.power {
|
|
display: none;
|
|
}
|
|
.load-card {
|
|
padding: 10px;
|
|
box-shadow: 3px 3px 0 #2d6685;
|
|
}
|
|
.load-card h1 {
|
|
font-size: 16px;
|
|
}
|
|
.player-setup {
|
|
margin: 7px 0;
|
|
}
|
|
.minimap-overlay {
|
|
top: 4px;
|
|
right: 4px;
|
|
padding: 2px;
|
|
}
|
|
#minimap {
|
|
width: 80px;
|
|
height: 64px;
|
|
}
|
|
#minimap-position {
|
|
display: none !important;
|
|
}
|
|
.global-bar {
|
|
padding-block: 4px;
|
|
}
|
|
.status {
|
|
font-size: 9px;
|
|
}
|
|
.save-status {
|
|
font-size: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 540px) and (orientation: landscape) {
|
|
#app {
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
}
|
|
.site-header {
|
|
display: none;
|
|
}
|
|
.app-shell {
|
|
padding-top: 2px;
|
|
}
|
|
.tabs button {
|
|
min-height: 38px;
|
|
padding-block: 4px;
|
|
}
|
|
.screen-empty {
|
|
overflow: auto;
|
|
}
|
|
.screen-empty .load-card {
|
|
width: min(600px, 100%);
|
|
margin: auto;
|
|
padding: 8px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(150px, 0.8fr);
|
|
gap: 4px 10px;
|
|
align-items: center;
|
|
}
|
|
.screen-empty .menu-title {
|
|
display: none;
|
|
}
|
|
.screen-empty .load-card h1,
|
|
.screen-empty .load-card > p:not(.privacy-note) {
|
|
grid-column: 1;
|
|
margin: 0;
|
|
}
|
|
.screen-empty .player-setup {
|
|
grid-column: 1;
|
|
margin: 0;
|
|
}
|
|
.screen-empty .primary-button {
|
|
grid-column: 2;
|
|
grid-row: 1 / 3;
|
|
}
|
|
.screen-empty .privacy-note {
|
|
grid-column: 2;
|
|
margin: 0;
|
|
}
|
|
.console {
|
|
grid-template-columns: minmax(0, 1fr) 188px;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
padding: 3px;
|
|
}
|
|
.controls {
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr auto;
|
|
border-top: 0;
|
|
border-left: 2px solid #9b998c;
|
|
}
|
|
.dpad {
|
|
grid-column: 1 / 3;
|
|
}
|
|
.action-keys {
|
|
grid-column: 1;
|
|
}
|
|
.system-keys {
|
|
grid-column: 2;
|
|
}
|
|
.global-bar {
|
|
min-height: 48px;
|
|
grid-template-columns: auto 1fr auto;
|
|
grid-template-areas: "play status save";
|
|
}
|
|
.game-notice {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|