:root {
  color-scheme: light;
  --ink: #1f2633;
  --muted: #667085;
  --line: #d8e0ea;
  --panel: rgba(255, 255, 255, 0.88);
  --primary: #2f7d6d;
  --primary-dark: #195d50;
  --gold: #c89425;
  --rose: #c8587d;
  --sky: #5f7df0;
  --shadow: 0 22px 56px rgba(31, 38, 51, 0.13);
  font-family: "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(95, 125, 240, 0.12), transparent 30rem),
    radial-gradient(circle at 85% 12%, rgba(47, 125, 109, 0.16), transparent 28rem),
    linear-gradient(135deg, #f8fbff 0%, #edf7f1 46%, #fff7ea 100%);
}

body[data-world-theme="village"] {
  background: linear-gradient(135deg, #fff8e8 0%, #f6efe4 52%, #fff4f8 100%);
}

body[data-world-theme="forest"] {
  background: linear-gradient(135deg, #eefbe8 0%, #e0f4ea 52%, #fff7ea 100%);
}

body[data-world-theme="castle"] {
  background: linear-gradient(135deg, #fff4ea 0%, #eee8e1 52%, #f8fbff 100%);
}

body[data-world-theme="skycity"] {
  background: linear-gradient(135deg, #eef4ff 0%, #edf0ff 52%, #fff7fb 100%);
}

.center-page {
  display: grid;
  place-items: center;
  padding: 28px;
}

.panel,
.world-hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel {
  width: 100%;
  padding: 30px;
}

.auth-panel {
  max-width: 440px;
}

.label {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.description {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

select {
  width: auto;
  min-width: 132px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 125, 109, 0.16);
}

button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button.secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--primary-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration-color: rgba(47, 125, 109, 0.32);
  text-underline-offset: 3px;
}

.message {
  min-height: 22px;
  margin: 16px 0 0;
  color: #b42318;
  line-height: 1.6;
}

.message.success {
  color: var(--primary-dark);
}

.text-link {
  margin: 18px 0 0;
  color: var(--muted);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 0;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.app-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 72px;
}

.narrow-shell {
  width: min(820px, calc(100% - 40px));
}

.world-hero {
  min-height: 280px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 255, 250, 0.82)),
    radial-gradient(circle at 84% 18%, rgba(47, 125, 109, 0.22), transparent 18rem);
}

.world-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.world-meter span,
.world-meter strong,
.world-meter small,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(47, 125, 109, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.stat-list,
.compact-list,
.quest-list,
.ranking-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.stat-list.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-list div,
.quest-meta div,
.compact-item,
.quest-card,
.ranking-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.stat-list div,
.quest-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.compact-item,
.quest-card,
.ranking-row {
  padding: 14px;
}

.compact-item {
  display: grid;
  gap: 5px;
}

.compact-item span,
.empty-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.board-panel {
  margin-top: 20px;
}

.board-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.quest-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.quest-card p,
.ranking-row p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.quest-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.quest-actions {
  display: flex;
  align-items: center;
}

.ranking-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.ranking-row > strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #fff2c8;
  color: #8a5b00;
}

@media (max-width: 760px) {
  .topbar,
  .board-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links {
    justify-content: stretch;
  }

  .nav-links a {
    justify-content: center;
  }

  .app-shell {
    width: min(100% - 24px, 560px);
  }

  .world-hero,
  .panel {
    padding: 24px;
  }

  .dashboard-grid,
  .stat-list.large,
  .quest-card,
  .quest-meta,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  select,
  button {
    width: 100%;
  }
}

/* Home: fantasy RPG mockup */
.home-page {
  color: #f5ead5;
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 93, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(205, 154, 59, 0.2), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(47, 125, 109, 0.18), transparent 34rem),
    linear-gradient(135deg, #101525 0%, #171327 44%, #261a20 100%);
}

.home-page[data-world-theme="village"] {
  background:
    radial-gradient(circle at 18% 12%, rgba(205, 154, 59, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(124, 93, 255, 0.2), transparent 24rem),
    linear-gradient(135deg, #16111f 0%, #241a24 48%, #302414 100%);
}

.home-page[data-world-theme="forest"] {
  background:
    radial-gradient(circle at 20% 12%, rgba(77, 171, 114, 0.26), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(205, 154, 59, 0.18), transparent 24rem),
    linear-gradient(135deg, #0f1820 0%, #102519 48%, #241a20 100%);
}

.home-page[data-world-theme="castle"] {
  background:
    radial-gradient(circle at 20% 12%, rgba(205, 154, 59, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(165, 138, 117, 0.24), transparent 24rem),
    linear-gradient(135deg, #111521 0%, #241b25 48%, #2d241f 100%);
}

.home-page[data-world-theme="skycity"] {
  background:
    radial-gradient(circle at 20% 12%, rgba(104, 128, 255, 0.32), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(205, 154, 59, 0.18), transparent 24rem),
    linear-gradient(135deg, #0f1529 0%, #151d3b 48%, #27182e 100%);
}

.home-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.home-page .game-topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1160px, calc(100% - 40px));
  min-height: 68px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(225, 190, 105, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 20, 34, 0.92), rgba(36, 26, 38, 0.9)),
    radial-gradient(circle at 10% 0%, rgba(205, 154, 59, 0.2), transparent 18rem);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.home-page .game-brand {
  color: #ffe3a1;
  font-size: 24px;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(205, 154, 59, 0.32);
}

.home-page .nav-links a {
  border-color: rgba(225, 190, 105, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #f7ead0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-page .nav-links a:hover {
  border-color: rgba(132, 119, 255, 0.68);
  background: rgba(132, 119, 255, 0.14);
}

.home-page button,
.home-page .text-link a {
  color: #120f1d;
}

.home-page button {
  border-color: rgba(255, 226, 154, 0.34);
  background: linear-gradient(135deg, #f2c96b 0%, #c89425 48%, #7d62ff 100%);
  box-shadow:
    0 14px 28px rgba(126, 98, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.home-page button.secondary {
  color: #f8e8c1;
  background: linear-gradient(135deg, rgba(48, 39, 69, 0.92), rgba(31, 28, 45, 0.92));
}

.home-shell {
  width: min(1160px, calc(100% - 40px));
  margin-top: 28px;
}

.home-page .world-status-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  min-height: 390px;
  padding: 34px;
  border-color: rgba(225, 190, 105, 0.34);
  background:
    linear-gradient(135deg, rgba(21, 24, 40, 0.92), rgba(38, 27, 42, 0.86)),
    radial-gradient(circle at 78% 20%, rgba(205, 154, 59, 0.2), transparent 18rem),
    radial-gradient(circle at 22% 90%, rgba(74, 161, 111, 0.2), transparent 20rem);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home-page .world-status-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(225, 190, 105, 0.26);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(225, 190, 105, 0.1);
  content: "";
}

.home-page .hero-copy,
.home-page .world-status-panel,
.home-page .world-status-card > * {
  position: relative;
  z-index: 1;
}

.home-page .label,
.home-page .card-kicker,
.home-page .status-kicker {
  color: #e9be64;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .world-status-card h1 {
  max-width: 720px;
  color: #fff7e7;
  font-size: clamp(52px, 8vw, 96px);
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.home-page .hero-tagline {
  margin: 12px 0 0;
  color: #b9c7ff;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
}

.home-page .world-status-card .description {
  color: #f6dfb3;
  font-size: 18px;
  font-weight: 800;
}

.home-page .world-status-card .message {
  color: #c8d2e8;
}

.home-page .world-status-card .message.success {
  color: #9ee3bc;
}

.home-page .world-status-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(225, 190, 105, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 50% 0%, rgba(225, 190, 105, 0.16), transparent 18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page .world-theme {
  display: block;
  color: #fff7e7;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

.home-page .world-meter {
  margin-top: 0;
}

.home-page .world-meter span,
.home-page .world-meter small {
  min-height: 48px;
  border-color: rgba(132, 119, 255, 0.36);
  background: rgba(13, 16, 29, 0.56);
  color: #f8e8c1;
  font-size: 15px;
  font-weight: 800;
}

.home-page .world-meter b {
  margin-left: 5px;
  color: #ffe08a;
  font-size: 22px;
}

.home-dashboard {
  grid-template-columns: 0.95fr 1.15fr 0.9fr;
  gap: 20px;
  margin-top: 22px;
}

.home-page .panel {
  border-color: rgba(225, 190, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(25, 25, 41, 0.9), rgba(38, 29, 46, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(132, 119, 255, 0.12), transparent 16rem);
  color: #f5ead5;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-page .panel h2 {
  color: #fff7e7;
}

.adventurer-card {
  position: relative;
  overflow: hidden;
}

.adventurer-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(225, 190, 105, 0.18);
  content: "◆";
  font-size: 86px;
  line-height: 1;
}

.adventurer-emblem {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-top: 20px;
  border: 1px solid rgba(225, 190, 105, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #d8a935, #6c5cff);
  color: #101525;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(108, 92, 255, 0.22);
}

.home-page .stat-list div,
.home-page .compact-item {
  border-color: rgba(225, 190, 105, 0.2);
  background: rgba(11, 14, 25, 0.42);
}

.home-page dt,
.home-page .compact-item span,
.home-page .empty-text,
.home-page .text-link {
  color: #aeb8cc;
}

.home-page dd,
.home-page .compact-item strong {
  color: #fff2d3;
}

.quest-board-card {
  background:
    linear-gradient(145deg, rgba(31, 25, 35, 0.92), rgba(45, 34, 30, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(205, 154, 59, 0.14), transparent 16rem);
}

.activity-log-card {
  background:
    linear-gradient(145deg, rgba(22, 25, 40, 0.92), rgba(27, 31, 49, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(47, 125, 109, 0.14), transparent 16rem);
}

.home-page .text-link a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(225, 190, 105, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, #f2c96b, #c89425);
  color: #171327;
  text-decoration: none;
}

@media (max-width: 920px) {
  .home-page .world-status-card,
  .home-dashboard {
    grid-template-columns: 1fr;
  }

  .home-page .world-status-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .home-page .game-topbar {
    top: 8px;
    width: min(100% - 24px, 560px);
  }

  .home-page .world-status-card,
  .home-page .panel {
    padding: 22px;
  }

  .home-page .world-status-card h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .home-page .world-status-panel {
    min-height: auto;
    padding: 22px;
  }
}

/* Home: side-scrolling guild mockup */
.home-page {
  --guild-gold: #e8bd62;
  --guild-gold-dark: #9a6725;
  --guild-ink: #10111d;
  --guild-panel: rgba(17, 19, 32, 0.86);
  --guild-stone: #7f7969;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

.home-page .home-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  width: 100vw;
  height: calc(100vh - 94px);
  margin: 14px 0 0;
  padding: 0 14px 14px;
}

.guild-stage {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 6px solid #050508;
  border-radius: 8px;
  background: #080912;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(232, 189, 98, 0.18);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.guild-stage::-webkit-scrollbar {
  height: 10px;
}

.guild-stage::-webkit-scrollbar-track {
  background: #090a12;
}

.guild-stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #8b6ef6, #e8bd62);
}

.guild-track {
  display: flex;
  width: 300%;
  min-height: 100%;
  height: 100%;
}

.guild-scene {
  position: relative;
  flex: 0 0 33.333%;
  min-height: 100%;
  height: 100%;
  padding: 34px;
  overflow: hidden;
  scroll-snap-align: start;
}

.guild-scene::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%);
  background-size:
    76px 68px,
    76px 68px,
    auto;
  content: "";
}

.guild-scene::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.4)),
    #5d4631;
  background-size:
    92px 100%,
    auto,
    auto;
  content: "";
}

.guild-reception,
.guild-report {
  background:
    radial-gradient(circle at 78% 30%, rgba(232, 189, 98, 0.16), transparent 20rem),
    linear-gradient(135deg, #5b554b 0%, #746d61 52%, #4b4750 100%);
}

.guild-board {
  background:
    radial-gradient(circle at 30% 12%, rgba(184, 218, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, #37424a 0%, #4f554b 46%, #2c2c35 100%);
}

.scene-arrow {
  position: absolute;
  top: 42%;
  z-index: 7;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid #000000;
  border-radius: 50%;
  background: #050508;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.42),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.scene-arrow:hover {
  color: var(--guild-gold);
  transform: translateY(-1px);
}

.scene-arrow-left {
  left: 22px;
}

.scene-arrow-right {
  right: 22px;
}

.scene-copy,
.talk-panel,
.board-wall,
.report-panel,
.activity-panel,
.reception-desk,
.report-counter {
  position: relative;
  z-index: 2;
}

.scene-copy {
  max-width: 520px;
  padding: 12px 0 0;
}

.guild-reception .scene-copy h1 {
  color: #fff6df;
  font-size: clamp(52px, 8vw, 92px);
}

.guild-reception .hero-tagline {
  color: #c7c7ff;
}

.guild-reception .description {
  color: #ffe3a1;
}

.guild-reception .message {
  color: #d7dced;
}

.reception-desk,
.report-counter {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 28%;
  height: 43%;
  border-top: 8px solid #8d5f2d;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.25) 1px, transparent 1px),
    linear-gradient(180deg, #9c6a34, #5f351c);
  background-size:
    94px 100%,
    auto;
}

.report-counter {
  left: 0;
}

.npc {
  position: absolute;
  right: 22%;
  bottom: 58%;
  width: 112px;
  height: 178px;
}

.guild-report .npc {
  right: 62%;
}

.npc-head {
  position: absolute;
  top: 0;
  left: 35px;
  width: 42px;
  height: 48px;
  border-radius: 44% 44% 48% 48%;
  background: #e8b689;
  box-shadow: 0 -8px 0 #8c422b;
}

.clerk .npc-head {
  box-shadow: 0 -8px 0 #1d1b25;
}

.npc-body {
  position: absolute;
  top: 48px;
  left: 20px;
  width: 72px;
  height: 110px;
  border-radius: 34px 34px 12px 12px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.18) 47% 52%, transparent 53%),
    linear-gradient(135deg, #284c43, #182d38);
  box-shadow: 0 0 0 4px rgba(9, 12, 20, 0.25);
}

.desk-items {
  position: absolute;
  right: 18%;
  bottom: 72%;
  display: flex;
  gap: 12px;
}

.desk-items span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d5a73b;
  box-shadow: 24px 6px 0 #6e5eff;
}

.talk-panel {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 34px;
  display: grid;
  gap: 10px;
  max-width: 600px;
  padding: 18px;
  border: 1px solid rgba(232, 189, 98, 0.42);
  border-radius: 8px;
  background: rgba(10, 12, 22, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.talk-name {
  margin: 0;
  color: var(--guild-gold);
  font-weight: 900;
}

.talk-panel p:not(.talk-name) {
  margin: 0;
  color: #fff1d1;
  line-height: 1.7;
}

.talk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.talk-actions a,
.report-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(232, 189, 98, 0.46);
  border-radius: 8px;
  background: linear-gradient(135deg, #f3cf73, #ad762b);
  color: #15121e;
  font-weight: 900;
  text-decoration: none;
}

.board-wall {
  width: min(560px, calc(100% - 96px));
  min-height: 72%;
  margin: 18px auto 0;
  padding: 28px;
  border: 12px solid #6c4528;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(85, 53, 28, 0.18) 1px, transparent 1px),
    #c8b58d;
  background-size: 70px 100%;
  box-shadow:
    inset 0 0 0 4px rgba(255, 241, 197, 0.18),
    0 22px 54px rgba(0, 0, 0, 0.34);
}

.board-wall h2,
.report-panel h2,
.activity-panel h2 {
  color: #fff6df;
}

.board-wall h2 {
  color: #2a1e18;
  text-align: center;
}

.board-wall .label {
  color: #5f351c;
  text-align: center;
}

.parchment-list .compact-item {
  border-color: rgba(78, 48, 25, 0.28);
  background: rgba(255, 242, 198, 0.72);
  color: #2a1e18;
}

.parchment-list .compact-item strong,
.parchment-list .compact-item span {
  color: #2a1e18;
}

.guild-board .text-link {
  text-align: center;
}

.report-panel {
  width: min(420px, calc(100% - 84px));
  margin: 36px 0 0 auto;
  padding: 22px;
  border: 1px solid rgba(232, 189, 98, 0.28);
  border-radius: 8px;
  background: rgba(12, 14, 24, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.report-panel p {
  color: #d7dced;
  line-height: 1.7;
}

.report-book {
  position: absolute;
  left: 16%;
  bottom: 76%;
  width: 120px;
  height: 54px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ead19b 48%, #d6b46a 49% 51%, #ead19b 52%);
  transform: rotate(-3deg);
}

.activity-panel {
  position: absolute;
  right: 30px;
  bottom: 28px;
  width: min(430px, calc(100% - 60px));
  max-height: 42%;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(132, 119, 255, 0.32);
  border-radius: 8px;
  background: rgba(12, 14, 24, 0.84);
}

.home-hud {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 20px;
  min-height: 0;
  margin-top: 0;
}

.home-hud .world-status-panel {
  min-height: auto;
  padding: 18px;
}

.home-hud .adventurer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.home-hud .adventurer-card .card-kicker,
.home-hud .adventurer-card h2 {
  grid-column: 1 / -1;
}

.home-hud .adventurer-card .stat-list {
  margin-top: 0;
}

.home-hud .stat-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-hud .stat-list div {
  min-height: 44px;
  padding: 9px 10px;
}

.home-hud .adventurer-emblem {
  width: 64px;
  height: 64px;
  margin-top: 0;
}

@media (max-width: 960px) {
  .guild-track {
    width: 300%;
    min-height: 100%;
  }

  .guild-scene {
    min-height: 100%;
    padding: 24px;
  }

  .home-hud {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .home-page .home-shell {
    height: calc(100vh - 164px);
  }
}

@media (max-width: 760px) {
  .home-page {
    overflow-y: auto;
  }

  .home-page .home-shell {
    width: min(100% - 16px, 560px);
    height: auto;
    min-height: calc(100vh - 194px);
    margin: 10px auto 0;
    padding: 0 0 14px;
  }

  .guild-stage {
    border-width: 4px;
    height: min(66vh, 620px);
  }

  .guild-track {
    min-height: 100%;
  }

  .guild-scene {
    min-height: 100%;
    padding: 18px;
  }

  .scene-arrow {
    top: 38%;
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .scene-arrow-left {
    left: 10px;
  }

  .scene-arrow-right {
    right: 10px;
  }

  .reception-desk,
  .report-counter {
    left: 0;
    height: 34%;
  }

  .npc {
    right: 18%;
    transform: scale(0.82);
    transform-origin: bottom center;
  }

  .guild-report .npc {
    right: 48%;
  }

  .talk-panel,
  .activity-panel {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .board-wall,
  .report-panel {
    width: calc(100% - 54px);
    margin-inline: auto;
  }

  .home-hud .adventurer-card {
    grid-template-columns: 1fr;
  }

  .home-hud .stat-list {
    grid-template-columns: 1fr;
  }
}

/* Home fullscreen final layout */
.home-page {
  height: 100vh;
  overflow: hidden;
}

.home-page .game-topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  width: min(1160px, calc(100vw - 96px));
  transform: translateX(-50%);
}

.home-page .home-shell {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.home-page .guild-stage {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
}

.home-page .guild-track,
.home-page .guild-scene {
  height: 100vh;
  min-height: 100vh;
}

.home-page .guild-scene {
  padding: 34px;
}

.inventory-bag {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 50;
}

.inventory-bag summary {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(232, 189, 98, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #3a2b1e, #15111d);
  color: #f7d889;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

.inventory-bag summary::-webkit-details-marker {
  display: none;
}

.inventory-bag summary span {
  font-size: 30px;
  transform: rotate(45deg);
}

.bag-panel {
  position: absolute;
  top: 68px;
  right: 0;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 102px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(232, 189, 98, 0.34);
  border-radius: 8px;
  background: rgba(11, 13, 24, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
}

.bag-logout {
  width: 100%;
}

.bag-panel .world-status-panel,
.bag-panel .adventurer-card {
  min-height: auto;
  padding: 18px;
}

.bag-panel .adventurer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.bag-panel .adventurer-card .card-kicker,
.bag-panel .adventurer-card h2 {
  grid-column: 1 / -1;
}

.bag-panel .adventurer-emblem {
  width: 64px;
  height: 64px;
  margin-top: 0;
}

.bag-panel .stat-list {
  margin-top: 0;
}

@media (max-width: 760px) {
  .home-page {
    overflow: hidden;
  }

  .home-page .game-topbar {
    top: 8px;
    width: calc(100vw - 88px);
  }

  .home-page .home-shell,
  .home-page .guild-stage,
  .home-page .guild-track,
  .home-page .guild-scene {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
  }

  .home-page .guild-scene {
    padding: 18px;
  }

  .inventory-bag {
    top: 12px;
    right: 12px;
  }

  .inventory-bag summary {
    width: 52px;
    height: 52px;
  }

  .bag-panel .adventurer-card {
    grid-template-columns: 1fr;
  }
}

/* Quest board paper popup */
.parchment-list {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  align-items: start;
}

.parchment-list .quest-paper {
  display: grid;
  min-height: 176px;
  place-items: center;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #fffdf7, #f2e4bf);
  color: #2a1e18;
  cursor: pointer;
  font: inherit;
  text-align: center;
  box-shadow:
    0 8px 12px rgba(55, 33, 18, 0.2),
    inset 0 0 0 1px rgba(78, 48, 25, 0.08);
  transform: rotate(var(--paper-tilt, -1deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.parchment-list .quest-paper:nth-child(2n) {
  --paper-tilt: 1.4deg;
}

.parchment-list .quest-paper:nth-child(3n) {
  --paper-tilt: -2deg;
}

.parchment-list .quest-paper:hover {
  box-shadow:
    0 16px 24px rgba(55, 33, 18, 0.3),
    0 0 0 3px rgba(232, 189, 98, 0.28);
  transform: translateY(-4px) scale(1.03) rotate(0deg);
}

.parchment-list .quest-paper strong {
  display: block;
  color: #2a1e18;
  font-size: 16px;
}

.parchment-list .quest-paper span {
  display: block;
  margin-top: 8px;
  color: #2a1e18;
  font-size: 12px;
}

.quest-paper-modal[hidden] {
  display: none;
}

.quest-paper-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 4, 9, 0.62);
  backdrop-filter: blur(5px);
}

.quest-paper-detail {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 38px;
  border: 1px solid rgba(122, 83, 37, 0.36);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.48), transparent 16rem),
    linear-gradient(180deg, #fff9df, #ecd59b);
  color: #2a1e18;
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.48),
    inset 0 0 0 8px rgba(122, 83, 37, 0.08);
  animation: quest-paper-pop 180ms ease-out;
}

.quest-paper-detail::before,
.quest-paper-detail::after {
  position: absolute;
  width: 84px;
  height: 24px;
  background: rgba(132, 89, 45, 0.16);
  content: "";
}

.quest-paper-detail::before {
  top: 14px;
  left: 24px;
  transform: rotate(-5deg);
}

.quest-paper-detail::after {
  right: 26px;
  bottom: 18px;
  transform: rotate(4deg);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: #2a1e18;
  color: #fff8df;
  font-size: 24px;
}

.quest-paper-detail .status-pill {
  width: fit-content;
  border-color: rgba(122, 83, 37, 0.26);
  background: rgba(255, 255, 255, 0.38);
  color: #5b3a18;
}

.quest-paper-detail h2 {
  margin-top: 18px;
  color: #2a1e18;
  font-size: clamp(28px, 6vw, 46px);
}

.quest-paper-body {
  margin: 18px 0 0;
  color: #4c3522;
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.quest-paper-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.quest-paper-meta div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(122, 83, 37, 0.2);
  background: rgba(255, 255, 255, 0.28);
}

.quest-paper-meta dt {
  color: #765328;
}

.quest-paper-meta dd {
  color: #2a1e18;
  text-align: left;
}

.quest-paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quest-paper-actions button {
  color: #15121e;
}

.quest-paper-actions .button-muted {
  border-color: rgba(122, 83, 37, 0.28);
  background: #f7edd1;
  color: #4c3522;
  box-shadow: none;
}

.modal-note {
  margin: 0;
  color: #765328;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes quest-paper-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94) rotate(-1deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@media (max-width: 760px) {
  .parchment-list {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .parchment-list .quest-paper {
    min-height: 136px;
  }

  .quest-paper-detail {
    padding: 28px 22px;
  }

  .quest-paper-meta {
    grid-template-columns: 1fr;
  }
}

/* Quest request page */
.quest-request-page {
  height: 100vh;
  overflow: hidden;
  color: #fff3d6;
  background:
    radial-gradient(circle at 78% 16%, rgba(232, 189, 98, 0.18), transparent 22rem),
    linear-gradient(135deg, #5b554b 0%, #746d61 52%, #4b4750 100%);
}

.quest-request-page::before {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 68px;
  content: "";
}

.quest-request-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.quest-request-stage::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, #9c6a34, #5f351c);
  background-size:
    94px 100%,
    auto;
  content: "";
}

.quest-request-counter {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(980px, calc(100vw - 120px));
  height: 100vh;
  margin: 0 auto;
  place-items: end center;
  padding: 8vh 0 7vh;
}

.quest-request-npc {
  position: absolute;
  right: 12%;
  bottom: 37%;
  width: 112px;
  height: 178px;
  z-index: 1;
}

.quest-request-paper {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid rgba(122, 83, 37, 0.36);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.48), transparent 16rem),
    linear-gradient(180deg, #fff9df, #ecd59b);
  color: #2a1e18;
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.42),
    inset 0 0 0 8px rgba(122, 83, 37, 0.08);
  transform: rotate(-1deg);
}

.quest-request-paper::before,
.quest-request-paper::after {
  position: absolute;
  width: 84px;
  height: 24px;
  background: rgba(132, 89, 45, 0.16);
  content: "";
}

.quest-request-paper::before {
  top: 14px;
  left: 24px;
  transform: rotate(-5deg);
}

.quest-request-paper::after {
  right: 26px;
  bottom: 18px;
  transform: rotate(4deg);
}

.quest-request-paper .label {
  color: #765328;
}

.quest-request-paper h1 {
  color: #2a1e18;
  font-size: clamp(30px, 6vw, 52px);
}

.quest-request-paper input,
.quest-request-paper textarea {
  border-color: rgba(122, 83, 37, 0.28);
  background: rgba(255, 255, 255, 0.42);
  color: #2a1e18;
}

.quest-request-paper textarea {
  min-height: 126px;
}

.quest-request-paper button {
  justify-self: start;
  min-width: 150px;
  color: #15121e;
}

.quest-request-paper .message {
  color: #7f231e;
}

.quest-request-paper .message.success {
  color: #285f45;
}

@media (max-width: 760px) {
  .quest-request-counter {
    width: calc(100vw - 72px);
    padding: 12vh 0 5vh;
  }

  .quest-request-npc {
    right: 4%;
    bottom: 34%;
    transform: scale(0.75);
    transform-origin: bottom center;
  }

  .quest-request-paper {
    padding: 26px 20px;
  }
}

/* Quest completion report page */
.quest-report-page {
  min-height: 100vh;
  color: #fff3d6;
  background:
    radial-gradient(circle at 74% 18%, rgba(232, 189, 98, 0.18), transparent 22rem),
    linear-gradient(135deg, #5b554b 0%, #746d61 52%, #4b4750 100%);
}

.quest-report-page::before {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 68px;
  content: "";
}

.quest-report-stage {
  position: relative;
  min-height: 100vh;
  padding: 42px 72px;
}

.quest-report-stage::after {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 32%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, #9c6a34, #5f351c);
  background-size:
    94px 100%,
    auto;
  content: "";
}

.report-desk-scene {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.report-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.report-panel-card,
.report-quest-card {
  border: 1px solid rgba(122, 83, 37, 0.36);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.48), transparent 16rem),
    linear-gradient(180deg, #fff9df, #ecd59b);
  color: #2a1e18;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 8px rgba(122, 83, 37, 0.08);
}

.report-panel-card {
  padding: 28px;
}

.report-panel-card .label,
.report-panel-card h1,
.report-panel-card h2 {
  color: #2a1e18;
}

.report-panel-card .description {
  color: #5d4225;
}

.report-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.report-quest-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.report-quest-card p {
  color: #4c3522;
  line-height: 1.7;
}

.report-submit-form {
  display: grid;
  gap: 10px;
}

.report-submit-form textarea {
  min-height: 120px;
  border-color: rgba(122, 83, 37, 0.28);
  background: rgba(255, 255, 255, 0.42);
  color: #2a1e18;
}

.submitted-report {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(122, 83, 37, 0.2);
  background: rgba(255, 255, 255, 0.28);
}

.submitted-report strong {
  color: #765328;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.report-panel-card button {
  color: #15121e;
}

@media (max-width: 920px) {
  .quest-report-stage {
    padding: 72px 18px 28px;
  }

  .report-workspace {
    grid-template-columns: 1fr;
  }
}

/* Guild board visual polish */
.home-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(78, 62, 168, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(201, 149, 55, 0.18), transparent 24rem),
    linear-gradient(135deg, #080912 0%, #141221 42%, #241820 100%);
}

.guild-board {
  background:
    radial-gradient(circle at 20% 8%, rgba(232, 210, 166, 0.2), transparent 22rem),
    radial-gradient(circle at 80% 34%, rgba(79, 61, 37, 0.34), transparent 26rem),
    linear-gradient(135deg, #19141c 0%, #2a1c17 48%, #100f17 100%);
}

.board-wall {
  width: min(900px, calc(100% - 112px));
  min-height: min(76vh, 620px);
  padding: 32px 38px;
  border: 14px solid #4f2f18;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.16), transparent 12rem),
    linear-gradient(90deg, rgba(82, 49, 25, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, #c9b497, #b89d78);
  background-size:
    auto,
    78px 100%,
    auto;
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.48),
    inset 0 0 0 5px rgba(248, 225, 176, 0.18),
    inset 0 0 48px rgba(50, 29, 12, 0.18);
}

.board-wall::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(83, 50, 24, 0.2);
  content: "";
  pointer-events: none;
}

.board-wall .label {
  color: #583516;
  text-shadow: 0 1px 0 rgba(255, 240, 203, 0.42);
}

.board-wall h2 {
  color: #2b1b12;
  font-size: clamp(28px, 5vw, 48px);
  text-shadow: 0 1px 0 rgba(255, 240, 203, 0.48);
}

.parchment-list {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.parchment-list .quest-paper {
  position: relative;
  min-height: 190px;
  align-content: center;
  padding: 20px 16px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 32%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(180deg, #fff9df 0%, #f0dca8 100%);
  box-shadow:
    0 12px 20px rgba(48, 28, 13, 0.24),
    inset 0 0 0 1px rgba(98, 63, 28, 0.1),
    inset 0 -12px 28px rgba(116, 75, 31, 0.08);
}

.parchment-list .quest-paper::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.4), transparent 28%),
    #8a1f1f;
  box-shadow: 0 2px 5px rgba(43, 21, 8, 0.26);
  content: "";
  transform: translateX(-50%);
}

.parchment-list .quest-paper strong {
  margin-top: 18px;
  color: #2b1b12;
  font-size: 17px;
}

.parchment-list .quest-paper span {
  justify-self: center;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(141, 96, 31, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d77b, #be842c);
  color: #2b1b12;
  font-size: 12px;
  font-weight: 900;
}

.parchment-list .quest-paper.status-open::after,
.parchment-list .quest-paper.status-accepted::after,
.parchment-list .quest-paper.status-review::after,
.parchment-list .quest-paper.status-completed::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fffaf0;
  font-size: 11px;
  font-weight: 900;
}

.parchment-list .quest-paper.status-open::after {
  background: #28784f;
  content: "募集中";
}

.parchment-list .quest-paper.status-accepted::after {
  background: #4558c8;
  content: "受注中";
}

.parchment-list .quest-paper.status-review::after {
  background: #a9701f;
  content: "確認待ち";
}

.parchment-list .quest-paper.status-completed::after {
  background: #6e6674;
  content: "完了";
}

.quest-paper-detail {
  border: 1px solid rgba(120, 76, 29, 0.38);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.5), transparent 18rem),
    linear-gradient(180deg, #fff8dc, #e8ca86);
}

.quest-paper-detail .status-pill {
  border: 0;
  color: #fffaf0;
  font-weight: 900;
}

.quest-paper-detail .status-open {
  background: #28784f;
}

.quest-paper-detail .status-accepted {
  background: #4558c8;
}

.quest-paper-detail .status-review {
  background: #a9701f;
}

.quest-paper-detail .status-completed {
  background: #6e6674;
}

.quest-paper-actions button,
.talk-actions a,
.report-button,
.home-page button {
  border: 1px solid rgba(245, 216, 137, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 243, 188, 0.22), transparent 24%),
    linear-gradient(135deg, #d8a43a 0%, #8c5b21 48%, #6753d8 100%);
  color: #120f1d;
  box-shadow:
    0 12px 28px rgba(23, 16, 38, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.quest-paper-actions .button-muted {
  background:
    linear-gradient(180deg, #f4e5bd, #c8a66a);
  color: #3d2917;
}

@media (max-width: 920px) {
  .board-wall {
    width: min(760px, calc(100% - 80px));
  }

  .parchment-list {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  .board-wall {
    width: calc(100% - 42px);
    min-height: 70vh;
    padding: 24px 20px;
    border-width: 10px;
  }

  .parchment-list {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 16px;
  }

  .parchment-list .quest-paper {
    min-height: 150px;
  }
}
