@font-face {
  font-family:Mossgate;
  src:url('./fonts/mossgate.ttf') format('truetype');
  font-display:swap;
}

:root {
  color-scheme:dark;
  --ink:#201922;
  --gold:#e9bc74;
  --pixel:Mossgate,'Courier New',monospace;
  --body:'Trebuchet MS',system-ui,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  min-height:100%;
  background:#201b24;
}

body {
  margin:0;
  color:#fff1d5;
  min-height:100svh;
  font-family:var(--body);
  background-color:#211c24;
  background-image:url('./art/cloth.png');
  background-size:128px 128px;
}

button {
  font:inherit;
  color:inherit;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

button:focus-visible,canvas:focus-visible,a:focus-visible {
  outline:3px solid #fff4ad;
  outline-offset:4px;
}

button:active:not(:disabled) {
  translate:0 2px;
}

button:disabled {
  cursor:default;
}

img,.art,canvas {
  image-rendering:pixelated;
}

i {
  font-style:normal;
}

.art {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  pointer-events:none;
}

.cabinet {
  width:min(1160px,calc((100svh - 269px)*1.88235),calc(100% - 64px));
  min-width:min(900px,calc(100% - 64px));
  margin:0 auto;
  padding:13px 0 12px;
}

.mast {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 1px 13px;
  height:51px;
}

.brand {
  display:flex;
  align-items:center;
  gap:8px;
}

.brand-mark {
  width:53px;
  height:53px;
  filter:drop-shadow(0 3px 0 #110e16);
}

.brand-type {
  display:flex;
  flex-direction:column;
  align-items:center;
}

.logo {
  width:198px;
  height:auto;
  display:block;
}

.subtitle {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#c9ac7c;
  font:10px/1.1 var(--pixel);
  letter-spacing:2px;
  margin-top:1px;
}

.subtitle i {
  display:block;
  width:13px;
  height:1px;
  background:#a78b62;
}

.tools {
  display:flex;
  gap:8px;
  align-items:center;
}

.tool,.close,.smallbtn {
  background:#38303b;
  border:2px solid #6a5661;
  border-radius:4px;
  box-shadow:inset 0 2px #51434c,inset 0 -3px #29222d,0 3px #15111b;
}

.tool {
  height:38px;
  min-width:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 9px;
}

.tool:hover,.smallbtn:hover,.close:hover {
  background:#4c3c43;
  border-color:#aa8c79;
}

.booktool {
  padding:0 12px;
  font:17px var(--pixel);
  color:#e6d7ba;
}

.glyph {
  display:block;
  width:19px;
  height:19px;
  background-image:url('./art/buttons.png');
  background-repeat:no-repeat;
  background-size:76px 19px;
  image-rendering:pixelated;
}

.glyph.book {
  background-position:0 0;
}

.glyph.volume {
  background-position:-19px 0;
}

.glyph.mute {
  background-position:-38px 0;
}

.glyph.pause {
  background-position:-57px 0;
}

.gameframe {
  position:relative;
  border:3px solid #261b22;
  border-radius:4px;
  background:#2e2430;
  box-shadow:0 0 0 2px #9d795c,inset 0 0 0 2px #dab27f,0 5px 0 2px #110e16;
}

.gameframe:before,.gameframe:after {
  position:absolute;
  content:'';
  top:-5px;
  width:20px;
  height:9px;
  background:#d6b47e;
  box-shadow:inset 0 3px #f5d59b,inset 0 -3px #927450;
  z-index:2;
  pointer-events:none;
}

.gameframe:before {
  left:1px;
}

.gameframe:after {
  right:1px;
}

.hud {
  position:relative;
  height:61px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 19px 0 12px;
  background:linear-gradient(#3a3038,#322b35 65%,#302732);
  box-shadow:inset 0 2px #64505a,inset 0 -2px #594752;
  border-bottom:3px solid #211923;
}

.vitals {
  display:flex;
  gap:10px;
  align-items:center;
}

.portrait {
  height:45px;
  width:45px;
  padding:2px;
  background:#5b495a;
  border:2px solid #aa8c78;
  box-shadow:inset 0 0 0 2px #302734,0 2px #211824;
  clip-path:polygon(5px 0,calc(100% - 5px) 0,calc(100% - 5px) 3px,100% 3px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 3px),0 calc(100% - 3px),0 4px,5px 4px);
}

.portrait>span {
  display:block;
  width:100%;
  height:100%;
}

.hero-name {
  font:19px var(--pixel);
  text-shadow:0 2px #1b1420;
  margin-bottom:3px;
}

.hearts {
  display:flex;
  gap:2px;
}

.hearts img {
  width:20px;
  height:18px;
  object-fit:contain;
}

.place {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
}

.chapter,.quest small {
  font:12px/1.1 var(--pixel);
  color:#eaca90;
  letter-spacing:1.3px;
  text-transform:uppercase;
}

.chapter {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
}

.chapter i {
  background:#9a8066;
  width:15px;
  height:1px;
}

.place h1 {
  font:26px/1.05 var(--pixel);
  color:#ffecd1;
  text-shadow:0 3px #211821;
  margin:4px 0 0;
  white-space:nowrap;
}

.purse {
  display:flex;
  align-items:center;
  gap:18px;
}

.wallet {
  display:flex;
  gap:5px;
  align-items:center;
  font:23px var(--pixel);
  text-shadow:0 2px #151119;
}

.wallet i {
  width:25px;
  height:25px;
}

.wallet b {
  font-weight:400;
  min-width:14px;
}

.scene {
  position:relative;
  aspect-ratio:960/510;
  isolation:isolate;
  background:#35322e;
}

.camera {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.camera canvas {
  display:block;
  flex:none;
  width:auto;
  height:100%;
  margin-inline:auto;
  touch-action:none;
  outline-offset:-4px;
  cursor:crosshair;
  background:url('./art/world0.webp') center/cover no-repeat;
}

.minimap {
  position:absolute;
  right:13px;
  top:13px;
  border:2px solid #b1997f;
  box-shadow:inset 0 0 0 2px #533f49,0 2px 0 2px #1a1421b5;
  padding:4px 5px 5px;
  background:#2a222df5;
  border-radius:3px;
  display:flex;
  flex-flow:column;
  align-items:center;
  opacity:.97;
}

.minimap canvas {
  width:85px;
  height:46px;
}

.minimap small {
  font:12px var(--pixel);
  color:#e2cfa5;
  letter-spacing:.4px;
}

.minimap:hover {
  border-color:#ffe2a5;
}

.quest {
  position:absolute;
  bottom:13px;
  left:13px;
  display:flex;
  align-items:center;
  gap:8px;
  max-width:calc(100% - 26px);
  padding:8px 13px 9px 9px;
  background:#2b242cf5;
  border:2px solid #a08567;
  box-shadow:inset 0 0 0 2px #51424a,0 3px #2018219c;
  border-radius:3px;
  pointer-events:none;
}

.quest-item {
  width:32px;
  height:32px;
  flex:none;
}

.quest small {
  display:block;
  font-size:10px;
  letter-spacing:1.3px;
  margin:1px 0 4px;
  color:#edc582;
}

.quest strong {
  display:block;
  font:16px/1.15 var(--pixel);
  color:#fff0d7;
}

.loading,.toast {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
  font:17px var(--pixel);
  background:#2c2332ed;
  border:2px solid #b99a7b;
  padding:10px 18px;
  pointer-events:none;
}

.loading {
  top:46%;
}

.toast {
  top:14px;
  opacity:0;
  transition:opacity .18s;
  max-width:65%;
  font:600 15px var(--body);
  box-shadow:0 3px #1e1626;
}

.toast.on {
  opacity:1;
}

.deck {
  margin:15px 0 0;
  position:relative;
}

.deck-title {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  margin:0 1px 10px;
}

.deck-title h2 {
  font:26px/1 var(--pixel);
  color:#ffe3a9;
  margin:0;
  text-shadow:0 3px #110d15;
  white-space:nowrap;
}

.deck-title>i {
  height:3px;
  flex:1;
  background:linear-gradient(90deg,#604b42,#967955);
  box-shadow:0 2px #17131b;
}

.deck-title>i:last-child {
  transform:rotate(180deg);
}

.spark {
  width:11px;
  height:11px;
  display:block;
  background:#e6b878;
  clip-path:polygon(40% 0,60% 0,60% 30%,75% 30%,75% 40%,100% 40%,100% 60%,75% 60%,75% 70%,60% 70%,60% 100%,40% 100%,40% 70%,25% 70%,25% 60%,0 60%,0 40%,25% 40%,25% 30%,40% 30%);
}

.cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.card {
  --rim:#99a682;
  --inner:#4c5744;
  --base:#343f36;
  --light:#d6dab0;
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  text-align:left;
  gap:11px;
  min-height:87px;
  padding:11px 17px 11px 12px;
  background:var(--base);
  border:2px solid var(--rim);
  border-radius:3px;
  box-shadow:0 0 0 2px #1a161f,0 4px 0 1px #100d13,inset 0 2px var(--light),inset 0 -3px var(--inner);
  transition:filter .12s,background-color .12s;
}

.card:nth-child(2) {
  --rim:#d39d70;
  --inner:#775141;
  --base:#513b33;
  --light:#ecc397;
}

.card:nth-child(3) {
  --rim:#aa8da3;
  --inner:#70566b;
  --base:#4a394b;
  --light:#d6b5c9;
}

.card:before,.card:after {
  content:'';
  width:4px;
  height:4px;
  position:absolute;
  background:var(--light);
  opacity:.9;
}

.card:before {
  top:4px;
  left:4px;
}

.card:after {
  bottom:4px;
  right:4px;
}

.card:hover,.card:focus-visible {
  filter:brightness(1.18);
  border-color:#ffe0a1;
}

.card-icon {
  display:block;
  width:58px;
  height:58px;
  flex:none;
  filter:drop-shadow(0 3px 0 #1e192093);
}

.card-text {
  min-width:0;
}

.card-name {
  display:block;
  font:22px/1.13 var(--pixel);
  color:#fff0d1;
  text-shadow:0 2px #221b21;
  margin-bottom:5px;
}

.card-desc {
  display:block;
  font:500 14px/1.25 var(--body);
  color:#e6dfd5;
}

.card-key {
  position:absolute;
  right:7px;
  top:6px;
  border:1px solid var(--rim);
  color:var(--light);
  opacity:.7;
  background:#24202358;
  min-width:15px;
  height:16px;
  display:grid;
  place-items:center;
  font:11px var(--pixel);
}

.controls,.touchhelp {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#bcadb4;
  font:14px/1 var(--body);
  margin:16px 0 0;
}

.controls kbd,kbd {
  font:12px/1 var(--pixel);
  letter-spacing:.2px;
  padding:4px 5px 3px;
  color:#d0c3bf;
  border:1px solid #675863;
  border-radius:3px;
  box-shadow:0 2px #151119;
  background:#352c36;
  white-space:nowrap;
}

.keyhelp {
  display:flex;
  align-items:center;
  gap:2px;
}

.keyrow {
  display:flex;
  gap:2px;
}

.keyhelp kbd {
  padding:3px;
}

.sep {
  display:block;
  height:3px;
  width:3px;
  background:#87725e;
  margin:0 7px;
}

.touchhelp {
  display:none;
}

.veil[hidden],[hidden] {
  display:none!important;
}

.veil {
  position:fixed;
  z-index:10;
  inset:0;
  display:grid;
  place-items:center;
  padding:16px;
  background:#150f1dc4;
  backdrop-filter:blur(3px);
}

.dialog {
  position:relative;
  max-height:90svh;
  overflow:auto;
  width:min(100%,540px);
  background:#302731;
  color:#f9e8d9;
  border:3px solid #c6a276;
  box-shadow:0 0 0 4px #211922,0 0 0 6px #796057,0 11px 0 5px #17131a,inset 0 0 0 3px #56444b;
  padding:26px;
  font:16px/1.45 var(--body);
}

.dialog h2 {
  font:30px/1.2 var(--pixel);
  color:#ffe1a8;
  margin:4px 30px 12px 0;
}

.dialog h3 {
  font:21px/1.2 var(--pixel);
  margin:15px 0 6px;
  color:#f1d4a5;
}

.dialog p {
  margin:.7em 0;
}

.close {
  position:absolute;
  right:10px;
  top:10px;
  width:34px;
  height:34px;
  font:bold 22px var(--body);
  z-index:2;
  line-height:1;
}

.eyebrow {
  font:12px var(--pixel);
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:#d6b582;
}

.primary,.menuitem,.smallbtn {
  font:18px/1.2 var(--pixel);
  min-height:40px;
}

.primary,.menuitem {
  padding:10px 15px;
  border:2px solid #b39176;
  box-shadow:inset 0 2px #ab8a77,inset 0 -3px #614b4d,0 3px #201922;
  background:#70574f;
  color:#fff2d2;
}

.primary {
  background:#c9995a;
  color:#2c2027;
  border-color:#f0cd91;
  box-shadow:inset 0 -3px #a47749,0 3px #201922;
}

.primary:hover,.menuitem:hover {
  filter:brightness(1.15);
}

.dialog-actions {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
}

.menu-stack {
  display:grid;
  gap:9px;
}

.smallbtn {
  padding:5px 12px;
}

.speaker {
  display:flex;
  align-items:center;
  gap:15px;
  border-bottom:1px solid #72585e;
  padding-bottom:12px;
  margin-bottom:12px;
}

.speaker img,.bigitem {
  height:62px;
  width:62px;
  object-fit:contain;
}

.speaker h2 {
  margin:5px 15px 0 0;
}

.entry {
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid #594650;
}

.entry img {
  width:38px;
  height:38px;
  object-fit:contain;
}

.entry b {
  font:18px var(--pixel);
  display:block;
  color:#f7dfba;
}

.entry small {
  color:#d4c4c7;
  font:14px/1.35 var(--body);
}

.worldlist {
  display:grid;
  gap:6px;
}

.world-row {
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  background:#40343d;
  border:1px solid #7f6567;
  padding:8px;
  color:#eedac4;
}

.world-row:disabled {
  color:#b4a3af;
  background:#322b35;
  border-color:#544553;
}

.world-row img {
  width:27px;
  height:27px;
  object-fit:contain;
}

.world-row:disabled img {
  filter:grayscale(1);
  opacity:.55;
}

.world-row b {
  font:17px var(--pixel);
  flex:1;
}

.world-row small {
  font:12px var(--body);
}

.stops {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:6px;
}

.stops button {
  background:#41373e;
  border:1px solid #8b7470;
  color:#f2dfb6;
  padding:9px 7px;
  text-align:left;
  font:14px var(--body);
}

.stops button:disabled {
  color:#a295a5;
  border-color:#574b56;
}

.stops .current {
  border-color:#f3c883;
}

.story-copy {
  font:19px/1.55 var(--body);
}

.dialog .reward-list {
  display:grid;
  gap:9px;
}

.reward-list .card {
  min-height:70px;
}

.offline-hint {
  color:#d6c5cb;
  font-size:14px;
}

.status-label {
  color:#d6b07e;
}

.touchhelp span {
  font-size:8px;
  color:#a68b63;
}

@media(min-width:1600px) {
  .cabinet {
    padding-top:22px;
  }
  .mast {
    margin-bottom:18px;
  }
}

@media(max-width:850px) {
  .cabinet {
    width:calc(100% - 32px);
    min-width:0;
  }
  .card {
    padding:9px;
    gap:6px;
  }
  .card-icon {
    width:44px;
    height:44px;
  }
  .card-name {
    font-size:19px;
  }
  .card-desc {
    font-size:13px;
  }
  .mast {
    height:45px;
  }
  .cards {
    gap:9px;
  }
}

@media(max-width:600px) and (orientation:portrait) {
  .cabinet {
    width:calc(100% - 20px);
    padding:10px 0 max(12px,env(safe-area-inset-bottom));
  }
  .mast {
    height:41px;
    margin:0 0 12px;
  }
  .brand {
    gap:3px;
  }
  .brand-mark {
    width:35px;
    height:38px;
  }
  .logo {
    width:141px;
  }
  .subtitle {
    font-size:7.8px;
    letter-spacing:1.2px;
    gap:4px;
  }
  .subtitle i {
    width:9px;
  }
  .tools {
    gap:5px;
  }
  .tool {
    height:35px;
    min-width:35px;
    padding:0 5px;
  }
  .booktool span {
    display:none;
  }
  .hud {
    height:55px;
    padding:0 6px;
  }
  .vitals {
    gap:4px;
  }
  .portrait {
    width:31px;
    height:33px;
  }
  .hero-name {
    font-size:15px;
  }
  .hearts {
    gap:0;
  }
  .hearts img {
    width:13px;
    height:13px;
  }
  .place h1 {
    font-size:17px;
  }
  .chapter {
    font-size:9px;
    gap:3px;
    letter-spacing:.5px;
  }
  .chapter i {
    width:7px;
  }
  .purse {
    gap:5px;
  }
  .wallet {
    font-size:15px;
    gap:1px;
  }
  .wallet i {
    width:17px;
    height:17px;
  }
  .wallet b {
    min-width:8px;
  }
  .scene {
    aspect-ratio:auto;
    height:clamp(245px,43svh,420px);
  }
  .minimap {
    top:7px;
    right:7px;
    padding:2px 3px;
  }
  .minimap canvas {
    width:57px;
    height:31px;
  }
  .minimap small {
    font-size:9px;
  }
  .quest {
    bottom:6px;
    left:6px;
    padding:5px 8px 5px 4px;
    gap:3px;
    max-width:calc(100% - 12px);
  }
  .quest-item {
    width:25px;
    height:25px;
  }
  .quest strong {
    font-size:13px;
  }
  .quest small {
    font-size:8px;
    margin:0 0 3px;
  }
  .deck {
    margin-top:12px;
  }
  .deck-title {
    gap:7px;
    margin-bottom:8px;
  }
  .deck-title h2 {
    font-size:22px;
  }
  .cards {
    gap:5px;
  }
  .card {
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:3px;
    padding:9px 3px 8px;
    min-height:112px;
  }
  .card-icon {
    width:41px;
    height:41px;
  }
  .card-name {
    font-size:16px;
    margin:3px 0 4px;
  }
  .card-desc {
    font-size:11.5px;
    line-height:1.25;
  }
  .card-key {
    display:none;
  }
  .controls {
    display:none;
  }
  .touchhelp {
    display:flex;
    font-size:12px;
    margin-top:13px;
  }
  .dialog {
    padding:18px;
  }
  .dialog h2 {
    font-size:24px;
  }
  .dialog .card {
    flex-direction:row;
    align-items:center;
    text-align:left;
    min-height:57px;
  }
  .toast {
    max-width:75%;
    top:19%;
    width:max-content;
    font-size:13px;
    padding:6px 10px;
  }
  .dialog .card-desc {
    font-size:14px;
  }
  .dialog .card-name {
    font-size:19px;
  }
}

@media(max-height:560px) and (orientation:landscape) {
  .cabinet {
    width:min(100% - 16px,1180px);
    min-width:0;
    padding:4px 0;
    display:grid;
    grid-template-columns:minmax(0,1fr) 174px;
    column-gap:11px;
  }
  .mast {
    grid-column:1/-1;
    height:31px;
    margin-bottom:5px;
  }
  .brand-mark {
    width:29px;
    height:29px;
  }
  .logo {
    width:116px;
  }
  .subtitle {
    font-size:6px;
    letter-spacing:1.1px;
  }
  .tool {
    height:28px;
    min-width:31px;
  }
  .hud {
    height:37px;
  }
  .portrait {
    width:28px;
    height:28px;
  }
  .hero-name {
    font-size:13px;
    margin-bottom:0;
  }
  .hearts img {
    height:12px;
    width:14px;
  }
  .chapter {
    font-size:8px;
  }
  .place h1 {
    font-size:18px;
    margin-top:1px;
  }
  .wallet {
    font-size:17px;
  }
  .wallet i {
    width:19px;
    height:19px;
  }
  .scene {
    height:calc(100svh - 86px);
    min-height:155px;
    aspect-ratio:auto;
  }
  .deck {
    margin:0;
    align-self:center;
  }
  .deck-title {
    gap:4px;
  }
  .deck-title h2 {
    font-size:16px;
  }
  .deck-title .spark {
    width:6px;
    height:6px;
  }
  .cards {
    grid-template-columns:1fr;
    gap:7px;
  }
  .card {
    min-height:55px;
    padding:6px;
    gap:6px;
  }
  .card-icon {
    height:33px;
    width:33px;
  }
  .card-name {
    font-size:15px;
    margin-bottom:3px;
  }
  .card-desc {
    font-size:11px;
  }
  .card-key {
    display:none;
  }
  .controls,.touchhelp {
    display:none;
  }
  .minimap {
    right:5px;
    top:5px;
  }
  .minimap canvas {
    width:50px;
    height:26px;
  }
  .minimap small {
    font-size:9px;
  }
  .quest {
    bottom:5px;
    left:5px;
    padding:3px 6px;
  }
  .quest strong {
    font-size:12px;
  }
  .quest small {
    font-size:8px;
  }
  .quest-item {
    width:22px;
    height:22px;
  }
}

@media(pointer:coarse) {
  .controls {
    display:none;
  }
  .touchhelp {
    display:flex;
  }
  .card-key {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}

.notes {
  display:flex;
  gap:10px;
}

.notes span {
  width:36px;
  height:36px;
  padding:4px;
  border:1px solid #715862;
  background:#342b37;
}

.notes img {
  width:100%;
  height:100%;
  object-fit:contain;
}

.notes span:not(.found) {
  filter:grayscale(1);
  opacity:.5;
}

.mural {
  display:block;
  width:calc(100% + 46px);
  max-height:240px;
  object-fit:cover;
  margin:-23px -23px 17px;
  image-rendering:pixelated;
  border-bottom:2px solid #b48e67;
}

.dialog-ending {
  width:min(100%,660px);
}

.map-art {
  height:133px;
}

.dialog-trails,.dialog-picnic {
  width:min(96vw,610px);
}

.dialog-ending .story-copy {
  font-size:17px;
}

.dialog button:focus-visible {
  outline-offset:1px;
}

@media(max-width:600px) {
  .mural {
    width:calc(100% + 30px);
    margin:-15px -15px 14px;
  }
  .map-art {
    height:100px;
  }
  .notes {
    gap:5px;
  }
}

@media(min-width:851px) and (min-height:561px) {
  .cabinet {
    width:min(1160px,calc((100svh - 323px)*1.88235),calc(100% - 64px));
    min-width:min(790px,calc(100% - 64px));
  }
}

@media(min-width:851px) and (max-height:800px) and (min-height:561px) {
  .cabinet {
    width:min(1110px,calc((100svh - 272px)*1.88235),calc(100% - 64px));
    padding-top:8px;
  }
  .mast {
    height:42px;
    margin-bottom:10px;
  }
  .brand-mark {
    height:44px;
    width:44px;
  }
  .logo {
    width:176px;
  }
  .hud {
    height:52px;
  }
  .portrait {
    height:38px;
    width:38px;
  }
  .deck {
    margin-top:12px;
  }
  .deck-title {
    margin-bottom:8px;
  }
  .deck-title h2 {
    font-size:23px;
  }
  .card {
    min-height:74px;
    padding-top:8px;
    padding-bottom:8px;
  }
  .card-icon {
    height:47px;
    width:47px;
  }
  .controls {
    margin-top:12px;
  }
}


.overworld {
  position: relative;
  margin: 8px 0 14px;
  border: 2px solid #ac895f;
}
.overworld img {
  display: block;
  width: 100%;
}
.map-pin {
  position: absolute;
  transform: translate(-50%,-50%);
  min-width: 26px;
  height: 26px;
  padding: 1px 4px 3px;
  border: 2px solid #ffdb8c;
  border-radius: 3px;
  color: #fff0b9;
  background: #5d4043;
  box-shadow: 0 2px #44303a;
  font: 16px var(--pixel);
}
.map-pin:disabled {
  color: #d9c9ab;
  border-color: #9b8e71;
  background: #554b48;
}
.map-pin:after {
  content: '';
  position: absolute;
  inset: -8px;
}
