.hall {
  position: fixed; inset: 0; z-index: 20;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--gap);
  padding: max(16px, env(safe-area-inset-top)) max(16px, calc((100vw - 1180px) / 2 + 16px)) 16px;
  background: var(--linen-glow), var(--linen), var(--felt) var(--grain);
  background-attachment: fixed;
  overflow: auto;
  animation: veil .25s ease-out;
}
.hall__strip { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 10px 22px; }
.hall__strip h2 { font-family: var(--font-title); font-weight: 400; font-size: 26px; margin: 0 12px 0 0; }
.hall__tabs { display: grid; align-content: start; gap: 10px; }
.hall__tab {
  border: 0; text-align: left; padding: 14px 18px; min-height: 48px;
  font-family: var(--font-title); font-size: 19px; cursor: pointer;
}
.hall__tab.on { background-color: var(--verdigris); color: var(--paper-light); }
.hall__body { min-width: 0; }
.hall__card { padding: 18px 20px; }
.hall__card h3 { font-family: var(--font-title); font-weight: 400; font-size: 21px; margin: 0 0 10px; }
.hall__archive { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.hall__great { display: grid; justify-items: center; gap: 10px; }
.hall__side { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.hall__thumb { display: block; }
.hall__next { display: grid; gap: 12px; }
.hall__replayrow { display: flex; flex-wrap: wrap; gap: 8px; }
.hall__replayrow .cloth-button { white-space: nowrap; padding: 10px 16px; }
.hall__empty { margin: 0 0 10px; color: var(--ink-soft); }
.hall__quests ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hall__quests li.task { display: block; }
.hall__quests .task__part { display: flex; }
.hall__quests li.waiting .task__head, .hall__quests li.waiting .task__parts { opacity: .7; }
.hall__quests li.done .hand { text-decoration: line-through; }
.hall__quests .box { width: 18px; height: 18px; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 13px; color: var(--verdigris); }
.hall__biomes { display: grid; gap: var(--gap); }

@media (max-width: 900px) {
  .hall { grid-template-columns: minmax(0, 1fr); grid-template-rows: max-content max-content auto; align-content: start; padding: 10px; }
  .hall__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hall__tab { text-align: center; padding: 10px 6px; font-size: 17px; }
  .hall__archive { grid-template-columns: minmax(0, 1fr); }
  .hall__great { grid-row: auto; }
}

@media (max-width: 700px) {
  .hall__strip { flex-direction: column; align-items: stretch; gap: 8px; }
  
  
  
  
  
  
  
  
}
.hall__body.tab-in { animation: tab-in .18s ease-out; }
@keyframes tab-in { from { opacity: 0; transform: translateY(6px); } }
.hall__strip.paid { animation: paid .5s ease-out; }
@keyframes paid { 30% { box-shadow: 0 0 0 3px rgba(216, 160, 58, .55), var(--shadow-paper); } }
.hall__strip { position: relative; }
.hall__strip .hud__end { margin-left: auto; }
.hall__great { align-content: start; }
.hall__great h3 { margin-bottom: 0; }
.hall__sub { margin: -6px 0 2px; font-size: 13px; color: var(--ink-soft); }
.hall__note { margin: 0; text-align: center; font-size: 15px; }
.hall__strip.hud { flex-wrap: wrap; gap: 6px 14px; }
.hud__mats { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.hud__mat canvas { width: 22px; height: 22px; }
@media (max-width: 700px) {
  .hall__strip.hud { flex-direction: row; align-items: center; gap: 4px 10px; padding: 8px 92px 8px 12px; }
  .hall__strip.hud .hud__mats { order: 10; flex-basis: 100%; gap: 2px 8px; }
  .hall__strip.hud .hud__mats .res__value { font-size: 15px; }
  .hall__strip.hud .hud__mats canvas { width: 18px; height: 18px; }
  .hall__strip.hud .hud__mats + .hud__end, .hall__strip.hud .hud__end { margin-left: auto; }
}

.biome { display: grid; gap: 14px; padding: 18px 22px 20px; }
.biome__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.biome__head h3 { font-family: var(--font-title); font-weight: 400; font-size: 24px; margin: 0; }
.biome__exchange { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px;
  padding: 5px 14px 5px 8px; background: rgba(255, 251, 242, .6); border: 1px dashed var(--thread); border-radius: 30px; }
.biome__exchange canvas { grid-row: 1 / 3; width: 34px; height: 34px; }
.biome__stocknum { display: flex; align-items: baseline; gap: 5px; line-height: 1; }
.biome__stocknum b { font-family: var(--font-title); font-weight: 400; font-size: 21px; }
.biome__stocknum span { font-size: 13px; color: var(--ink-soft); }
.biome__exchange small { font-size: 11px; color: var(--ink-soft); line-height: 1.1; }
.biome__tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.biome__tier { display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; }
.biome__swatch { border-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.biome__tier.now .biome__swatch { outline: 3px solid var(--thread); outline-offset: 3px; }
.biome__tier.later .biome__swatch { filter: grayscale(.7) opacity(.55); }
.biome__tier.next .biome__swatch { filter: grayscale(.25) opacity(.9); outline: 2px dashed var(--verdigris); outline-offset: 3px; }
.biome__name { font-size: 12px; line-height: 1.2; }
.biome__now { font-size: 11px; color: var(--thread-ink); }
.biome__step { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 12px 22px;
  padding: 14px 18px; background: rgba(255, 251, 242, .55); border: 1px solid rgba(42, 35, 32, .14); border-left: 3px solid var(--verdigris);
  border-radius: 4px; }
.biome__step.locked { grid-template-columns: minmax(150px, auto) minmax(0, 1fr); border-left-color: var(--thread); }
.biome__stepname { display: flex; align-items: center; gap: 10px; }
.biome__stepname h4 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 18px; line-height: 1.15; }
.biome__stepname canvas { flex: none; width: 44px; height: 44px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.biome__col { display: grid; gap: 4px; align-content: start; min-width: 0; }
.biome__coltitle { font-size: 12px; color: var(--ink-soft); }
.biome__col ul { margin: 0; padding: 0 0 0 16px; font-size: 13.5px; line-height: 1.35; }
.biome__col p { margin: 0; font-size: 13.5px; line-height: 1.35; }
.biome__soft { color: var(--ink-soft); }
.biome__lock { margin: 0; font-size: 14px; color: var(--ink-soft); }
.biome__price { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.biome__price .res__value { font-size: 17px; }
.biome__price .res__token, .biome__price .res__icon { width: 20px; height: 20px; }
.biome__price .res--short .res__value { color: var(--rift-ink); }
.biome__go { margin: 0; }
@media (max-width: 900px) {
  .biome__step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .biome__stepname { grid-column: 1 / -1; }
  .biome__go { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 700px) {
  .biome { padding: 14px 12px 16px; }
  .biome__tiers { gap: 4px; }
  .biome__tiers .biome__swatch { width: 100% !important; height: auto !important; max-width: 72px; aspect-ratio: 1; }
  .biome__name { font-size: 11px; overflow-wrap: anywhere; hyphens: auto; }
  .biome__step, .biome__step.locked { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .biome__go { width: 100%; }
}
.hall__tab { position: relative; }
.hall__knot { position: absolute; top: 50%; right: 14px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: var(--thread); box-shadow: 0 0 0 2px rgba(255, 251, 242, .8), 0 0 8px rgba(216, 160, 58, .8); }
@media (max-width: 700px) { .hall__knot { top: 8px; right: 8px; margin-top: 0; } }
.hall__flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; }
.hall__next .hall__flow { justify-content: flex-start; }
.hall__flowchip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 6px; border-radius: 20px; font-size: 13px;
  background: rgba(255, 251, 242, .7); box-shadow: inset 0 0 0 1px rgba(42, 35, 32, .14); }
.hall__flowchip .res__icon, .hall__flowchip canvas { width: 18px; height: 18px; }
.hall__flow--earn .hall__flowchip { color: var(--verdigris-deep); box-shadow: inset 0 0 0 1px var(--verdigris); }
.hall__flow--spend .hall__flowchip:first-child { color: var(--rift-ink); }
.hall__arrow { color: var(--ink-soft); font-size: 15px; }
.hall__great > .cloth-button, .shop__buy, .satchel__improve { width: 100%; }
.hall__great > .cloth-button { max-width: 420px; }
.hall__daily { display: grid; gap: 8px; }
.hall__daily h3 { margin: 0; }
.hall__daily .hall__sub { margin: 0; text-align: left; }
.hall__dailyrules { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.hall__dailydone { margin: 0; font-family: var(--font-title); font-size: 17px; color: var(--verdigris-deep); }
.hall__daily .cloth-button { width: 100%; }
.boards { display: grid; gap: var(--gap); min-width: 0; }
.boards__kinds { display: flex; gap: 8px; }
.boards__kind { flex: 1 1 0; padding: 12px 16px; font: 400 18px var(--font-title); color: var(--ink); border: 0; border-radius: 3px; cursor: pointer;
  background: var(--paper) var(--grain); box-shadow: var(--shadow-paper); }
.boards__kind.on { background-color: var(--verdigris); color: var(--paper-light); }
.boards__kind:focus-visible, .boards__size:focus-visible, .boards__arrow:focus-visible { outline: 3px solid var(--thread); outline-offset: 2px; }
.boards__panel { display: grid; gap: 12px; padding: 18px 22px 22px; }
.boards__days { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.boards__day { font: 400 20px var(--font-title); text-align: center; }
.boards__arrow { width: 44px; height: 44px; font-size: 26px; line-height: 1; border: 1px solid rgba(42, 35, 32, .2); border-radius: 50%; background: rgba(255, 251, 242, .7); cursor: pointer; }
.boards__arrow:disabled { opacity: .3; cursor: default; }
.boards__note { margin: 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
.boards__sizes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.boards__size { min-width: 44px; height: 40px; padding: 0 8px; font: 400 16px var(--font-title); border: 1px solid rgba(42, 35, 32, .18); border-radius: 3px;
  background: rgba(255, 251, 242, .7); cursor: pointer; }
.boards__size.played { box-shadow: inset 0 0 0 2px var(--thread); }
.boards__size.on { background: var(--verdigris); color: var(--paper-light); border-color: var(--verdigris); }
.boards__table { padding: 10px 12px; background: rgba(255, 251, 242, .5); border-radius: 4px; }
.boards__table .board-list__row { font-size: 15px; padding: 5px 10px; }
.boards__table .board-list__memory { font-size: 17px; }
.hud__game { display: flex; align-items: center; gap: 10px; }
.hud__logo { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
@media (max-width: 700px) { .hud__logo { width: 26px; height: 26px; } }
.hall__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.hall__size { min-width: 52px; height: 38px; padding: 0 8px; font: 400 15px var(--font-title); color: var(--ink); border: 1px solid rgba(42, 35, 32, .2);
  border-radius: 3px; background: rgba(255, 251, 242, .7); cursor: pointer; }
.hall__size.on { background: var(--verdigris); color: var(--paper-light); border-color: var(--verdigris); }
.hall__size:focus-visible { outline: 3px solid var(--thread); outline-offset: 2px; }
.hall__strip.hud .hud__mats { order: 10; flex-basis: 100%; }
.hall__leave { justify-self: center; margin: -4px 0 0; min-height: 36px; font-size: 14px; color: var(--ink-soft); text-decoration: underline dotted; text-underline-offset: 3px; }
.hall__leave:hover { color: var(--rift-ink); }
