:root {
  color-scheme: dark;
  --newbie-bg: #050c1a;
  --newbie-bg-soft: #071223;
  --newbie-panel: rgba(12, 24, 48, 0.92);
  --newbie-panel-strong: rgba(23, 40, 78, 0.96);
  --newbie-card: linear-gradient(140deg, rgba(31, 55, 116, 0.96), rgba(20, 38, 83, 0.98));
  --newbie-line: rgba(117, 151, 229, 0.44);
  --newbie-line-strong: rgba(143, 172, 246, 0.68);
  --newbie-ink: #f8fbff;
  --newbie-muted: #aebde5;
  --newbie-dim: #6e7da7;
  --newbie-cyan: #43ddff;
  --newbie-blue: #5e86ff;
  --newbie-violet: #9a7cff;
  --newbie-rose: #ff6678;
  --newbie-gold: #ffcf46;
  --newbie-mint: #69f0d2;
  --newbie-green: #22bd7a;
  --newbie-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, transparent 0 31%, rgba(76, 115, 208, 0.22) 31.15%, transparent 31.7% 74%, rgba(76, 115, 208, 0.18) 74.15%, transparent 74.7%),
    radial-gradient(circle at 52% 92%, rgba(78, 112, 242, 0.28), transparent 18%),
    #050c1a;
  color: var(--newbie-ink);
}

body::after {
  position: fixed;
  right: 32px;
  bottom: 186px;
  width: 78px;
  height: 78px;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(circle, rgba(43, 87, 170, 0.35) 2px, transparent 3px);
  background-size: 12px 12px;
  opacity: 0.55;
}

body.newbie-adventure-auth-open {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

[hidden] {
  display: none !important;
}

.newbie-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom));
  background:
    linear-gradient(135deg, transparent 0 31%, rgba(76, 115, 208, 0.22) 31.15%, transparent 31.7% 74%, rgba(76, 115, 208, 0.18) 74.15%, transparent 74.7%),
    radial-gradient(circle at 52% 92%, rgba(78, 112, 242, 0.28), transparent 18%),
    #050c1a;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.48);
}

.newbie-view {
  display: grid;
  gap: 18px;
}

.newbie-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  background: transparent;
}

.newbie-sub-header {
  border: 1px solid var(--newbie-line);
  border-radius: 24px;
  padding: 16px;
  background: rgba(8, 17, 34, 0.86);
}

.newbie-profile-summary {
  display: grid;
  gap: 12px;
  padding: 0;
}

.newbie-profile-panel,
.newbie-profile-history {
  display: grid;
  gap: 10px;
}

.newbie-profile-panel-title {
  margin: 0;
  color: #eef4ff;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0;
}

.newbie-profile-account {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.newbie-profile-eyebrow {
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 210, 0.38);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(18, 67, 78, 0.64);
  color: #bffff5;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-profile-account strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.1;
}

.newbie-profile-account span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #b9c8e4;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.newbie-records-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding-right: 42px;
}

.newbie-records-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(105, 240, 210, 0.36);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(18, 67, 78, 0.54);
  color: #bffff5;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.newbie-lobby-heading {
  display: flex;
  align-items: center;
  min-width: 0;
}

.newbie-top-nav {
  position: relative;
  display: grid;
  width: min(100%, 432px);
  min-height: 46px;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  border: 1px solid rgba(133, 158, 57, 0.74);
  border-radius: 999px;
  padding: 4px;
  background:
    radial-gradient(circle at 18% 0%, rgba(176, 201, 78, 0.2), transparent 38%),
    radial-gradient(circle at 82% 0%, rgba(176, 201, 78, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(23, 29, 16, 0.92), rgba(7, 10, 6, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 196, 0.14),
    inset 0 -12px 20px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(5, 9, 4, 0.56),
    0 12px 28px rgba(0, 0, 0, 0.36),
    0 0 22px rgba(139, 168, 58, 0.2);
  backdrop-filter: blur(7px) saturate(0.95);
}

.newbie-top-nav::before {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 246, 190, 0.08);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.newbie-top-nav-divider {
  width: 1px;
  height: 24px;
  margin: 0 2px;
  background: linear-gradient(180deg, transparent, rgba(182, 209, 77, 0.46), transparent);
  box-shadow: 0 0 8px rgba(139, 168, 58, 0.22);
}

.newbie-top-nav .newbie-lobby-heading,
.newbie-top-nav .newbie-header-actions {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.newbie-top-nav .newbie-header-actions {
  justify-content: flex-end;
  width: 100%;
}

.newbie-top-nav .newbie-header-action-row {
  width: 100%;
}

.newbie-top-nav .newbie-header-auth-actions {
  justify-content: center;
  min-width: 0;
}

.newbie-top-nav .newbie-header-action-row {
  justify-content: space-between;
  min-width: 0;
}

.newbie-header-auth-actions {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 1px;
  min-width: 0;
}

.newbie-header-auth-note {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  max-width: 188px;
  min-height: 30px;
  overflow: hidden;
  border: 1px solid rgba(170, 196, 82, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(9, 14, 6, 0.38);
  color: rgba(239, 230, 191, 0.82);
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-header-auth-button {
  position: relative;
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: transparent;
  color: #f2ecd1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.newbie-header-nickname-button {
  min-width: 0;
}

.newbie-header-nickname-label {
  display: block;
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-header-point-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  max-width: 94px;
  margin-left: 3px;
  border: 1px solid rgba(255, 214, 95, 0.48);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(44, 32, 7, 0.68);
  color: #ffe89c;
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 246, 190, 0.1), 0 0 12px rgba(255, 207, 70, 0.12);
}

.newbie-header-adventure-auth-button {
  min-width: 128px;
  max-width: 148px;
  padding-inline: 13px;
  color: #ffe7a8;
}

.newbie-header-adventure-auth-button .newbie-header-auth-icon {
  stroke: #ffd76e;
  filter: drop-shadow(0 0 7px rgba(255, 214, 110, 0.38)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.64));
}

.newbie-header-adventure-auth-label {
  display: block;
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-header-auth-button:hover,
.newbie-header-auth-button:focus-visible {
  background: linear-gradient(180deg, rgba(54, 68, 25, 0.5), rgba(18, 23, 10, 0.62));
  color: #fff7d9;
  box-shadow: inset 0 1px 0 rgba(255, 249, 212, 0.12), 0 0 16px rgba(139, 168, 58, 0.14);
}

.newbie-header-auth-button::before,
.newbie-notification-button::before {
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 246, 190, 0.07);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.newbie-header-auth-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: #a9c84c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
  filter: drop-shadow(0 0 6px rgba(150, 184, 55, 0.42)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.64));
}

.newbie-header h1 {
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 18px rgba(80, 128, 255, 0.42);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#newbie-lobby-title {
  overflow: visible;
  line-height: 1;
  text-shadow: none;
}

.newbie-theme-select {
  position: relative;
  display: inline-flex;
}

#newbie-lobby-title .newbie-theme-select-chip {
  position: relative;
  width: 150px;
  min-height: 34px;
  border-color: rgba(123, 183, 232, 0.66);
  border-radius: 999px;
  padding: 0 28px 0 12px;
  color: #f8fbff;
  font-size: 12px;
  box-shadow: inset 0 0 18px rgba(102, 205, 255, 0.14), 0 6px 14px rgba(0, 0, 0, 0.26);
}

#newbie-lobby-title .newbie-theme-select-chip::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0;
  border-color: currentColor transparent transparent;
  content: "";
  transform: translateY(-38%);
}

#newbie-lobby-title .newbie-theme-select-chip.is-open::after {
  transform: translateY(-48%) rotate(180deg);
}

.newbie-theme-select-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 70;
  display: grid;
  width: 150px;
  gap: 5px;
  border: 1px solid rgba(119, 145, 203, 0.72);
  border-radius: 14px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(30, 43, 80, 0.98), rgba(7, 15, 33, 0.98));
  box-shadow: inset 0 0 16px rgba(131, 157, 225, 0.16), 0 16px 34px rgba(0, 0, 0, 0.34);
}

.newbie-theme-select-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 10px;
  background: rgba(6, 14, 30, 0.82);
  color: #d9e5ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.newbie-theme-select-option.is-selected {
  border-color: rgba(123, 183, 232, 0.74);
  background: linear-gradient(180deg, rgba(63, 94, 126, 0.92), rgba(34, 65, 85, 0.92));
  color: #ffffff;
  box-shadow: inset 0 0 20px rgba(102, 205, 255, 0.16);
}

.newbie-theme-select-option:focus-visible,
#newbie-lobby-title .newbie-theme-select-chip:focus-visible {
  outline: 2px solid rgba(118, 233, 255, 0.86);
  outline-offset: 3px;
}

.newbie-header-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  padding-top: 0;
}

.newbie-header-action-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-height: 34px;
  overflow: visible;
  padding: 0;
}

.newbie-notification-button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  gap: 7px;
  background: transparent;
  color: #f2ecd1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: none;
}

.newbie-notification-button[data-has-unread="true"] {
  background: linear-gradient(180deg, rgba(54, 68, 25, 0.5), rgba(18, 23, 10, 0.62));
  color: #fff7d9;
  box-shadow: inset 0 1px 0 rgba(255, 249, 212, 0.12), 0 0 16px rgba(139, 168, 58, 0.14);
}

.newbie-notification-button[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(77, 83, 29, 0.68), rgba(24, 28, 11, 0.76));
  color: #fff7d9;
  box-shadow: inset 0 1px 0 rgba(255, 249, 212, 0.16), 0 0 0 1px rgba(214, 179, 88, 0.18), 0 0 18px rgba(139, 168, 58, 0.18);
}

.newbie-notification-button:hover,
.newbie-notification-button:focus-visible {
  background: linear-gradient(180deg, rgba(54, 68, 25, 0.5), rgba(18, 23, 10, 0.62));
  color: #fff7d9;
  box-shadow: inset 0 1px 0 rgba(255, 249, 212, 0.12), 0 0 16px rgba(139, 168, 58, 0.14);
}

.newbie-push-active-icons {
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-evenly;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
  min-height: 42px;
  padding-inline: 2px;
  transform: translateY(2px);
}

.newbie-push-active-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex: 0 0 36px;
  min-height: 42px;
  border: 0;
  padding: 0;
  gap: 3px;
  background: transparent;
  color: rgba(190, 176, 142, 0.68);
  cursor: pointer;
  font: inherit;
}

.newbie-push-active-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(183, 139, 65, 0.34);
  border-radius: 999px;
  background: rgba(22, 16, 9, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 244, 216, 0.08);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.newbie-push-active-icon:not(:disabled):hover .newbie-push-active-glyph {
  border-color: rgba(105, 240, 210, 0.38);
  background: rgba(18, 45, 40, 0.62);
  box-shadow: inset 0 1px 0 rgba(218, 255, 247, 0.12), 0 0 0 1px rgba(105, 240, 210, 0.08);
}

.newbie-push-active-icon:disabled {
  cursor: default;
  opacity: 0.58;
}

.newbie-push-active-icon[aria-pressed="true"] {
  color: #6ef7d7;
}

.newbie-push-active-icon[aria-pressed="true"] .newbie-push-active-glyph {
  border-color: rgba(105, 240, 210, 0.45);
  background: rgba(13, 69, 60, 0.62);
  box-shadow: inset 0 1px 0 rgba(218, 255, 247, 0.16), 0 0 0 1px rgba(105, 240, 210, 0.1);
}

.newbie-push-active-icon[data-push-subscription="pending"][aria-pressed="true"] {
  color: #f6d58a;
}

.newbie-push-active-icon[data-push-subscription="pending"][aria-pressed="true"] .newbie-push-active-glyph {
  border-color: rgba(236, 177, 80, 0.52);
  border-style: dashed;
  background: rgba(70, 48, 18, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 235, 190, 0.12), 0 0 0 1px rgba(236, 177, 80, 0.08);
}

.newbie-push-active-icon[data-push-subscription="pending"][aria-pressed="true"]:not(:disabled):hover .newbie-push-active-glyph {
  border-color: rgba(252, 211, 112, 0.62);
  background: rgba(84, 60, 23, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 239, 200, 0.16), 0 0 0 1px rgba(252, 211, 112, 0.12);
}

.newbie-push-active-icon-svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.newbie-push-active-label {
  display: block;
  width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.newbie-push-header-empty-hint {
  position: absolute;
  top: calc(100% + 5px);
  right: 4px;
  z-index: 3;
  max-width: min(260px, calc(100vw - 32px));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 205, 112, 0.42);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(19, 15, 7, 0.88);
  color: #ffe7a9;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 244, 216, 0.1), 0 10px 22px rgba(0, 0, 0, 0.26);
  pointer-events: none;
}

.newbie-push-header-empty-hint[data-mode="unsupported"] {
  position: static;
  z-index: auto;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 6px;
  min-width: 0;
  min-height: 42px;
  max-width: none;
  border-color: rgba(255, 82, 82, 0.82);
  border-radius: 9px;
  padding: 4px 7px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 112, 112, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(89, 15, 20, 0.96), rgba(39, 6, 10, 0.97));
  color: #ffabab;
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  text-overflow: clip;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.72), 0 0 9px rgba(255, 75, 75, 0.34);
  white-space: normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 218, 218, 0.13),
    0 0 0 1px rgba(255, 64, 64, 0.12),
    0 0 16px rgba(220, 38, 38, 0.24);
  word-break: keep-all;
}

.newbie-push-header-empty-hint[data-mode="unsupported"]::before {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  place-items: center;
  border: 1px solid rgba(255, 188, 188, 0.88);
  border-radius: 999px;
  background: linear-gradient(180deg, #f0444c, #b81620);
  color: #fff;
  content: "!";
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(90, 0, 0, 0.8);
  box-shadow: 0 0 10px rgba(255, 66, 66, 0.46);
}

.newbie-push-header-empty-hint[hidden] {
  display: none !important;
}

.newbie-header-auth-button:focus-visible,
.newbie-header-adventure-auth-button:focus-visible,
.newbie-notification-button:focus-visible,
.newbie-notification-item:focus-visible,
.newbie-push-active-icon:focus-visible {
  outline: 2px solid rgba(182, 209, 77, 0.74);
  outline-offset: 3px;
}

.newbie-notification-button-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: #efe8bf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 5px rgba(232, 220, 166, 0.24)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.64));
}

.newbie-notification-button-label {
  max-width: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-notification-badge {
  position: absolute;
  top: 7px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7px;
  min-width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 226, 164, 0.95);
  border-radius: 999px;
  padding: 0;
  background: #e95353;
  color: transparent;
  font-size: 0;
  font-weight: 1000;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(28, 11, 8, 0.78), 0 0 8px rgba(233, 83, 83, 0.72);
}

.newbie-notification-panel {
  position: fixed;
  top: calc(max(18px, env(safe-area-inset-top, 0px)) + 58px);
  left: 50%;
  z-index: 160;
  display: grid;
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100dvh - 96px - env(safe-area-inset-top, 0px)));
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 8px;
  border: 1px solid rgba(219, 174, 88, 0.5);
  border-radius: 18px;
  padding: 12px;
  background: rgba(26, 17, 9, 0.98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 244, 216, 0.08);
  transform: translateX(-50%);
}

.newbie-notification-panel[hidden] {
  display: none;
}

.newbie-notification-panel-head {
  display: grid;
  width: 100%;
  gap: 3px;
  min-width: 0;
}

.newbie-notification-head-main {
  display: grid;
  width: 100%;
  gap: 9px;
  min-width: 0;
}

.newbie-notification-title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.newbie-push-title-status {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  color: #cdbb8f;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.newbie-push-title-status[data-push-state="on"] {
  color: #ffe39d;
}

.newbie-push-title-status[data-push-state="pending"] {
  color: #cffff8;
}

.newbie-push-title-status-icons {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  min-width: 0;
}

.newbie-push-title-status-icons-label {
  display: inline-block;
  color: #a7ffed;
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.newbie-push-title-status-kind-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #6ef7d7;
  font-size: 10px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(105, 240, 210, 0.42)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.52));
}

.newbie-push-title-status-kind-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

#newbie-push-title-status-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-notification-panel-head h2 {
  margin: 0;
  color: #fff7df;
  font-size: 16px;
  font-weight: 1000;
  line-height: 1.2;
  letter-spacing: 0;
}

.newbie-notification-panel-head p {
  margin: 0;
  color: #cdbb8f;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
}

.newbie-notification-panel-head p[data-tone="error"] {
  color: #fecaca;
}

.newbie-push-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid rgba(183, 139, 65, 0.32);
  border-radius: 7px;
  padding: 4px 6px;
  background: rgba(255, 244, 216, 0.055);
}

.newbie-push-settings p,
.newbie-push-settings-status {
  margin: 0;
}

.newbie-push-settings p,
.newbie-push-settings-status {
  min-width: 0;
  color: #cdbb8f;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.25;
}

.newbie-push-settings p[data-tone="error"],
.newbie-push-settings-status[data-tone="error"] {
  color: #fecaca;
}

#newbie-push-permission-status.has-kind-prompt {
  display: grid;
  gap: 5px;
}

.newbie-push-permission-kind-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  vertical-align: middle;
}

.newbie-push-permission-kind {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 19px;
  border: 1px solid rgba(244, 205, 112, 0.42);
  border-radius: 999px;
  padding: 1px 5px 1px 3px;
  background: rgba(28, 22, 8, 0.62);
  color: #f8dc8d;
  white-space: nowrap;
}

.newbie-push-permission-kind .newbie-push-title-status-kind-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
  color: currentColor;
}

.newbie-push-permission-kind .newbie-push-title-status-kind-icon-svg {
  stroke-width: 2.35;
}

.newbie-push-permission-kind-label {
  color: #ffe7a9;
  font-size: 8.5px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-push-permission-copy {
  display: block;
  vertical-align: middle;
}

.newbie-notification-list {
  display: grid;
  align-content: start;
  min-height: 140px;
  max-height: 440px;
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.newbie-notification-login-prompt {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(214, 179, 88, 0.38);
  border-radius: 14px;
  padding: 13px;
  background:
    radial-gradient(circle at 12% 12%, rgba(190, 233, 117, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(48, 43, 19, 0.62), rgba(12, 12, 8, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 244, 216, 0.08);
}

.newbie-notification-login-prompt__title {
  color: #fff7df;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.3;
}

.newbie-notification-login-prompt__copy {
  margin: 0;
  color: #d8caab;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.newbie-notification-login-prompt__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 36px;
  border: 1px solid rgba(255, 229, 148, 0.74);
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(180deg, #f2d06d 0%, #9f6c18 100%);
  color: #16110a;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 249, 214, 0.42), 0 8px 18px rgba(0, 0, 0, 0.22);
}

.newbie-notification-login-prompt__cta:hover,
.newbie-notification-login-prompt__cta:focus-visible {
  border-color: rgba(255, 242, 186, 0.92);
  background: linear-gradient(180deg, #ffe28a 0%, #b77b1e 100%);
  outline: none;
}

.newbie-notification-item {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 5px;
  border: 1px solid rgba(183, 139, 65, 0.32);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 244, 216, 0.06);
  color: #f7edce;
  text-align: left;
}

.newbie-notification-item[data-unread="true"] {
  border-color: rgba(105, 240, 210, 0.38);
  background: rgba(18, 67, 78, 0.28);
}

.newbie-notification-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: #bfae86;
  font-size: 11px;
  font-weight: 900;
}

.newbie-notification-item__category-row {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.newbie-notification-item__category {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-notification-item__time {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.newbie-notification-item__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.newbie-notification-item__title {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff7df;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.25;
}

.newbie-notification-item__preview,
.newbie-notification-item__body {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #d8caab;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.newbie-notification-item__body {
  margin: 4px 0 0;
  border-top: 1px solid rgba(183, 139, 65, 0.24);
  padding-top: 8px;
  white-space: pre-wrap;
}

.newbie-notification-item__status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 139, 65, 0.34);
  border-radius: 999px;
  padding: 3px 7px;
  color: #cdbb8f;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.newbie-notification-item[data-unread="true"] .newbie-notification-item__status {
  border-color: rgba(105, 240, 210, 0.44);
  color: #bcfff2;
}

.newbie-filter-chip,
.newbie-bottom-nav-button,
.newbie-submit-button,
.newbie-modal-action,
.newbie-modal-close {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--newbie-ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
}

.newbie-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 54px;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 0 7px;
  background: rgba(6, 14, 30, 0.82);
  color: #d9e5ff;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

.newbie-filter-chip.is-active {
  border-color: rgba(123, 183, 232, 0.74);
  background: linear-gradient(180deg, rgba(63, 94, 126, 0.92), rgba(34, 65, 85, 0.92));
  box-shadow: inset 0 0 24px rgba(102, 205, 255, 0.18), 0 0 12px rgba(71, 190, 255, 0.2);
}

.newbie-theme-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, #ffffff, var(--dot-color, #6ceaff) 38%, rgba(255, 255, 255, 0.1) 70%);
  box-shadow: 0 0 16px var(--dot-glow, rgba(84, 222, 255, 0.75));
}

.newbie-theme-dot[data-theme="all"] {
  --dot-color: #76e9ff;
  --dot-glow: rgba(118, 233, 255, 0.78);
}

.newbie-theme-dot[data-theme="extinction"] {
  --dot-color: #ffcf46;
  --dot-glow: rgba(255, 207, 70, 0.72);
}

.newbie-theme-dot[data-theme="tower"] {
  --dot-color: #43ddff;
  --dot-glow: rgba(67, 221, 255, 0.72);
}

.newbie-theme-dot[data-theme="soldoros"] {
  --dot-color: #b58cff;
  --dot-glow: rgba(181, 140, 255, 0.74);
}

.newbie-list {
  display: grid;
  gap: 14px;
}

.newbie-list.is-lobby-empty {
  min-height: clamp(300px, calc(100dvh - 248px), 520px);
  align-content: center;
}

.newbie-list.is-lobby-empty.is-signed-out-lobby {
  min-height: calc(100dvh - 112px - env(safe-area-inset-bottom, 0px));
}

.newbie-create-view {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 0;
  background: rgba(2, 6, 15, 0.58);
  backdrop-filter: blur(6px);
}

.newbie-create-sheet {
  display: grid;
  gap: 14px;
  width: min(430px, 100%);
  max-height: min(86dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(117, 151, 229, 0.56);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(5, 12, 26, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -18px 44px rgba(0, 0, 0, 0.38);
}

.newbie-header--form {
  position: sticky;
  top: -16px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 2px 58px 4px 0;
  background: linear-gradient(180deg, rgba(5, 12, 26, 0.98) 0%, rgba(5, 12, 26, 0.9) 72%, rgba(5, 12, 26, 0));
}

.newbie-header--form > div {
  min-width: 0;
}

.newbie-create-wallet-summary {
  display: inline-flex;
  min-width: 0;
  max-width: min(188px, 42vw);
  min-height: 28px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 210, 0.42);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(17, 68, 78, 0.78);
  color: #cffff7;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(3, 10, 24, 0.18);
}

.newbie-create-subtitle {
  margin: 3px 0 0;
  color: #bca97e;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.newbie-create-privacy-note {
  color: #bfeadf;
}

.newbie-create-close {
  top: 0;
  right: 0;
}

.newbie-party-section {
  display: grid;
  gap: 8px;
}

.newbie-party-section__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #dfe9ff;
}

.newbie-party-section__header::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  content: "";
  background: var(--section-color, var(--newbie-violet));
  box-shadow: 0 0 12px var(--section-color, var(--newbie-violet));
}

.newbie-party-section__header::after {
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(103, 135, 207, 0.8), rgba(103, 135, 207, 0));
}

.newbie-party-section__header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 1000;
}

.newbie-party-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 23px;
  border: 1px solid rgba(102, 137, 212, 0.64);
  border-radius: 999px;
  color: #c9d9ff;
  font-size: 12px;
  font-weight: 900;
}

.newbie-party-section__list {
  display: grid;
  gap: 10px;
}

.newbie-party-section__empty {
  margin: 0;
  border: 1px dashed rgba(126, 157, 226, 0.24);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(8, 16, 34, 0.28);
  color: #8fa3c5;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.newbie-list-status,
.newbie-empty,
.newbie-feedback {
  border: 1px solid rgba(90, 122, 197, 0.5);
  border-radius: 18px;
  padding: 12px;
  background: rgba(12, 25, 49, 0.9);
  color: var(--newbie-muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.newbie-feedback {
  background: rgba(23, 62, 67, 0.88);
  color: #bdfdf1;
  text-align: left;
}

.newbie-feedback[data-tone="error"] {
  background: rgba(82, 22, 42, 0.88);
  color: #ffd0da;
}

.newbie-lobby-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 8px 0;
  text-align: center;
}

.newbie-lobby-empty__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 1px solid rgba(139, 166, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(78, 98, 205, 0.3), rgba(16, 31, 72, 0.2) 50%, rgba(12, 23, 50, 0.05) 72%),
    rgba(12, 22, 47, 0.26);
  color: #96a8ff;
  box-shadow:
    0 0 0 24px rgba(38, 56, 128, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.newbie-lobby-empty__people {
  position: relative;
  display: block;
  width: 48px;
  height: 38px;
}

.newbie-lobby-empty__people::before {
  position: absolute;
  top: 3px;
  left: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 19px 0 0 currentColor;
}

.newbie-lobby-empty__people::after {
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 40px;
  height: 17px;
  border-radius: 16px 16px 5px 5px;
  content: "";
  background: currentColor;
  clip-path: polygon(0 100%, 0 66%, 8% 40%, 24% 22%, 50% 16%, 76% 22%, 92% 40%, 100% 66%, 100% 100%);
}

.newbie-lobby-empty__title,
.newbie-lobby-empty__description {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.newbie-lobby-empty__title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1.18;
  letter-spacing: 0;
}

.newbie-lobby-empty__description {
  color: #97a6c8;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.newbie-lobby-empty--signed-out {
  width: min(100%, 340px);
  gap: 14px;
}

.newbie-lobby-empty--signed-out .newbie-lobby-empty__description {
  color: #fff8e1;
  font-size: 17px;
  font-weight: 1000;
  line-height: 1.38;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.newbie-lobby-empty--signed-out .newbie-lobby-empty__actions {
  margin-top: 0;
}

.newbie-lobby-empty__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 320px);
  margin-top: 2px;
}

.newbie-lobby-empty__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  border: 1px solid rgba(213, 183, 92, 0.42);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(15, 17, 12, 0.76);
  color: #f6e9bd;
  font: inherit;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 241, 194, 0.1), 0 10px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.newbie-lobby-empty__action--primary {
  min-width: 128px;
  border-color: rgba(255, 229, 148, 0.76);
  background: linear-gradient(180deg, #f1d16f 0%, #9d6c1d 100%);
  color: #171108;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 250, 220, 0.42), 0 10px 24px rgba(0, 0, 0, 0.24), 0 0 18px rgba(218, 184, 91, 0.18);
}

.newbie-lobby-empty__action--secondary,
.newbie-lobby-empty__action--login {
  background: linear-gradient(180deg, rgba(48, 47, 28, 0.78), rgba(14, 15, 10, 0.88));
}

.newbie-lobby-empty__action:hover,
.newbie-lobby-empty__action:focus-visible {
  border-color: rgba(255, 237, 171, 0.88);
  color: #fff5cf;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 241, 194, 0.18), 0 0 0 2px rgba(218, 184, 91, 0.16), 0 12px 26px rgba(0, 0, 0, 0.24);
}

.newbie-lobby-empty__action--primary:hover,
.newbie-lobby-empty__action--primary:focus-visible {
  background: linear-gradient(180deg, #ffe28a 0%, #b77b1e 100%);
  color: #171108;
}

.newbie-lobby-temporary-divider {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  align-items: center;
  gap: 10px;
  margin: 2px 3px -2px;
  min-width: 0;
  color: #ffe8af;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-lobby-temporary-divider__line {
  display: block;
  min-width: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(239, 198, 111, 0.72) 0 8px,
    transparent 8px 14px
  );
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.34);
}

.newbie-lobby-temporary-divider__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px dashed rgba(239, 198, 111, 0.62);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(14, 11, 6, 0.74);
  color: #ffefc6;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 201, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.22);
}

.newbie-lobby-temporary-description {
  margin: -6px 9px 0;
  color: rgba(255, 239, 198, 0.78);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.45;
  word-break: keep-all;
}

.newbie-party-card {
  position: relative;
  display: block;
  align-self: start;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid rgba(96, 134, 224, 0.9);
  border-radius: 23px;
  padding: 9px 14px 10px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    rgba(25, 42, 86, 0.82);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.newbie-party-card::before {
  content: "";
  display: none;
}

.newbie-party-card--with-profile {
  padding-left: 68px;
}

.newbie-party-card:hover,
.newbie-party-card:focus-visible {
  outline: none;
  border-color: rgba(132, 167, 255, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    rgba(27, 48, 96, 0.88);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 0 0 2px rgba(82, 119, 255, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.newbie-party-card:active {
  border-color: rgba(112, 149, 235, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(20, 34, 70, 0.88);
  transform: translateY(0) scale(0.992);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

.newbie-party-card[data-temporary-completed="true"] {
  border-color: rgba(239, 198, 111, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 232, 175, 0.1), rgba(255, 255, 255, 0)),
    rgba(45, 35, 18, 0.86);
}

.newbie-party-theme-edge {
  --newbie-party-theme-edge-accent: #fb7185;
  --newbie-party-theme-edge-text: #0f172a;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: 20px;
  overflow: hidden;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--newbie-party-theme-edge-accent) 88%, #ffffff), var(--newbie-party-theme-edge-accent));
  color: var(--newbie-party-theme-edge-text);
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.16),
    0 7px 16px rgba(0, 0, 0, 0.18);
}

.newbie-party-theme-edge-color {
  align-self: stretch;
  flex: 0 0 2px;
  background: rgba(3, 7, 18, 0.18);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.16);
}

.newbie-party-theme-edge-text {
  display: block;
  min-width: 0;
  max-height: calc(100% - 8px);
  overflow: hidden;
  margin: auto;
  color: currentColor;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-shadow: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.newbie-party-theme-edge[data-theme="extinction"] {
  --newbie-party-theme-edge-accent: #fbbf24;
  --newbie-party-theme-edge-text: #0f172a;
}

.newbie-party-theme-edge[data-theme="tower"] {
  --newbie-party-theme-edge-accent: #22d3ee;
  --newbie-party-theme-edge-text: #0f172a;
}

.newbie-party-card__head,
.newbie-party-card__meta {
  display: flex;
  align-items: center;
  min-width: 0;
}

.newbie-party-card__head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.newbie-party-card__meta {
  flex: 1 1 auto;
  gap: 5px 6px;
  flex-wrap: wrap;
}

.newbie-party-card__main {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.newbie-party-card__copy {
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.newbie-party-card__side {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.newbie-party-card h2 {
  width: 100%;
  min-width: 0;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.newbie-party-card h2.newbie-party-card__title {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: clip;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.newbie-party-card__title-text {
  min-width: 0;
  flex: 1 1 auto;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.newbie-party-card__temporary-time {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 2px;
  overflow: hidden;
  color: #ffe8af;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-party-host-profile-badge {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.newbie-party-card__identity {
  position: absolute;
  top: 50%;
  left: 11px;
  z-index: 2;
  width: 46px;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.newbie-party-card__identity > .newbie-party-host-profile-badge {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.34));
}

.newbie-party-host-role-label {
  width: 42px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 4px;
  background: rgba(21, 128, 61, 0.16);
  color: #bff7d6;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(134, 239, 172, 0.28),
    0 3px 7px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
}

.newbie-party-host-role-label[data-role="veteran"] {
  background: rgba(146, 96, 15, 0.2);
  color: #ffe2a0;
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.3),
    0 3px 7px rgba(0, 0, 0, 0.18);
}

.newbie-party-dungeon-badge {
  min-height: 20px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(232, 195, 111, 0.38);
  border-radius: 999px;
  padding: 0 8px;
  background:
    linear-gradient(180deg, rgba(68, 50, 19, 0.74), rgba(28, 19, 7, 0.72));
  color: #ffe9ad;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    0 6px 12px rgba(8, 17, 38, 0.18);
}

.newbie-party-dungeon-badge__theme,
.newbie-party-dungeon-badge__detail {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-party-dungeon-badge__theme {
  color: #fff0bd;
}

.newbie-party-dungeon-badge__detail {
  color: #cfe2bd;
  font-weight: 900;
}

.newbie-party-host {
  min-height: 20px;
  max-width: clamp(76px, 27vw, 148px);
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(166, 198, 255, 0.2);
  border-radius: 999px;
  padding: 0 7px 0 6px;
  background: rgba(96, 134, 224, 0.18);
  color: #eef5ff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 5px 12px rgba(8, 17, 38, 0.14);
}

.newbie-party-host-icon {
  flex: 0 0 auto;
  color: #fde68a;
  font-size: 9px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(250, 204, 21, 0.22);
}

.newbie-party-host-name {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-party-status-time {
  min-height: 0;
  max-width: 112px;
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #b9c8e4;
  font-size: 10px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: none;
}

.newbie-party-status-time.newbie-party-help-character-count {
  max-width: none;
  flex: 0 0 auto;
  overflow: visible;
}

.newbie-party-status-time[data-time-tone="active"] {
  color: #69f0d2;
}

.newbie-party-status-time[data-time-tone="urgent"] {
  color: #fde68a;
}

.newbie-party-status-time[data-time-tone="expired"] {
  color: #fca5a5;
}

.newbie-party-status-time-icon {
  flex: 0 0 auto;
  color: #8fa4ca;
  font-size: 10px;
  line-height: 1;
}

.newbie-party-status-time-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-party-card__validity {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 20px;
  margin-left: auto;
  border: 1px solid rgba(143, 164, 202, 0.16);
  border-radius: 999px;
  padding: 0 7px 0 6px;
  background: rgba(15, 23, 42, 0.28);
  color: #c8d5ea;
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 5px 12px rgba(3, 8, 18, 0.18);
}

.newbie-party-card__validity-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.newbie-party-card__validity-label {
  min-width: 0;
}

.newbie-party-card__validity[data-validity-tone="urgent"] {
  border-color: rgba(234, 179, 8, 0.34);
  background: rgba(234, 179, 8, 0.14);
  color: #fde68a;
}

.newbie-party-card__validity[data-validity-tone="temporary"] {
  border-color: rgba(167, 139, 250, 0.34);
  background: rgba(88, 66, 160, 0.18);
  color: #ddd6fe;
}

.newbie-party-card__validity[data-validity-tone="expired"] {
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.newbie-theme-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  width: fit-content;
  border: 1px solid rgba(176, 195, 245, 0.38);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #e7efff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.newbie-form,
.newbie-modal,
.newbie-fieldset,
.newbie-field,
.newbie-step-section {
  display: grid;
  gap: 12px;
}

.newbie-form {
  border: 1px solid var(--newbie-line);
  border-radius: 24px;
  padding: 16px;
  background: rgba(9, 18, 36, 0.94);
  box-shadow: var(--newbie-shadow);
}

.newbie-create-signin-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(117, 184, 173, 0.46);
  border-radius: 14px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(22, 68, 62, 0.72), rgba(16, 18, 12, 0.92));
  box-shadow: inset 0 1px 0 rgba(234, 255, 247, 0.1);
}

.newbie-create-signin-note[hidden] {
  display: none;
}

.newbie-create-signin-note strong {
  display: block;
  color: #f3fff8;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.25;
}

.newbie-create-signin-note p {
  margin: 4px 0 0;
  color: #c3d8cc;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
}

.newbie-create-signin-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(202, 244, 226, 0.68);
  border-radius: 999px;
  padding: 0 13px;
  background: linear-gradient(180deg, rgba(159, 220, 196, 0.96), rgba(65, 135, 120, 0.96));
  color: #06100e;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 9px 18px rgba(0, 0, 0, 0.2);
}

.newbie-fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.newbie-step-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #eff5ff;
  font-size: 14px;
  font-weight: 1000;
}

.newbie-step-label span {
  color: var(--newbie-cyan);
  font-size: 11px;
  font-weight: 1000;
}

.newbie-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(82, 111, 183, 0.54);
  border-radius: 18px;
  padding: 5px;
  background: rgba(4, 11, 24, 0.82);
}

.newbie-segmented label,
.newbie-segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--newbie-muted);
  font-size: 13px;
  font-weight: 950;
}

.newbie-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.newbie-segmented label:has(input:checked),
.newbie-segmented button.is-active {
  background: linear-gradient(180deg, rgba(62, 93, 153, 0.92), rgba(35, 58, 113, 0.92));
  color: #ffffff;
  box-shadow: inset 0 0 18px rgba(108, 159, 255, 0.2);
}

.newbie-theme-segmented {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border-radius: 16px;
  padding: 4px;
}

.newbie-theme-segmented label {
  min-height: 34px;
  border-radius: 12px;
  padding: 0 4px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.newbie-difficulty-field {
  display: grid;
  gap: 6px;
}

.newbie-difficulty-field > span {
  color: #9fb5da;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.newbie-difficulty-segmented {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4px;
  border-radius: 14px;
  padding: 4px;
}

.newbie-difficulty-segmented label {
  min-height: 32px;
  border-radius: 10px;
  padding: 0 4px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.newbie-field > span:not(.newbie-step-label) {
  color: var(--newbie-muted);
  font-size: 12px;
  font-weight: 900;
}

.newbie-title-input-row,
.newbie-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.newbie-title-input-row input,
.newbie-field input,
.newbie-field textarea,
.newbie-chat-compose input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(94, 124, 197, 0.62);
  border-radius: 14px;
  padding: 0 12px;
  background: rgba(5, 12, 26, 0.92);
  color: #f8fbff;
  font-size: 14px;
  font-weight: 850;
}

.newbie-field-helper,
.newbie-submit-helper {
  margin: 0;
  color: #c0b28a;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
}

.newbie-field textarea {
  min-height: 146px;
  padding: 12px;
  line-height: 1.45;
  resize: vertical;
}

.newbie-submit-button,
.newbie-modal-action--primary {
  border: 1px solid rgba(93, 143, 255, 0.66);
  background: linear-gradient(180deg, #6d8cff, #385ddf);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(85, 126, 255, 0.28);
}

.newbie-submit-button {
  min-height: 46px;
}

.newbie-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  width: min(420px, calc(100vw - 8px));
  height: 52px;
  min-height: 52px;
  border: 1px solid rgba(98, 137, 220, 0.72);
  border-radius: 999px;
  padding: 3px 18px;
  background: linear-gradient(180deg, #091227, #050b18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 16px 32px rgba(0, 0, 0, 0.38);
  overflow: visible;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.newbie-bottom-nav-button {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 18px;
  padding: 5px 6px 4px;
  color: #93a2c3;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  overflow: visible;
}

.newbie-bottom-nav-button[data-newbie-surface="lobby"] {
  grid-column: 1;
}

.newbie-bottom-nav-button[data-newbie-surface="profile"] {
  grid-column: 3;
}

.newbie-bottom-nav-button[data-newbie-surface="menu"] {
  grid-column: 2;
}

.newbie-bottom-nav-button.is-active {
  color: #ffffff;
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu {
  z-index: 2;
  justify-self: center;
  width: 64px;
  height: 64px;
  min-height: 64px;
  margin-top: -22px;
  padding: 0;
  border: 1px solid rgba(239, 199, 114, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 242, 202, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(83, 60, 28, 0.96), rgba(30, 21, 10, 0.98));
  color: #ffe8af;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 202, 0.18),
    inset 0 -8px 15px rgba(77, 47, 10, 0.28),
    0 0 0 6px rgba(18, 12, 6, 0.88),
    0 0 0 8px rgba(239, 199, 114, 0.18),
    0 0 18px rgba(214, 164, 79, 0.38),
    0 10px 18px rgba(0, 0, 0, 0.4);
}

.newbie-bottom-nav-menu .newbie-bottom-nav-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu > span:not(.newbie-bottom-nav-icon) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.newbie-bottom-nav-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: visible;
}

.newbie-bottom-nav-icon-svg,
.newbie-bottom-menu-action-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newbie-bottom-nav-icon-svg {
  stroke-width: 2.2;
}

.newbie-bottom-menu-action-icon-svg {
  stroke-width: 2.15;
}

.newbie-bottom-nav-icon--lobby::before,
.newbie-bottom-nav-icon--lobby::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  content: "";
  background: currentColor;
  box-shadow: 10px 0 0 currentColor, 0 10px 0 currentColor, 10px 10px 0 currentColor;
}

.newbie-bottom-nav-icon--profile::before {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
}

.newbie-bottom-nav-icon--profile::after {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 5px 5px;
  content: "";
}

.newbie-bottom-nav-icon--menu::before {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

.newbie-bottom-nav-menu .newbie-bottom-nav-icon--menu::before {
  content: none;
}

.newbie-bottom-nav-menu .newbie-bottom-nav-icon-svg {
  width: 30px;
  height: 30px;
  margin: -1px;
  stroke-width: 1.9;
}

.newbie-bottom-nav-create {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 74px;
  height: 74px;
  min-height: 74px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(111, 150, 238, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(180deg, #688dff 0%, #375fe8 58%, #2548c9 100%);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(16, 43, 137, 0.28),
    0 0 0 9px rgba(26, 43, 82, 0.84),
    0 0 24px rgba(84, 125, 255, 0.58),
    0 12px 22px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -60%);
}

.newbie-bottom-nav-create > span:not(.newbie-bottom-nav-icon) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newbie-bottom-menu {
  position: fixed;
  left: 50%;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: min(372px, calc(100vw - 28px));
  transform: translateX(-50%);
}

.newbie-bottom-menu-panel {
  border: 1px solid rgba(143, 172, 246, 0.52);
  border-radius: 12px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(19, 35, 70, 0.98), rgba(7, 14, 31, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.44);
}

.newbie-bottom-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.newbie-bottom-menu-head h2 {
  margin: 0;
  color: #eef4ff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
}

.newbie-bottom-menu-close {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(174, 189, 229, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #e6eeff;
}

.newbie-bottom-menu-close::before,
.newbie-bottom-menu-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: currentColor;
}

.newbie-bottom-menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.newbie-bottom-menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.newbie-bottom-menu-help {
  display: grid;
  gap: 7px;
  margin-bottom: 9px;
}

.newbie-bottom-menu-help-toggle {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(105, 240, 210, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(90deg, rgba(9, 19, 15, 0.94), rgba(9, 21, 16, 0.74)),
    linear-gradient(180deg, rgba(14, 45, 62, 0.72), rgba(10, 24, 45, 0.74));
  color: #ffffff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.newbie-bottom-menu-help-toggle:hover,
.newbie-bottom-menu-help-toggle:focus-visible {
  outline: none;
  border-color: rgba(105, 240, 210, 0.48);
  background:
    linear-gradient(90deg, rgba(11, 24, 18, 0.92), rgba(11, 27, 20, 0.7)),
    linear-gradient(180deg, rgba(18, 57, 78, 0.78), rgba(12, 30, 56, 0.8));
}

.newbie-bottom-menu-help-toggle-symbol {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 66% 24%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #f9fbf4, #edf5ee);
  color: #10866f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 9px 18px rgba(0, 0, 0, 0.22);
}

.newbie-bottom-menu-help-toggle-symbol-icon {
  width: 38px;
  height: 38px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newbie-bottom-menu-help-toggle-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  justify-items: start;
  text-align: left;
}

.newbie-bottom-menu-help-toggle-label {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1;
  justify-self: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-bottom-menu-help-toggle-desc {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: rgba(225, 244, 196, 0.66);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  justify-self: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-bottom-menu-help-toggle-icon {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.75;
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.newbie-bottom-menu-help-toggle.is-open .newbie-bottom-menu-help-toggle-icon {
  transform: translateY(3px) rotate(225deg);
}

.newbie-bottom-menu-help .newbie-bottom-menu-stats {
  margin-bottom: 0;
}

.newbie-bottom-menu-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 9px;
}

.newbie-bottom-menu-stat {
  display: grid;
  min-width: 0;
  gap: 5px;
  border: 1px solid rgba(105, 240, 210, 0.28);
  border-radius: 8px;
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(14, 45, 62, 0.72), rgba(10, 24, 45, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.newbie-bottom-menu-stat span {
  min-width: 0;
  overflow: hidden;
  color: #9fb5da;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-bottom-menu-stat strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 17px;
  font-weight: 1000;
  line-height: 1.05;
}

.newbie-bottom-menu-actions {
  display: grid;
  gap: 8px;
}

.newbie-bottom-menu-action {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgba(143, 172, 246, 0.54);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
}

.newbie-bottom-menu-action-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.newbie-bottom-menu-action-title,
.newbie-bottom-menu-action-desc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-bottom-menu-action-title {
  line-height: 1.08;
}

.newbie-bottom-menu-action-desc {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.newbie-bottom-menu-action--primary {
  border-color: rgba(148, 183, 255, 0.74);
  background: linear-gradient(180deg, rgba(94, 134, 255, 0.98), rgba(44, 80, 207, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.newbie-bottom-menu-action--primary .newbie-bottom-menu-action-desc {
  color: rgba(255, 255, 255, 0.78);
}

.newbie-bottom-menu-action-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.newbie-bottom-menu-action-icon--login,
.newbie-bottom-menu-action-icon--logout,
.newbie-bottom-menu-action-icon--notifications,
.newbie-bottom-menu-action-icon--records,
.newbie-bottom-menu-action-icon--hall-of-fame,
.newbie-bottom-menu-action-icon--job-guide,
.newbie-bottom-menu-action-icon--newbie-guide,
.newbie-bottom-menu-action-icon--policy,
.newbie-bottom-menu-action-icon--inquiry {
  --newbie-bottom-menu-action-icon-mask: none;
}

.newbie-bottom-menu-action-icon--login::before,
.newbie-bottom-menu-action-icon--logout::before,
.newbie-bottom-menu-action-icon--notifications::before,
.newbie-bottom-menu-action-icon--records::before,
.newbie-bottom-menu-action-icon--hall-of-fame::before,
.newbie-bottom-menu-action-icon--job-guide::before,
.newbie-bottom-menu-action-icon--newbie-guide::before,
.newbie-bottom-menu-action-icon--policy::before,
.newbie-bottom-menu-action-icon--inquiry::before {
  width: 21px;
  height: 21px;
  content: "";
  background: currentColor;
  opacity: 0.94;
  -webkit-mask: var(--newbie-bottom-menu-action-icon-mask) center / contain no-repeat;
  mask: var(--newbie-bottom-menu-action-icon-mask) center / contain no-repeat;
}

.newbie-bottom-menu-action-icon--login::after,
.newbie-bottom-menu-action-icon--logout::after,
.newbie-bottom-menu-action-icon--notifications::after,
.newbie-bottom-menu-action-icon--records::after,
.newbie-bottom-menu-action-icon--hall-of-fame::after,
.newbie-bottom-menu-action-icon--job-guide::after,
.newbie-bottom-menu-action-icon--newbie-guide::after,
.newbie-bottom-menu-action-icon--policy::after,
.newbie-bottom-menu-action-icon--inquiry::after {
  content: none;
}

.newbie-bottom-menu-action-icon--login {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='m10 17 5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--logout {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--notifications {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.268 21a2 2 0 0 0 3.464 0'/%3E%3Cpath d='M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.674C19.41 13.956 18 12.499 18 8a6 6 0 0 0-12 0c0 4.499-1.411 5.956-2.738 7.326'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--create::before,
.newbie-bottom-menu-action-icon--create::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
}

.newbie-bottom-menu-action-icon--create::before {
  width: 16px;
  height: 3px;
}

.newbie-bottom-menu-action-icon--create::after {
  width: 3px;
  height: 16px;
}

.newbie-bottom-menu-action-icon--create::before,
.newbie-bottom-menu-action-icon--create::after {
  content: none;
}

.newbie-bottom-menu-action-icon--create .newbie-bottom-menu-action-icon-svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.25;
}

.newbie-bottom-menu-action-icon--records {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--hall-of-fame {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--job-guide {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M16 12h2'/%3E%3Cpath d='M16 8h2'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3Cpath d='M6 12h2'/%3E%3Cpath d='M6 8h2'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--newbie-guide {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v8l3-3 3 3V2'/%3E%3Cpath d='M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19v20H6.5a2.5 2.5 0 0 1 0-5H19'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--policy {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-action-icon--inquiry {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='m9 10 2 2 4-4'/%3E%3C/svg%3E");
}

.newbie-bottom-nav-icon--create::before,
.newbie-bottom-nav-icon--create::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25px;
  height: 5px;
  border-radius: 999px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
}

.newbie-bottom-nav-icon--create::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.newbie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 6, 15, 0.72);
  backdrop-filter: none;
}

#newbie-chat-modal {
  grid-template-rows: minmax(0, 1fr);
  place-items: end center;
  padding: 56px 16px calc(72px + env(safe-area-inset-bottom, 0px));
}

#newbie-party-modal .newbie-modal {
  width: min(414px, calc(100vw - 24px));
  max-height: min(calc(100dvh - 32px), 280px);
  overflow-x: hidden;
  overscroll-behavior: contain;
  gap: 0;
  border-color: rgba(221, 175, 84, 0.6);
  border-radius: 10px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(28, 26, 18, 0.98), rgba(7, 8, 6, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 188, 0.16),
    inset 0 0 0 1px rgba(92, 68, 28, 0.26),
    0 24px 46px rgba(0, 0, 0, 0.46);
}

#newbie-party-modal .newbie-modal-topline {
  min-width: 0;
  justify-content: flex-start;
  padding-right: 0;
}

#newbie-party-modal .newbie-party-modal-heading {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 4px 14px 10px;
}

#newbie-party-modal .newbie-modal h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff4d8;
  font-size: clamp(15px, 2.7vw, 16px);
  font-weight: 1000;
  line-height: 1.28;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

#newbie-party-modal .newbie-theme-badge {
  border-color: rgba(239, 199, 114, 0.36);
  background: rgba(71, 52, 20, 0.58);
  color: #ffe3a3;
}

#newbie-party-modal .newbie-modal-close,
#newbie-party-modal .newbie-modal-topline {
  display: none;
}

#newbie-party-modal .newbie-party-modal-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(239, 199, 114, 0.18);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(9, 10, 7, 0.96), rgba(16, 15, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.06),
    inset 0 -24px 38px rgba(0, 0, 0, 0.24);
}

#newbie-party-modal .newbie-party-modal-rule {
  position: relative;
  height: 14px;
}

#newbie-party-modal .newbie-party-modal-rule::before {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(214, 185, 119, 0.2) 9%, rgba(214, 185, 119, 0.32) 48%, rgba(214, 185, 119, 0.2) 91%, transparent);
}

#newbie-party-modal .newbie-party-modal-rule::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(214, 185, 119, 0.26);
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

#newbie-party-modal .newbie-party-modal-time-row,
#newbie-party-modal .newbie-party-modal-status,
#newbie-party-modal .newbie-party-modal-cta {
  display: inline-flex;
  align-items: center;
}

#newbie-party-modal .newbie-party-modal-time-row {
  gap: 12px;
  min-width: 0;
}

#newbie-party-modal .newbie-party-modal-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

#newbie-party-modal .newbie-party-modal-icon--clock {
  width: 20px;
  height: 20px;
  color: #f0c66b;
  filter: drop-shadow(0 0 8px rgba(240, 198, 107, 0.2));
}

#newbie-party-modal .newbie-modal-time {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  color: #d8c8a6;
  font-size: clamp(16px, 3.6vw, 22px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

#newbie-party-modal .newbie-party-modal-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-top: 1px solid rgba(239, 199, 114, 0.09);
  padding-top: 14px;
}

#newbie-party-modal .newbie-party-modal-status {
  gap: 10px;
  min-width: 0;
  color: rgba(223, 212, 190, 0.68);
  font-size: clamp(12px, 2.35vw, 14px);
  font-weight: 950;
  line-height: 1.16;
}

#newbie-party-modal .newbie-party-modal-status span:last-child {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#newbie-party-modal .newbie-party-modal-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(214, 185, 119, 0.22);
  border-radius: 999px;
  color: #e3d3ad;
  background: rgba(10, 10, 7, 0.54);
}

#newbie-party-modal .newbie-party-modal-icon--users {
  width: 19px;
  height: 19px;
}

#newbie-party-modal .newbie-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

#newbie-party-modal .newbie-party-modal-cta {
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  border-color: rgba(255, 223, 134, 0.88);
  border-radius: 9px;
  padding: 0 12px;
  background:
    linear-gradient(180deg, #f3cd6d, #c18b32 58%, #8e621f);
  color: #211705;
  font-size: clamp(14px, 2.8vw, 17px);
  font-weight: 1000;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 225, 0.42),
    inset 0 -10px 18px rgba(89, 55, 9, 0.26),
    0 9px 18px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
}

#newbie-party-modal .newbie-party-modal-cta-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
  filter: drop-shadow(0 1px 0 rgba(255, 238, 180, 0.28));
}

#newbie-party-modal .newbie-party-modal-cta:hover:not(:disabled),
#newbie-party-modal .newbie-party-modal-cta:focus-visible:not(:disabled) {
  border-color: rgba(255, 238, 164, 0.98);
  background:
    linear-gradient(180deg, #ffd978, #cd963b 58%, #9a6b24);
}

@media (max-width: 480px) {
  #newbie-party-modal .newbie-party-modal-panel {
    padding: 12px;
  }

  #newbie-party-modal .newbie-party-modal-action-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
  }

  #newbie-party-modal .newbie-party-modal-status {
    gap: 7px;
    font-size: 12px;
  }

  #newbie-party-modal .newbie-party-modal-status-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  #newbie-party-modal .newbie-party-modal-icon--users {
    width: 18px;
    height: 18px;
  }

  #newbie-party-modal .newbie-party-modal-cta {
    gap: 7px;
    min-height: 40px;
    padding-inline: 9px;
    font-size: 16px;
  }

  #newbie-party-modal .newbie-party-modal-cta-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}

@media (max-width: 380px) {
  #newbie-party-modal .newbie-modal {
    width: min(414px, calc(100vw - 16px));
    padding: 8px;
  }

  #newbie-party-modal .newbie-party-modal-panel {
    padding: 10px;
  }

  #newbie-party-modal .newbie-party-modal-action-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 54%);
    gap: 8px;
  }

  #newbie-party-modal .newbie-party-modal-cta {
    gap: 5px;
    min-height: 38px;
    padding-inline: 6px;
    font-size: clamp(13px, 3.7vw, 14px);
  }

  #newbie-party-modal .newbie-party-modal-status {
    gap: 7px;
    font-size: 11px;
  }

  #newbie-party-modal .newbie-party-modal-status-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
}

#newbie-title-edit-modal {
  z-index: 130;
}

#newbie-policy-modal,
#newbie-job-guide-modal,
#newbie-newbie-guide-modal,
#newbie-hall-of-fame-modal,
#newbie-inquiry-modal {
  background: rgba(9, 6, 3, 0.42);
  backdrop-filter: none;
}

#newbie-newbie-guide-modal[aria-hidden="true"] {
  display: grid !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.newbie-modal {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--newbie-line-strong);
  border-radius: 24px;
  padding: 18px;
  background: rgba(8, 17, 34, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46);
}

.newbie-modal h2 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 1000;
}

.newbie-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(106, 138, 213, 0.56);
  background: rgba(8, 17, 34, 0.9);
  color: #dce8ff;
  font-size: 18px;
  line-height: 1;
}

.newbie-modal-topline,
.newbie-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.newbie-modal-topline {
  justify-content: space-between;
  padding-right: 36px;
}

.newbie-modal-time,
.newbie-inquiry-account-note {
  margin: 0;
  color: var(--newbie-muted);
  font-size: 13px;
  font-weight: 800;
}

.newbie-modal-actions {
  flex-wrap: wrap;
}

.newbie-modal-action {
  min-height: 38px;
  border: 1px solid rgba(94, 124, 197, 0.58);
  border-radius: 14px;
  padding: 0 13px;
  background: rgba(20, 39, 80, 0.82);
}

.newbie-modal-action--danger {
  border-color: rgba(220, 109, 88, 0.52);
  background: rgba(88, 30, 23, 0.82);
  color: #ffd1c5;
}

.newbie-chat-modal {
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(414px, calc(100vw - 44px));
  height: min(520px, 100%);
  min-height: 0;
  max-height: 100%;
  overflow: visible;
}

.newbie-chat-modal .newbie-chat-thread {
  grid-row: 2;
  min-height: 0;
  max-height: none;
}

.newbie-chat-modal .newbie-chat-compose {
  grid-row: 3;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.newbie-chat-match-consent {
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(216, 184, 94, 0.5);
  border-radius: 8px;
  padding: 9px 10px;
  background: linear-gradient(180deg, rgba(55, 42, 19, 0.96), rgba(24, 19, 10, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 244, 204, 0.1);
}

.newbie-chat-match-consent[hidden] {
  display: none;
}

.newbie-chat-match-consent__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.newbie-chat-match-consent__copy strong,
.newbie-chat-match-consent__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-chat-match-consent__copy strong {
  color: #fff0bd;
  font-size: 12px;
  font-weight: 1000;
}

.newbie-chat-match-consent__copy span {
  color: #c5b88f;
  font-size: 10px;
  font-weight: 800;
}

.newbie-chat-match-consent__button {
  min-width: 88px;
  min-height: 36px;
  border: 1px solid rgba(255, 221, 125, 0.72);
  border-radius: 7px;
  padding: 0 10px;
  background: linear-gradient(180deg, #e2c05f, #9b6f2e);
  color: #171006;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.newbie-chat-match-consent__button:disabled {
  cursor: default;
  filter: saturate(0.55);
  opacity: 0.76;
}

.newbie-chat-match-consent[data-match-state="counterpart-consented"] {
  border-color: rgba(113, 209, 186, 0.64);
  background: linear-gradient(180deg, rgba(28, 76, 64, 0.96), rgba(14, 37, 32, 0.96));
}

.newbie-chat-match-consent[data-match-state="self-consented"] {
  border-color: rgba(108, 143, 212, 0.62);
  background: linear-gradient(180deg, rgba(30, 49, 86, 0.96), rgba(15, 25, 46, 0.96));
}

.newbie-chat-match-consent[data-match-state="matched"] {
  border-color: rgba(119, 221, 178, 0.72);
  background: linear-gradient(180deg, rgba(35, 94, 68, 0.98), rgba(17, 48, 36, 0.98));
}

.newbie-chat-match-consent[data-match-state="matched"] .newbie-chat-match-consent__copy strong,
.newbie-chat-match-consent[data-match-state="matched"] .newbie-chat-match-consent__copy span {
  color: #e4fff1;
}

.newbie-chat-floating-actions {
  position: absolute;
  top: -14px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-height: 38px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(190, 145, 72, 0.46);
  border-radius: 999px;
  padding: 3px;
  background: rgba(9, 6, 3, 0.9);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 239, 194, 0.1);
  backdrop-filter: blur(14px);
}

.newbie-chat-floating-actions[hidden],
.newbie-chat-validity[hidden],
.newbie-chat-room-action[hidden],
.newbie-chat-members-toggle[hidden],
.newbie-chat-more-toggle[hidden],
.newbie-chat-more-menu[hidden],
.newbie-chat-members[hidden] {
  display: none;
}

.newbie-chat-validity {
  min-height: 32px;
  max-width: 124px;
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(105, 240, 210, 0.34);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(20, 126, 116, 0.22);
  color: #d7fff7;
  font-size: 11px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.newbie-chat-validity[data-validity-tone="urgent"] {
  border-color: rgba(234, 179, 8, 0.4);
  background: rgba(234, 179, 8, 0.15);
  color: #fde68a;
}

.newbie-chat-validity[data-validity-tone="temporary"] {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(88, 66, 160, 0.18);
  color: #ede9fe;
}

.newbie-chat-validity[data-validity-tone="expired"] {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.newbie-chat-room-action,
.newbie-chat-members-toggle,
.newbie-chat-more-toggle {
  min-height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 145, 72, 0.4);
  border-radius: 999px;
  background: rgba(16, 11, 5, 0.74);
  color: #ead8ac;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 239, 194, 0.08);
  transition:
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.newbie-chat-room-action {
  gap: 6px;
  padding: 0 10px;
}

.newbie-chat-members-toggle,
.newbie-chat-more-toggle {
  min-width: 34px;
  padding: 0 8px;
}

.newbie-chat-room-action:hover:not(:disabled),
.newbie-chat-room-action:focus-visible:not(:disabled),
.newbie-chat-members-toggle:hover,
.newbie-chat-members-toggle:focus-visible,
.newbie-chat-more-toggle:hover,
.newbie-chat-more-toggle:focus-visible {
  border-color: rgba(239, 198, 111, 0.72);
  background: rgba(53, 36, 17, 0.94);
  color: #fff5cc;
  outline: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.14),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

.newbie-chat-room-action:disabled,
.newbie-chat-more-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.newbie-chat-room-action-icon,
.newbie-chat-members-icon,
.newbie-chat-more-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newbie-chat-room-action--icon-only {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.newbie-chat-room-action--icon-only > span {
  display: none;
}

.newbie-chat-room-action--complete {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(22, 101, 52, 0.22);
  color: #dcfce7;
}

.newbie-chat-room-action--edit {
  border-color: rgba(96, 165, 250, 0.36);
  background: rgba(30, 64, 175, 0.24);
  color: #dbeafe;
}

.newbie-chat-room-action--cancel {
  border-color: transparent;
  background: transparent;
  color: #fecaca;
}

.newbie-chat-room-action--leave {
  border-color: transparent;
  background: transparent;
  color: #fef3c7;
}

.newbie-chat-members-popover,
.newbie-chat-more {
  position: relative;
  flex: 0 0 auto;
}

.newbie-chat-members-toggle {
  gap: 4px;
}

.newbie-chat-members-count {
  min-width: 10px;
  font-variant-numeric: tabular-nums;
}

.newbie-chat-members,
.newbie-chat-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  border: 1px solid rgba(190, 145, 72, 0.42);
  border-radius: 12px;
  background: rgba(9, 6, 3, 0.96);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 239, 194, 0.08);
}

.newbie-chat-members {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 190px;
  max-height: min(232px, calc(100dvh - 150px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
}

.newbie-chat-more-menu {
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 5px;
}

.newbie-chat-more-menu .newbie-chat-room-action {
  width: 100%;
  min-height: 34px;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 0 10px;
}

@media (max-width: 420px) {
  .newbie-chat-match-consent {
    gap: 7px;
    padding: 8px;
  }

  .newbie-chat-match-consent__button {
    min-width: 80px;
    padding: 0 8px;
  }

  .newbie-chat-floating-actions {
    top: -12px;
    right: 8px;
    max-width: calc(100vw - 34px);
  }

  .newbie-chat-room-action {
    padding: 0 8px;
  }

  .newbie-chat-validity {
    max-width: 104px;
    padding: 0 8px;
  }

  .newbie-chat-room-action--icon-only {
    padding: 0;
  }

  .newbie-chat-members {
    min-width: min(210px, calc(100vw - 38px));
  }
}

.newbie-records-modal {
  width: min(430px, 100%);
  align-self: end;
  max-height: min(76dvh, 720px);
  border-radius: 24px 24px 12px 12px;
}

.newbie-policy-modal {
  align-self: end;
  width: min(414px, calc(100vw - 18px));
  max-height: min(calc(100dvh - 100px), 680px);
  overflow: auto;
  overscroll-behavior: contain;
  margin-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  border-radius: 12px;
}

.newbie-hall-of-fame-modal {
  isolation: isolate;
  align-self: end;
  width: min(414px, calc(100vw - 18px));
  max-height: min(calc(100dvh - 100px), 520px);
  overflow: hidden;
  overscroll-behavior: contain;
  margin-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 12px;
  padding: 18px;
  background:
    radial-gradient(ellipse at 18% -6%, rgba(240, 201, 109, 0.24), transparent 38%),
    radial-gradient(ellipse at 96% 16%, rgba(105, 240, 210, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(27, 23, 15, 0.99), rgba(7, 9, 7, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.18),
    inset 0 0 0 1px rgba(93, 68, 31, 0.3),
    0 24px 46px rgba(0, 0, 0, 0.44);
}

.newbie-hall-of-fame-modal::before {
  position: absolute;
  top: 18px;
  right: 56px;
  z-index: 0;
  width: 112px;
  height: 112px;
  background: linear-gradient(180deg, rgba(240, 201, 109, 0.28), rgba(240, 201, 109, 0));
  content: '';
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.newbie-hall-of-fame-modal > * {
  position: relative;
  z-index: 1;
}

.newbie-job-guide-modal {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: min(430px, calc(100vw - 18px));
  height: min(760px, calc(100dvh - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  overflow: hidden;
  border-color: rgba(240, 201, 109, 0.58);
  border-radius: 14px;
  padding: 13px 13px 12px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(240, 201, 109, 0.16), transparent 40%),
    radial-gradient(ellipse at 90% 6%, rgba(143, 226, 210, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(9, 18, 38, 0.98), rgba(4, 9, 20, 0.98));
}

.newbie-newbie-guide-modal {
  --newbie-guide-modal-height: min(800px, calc(100dvh - 24px));
  --newbie-guide-modal-max-height: min(800px, calc(100dvh - 24px));
  grid-template-rows: minmax(0, 1fr);
  width: min(430px, calc(100vw - 18px));
  height: min(var(--newbie-guide-modal-height), var(--newbie-guide-modal-max-height));
  max-height: var(--newbie-guide-modal-max-height);
  overflow: hidden;
  border-color: rgba(240, 201, 109, 0.62);
  border-radius: 14px;
  padding: 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(240, 201, 109, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(9, 18, 38, 0.98), rgba(4, 9, 20, 0.98));
}

.newbie-modal.newbie-newbie-guide-modal {
  gap: 0;
  max-height: var(--newbie-guide-modal-max-height);
  overflow: hidden;
  padding: 0;
}

.newbie-newbie-guide-close {
  z-index: 3;
  border-color: rgba(240, 201, 109, 0.46);
  background: rgba(12, 12, 10, 0.9);
  color: #fff1bf;
}

.newbie-newbie-guide-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #060c18;
}

.newbie-job-guide-modal-header {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-right: 44px;
}

.newbie-job-guide-kicker {
  color: #8fe2d2;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-job-guide-modal h2 {
  min-width: 0;
  color: #fff6d6;
  font-size: 18px;
  line-height: 1.2;
}

.newbie-job-guide-frame-wrap {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 201, 109, 0.24);
  border-radius: 10px;
  background: #060c18;
}

.newbie-job-guide-frame-panel {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.newbie-job-guide-frame-panel[hidden] {
  display: none !important;
}

.newbie-job-guide-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #060c18;
}

.newbie-inquiry-modal {
  align-self: end;
  width: min(414px, calc(100vw - 18px));
  max-height: min(calc(100dvh - 100px), 680px);
  margin-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  border-radius: 12px;
}

.newbie-hall-of-fame-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  min-height: 78px;
  align-content: end;
  padding-right: 0;
}

.newbie-hall-of-fame-close {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 8px;
  background: rgba(20, 15, 7, 0.82);
  color: #ffe8af;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.newbie-hall-of-fame-kicker {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  width: max-content;
  align-self: center;
  border: 1px solid rgba(240, 201, 109, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(240, 201, 109, 0.1);
  color: #f0c96d;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-hall-of-fame-header h2 {
  grid-column: 1 / -1;
  grid-row: 2;
  color: #fff7db;
  font-size: 28px;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

.newbie-hall-of-fame-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.newbie-hall-of-fame-tab {
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(239, 199, 114, 0.34);
  border-radius: 8px;
  padding: 0 6px;
  background:
    linear-gradient(180deg, rgba(255, 244, 205, 0.08), rgba(255, 244, 205, 0.035));
  color: rgba(255, 247, 219, 0.76);
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 244, 205, 0.06);
  white-space: nowrap;
}

.newbie-hall-of-fame-tab.is-selected {
  border-color: rgba(239, 199, 114, 0.72);
  background:
    linear-gradient(180deg, rgba(240, 201, 109, 0.24), rgba(85, 61, 24, 0.42));
  color: #fff7db;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.24);
}

.newbie-hall-of-fame-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 286px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0 2px 0 0;
  list-style: none;
}

.newbie-hall-of-fame-entry {
  --hall-rank-accent: rgba(239, 199, 114, 0.36);
  --hall-rank-soft: rgba(239, 199, 114, 0.08);
  --hall-rank-glow: rgba(239, 199, 114, 0.14);
  --hall-score-ratio: 0%;
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: max-content minmax(0, 1fr) minmax(86px, max-content);
  align-items: center;
  min-height: 62px;
  gap: 10px;
  border: 1px solid rgba(222, 199, 154, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  background:
    radial-gradient(circle at 0 50%, var(--hall-rank-soft), transparent 46%),
    linear-gradient(90deg, rgba(31, 28, 23, 0.94), rgba(13, 13, 12, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.07),
    0 6px 14px rgba(0, 0, 0, 0.18);
  isolation: isolate;
  overflow: hidden;
}

.newbie-hall-of-fame-entry::after {
  position: absolute;
  inset: auto 14px 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hall-rank-accent), transparent);
  content: '';
  opacity: 0.36;
  pointer-events: none;
}

.newbie-hall-of-fame-entry > * {
  position: relative;
  z-index: 1;
}

.newbie-hall-of-fame-entry[data-rank="1"] {
  --hall-rank-accent: #d8bd78;
  --hall-rank-soft: rgba(216, 189, 120, 0.13);
  --hall-rank-glow: rgba(216, 189, 120, 0.26);
  grid-template-areas:
    "rank score"
    "identity score";
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  min-height: 140px;
  padding: 18px;
  border-color: rgba(216, 189, 120, 0.42);
  background:
    radial-gradient(circle at 17% 14%, rgba(255, 238, 176, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(216, 189, 120, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(38, 32, 24, 0.97), rgba(14, 13, 12, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(216, 189, 120, 0.1);
}

.newbie-hall-of-fame-entry[data-rank="2"] {
  --hall-rank-accent: #b7c1c9;
  --hall-rank-soft: rgba(183, 193, 201, 0.12);
  --hall-rank-glow: rgba(183, 193, 201, 0.2);
  grid-column: span 1;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  align-items: start;
  min-height: 136px;
  padding: 14px;
  border-color: rgba(183, 193, 201, 0.34);
  background:
    radial-gradient(circle at 20% 12%, rgba(232, 241, 247, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(33, 35, 36, 0.97), rgba(12, 13, 13, 0.98));
}

.newbie-hall-of-fame-entry[data-rank="3"] {
  --hall-rank-accent: #c28a63;
  --hall-rank-soft: rgba(194, 138, 99, 0.12);
  --hall-rank-glow: rgba(194, 138, 99, 0.2);
  grid-column: span 1;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  align-items: start;
  min-height: 136px;
  padding: 14px;
  border-color: rgba(194, 138, 99, 0.34);
  background:
    radial-gradient(circle at 20% 12%, rgba(236, 168, 118, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(36, 29, 24, 0.97), rgba(12, 12, 12, 0.98));
}

.newbie-hall-of-fame-entry[data-rank="1"]::before,
.newbie-hall-of-fame-entry[data-rank="2"]::before,
.newbie-hall-of-fame-entry[data-rank="3"]::before {
  position: absolute;
  inset: 10px auto 10px 0;
  z-index: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--hall-rank-accent);
  content: '';
  opacity: 0.9;
  pointer-events: none;
}

.newbie-hall-of-fame-entry[data-rank="1"]::before {
  inset: 16px auto 16px 0;
  width: 4px;
  box-shadow: 0 0 20px var(--hall-rank-glow);
}

.newbie-hall-of-fame-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 0;
  min-height: 28px;
  border: 1px solid rgba(222, 199, 154, 0.22);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 244, 205, 0.045);
  color: rgba(240, 201, 109, 0.82);
  font-size: 12px;
  font-weight: 1000;
  gap: 4px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 244, 205, 0.07);
  white-space: nowrap;
}

.newbie-hall-of-fame-rank-number,
.newbie-hall-of-fame-rank-title {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.newbie-hall-of-fame-rank-title {
  display: none;
  color: rgba(255, 247, 219, 0.74);
  font-size: 10px;
  font-weight: 950;
}

.newbie-hall-of-fame-rank::before {
  display: none;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  background: currentColor;
  content: '';
  mask: var(--hall-rank-icon-mask) center / contain no-repeat;
  -webkit-mask: var(--hall-rank-icon-mask) center / contain no-repeat;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-rank {
  --hall-rank-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E");
  grid-area: rank;
  border-color: rgba(216, 189, 120, 0.7);
  background: rgba(216, 189, 120, 0.13);
  color: #e7d49b;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.14),
    0 0 18px rgba(216, 189, 120, 0.12);
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-rank {
  --hall-rank-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E");
  border-color: rgba(183, 193, 201, 0.58);
  background: rgba(183, 193, 201, 0.11);
  color: #d7e0e7;
}

.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-rank {
  --hall-rank-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E");
  border-color: rgba(194, 138, 99, 0.58);
  background: rgba(194, 138, 99, 0.11);
  color: #d8a17a;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-rank,
.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-rank,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-rank {
  justify-content: flex-start;
  gap: 6px;
  max-width: 100%;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-rank::before,
.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-rank::before,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-rank::before {
  display: block;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-rank-title,
.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-rank-title,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-rank-title {
  display: inline-block;
}

.newbie-hall-of-fame-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 5px;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-identity {
  grid-area: identity;
}

.newbie-hall-of-fame-name-line {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  gap: 6px;
}

.newbie-hall-of-fame-name {
  min-width: 0;
  overflow: hidden;
  color: #fff9e9;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-name {
  font-size: 26px;
  line-height: 1.05;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.36);
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-name,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-name {
  font-size: 18px;
}

.newbie-hall-of-fame-note {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 247, 219, 0.54);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-hall-of-fame-score {
  display: grid;
  justify-items: end;
  min-width: 0;
  gap: 6px;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-score {
  grid-area: score;
  align-self: end;
  min-width: 124px;
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-score,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-score {
  width: 100%;
  justify-items: stretch;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-meter,
.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-meter,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-meter {
  width: 100%;
}

.newbie-hall-of-fame-points {
  color: #f0c96d;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.1;
  white-space: nowrap;
}

.newbie-hall-of-fame-meter {
  display: block;
  width: min(104px, 100%);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 244, 205, 0.08);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.48);
}

.newbie-hall-of-fame-meter-fill {
  display: block;
  width: var(--hall-score-ratio);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hall-rank-accent), rgba(255, 247, 219, 0.86));
  box-shadow: 0 0 12px var(--hall-rank-glow);
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-points {
  color: #e7d49b;
  font-size: 22px;
  text-shadow: 0 0 18px rgba(216, 189, 120, 0.18);
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-points {
  color: #d7e0e7;
}

.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-points {
  color: #d8a17a;
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-points,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-points {
  font-size: 17px;
}

.newbie-hall-of-fame-ribbon {
  position: absolute;
  top: 10px;
  right: -24px;
  z-index: 2;
  min-width: 92px;
  transform: rotate(34deg);
  padding: 3px 0;
  background: var(--hall-rank-accent);
  color: rgba(10, 9, 7, 0.84);
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}

.newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-ribbon {
  display: none;
}

.newbie-hall-of-fame-flourish {
  position: absolute;
  right: 14px;
  bottom: 8px;
  z-index: 0;
  width: 76px;
  height: 76px;
  background: var(--hall-rank-accent);
  content: '';
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-flourish {
  opacity: 0.1;
}

.newbie-hall-of-fame-character {
  position: absolute;
  right: 12px;
  bottom: 4px;
  z-index: 0;
  width: 68px;
  height: 112px;
  pointer-events: none;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.34));
  opacity: 0.74;
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-character {
  right: 118px;
  bottom: 6px;
  width: 94px;
  height: 132px;
  background-image: url("/newbie/hall-of-fame-character-1.webp?v=1");
  opacity: 0.9;
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-character {
  background-image: url("/newbie/hall-of-fame-character-2.webp?v=1");
}

.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-character {
  background-image: url("/newbie/hall-of-fame-character-3.webp?v=1");
}

@media (max-width: 380px) {
  .newbie-hall-of-fame-modal {
    padding: 16px;
  }

  .newbie-hall-of-fame-header {
    min-height: 66px;
  }

  .newbie-hall-of-fame-modal::before {
    right: 42px;
    width: 76px;
    height: 76px;
  }

  .newbie-hall-of-fame-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 260px;
  }

  .newbie-hall-of-fame-entry[data-rank="2"],
  .newbie-hall-of-fame-entry[data-rank="3"] {
    grid-column: span 1;
    min-height: 118px;
  }

  .newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-rank-title,
  .newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-rank-title {
    display: none;
  }

  .newbie-hall-of-fame-entry[data-rank="1"] {
    grid-template-areas:
      "identity rank"
      "identity score";
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    min-height: 132px;
  }

  .newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-score {
    width: 100%;
    min-width: 0;
    justify-items: start;
  }

  .newbie-hall-of-fame-entry {
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-hall-of-fame-entry.is-honorable {
    grid-template-columns: minmax(0, 1fr) minmax(82px, max-content) max-content;
    min-height: 72px;
    align-items: center;
  }

  .newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-score {
    grid-column: 2;
    justify-items: end;
  }

  .newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-identity {
    grid-column: 1;
  }

  .newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-rank {
    grid-column: 3;
  }
}

.newbie-hall-of-fame-empty {
  margin: 0;
  border: 1px dashed rgba(239, 199, 114, 0.28);
  border-radius: 8px;
  padding: 16px;
  color: rgba(255, 247, 219, 0.72);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.newbie-policy-header {
  display: grid;
  gap: 7px;
}

.newbie-policy-lead {
  margin: 0;
  color: var(--newbie-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.newbie-policy-list {
  display: grid;
  gap: 9px;
}

.newbie-policy-item {
  border: 1px solid rgba(190, 145, 72, 0.36);
  border-radius: 8px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(46, 32, 14, 0.74), rgba(18, 12, 6, 0.76));
}

.newbie-policy-item h3,
.newbie-policy-item p,
.newbie-policy-points {
  margin: 0;
}

.newbie-policy-item h3 {
  color: var(--newbie-ink);
  font-size: 14px;
  line-height: 1.25;
}

.newbie-policy-item p {
  margin-top: 5px;
  color: var(--newbie-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.newbie-policy-points {
  margin-top: 7px;
  padding-left: 18px;
  color: var(--newbie-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.newbie-policy-points li + li {
  margin-top: 4px;
}

.newbie-policy-points li::marker {
  color: var(--newbie-gold);
}

.newbie-modal.newbie-policy-modal {
  max-height: min(calc(100dvh - 112px - env(safe-area-inset-bottom, 0px)), 452px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.newbie-policy-modal .newbie-modal-close,
.newbie-inquiry-modal .newbie-modal-close {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 8px;
  background: rgba(20, 15, 7, 0.82);
  color: #ffe8af;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.newbie-policy-modal .newbie-modal-actions,
.newbie-inquiry-modal .newbie-modal-actions {
  align-items: stretch;
  gap: 8px;
}

.newbie-policy-modal .newbie-policy-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-color: rgba(219, 194, 111, 0.46) rgba(8, 10, 8, 0.6);
  scrollbar-width: thin;
}

.newbie-policy-modal .newbie-modal-action,
.newbie-inquiry-modal .newbie-modal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 44px;
  padding: 0 14px;
  line-height: 1;
  white-space: nowrap;
}

.newbie-policy-modal .newbie-modal-action--primary,
.newbie-inquiry-modal .newbie-modal-action--primary {
  min-height: 44px;
}

.newbie-records-list {
  max-height: min(52dvh, 520px);
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.newbie-chat-members {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
}

.newbie-chat-member {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 30px;
  border: 1px solid rgba(94, 124, 197, 0.58);
  border-radius: 8px;
  padding: 0 9px;
  background: rgba(20, 39, 80, 0.82);
  color: #e7efff;
  font-size: 12px;
  font-weight: 900;
}

.newbie-chat-member button {
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 102, 120, 0.22);
  color: #ff9aaa;
  font-size: 11px;
  font-weight: 1000;
}

.newbie-chat-thread {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 240px;
  max-height: 380px;
  overflow: auto;
  border: 1px solid rgba(94, 124, 197, 0.58);
  border-radius: 18px;
  padding: 10px;
  background: rgba(4, 11, 24, 0.86);
}

.newbie-chat-message-group {
  width: fit-content;
  max-width: 88%;
  display: grid;
  gap: 3px;
  justify-items: start;
  box-sizing: border-box;
}

.newbie-chat-message-group--mine {
  justify-self: end;
  justify-items: end;
}

.newbie-chat-message-group--stacked {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.newbie-chat-message-group--mine.newbie-chat-message-group--stacked {
  background: transparent;
}

.newbie-chat-message-group--system.newbie-chat-message-group--stacked {
  justify-self: center;
  max-width: 100%;
  background: transparent;
}

.newbie-chat-message-line {
  width: fit-content;
  max-width: 100%;
  display: grid;
  gap: 2px;
  justify-items: start;
}

.newbie-chat-message-line.is-mine {
  justify-self: end;
  justify-items: end;
}

.newbie-chat-message-line.is-system {
  width: 100%;
  justify-self: stretch;
  justify-items: center;
  margin: 1px 0;
}

.newbie-chat-message-row {
  display: inline-flex;
  align-items: end;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}

.newbie-chat-message-row--system {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(14px, 1fr) minmax(0, auto) minmax(14px, 1fr);
  align-items: center;
  gap: 8px;
}

.newbie-chat-message-row--system::before,
.newbie-chat-message-row--system::after {
  content: "";
  display: block;
  height: 1px;
  min-width: 0;
  background: linear-gradient(90deg, rgba(119, 147, 188, 0), rgba(119, 147, 188, 0.46));
}

.newbie-chat-message-row--system::after {
  background: linear-gradient(90deg, rgba(119, 147, 188, 0.46), rgba(119, 147, 188, 0));
}

.newbie-chat-message-row--time-first {
  justify-content: end;
}

.newbie-chat-message-row--has-time .newbie-chat-message {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.newbie-chat-message {
  width: auto;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgba(238, 225, 196, 0.95);
  border-radius: 8px;
  padding: 5px 8px;
  background: #fff;
  color: #15171c;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.28;
  box-shadow: none;
}

.newbie-chat-message-sender {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 3px;
  color: var(--newbie-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.newbie-chat-message-sender-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-chat-message-sender-badge {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

.newbie-chat-message-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  min-width: 0;
}

.newbie-chat-message-body--time-first .newbie-chat-message-content {
  grid-row: 1;
}

.newbie-chat-message-body--time-first .newbie-chat-message-time {
  grid-row: 2;
  justify-self: start;
}

.newbie-chat-message-content {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  color: #15171c;
  text-align: left;
}

.newbie-chat-message .newbie-chat-message-content {
  color: #15171c;
}

.newbie-chat-message-time {
  justify-self: end;
  align-self: end;
  padding-bottom: 2px;
  color: var(--newbie-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.newbie-chat-message.is-mine {
  justify-self: end;
  border-color: rgba(255, 226, 106, 0.95);
  background: #ffcf46;
  color: #211700;
  text-align: right;
}

.newbie-chat-message-line.is-mine .newbie-chat-message-sender,
.newbie-chat-message.is-mine .newbie-chat-message-content {
  color: #211700;
  text-align: right;
}

.newbie-chat-message-line.is-mine .newbie-chat-message-sender {
  justify-content: end;
}

.newbie-chat-message.is-mine .newbie-chat-message-body {
  justify-items: end;
}

.newbie-chat-message.is-mine .newbie-chat-message-content,
.newbie-chat-message.is-mine .newbie-chat-message-time {
  justify-self: end;
}

.newbie-chat-message.is-system {
  border-color: rgba(94, 124, 197, 0.42);
  background: rgba(65, 76, 110, 0.66);
  color: #d8ddc9;
}

.newbie-chat-message-row--system .newbie-chat-message.is-system {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: min(100%, 390px);
  border: 0;
  border-radius: 8px;
  padding: 5px 9px;
  background: linear-gradient(180deg, rgba(17, 30, 44, 0.86), rgba(8, 15, 25, 0.78));
  color: #dce8df;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 8px rgba(0, 0, 0, 0.18);
}

.newbie-chat-system-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  color: #95ead4;
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
}

.newbie-chat-system-mark::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #66f1cf;
  box-shadow: 0 0 0 3px rgba(102, 241, 207, 0.13);
}

.newbie-chat-message.is-system .newbie-chat-message-content {
  color: #d8ddc9;
}

.newbie-chat-message-row--system .newbie-chat-message-content {
  color: #e3eadf;
  text-align: center;
}

.newbie-chat-message-row--system .newbie-chat-message-time {
  align-self: center;
  padding-bottom: 0;
  color: #dfd3a4;
  font-size: 10px;
}

.newbie-chat-system-time {
  flex: 0 0 auto;
}

@media (max-width: 380px) {
  .newbie-chat-message-row--system {
    grid-template-columns: minmax(8px, 1fr) minmax(0, auto) minmax(8px, 1fr);
    gap: 6px;
  }

  .newbie-chat-message-row--system .newbie-chat-message.is-system {
    gap: 5px;
    padding: 5px 7px;
  }

  .newbie-chat-system-mark {
    font-size: 8px;
  }
}

.newbie-nickname-modal {
  width: min(430px, 100%);
}

.newbie-modal.newbie-adventure-auth-modal {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  width: min(430px, 100%);
  max-width: 100%;
  max-height: min(calc(100dvh - 32px), 760px);
  overflow: hidden;
  border-color: rgba(214, 184, 101, 0.62);
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(38, 39, 26, 0.99), rgba(10, 12, 9, 0.99));
  overscroll-behavior: contain;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.14),
    inset 0 0 0 1px rgba(77, 69, 37, 0.28),
    0 24px 54px rgba(0, 0, 0, 0.5);
}

.newbie-adventure-auth-modal .newbie-adventure-auth-close {
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid rgba(200, 178, 103, 0.42);
  border-radius: 8px;
  background: rgba(8, 11, 8, 0.9);
  color: #f3e6bd;
  font-size: 24px;
}

.newbie-adventure-auth-modal .newbie-adventure-auth-close:hover,
.newbie-adventure-auth-modal .newbie-adventure-auth-close:focus-visible {
  border-color: rgba(245, 216, 128, 0.78);
  background: rgba(57, 50, 27, 0.94);
  color: #fff4cd;
}

.newbie-adventure-auth-header {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-right: 54px;
}

.newbie-adventure-auth-modal .newbie-adventure-auth-header h2 {
  margin: 0;
  color: #fff5d7;
  font-size: 22px;
  line-height: 1.2;
}

.newbie-adventure-auth-description {
  margin: 0;
  color: #c5cbb0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.newbie-adventure-auth-body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(211, 185, 105, 0.48) rgba(7, 9, 7, 0.42);
  scrollbar-width: thin;
}

.newbie-adventure-auth-status {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  border: 1px solid rgba(186, 183, 107, 0.52);
  border-radius: 10px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(58, 63, 34, 0.88), rgba(22, 26, 17, 0.92));
}

.newbie-adventure-auth-status-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(229, 206, 124, 0.38);
  border-radius: 50%;
  padding: 6px;
  color: #e8cf83;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.newbie-adventure-auth-status strong {
  display: block;
  color: #fff1bd;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.35;
}

.newbie-adventure-auth-status strong:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(245, 216, 128, 0.8);
  outline-offset: 3px;
}

.newbie-adventure-auth-status p {
  margin: 4px 0 0;
  color: #c5cbb0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.newbie-adventure-auth-modal[data-verification-state="rejected"] .newbie-adventure-auth-status {
  border-color: rgba(205, 111, 82, 0.62);
  background:
    linear-gradient(135deg, rgba(83, 37, 27, 0.9), rgba(30, 19, 15, 0.94));
}

.newbie-adventure-auth-modal[data-verification-state="rejected"] .newbie-adventure-auth-status-icon {
  border-color: rgba(235, 143, 113, 0.5);
  color: #efa288;
}

.newbie-adventure-auth-modal[data-verification-state="rejected"] .newbie-adventure-auth-status strong {
  color: #ffd3c6;
}

.newbie-adventure-auth-request-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.newbie-adventure-auth-modal .newbie-adventure-auth-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 8px;
  min-width: 0;
}

.newbie-adventure-auth-modal .newbie-modal-action {
  width: 100%;
  min-width: 0;
  min-height: 48px;
}

.newbie-adventure-auth-modal .newbie-adventure-auth-dismiss {
  border-color: rgba(190, 178, 113, 0.42);
  background: rgba(10, 13, 9, 0.86);
  color: #ddd6b5;
}

.newbie-nickname-source {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(94, 124, 197, 0.58);
  border-radius: 18px;
  padding: 12px;
  background: rgba(4, 11, 24, 0.82);
}

.newbie-nickname-source-row {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.newbie-nickname-source-row + .newbie-nickname-source-row {
  border-top: 1px solid rgba(94, 124, 197, 0.3);
  padding-top: 10px;
}

.newbie-nickname-source span {
  color: var(--newbie-muted);
  font-size: 12px;
  font-weight: 850;
}

.newbie-nickname-source strong {
  overflow: hidden;
  color: #f8fbff;
  font-size: 15px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#newbie-nickname-account-id {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
  white-space: normal;
}

.newbie-nickname-actions {
  align-items: stretch;
}

.newbie-adventure-auth-name-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(165, 157, 91, 0.46);
  border-radius: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(29, 33, 22, 0.92), rgba(13, 16, 12, 0.94));
}

.newbie-adventure-auth-name-field > span {
  color: #faf1d2;
  font-size: 14px;
  font-weight: 1000;
}

.newbie-adventure-auth-modal .newbie-adventure-auth-name-field input {
  min-height: 48px;
}

.newbie-adventure-auth-newbie-check {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(165, 157, 91, 0.48);
  border-radius: 10px;
  padding: 10px 14px;
  background:
    linear-gradient(180deg, rgba(27, 31, 21, 0.9), rgba(11, 14, 10, 0.96));
  color: #d7ddc2;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.newbie-adventure-auth-newbie-check:hover {
  border-color: rgba(223, 198, 116, 0.68);
  color: #fff1bd;
}

.newbie-adventure-auth-newbie-check:active {
  transform: translateY(1px);
}

.newbie-adventure-auth-newbie-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.newbie-adventure-auth-newbie-check:has(input:focus-visible) {
  outline: 2px solid rgba(245, 216, 128, 0.88);
  outline-offset: 3px;
}

.newbie-adventure-auth-newbie-check:has(input:checked) {
  border-color: rgba(229, 206, 124, 0.74);
  background:
    linear-gradient(180deg, rgba(87, 75, 34, 0.8), rgba(39, 40, 22, 0.92));
  color: #fff1bd;
  box-shadow: inset 0 0 0 1px rgba(255, 233, 156, 0.08);
}

.newbie-adventure-auth-newbie-check:has(input:disabled) {
  cursor: wait;
  opacity: 0.62;
}

.newbie-adventure-auth-newbie-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.newbie-adventure-auth-newbie-indicator {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(185, 177, 111, 0.52);
  border-radius: 50%;
  background: rgba(6, 9, 6, 0.52);
  color: transparent;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.newbie-adventure-auth-newbie-check:has(input:checked) .newbie-adventure-auth-newbie-indicator {
  border-color: #e5ce7c;
  background: #d6b85f;
  color: #17180e;
}

.newbie-adventure-auth-newbie-title {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.2;
  white-space: nowrap;
}

.newbie-adventure-auth-newbie-help {
  flex: 1 1 auto;
  min-width: 0;
  color: #aeb69b;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.newbie-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 200;
  max-width: min(420px, calc(100% - 28px));
  border: 1px solid rgba(117, 151, 229, 0.54);
  border-radius: 16px;
  padding: 11px 13px;
  background: rgba(7, 16, 31, 0.96);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  transform: translateX(-50%);
}

@media (max-width: 560px) {
  .newbie-shell {
    padding: max(18px, env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom));
  }

  #newbie-adventure-auth-modal {
    place-items: end center;
    padding: max(8px, env(safe-area-inset-top, 0px)) 9px calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .newbie-modal.newbie-adventure-auth-modal {
    align-self: end;
    width: min(414px, calc(100vw - 18px));
    max-height: min(calc(100dvh - 102px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)), 700px);
    gap: 10px;
    border-radius: 12px;
    padding: 14px;
  }

  .newbie-adventure-auth-modal .newbie-adventure-auth-header h2 {
    font-size: 18px;
  }

  .newbie-adventure-auth-header {
    gap: 3px;
  }

  .newbie-adventure-auth-description {
    font-size: 12px;
  }

  .newbie-adventure-auth-modal .newbie-adventure-auth-name-field input {
    font-size: 16px;
  }

  .newbie-adventure-auth-body,
  .newbie-adventure-auth-request-fields {
    gap: 10px;
  }

  .newbie-adventure-auth-name-field {
    padding: 12px;
  }

  .newbie-header {
    align-items: center;
  }

  .newbie-header h1 {
    font-size: 21px;
  }

  .newbie-header-action-row {
    min-height: 34px;
  }

  .newbie-header-nickname-label {
    max-width: 58px;
  }

  .newbie-header-point-badge {
    max-width: 82px;
    padding-inline: 7px;
  }

  .newbie-header-adventure-auth-button {
    min-width: 116px;
    max-width: 126px;
    padding-inline: 10px;
  }

  .newbie-header-adventure-auth-label {
    max-width: 68px;
  }

  .newbie-notification-button {
    min-width: 0;
    padding: 0 12px 0 10px;
  }

  .newbie-notification-button-label {
    display: block;
  }

  .newbie-notification-panel {
    width: min(390px, calc(100vw - 20px));
    max-height: min(620px, calc(100dvh - 96px - env(safe-area-inset-top, 0px)));
  }

  .newbie-notification-list {
    max-height: min(490px, calc(100dvh - 132px - env(safe-area-inset-top)));
  }

  .newbie-filter-chip {
    min-height: 50px;
    padding: 0 5px;
    font-size: 13px;
  }

  .newbie-segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newbie-theme-segmented {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newbie-difficulty-segmented {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .newbie-title-input-row,
  .newbie-chat-compose {
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-modal {
    max-height: calc(100dvh - 20px);
    padding: 16px;
  }

  .newbie-modal.newbie-hall-of-fame-modal {
    width: min(414px, calc(100vw - 18px));
    max-height: min(calc(100dvh - 112px), 520px);
    margin-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  }
}

/* Brown gold theme refinement. */
:root {
  --newbie-bg: #120c06;
  --newbie-bg-soft: #1b1209;
  --newbie-panel: rgba(31, 21, 11, 0.94);
  --newbie-panel-strong: rgba(43, 30, 15, 0.98);
  --newbie-card: linear-gradient(180deg, rgba(53, 37, 18, 0.96), rgba(24, 16, 8, 0.98));
  --newbie-line: rgba(183, 139, 65, 0.46);
  --newbie-line-strong: rgba(219, 174, 88, 0.72);
  --newbie-ink: #fff4d8;
  --newbie-muted: #c9b88f;
  --newbie-dim: #8f7b58;
  --newbie-cyan: #d9b76a;
  --newbie-blue: #b98238;
  --newbie-violet: #c6964e;
  --newbie-rose: #d47b5c;
  --newbie-gold: #f0c66b;
  --newbie-mint: #9fc38f;
  --newbie-green: #5fb17a;
  --newbie-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --newbie-brown-black: #090704;
  --newbie-brown-900: #120c06;
  --newbie-brown-800: #1b1209;
  --newbie-brown-700: #27190b;
  --newbie-brown-600: #36230f;
  --newbie-gold-soft: #ffe8af;
  --newbie-gold-mid: #d5a24e;
  --newbie-gold-deep: #7b5625;
  --newbie-surface-border: rgba(226, 178, 91, 0.54);
}

body {
  background:
    linear-gradient(90deg, rgba(255, 232, 175, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #2a1c0e 0%, #171007 42%, #0b0804 100%);
  color: var(--newbie-ink);
}

body::after {
  display: none;
}

.newbie-shell {
  background:
    linear-gradient(180deg, rgba(255, 229, 167, 0.045), transparent 130px),
    linear-gradient(90deg, rgba(255, 232, 175, 0.03) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #2a1d10 0%, #1a1108 34%, #0f0a05 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 174, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.55);
}

.newbie-header h1,
.newbie-modal h2,
.newbie-lobby-empty__title,
.newbie-bottom-menu-head h2,
.newbie-profile-account strong,
.newbie-party-card h2,
.newbie-profile-help-copy strong {
  color: var(--newbie-ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
}

.newbie-header h1 {
  font-size: 20px;
}

#newbie-lobby-title .newbie-theme-select-chip,
.newbie-filter-chip {
  min-height: 40px;
  border-color: rgba(221, 178, 95, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(58, 41, 21, 0.96), rgba(15, 11, 6, 0.98));
  color: #ead8ac;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    inset 0 -12px 20px rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

#newbie-lobby-title .newbie-theme-select-chip.is-active,
.newbie-filter-chip.is-active {
  border-color: rgba(246, 210, 127, 0.84);
  background:
    linear-gradient(180deg, rgba(93, 68, 31, 0.98), rgba(43, 30, 14, 0.98));
  color: #fff0bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.24),
    inset 0 0 18px rgba(228, 171, 76, 0.16),
    0 0 0 1px rgba(54, 36, 14, 0.72),
    0 10px 20px rgba(0, 0, 0, 0.32);
}

.newbie-theme-select-menu,
.newbie-bottom-menu-panel,
.newbie-modal,
.newbie-create-sheet {
  border-color: var(--newbie-surface-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(53, 36, 17, 0.98), rgba(14, 10, 5, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 188, 0.14),
    inset 0 0 0 1px rgba(85, 58, 25, 0.22),
    0 22px 54px rgba(0, 0, 0, 0.48);
}

.newbie-theme-select-option {
  border-radius: 6px;
  background: rgba(15, 10, 5, 0.84);
  color: #d3bf93;
}

.newbie-theme-select-option.is-selected {
  border-color: rgba(239, 198, 111, 0.72);
  background: linear-gradient(180deg, rgba(91, 64, 29, 0.96), rgba(38, 26, 12, 0.96));
  color: #fff0c5;
  box-shadow: inset 0 0 18px rgba(231, 175, 78, 0.14);
}

.newbie-theme-select-option:focus-visible,
#newbie-lobby-title .newbie-theme-select-chip:focus-visible,
.newbie-bottom-nav-button:focus-visible,
.newbie-bottom-menu-action:focus-visible,
.newbie-modal-action:focus-visible,
.newbie-chat-room-action:focus-visible,
.newbie-chat-members-toggle:focus-visible,
.newbie-chat-more-toggle:focus-visible,
.newbie-create-signin-note a:focus-visible,
.newbie-submit-button:focus-visible,
.newbie-field input:focus-visible,
.newbie-field textarea:focus-visible,
.newbie-chat-compose input:focus-visible {
  outline: 2px solid rgba(255, 218, 132, 0.88);
  outline-offset: 3px;
}

.newbie-theme-dot {
  background: radial-gradient(circle at 32% 28%, #fff5d2, var(--dot-color, #d5a24e) 42%, #4a3214 76%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 212, 0.3),
    0 0 13px var(--dot-glow, rgba(213, 162, 78, 0.54));
}

.newbie-theme-dot[data-theme="all"] {
  --dot-color: #d8b061;
  --dot-glow: rgba(216, 176, 97, 0.64);
}

.newbie-theme-dot[data-theme="extinction"] {
  --dot-color: #f0c66b;
  --dot-glow: rgba(240, 198, 107, 0.72);
}

.newbie-theme-dot[data-theme="tower"] {
  --dot-color: #8fb17e;
  --dot-glow: rgba(143, 177, 126, 0.56);
}

.newbie-theme-dot[data-theme="soldoros"] {
  --dot-color: #c89154;
  --dot-glow: rgba(200, 145, 84, 0.62);
}

.newbie-records-count {
  border-color: rgba(239, 199, 114, 0.64);
  background:
    linear-gradient(180deg, rgba(83, 60, 28, 0.96), rgba(30, 21, 10, 0.98));
  color: #ffe8af;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 202, 0.18),
    0 10px 20px rgba(0, 0, 0, 0.22);
}

.newbie-list-status,
.newbie-empty,
.newbie-feedback,
.newbie-party-section__empty {
  border-color: rgba(190, 145, 72, 0.36);
  border-radius: 8px;
  background: rgba(25, 17, 8, 0.86);
  color: var(--newbie-muted);
}

.newbie-feedback {
  background: rgba(42, 31, 12, 0.9);
  color: #f3d690;
}

.newbie-feedback[data-tone="error"] {
  border-color: rgba(206, 103, 74, 0.52);
  background: rgba(62, 25, 18, 0.9);
  color: #ffd3c8;
}

.newbie-lobby-empty__icon {
  border-color: rgba(226, 178, 91, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(59, 42, 20, 0.78), rgba(19, 13, 6, 0.86));
  color: #d5a24e;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.newbie-lobby-empty__description,
.newbie-party-status-time,
.newbie-modal-time {
  color: #bca97e;
}

.newbie-profile-view {
  align-content: start;
  min-height: calc(100dvh - 148px);
}

.newbie-profile-summary {
  position: relative;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(221, 178, 95, 0.58);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 230, 172, 0.06), transparent 44px),
    linear-gradient(135deg, rgba(61, 43, 20, 0.96), rgba(18, 12, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 200, 0.16),
    inset 0 0 0 1px rgba(74, 49, 20, 0.34),
    0 20px 42px rgba(0, 0, 0, 0.34);
}

.newbie-profile-summary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 233, 181, 0.75), transparent);
}

.newbie-profile-account {
  gap: 7px;
}

.newbie-profile-eyebrow {
  border-color: rgba(239, 199, 114, 0.56);
  border-radius: 6px;
  background: rgba(19, 13, 6, 0.72);
  color: #efd28d;
  box-shadow: inset 0 1px 0 rgba(255, 239, 194, 0.12);
}

.newbie-profile-account strong {
  font-size: 23px;
}

.newbie-profile-account span:last-child {
  color: #c6b288;
  font-size: 13px;
}

.newbie-profile-help-card {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 199, 114, 0.66);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(8, 6, 3, 0.72), rgba(34, 23, 10, 0.64)),
    linear-gradient(180deg, rgba(84, 61, 27, 0.78), rgba(17, 11, 5, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.14),
    inset 0 -18px 28px rgba(0, 0, 0, 0.18),
    0 12px 26px rgba(0, 0, 0, 0.28);
  color: inherit;
  text-align: left;
}

.newbie-profile-help-card::after {
  position: absolute;
  inset: auto 12px 11px 92px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(230, 181, 87, 0.54), transparent);
}

.newbie-profile-help-emblem {
  position: relative;
  display: block;
  width: 66px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.34));
}

.newbie-profile-help-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.newbie-profile-help-copy > span {
  color: #dfc27f;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-profile-help-copy strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  font-size: 44px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.95;
}

.newbie-profile-help-copy strong span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.newbie-profile-help-copy strong em {
  color: #efd28d;
  font-size: 16px;
  font-style: normal;
  font-weight: 1000;
}

.newbie-profile-help-copy p {
  margin: 0;
  min-width: 0;
  color: #bca97e;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.newbie-profile-panel {
  border: 1px solid rgba(190, 145, 72, 0.36);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(43, 30, 14, 0.72), rgba(13, 9, 4, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.22);
}

.newbie-profile-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  color: #ffe8af;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.58);
}

.newbie-profile-panel-title::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #d5a24e;
  box-shadow: 0 0 12px rgba(213, 162, 78, 0.58);
}

.newbie-profile-stage-conditions {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.newbie-profile-stage-conditions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.newbie-profile-stage-conditions-head > span {
  flex: none;
  color: #a9976c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.newbie-profile-stage-condition-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.newbie-profile-stage-condition {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr) minmax(66px, auto);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(215, 168, 86, 0.22);
  border-radius: 8px;
  padding: 7px 9px 7px 7px;
  background:
    linear-gradient(180deg, rgba(255, 232, 174, 0.045), transparent 46%),
    rgba(7, 8, 5, 0.36);
}

.newbie-profile-stage-condition[data-profile-stage-state="unlocked"] {
  border-color: rgba(150, 190, 116, 0.48);
  background:
    linear-gradient(180deg, rgba(153, 198, 114, 0.12), transparent 48%),
    rgba(8, 20, 9, 0.34);
}

.newbie-profile-stage-condition[data-profile-stage-state="current"] {
  border-color: rgba(239, 199, 114, 0.56);
  background:
    linear-gradient(180deg, rgba(239, 199, 114, 0.13), transparent 48%),
    rgba(31, 22, 8, 0.4);
}

.newbie-profile-stage-condition__emblem {
  display: block;
  width: 30px;
  height: 35px;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 6px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 6px rgba(117, 194, 96, 0.18));
}

.newbie-profile-stage-condition__stage,
.newbie-profile-stage-condition__target,
.newbie-profile-stage-condition__status {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.newbie-profile-stage-condition__stage {
  color: #ffe7aa;
  font-size: 12px;
  font-weight: 1000;
}

.newbie-profile-stage-condition__target {
  color: #d8c28a;
  font-size: 11px;
  font-weight: 900;
}

.newbie-profile-stage-condition__status {
  color: #bfa875;
  font-size: 10px;
  font-weight: 950;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.newbie-profile-stage-condition[data-profile-stage-state="unlocked"] .newbie-profile-stage-condition__status {
  color: #cde9b6;
}

.newbie-profile-stage-condition[data-profile-stage-state="current"] .newbie-profile-stage-condition__status {
  color: #efd28d;
}

.newbie-profile-history-list {
  gap: 0;
}

.newbie-profile-history-entry {
  border-bottom: 1px solid rgba(224, 178, 92, 0.16);
}

.newbie-profile-history-entry:last-child {
  border-bottom: 0;
}

.newbie-profile-history-row {
  display: grid;
  grid-template-columns: 54px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  border: 0;
  padding: 8px 2px;
  background: transparent;
  color: #f7f2de;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
}

button.newbie-profile-history-row {
  cursor: pointer;
  appearance: none;
}

button.newbie-profile-history-row:hover,
button.newbie-profile-history-row:focus-visible {
  background: rgba(255, 229, 156, 0.06);
}

button.newbie-profile-history-row:focus-visible {
  outline: 2px solid rgba(255, 216, 123, 0.68);
  outline-offset: 2px;
}

.newbie-profile-history-row__date,
.newbie-profile-history-row__direction,
.newbie-profile-history-row__target,
.newbie-profile-history-row__chat-toggle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-profile-history-row__date {
  color: #bfa875;
  font-variant-numeric: tabular-nums;
}

.newbie-profile-history-row__direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid rgba(224, 178, 92, 0.32);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(43, 34, 15, 0.72);
  color: #f7d98c;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.newbie-profile-history-row[data-direction="received"] .newbie-profile-history-row__direction {
  border-color: rgba(151, 190, 128, 0.34);
  background: rgba(22, 43, 19, 0.58);
  color: #cfdbbe;
}

.newbie-profile-history-row__target {
  justify-self: start;
  max-width: 100%;
  color: #cfdbbe;
  text-align: left;
}

.newbie-profile-history-row__chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 68px;
  min-height: 24px;
  border: 1px solid rgba(94, 124, 197, 0.44);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(16, 29, 58, 0.64);
  color: #cbd9ff;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.newbie-profile-history-row__chat-toggle.is-empty {
  border-color: rgba(183, 169, 128, 0.2);
  background: rgba(43, 34, 15, 0.4);
  color: #8f8466;
}

.newbie-profile-history-entry[data-chat-state="open"] .newbie-profile-history-row__chat-toggle {
  border-color: rgba(255, 216, 123, 0.62);
  background: rgba(80, 54, 17, 0.78);
  color: #ffe3a3;
}

.newbie-profile-history-chat {
  display: grid;
  gap: 8px;
  padding: 0 2px 10px 2px;
}

.newbie-profile-history-chat[hidden] {
  display: none;
}

.newbie-profile-history-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #f7d98c;
  font-size: 11px;
  font-weight: 950;
}

.newbie-profile-history-chat-head span {
  color: #bfa875;
  font-variant-numeric: tabular-nums;
}

.newbie-profile-history-chat-thread {
  min-height: 0;
  max-height: 220px;
  border-radius: 12px;
  padding: 8px;
  background: rgba(4, 11, 24, 0.68);
}

@media (max-width: 420px) {
  .newbie-profile-stage-conditions-head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .newbie-profile-stage-condition-list {
    gap: 6px;
  }

  .newbie-profile-stage-condition {
    grid-template-columns: 30px 44px minmax(0, 1fr) minmax(58px, auto);
    gap: 6px;
    min-height: 44px;
  }

  .newbie-profile-stage-condition__emblem {
    width: 27px;
    height: 32px;
  }

  .newbie-profile-stage-condition__status {
    font-size: 9px;
    text-align: right;
  }

  .newbie-profile-history-row {
    grid-template-columns: 48px auto minmax(0, 1fr) auto;
    gap: 6px;
  }

  .newbie-profile-history-row__target {
    justify-self: start;
    text-align: left;
  }

  .newbie-profile-history-row__chat-toggle {
    max-width: 76px;
    min-width: 62px;
    padding: 0 6px;
    font-size: 10px;
  }
}

.newbie-party-card {
  min-height: 72px;
  border-color: rgba(214, 164, 79, 0.58);
  border-radius: 14px;
  padding: 8px 12px 9px 12px;
  background:
    linear-gradient(180deg, rgba(255, 232, 174, 0.065), transparent 44%),
    linear-gradient(180deg, rgba(48, 33, 15, 0.94), rgba(19, 13, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.12),
    inset 0 0 0 1px rgba(76, 51, 20, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.newbie-party-card:hover,
.newbie-party-card:focus-visible {
  border-color: rgba(246, 210, 127, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 232, 174, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(60, 42, 19, 0.98), rgba(22, 15, 7, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    0 0 0 2px rgba(191, 137, 54, 0.16),
    0 16px 30px rgba(0, 0, 0, 0.3);
}

.newbie-party-card:active {
  border-color: rgba(203, 151, 68, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 232, 174, 0.04), transparent 44%),
    linear-gradient(180deg, rgba(35, 24, 11, 0.98), rgba(16, 11, 5, 0.98));
}

.newbie-party-theme-edge {
  border-radius: 13px 0 0 13px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--newbie-party-theme-edge-accent) 80%, #fff2c8), var(--newbie-party-theme-edge-accent));
}

.newbie-party-theme-edge[data-theme="extinction"] {
  --newbie-party-theme-edge-accent: #d9a64f;
  --newbie-party-theme-edge-text: #160d04;
}

.newbie-party-theme-edge[data-theme="tower"] {
  --newbie-party-theme-edge-accent: #7fa16f;
  --newbie-party-theme-edge-text: #0c1309;
}

.newbie-party-theme-edge[data-theme="soldoros"] {
  --newbie-party-theme-edge-accent: #b9793d;
  --newbie-party-theme-edge-text: #160d04;
}

.newbie-party-dungeon-badge {
  background:
    linear-gradient(180deg, rgba(92, 66, 24, 0.88), rgba(34, 23, 8, 0.82));
  color: #ffe9ad;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 12px rgba(13, 10, 4, 0.28);
}

.newbie-party-host,
.newbie-party-card__validity,
.newbie-theme-badge {
  border-color: rgba(219, 174, 88, 0.28);
  background: rgba(13, 9, 4, 0.46);
  color: #ead8ac;
}

.newbie-party-host-icon,
.newbie-party-card__validity[data-validity-tone="urgent"] {
  color: #f0c66b;
}

.newbie-party-card__validity[data-validity-tone="urgent"] {
  border-color: rgba(240, 198, 107, 0.46);
  background: rgba(76, 52, 18, 0.38);
}

.newbie-party-card__validity[data-validity-tone="temporary"] {
  border-color: rgba(185, 151, 88, 0.44);
  background: rgba(57, 40, 18, 0.36);
  color: #f4dfaa;
}

.newbie-party-card__validity[data-validity-tone="expired"] {
  border-color: rgba(202, 98, 73, 0.48);
  background: rgba(78, 30, 19, 0.38);
  color: #f0a38f;
}

.newbie-form,
.newbie-fieldset,
.newbie-field,
.newbie-step-section {
  gap: 13px;
}

.newbie-form {
  border-color: rgba(214, 164, 79, 0.48);
  border-radius: 8px;
  background: rgba(24, 16, 8, 0.94);
}

.newbie-header--form {
  background: linear-gradient(180deg, rgba(24, 16, 8, 0.98) 0%, rgba(24, 16, 8, 0.9) 72%, transparent);
}

.newbie-step-label {
  color: #fff0c5;
}

.newbie-step-label span,
.newbie-difficulty-field > span,
.newbie-field > span:not(.newbie-step-label),
.newbie-bottom-menu-stat span {
  color: #d0b981;
}

.newbie-segmented {
  border-color: rgba(172, 125, 57, 0.46);
  border-radius: 8px;
  background: rgba(11, 8, 4, 0.78);
}

.newbie-segmented label,
.newbie-segmented button {
  border-radius: 6px;
  color: #bca97e;
}

.newbie-segmented label:has(input:checked),
.newbie-segmented button.is-active {
  background: linear-gradient(180deg, rgba(93, 68, 31, 0.96), rgba(43, 30, 14, 0.96));
  color: #fff0bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    inset 0 0 16px rgba(228, 171, 76, 0.13);
}

.newbie-title-input-row input,
.newbie-field input,
.newbie-field textarea,
.newbie-chat-compose input {
  border-color: rgba(187, 139, 62, 0.52);
  border-radius: 8px;
  background: rgba(9, 7, 4, 0.88);
  color: #fff4d8;
}

.newbie-title-input-row input::placeholder,
.newbie-field input::placeholder,
.newbie-field textarea::placeholder,
.newbie-chat-compose input::placeholder {
  color: #887551;
}

.newbie-submit-button,
.newbie-modal-action--primary,
.newbie-bottom-menu-action--primary {
  border-color: rgba(255, 218, 132, 0.72);
  background: linear-gradient(180deg, #d9ad58, #8b5f25 62%, #553814);
  color: #120c06;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 213, 0.32),
    inset 0 -10px 18px rgba(77, 47, 10, 0.28),
    0 12px 24px rgba(0, 0, 0, 0.28);
}

.newbie-nickname-source,
.newbie-chat-thread {
  border-color: rgba(187, 139, 62, 0.44);
  border-radius: 8px;
  background: rgba(12, 8, 4, 0.8);
}

.newbie-bottom-menu-stat strong,
.newbie-chat-message-content {
  color: var(--newbie-ink);
}

.newbie-create-wallet-summary {
  border-color: rgba(239, 199, 114, 0.62);
  background:
    linear-gradient(180deg, rgba(83, 60, 28, 0.96), rgba(30, 21, 10, 0.98));
  color: #ffe8af;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 202, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

.newbie-bottom-nav {
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  height: 58px;
  min-height: 58px;
  border-color: rgba(221, 178, 95, 0.7);
  border-radius: 8px;
  padding: 4px 10px;
  background: linear-gradient(180deg, #181008, #090704);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.38),
    0 16px 34px rgba(0, 0, 0, 0.46);
}

.newbie-bottom-nav-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #a8966c;
}

.newbie-bottom-nav-button.is-active {
  border-color: rgba(239, 199, 114, 0.62);
  background:
    linear-gradient(180deg, rgba(83, 60, 28, 0.96), rgba(30, 21, 10, 0.98));
  color: #ffe8af;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 202, 0.18),
    inset 0 0 18px rgba(228, 171, 76, 0.12);
}

.newbie-bottom-nav-create {
  border-color: rgba(255, 218, 132, 0.9);
  background:
    linear-gradient(180deg, #e0b660 0%, #9b6a28 58%, #5d3d17 100%);
  color: #160d04;
  box-shadow:
    inset 0 0 0 2px rgba(255, 239, 194, 0.2),
    inset 0 -10px 18px rgba(77, 47, 10, 0.28),
    0 0 0 8px rgba(18, 12, 6, 0.88),
    0 0 22px rgba(214, 164, 79, 0.46),
    0 12px 22px rgba(0, 0, 0, 0.42);
}

.newbie-bottom-menu-close,
.newbie-modal-close,
.newbie-modal-action,
.newbie-bottom-menu-action {
  border-color: rgba(190, 145, 72, 0.42);
  border-radius: 8px;
  background: rgba(16, 11, 5, 0.72);
  color: #ead8ac;
}

.newbie-modal-action--danger {
  border-color: rgba(216, 104, 82, 0.58);
  background: rgba(85, 27, 19, 0.84);
  color: #ffd7cb;
}

.newbie-bottom-menu-stat {
  border-color: rgba(190, 145, 72, 0.36);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(46, 32, 14, 0.74), rgba(18, 12, 6, 0.76));
}

.newbie-bottom-menu-action-icon {
  border-radius: 6px;
  background: rgba(213, 162, 78, 0.16);
}

.newbie-modal-backdrop,
.newbie-create-view {
  background: rgba(9, 6, 3, 0.72);
}

.newbie-chat-message.is-mine {
  border-color: rgba(255, 226, 106, 0.95);
  background: #ffcf46;
}

.newbie-chat-message.is-system {
  background: rgba(61, 48, 31, 0.72);
}

.newbie-chat-message-sender,
.newbie-chat-message-time {
  color: #c9b88f;
}

.newbie-toast {
  width: min(340px, calc(100vw - 40px));
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 8px;
  padding: 9px 14px;
  background: rgba(18, 12, 6, 0.97);
  color: #fff4d8;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: break-word;
  word-break: keep-all;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.12),
    0 16px 30px rgba(0, 0, 0, 0.36);
}

.newbie-profile-account span:last-child,
.newbie-profile-help-copy p,
.newbie-lobby-empty__description {
  overflow-wrap: break-word;
  word-break: keep-all;
}

@media (max-width: 380px) {
  #newbie-adventure-auth-modal {
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-inline: 8px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .newbie-modal.newbie-adventure-auth-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 96px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    padding: 12px;
  }

  .newbie-profile-summary {
    padding: 16px;
  }

  .newbie-profile-help-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .newbie-profile-help-emblem {
    width: 56px;
    height: 64px;
  }

  .newbie-profile-help-copy strong {
    font-size: 38px;
  }

  #newbie-lobby-title .newbie-theme-select-chip {
    width: 136px;
  }

  .newbie-bottom-nav {
    width: min(420px, calc(100vw - 14px));
  }
}

/* Newbie polish pass: calmer surfaces, clearer action hierarchy, stable sheets. */
:root {
  --newbie-bg: #0a0d0b;
  --newbie-bg-soft: #111610;
  --newbie-panel: rgba(22, 25, 18, 0.96);
  --newbie-panel-strong: rgba(31, 34, 24, 0.98);
  --newbie-card: linear-gradient(180deg, rgba(32, 36, 25, 0.96), rgba(12, 15, 12, 0.98));
  --newbie-line: rgba(171, 162, 106, 0.42);
  --newbie-line-strong: rgba(218, 195, 118, 0.68);
  --newbie-ink: #f7f2de;
  --newbie-muted: #b8bea2;
  --newbie-dim: #82896f;
  --newbie-cyan: #75b8ad;
  --newbie-blue: #88a5b6;
  --newbie-violet: #a99172;
  --newbie-rose: #c88968;
  --newbie-gold: #d9bc66;
  --newbie-mint: #91bd83;
  --newbie-green: #6fa579;
  --newbie-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  --newbie-brown-black: #080907;
  --newbie-brown-900: #0f120d;
  --newbie-brown-800: #171a12;
  --newbie-brown-700: #202416;
  --newbie-brown-600: #2c311e;
  --newbie-gold-soft: #f2d78a;
  --newbie-gold-mid: #caa44f;
  --newbie-gold-deep: #80612a;
  --newbie-surface-border: rgba(211, 185, 105, 0.48);
}

body {
  background:
    linear-gradient(90deg, rgba(126, 153, 126, 0.045) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #1a1f17 0%, #10130f 46%, #070807 100%);
}

.newbie-shell {
  background:
    linear-gradient(180deg, rgba(245, 221, 146, 0.055), transparent 148px),
    linear-gradient(90deg, rgba(120, 145, 119, 0.04) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #1b2017 0%, #10140f 45%, #080908 100%);
  box-shadow:
    inset 0 0 0 1px rgba(238, 215, 150, 0.055),
    0 24px 66px rgba(0, 0, 0, 0.48);
}

.newbie-theme-select-menu,
.newbie-bottom-menu-panel,
.newbie-modal,
.newbie-create-sheet {
  border-color: var(--newbie-surface-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(34, 37, 25, 0.99), rgba(11, 13, 10, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 199, 0.12),
    inset 0 0 0 1px rgba(74, 82, 49, 0.22),
    0 22px 48px rgba(0, 0, 0, 0.42);
}

#newbie-lobby-title .newbie-theme-select-chip,
.newbie-filter-chip,
.newbie-records-count,
.newbie-create-wallet-summary {
  border-color: rgba(214, 192, 113, 0.58);
  background: linear-gradient(180deg, rgba(50, 55, 35, 0.96), rgba(15, 17, 13, 0.98));
  color: #f2dda0;
}

#newbie-lobby-title .newbie-theme-select-chip.is-active,
.newbie-filter-chip.is-active,
.newbie-theme-select-option.is-selected,
.newbie-bottom-nav-button.is-active {
  border-color: rgba(236, 213, 130, 0.78);
  background: linear-gradient(180deg, rgba(76, 75, 42, 0.98), rgba(31, 32, 20, 0.98));
  color: #fff0be;
}

.newbie-theme-dot[data-theme="all"] {
  --dot-color: #d8bd69;
  --dot-glow: rgba(216, 189, 105, 0.58);
}

.newbie-theme-dot[data-theme="extinction"] {
  --dot-color: #e0b257;
  --dot-glow: rgba(224, 178, 87, 0.58);
}

.newbie-theme-dot[data-theme="tower"] {
  --dot-color: #82b98c;
  --dot-glow: rgba(130, 185, 140, 0.5);
}

.newbie-theme-dot[data-theme="soldoros"] {
  --dot-color: #78b8b0;
  --dot-glow: rgba(120, 184, 176, 0.52);
}

.newbie-list.is-lobby-empty {
  min-height: clamp(300px, calc(100dvh - 260px), 500px);
  padding-bottom: 24px;
}

.newbie-lobby-empty {
  gap: 12px;
  transform: translateY(-8px);
}

.newbie-lobby-empty__icon {
  width: 96px;
  height: 96px;
  border-color: rgba(215, 189, 103, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(53, 57, 36, 0.82), rgba(15, 17, 12, 0.9));
  color: #d7b45e;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 194, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.26);
}

.newbie-lobby-empty__description {
  max-width: 240px;
}

.newbie-create-view {
  align-items: flex-end;
  padding: max(10px, env(safe-area-inset-top)) 0 0;
  background: rgba(6, 8, 6, 0.74);
}

.newbie-create-sheet {
  width: min(430px, 100%);
  max-height: calc(100dvh - 18px);
  gap: 12px;
  overflow-y: auto;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 0 14px max(14px, env(safe-area-inset-bottom));
  scrollbar-color: rgba(219, 194, 111, 0.46) rgba(8, 10, 8, 0.6);
  scrollbar-width: thin;
}

.newbie-create-sheet::-webkit-scrollbar {
  width: 6px;
}

.newbie-create-sheet::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(219, 194, 111, 0.46);
}

.newbie-header--form {
  top: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 60px;
  margin: 0 -14px;
  border-bottom: 1px solid rgba(211, 185, 105, 0.34);
  padding: 14px 58px 12px 16px;
  background:
    linear-gradient(180deg, rgba(23, 26, 18, 1) 0%, rgba(23, 26, 18, 0.98) 76%, rgba(23, 26, 18, 0));
}

.newbie-header--form h1 {
  font-size: 22px;
  line-height: 1.1;
}

.newbie-create-wallet-summary {
  max-width: 112px;
  min-height: 28px;
  font-size: 11px;
}

.newbie-create-close {
  top: 13px;
  right: 14px;
}

.newbie-form {
  gap: 14px;
  border-radius: 8px;
  padding: 14px;
  background: rgba(13, 16, 12, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 199, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.newbie-fieldset,
.newbie-field,
.newbie-step-section {
  gap: 10px;
}

.newbie-step-label {
  color: #f4e3b0;
}

.newbie-step-label span,
.newbie-difficulty-field > span,
.newbie-field > span:not(.newbie-step-label),
.newbie-bottom-menu-stat span {
  color: #b9c29f;
}

.newbie-segmented,
.newbie-chat-thread {
  border-color: rgba(159, 151, 91, 0.42);
  border-radius: 8px;
  background: rgba(8, 10, 8, 0.74);
}

.newbie-segmented label,
.newbie-segmented button {
  border-radius: 6px;
  color: #b8bea2;
}

.newbie-segmented label:has(input:checked),
.newbie-segmented button.is-active {
  border-color: rgba(229, 206, 124, 0.64);
  background: linear-gradient(180deg, rgba(74, 72, 39, 0.96), rgba(33, 34, 20, 0.96));
  color: #fff0be;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 194, 0.12),
    0 0 0 1px rgba(229, 206, 124, 0.12);
}

.newbie-title-input-row input,
.newbie-field input,
.newbie-field textarea,
.newbie-chat-compose input {
  min-height: 42px;
  border-color: rgba(159, 151, 91, 0.5);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.9);
  color: #f7f2de;
}

.newbie-field textarea {
  min-height: 146px;
}

.newbie-bottom-menu-stat strong,
.newbie-chat-message-content {
  color: #f7f2de;
}

.newbie-submit-button,
.newbie-modal-action--primary,
.newbie-bottom-menu-action--primary {
  min-height: 48px;
  border-color: rgba(245, 216, 128, 0.75);
  border-radius: 8px;
  background: linear-gradient(180deg, #d9bd66, #a37835 64%, #6a4b1e);
  color: #0d0f0b;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.3),
    inset 0 -10px 18px rgba(75, 48, 10, 0.24),
    0 12px 22px rgba(0, 0, 0, 0.28);
}

.newbie-submit-button {
  position: sticky;
  bottom: 0;
  z-index: 3;
}

.newbie-create-sheet .newbie-submit-button {
  position: static;
  z-index: auto;
}

.newbie-bottom-nav {
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  width: min(410px, calc(100vw - 12px));
  height: 54px;
  min-height: 54px;
  border-color: rgba(211, 185, 105, 0.62);
  border-radius: 8px;
  padding: 4px 8px;
  background: linear-gradient(180deg, rgba(17, 20, 14, 0.98), rgba(5, 7, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 194, 0.1),
    0 16px 30px rgba(0, 0, 0, 0.42);
}

.newbie-bottom-nav-button {
  min-height: 46px;
  border-radius: 6px;
  color: #aab092;
}

.newbie-bottom-menu {
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 24px));
}

.newbie-bottom-menu-panel {
  padding: 10px;
}

.newbie-bottom-menu-head {
  margin-bottom: 7px;
}

.newbie-bottom-menu-stat {
  min-height: 42px;
  gap: 4px;
  border-color: rgba(143, 173, 136, 0.35);
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(24, 36, 27, 0.78), rgba(10, 14, 11, 0.8));
}

.newbie-bottom-menu-actions {
  gap: 7px;
}

.newbie-bottom-menu-action {
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 40px;
  gap: 8px;
  border-color: rgba(159, 151, 91, 0.44);
  padding: 5px 9px;
  background: rgba(10, 12, 9, 0.76);
  color: #f7f2de;
  font-size: 14px;
}

.newbie-bottom-menu-action-icon {
  width: 28px;
  height: 28px;
  background: rgba(210, 185, 105, 0.14);
}

.newbie-bottom-menu-action--primary {
  border-color: rgba(245, 216, 128, 0.75);
  background: linear-gradient(180deg, #d9bd66, #a37835 64%, #6a4b1e);
  color: #0d0f0b;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.28),
    inset 0 -9px 16px rgba(75, 48, 10, 0.24);
}

.newbie-modal-backdrop,
.newbie-create-view {
  background: rgba(5, 7, 5, 0.74);
}

.newbie-modal {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(33, 36, 24, 0.99), rgba(11, 13, 10, 0.99));
}

.newbie-records-modal {
  width: min(430px, 100%);
  max-height: min(74dvh, 700px);
  border-radius: 10px;
}

.newbie-inquiry-modal {
  width: min(414px, calc(100vw - 18px));
  max-height: min(calc(100dvh - 96px), 640px);
  margin-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(25, 21, 13, 0.98), rgba(7, 9, 7, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.18),
    inset 0 0 0 1px rgba(93, 68, 31, 0.3),
    0 24px 46px rgba(0, 0, 0, 0.44);
}

.newbie-inquiry-modal h2 {
  padding-right: 42px;
}

.newbie-inquiry-modal .newbie-field {
  gap: 8px;
}

.newbie-inquiry-modal textarea {
  min-height: 148px;
  max-height: min(34dvh, 242px);
  line-height: 1.5;
  resize: none;
}

.newbie-inquiry-modal textarea[aria-invalid] {
  border-color: rgba(255, 119, 119, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 119, 119, 0.22),
    0 0 0 4px rgba(255, 119, 119, 0.1);
}

.newbie-inquiry-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  margin-top: -4px;
}

.newbie-inquiry-guide,
.newbie-inquiry-counter {
  margin: 0;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.45;
}

.newbie-inquiry-guide {
  color: #c8bea0;
}

.newbie-inquiry-counter {
  color: #f1d98e;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.newbie-party-card {
  border-color: rgba(175, 160, 93, 0.5);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(244, 220, 145, 0.055), transparent 46%),
    linear-gradient(180deg, rgba(29, 33, 22, 0.94), rgba(10, 12, 9, 0.98));
}

.newbie-party-card--with-profile {
  padding-left: 68px;
}

.newbie-party-card:hover,
.newbie-party-card:focus-visible {
  border-color: rgba(232, 206, 121, 0.78);
  background:
    linear-gradient(180deg, rgba(244, 220, 145, 0.085), transparent 46%),
    linear-gradient(180deg, rgba(38, 43, 28, 0.98), rgba(12, 15, 11, 0.98));
}

.newbie-party-card[data-party-owner="mine"] {
  border-color: rgba(91, 218, 190, 0.76);
  background:
    linear-gradient(180deg, rgba(151, 255, 226, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(18, 68, 60, 0.96), rgba(7, 27, 25, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(194, 255, 237, 0.16),
    inset 0 0 0 1px rgba(68, 170, 149, 0.16),
    0 12px 24px rgba(0, 0, 0, 0.26);
}

.newbie-party-card[data-party-owner="mine"]:hover,
.newbie-party-card[data-party-owner="mine"]:focus-visible {
  border-color: rgba(126, 245, 217, 0.94);
  background:
    linear-gradient(180deg, rgba(173, 255, 234, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(23, 84, 73, 0.98), rgba(8, 33, 30, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(215, 255, 244, 0.2),
    0 0 0 2px rgba(68, 211, 178, 0.16),
    0 16px 30px rgba(0, 0, 0, 0.3);
}

.newbie-party-card[data-party-owner="mine"]:active {
  border-color: rgba(81, 194, 169, 0.82);
  background:
    linear-gradient(180deg, rgba(133, 244, 214, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(13, 52, 46, 0.98), rgba(5, 23, 21, 0.99));
}

.newbie-party-theme-edge {
  border-radius: 13px 0 0 13px;
}

.newbie-party-theme-edge[data-theme="extinction"] {
  --newbie-party-theme-edge-accent: #d7a653;
  --newbie-party-theme-edge-text: #11130c;
}

.newbie-party-theme-edge[data-theme="tower"] {
  --newbie-party-theme-edge-accent: #83b886;
  --newbie-party-theme-edge-text: #09110b;
}

.newbie-party-theme-edge[data-theme="soldoros"] {
  --newbie-party-theme-edge-accent: #74b9ae;
  --newbie-party-theme-edge-text: #081110;
}

.newbie-profile-summary,
.newbie-profile-panel,
.newbie-profile-history {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 211, 130, 0.055), transparent 52px),
    linear-gradient(135deg, rgba(31, 36, 23, 0.96), rgba(10, 12, 9, 0.98));
}

.newbie-profile-help-card {
  border-color: rgba(139, 177, 132, 0.4);
  background:
    linear-gradient(90deg, rgba(7, 10, 8, 0.72), rgba(24, 37, 25, 0.64)),
    linear-gradient(180deg, rgba(39, 52, 31, 0.72), rgba(10, 13, 9, 0.9));
}

.newbie-profile-panel-title::before {
  background: #89b87f;
  box-shadow: 0 0 12px rgba(137, 184, 127, 0.52);
}

.newbie-profile-summary {
  isolation: isolate;
  min-height: 170px;
  background: #070906;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 159, 0.12),
    0 18px 34px rgba(0, 0, 0, 0.34);
}

.newbie-profile-banner-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  pointer-events: none;
  filter: saturate(0.96) contrast(1.05);
}

.newbie-profile-summary::before {
  z-index: 3;
}

.newbie-profile-summary::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 4, 0.68), rgba(7, 9, 7, 0.28) 48%, rgba(8, 10, 8, 0.06)),
    linear-gradient(180deg, rgba(255, 235, 174, 0.07), transparent 52%, rgba(0, 0, 0, 0.18));
}

.newbie-profile-account,
.newbie-profile-help-card {
  position: relative;
  z-index: 2;
}

.newbie-profile-account {
  max-width: min(100%, 410px);
}

.newbie-profile-help-card {
  max-width: 380px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 5px 4px 4px;
  border: 0;
  background:
    radial-gradient(ellipse at 38% 52%, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.14) 50%, transparent 76%);
  box-shadow: none;
  backdrop-filter: none;
}

.newbie-profile-help-card::after {
  display: none;
}

.newbie-profile-help-emblem {
  width: 54px;
  height: 62px;
}

.newbie-profile-help-copy {
  gap: 3px;
}

.newbie-profile-help-copy strong {
  font-size: 38px;
  line-height: 0.9;
}

.newbie-profile-help-copy p {
  font-size: 11px;
  line-height: 1.32;
}

.newbie-chat-message.is-mine {
  border-color: rgba(255, 226, 106, 0.95);
  background: #ffcf46;
}

.newbie-chat-message.is-system {
  background: rgba(43, 46, 35, 0.72);
}

@media (max-width: 560px) {
  .newbie-shell {
    padding: max(18px, env(safe-area-inset-top)) 16px calc(104px + env(safe-area-inset-bottom));
  }

  .newbie-create-sheet {
    max-height: calc(100dvh - 10px);
  }

  .newbie-header--form {
    min-height: 58px;
  }

  .newbie-bottom-menu {
    width: min(362px, calc(100vw - 28px));
  }
}

@media (max-width: 380px) {
  .newbie-create-sheet {
    padding-right: 12px;
    padding-left: 12px;
  }

  .newbie-header--form {
    margin-right: -12px;
    margin-left: -12px;
    padding-left: 14px;
  }

}

/* Compact profile banner: no account identifiers, lower badge height. */
.newbie-profile-summary {
  align-content: start;
  min-height: 154px;
  gap: 8px;
  padding: 14px 18px 13px;
}

.newbie-profile-eyebrow,
.newbie-profile-account span:last-child {
  display: none !important;
}

.newbie-profile-account {
  max-width: min(100%, 330px);
  gap: 0;
}

.newbie-profile-account strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 28px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-profile-help-card {
  max-width: 342px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 2px;
  background: radial-gradient(ellipse at 35% 56%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1) 52%, transparent 76%);
}

.newbie-profile-help-emblem {
  width: 48px;
  height: 56px;
}

.newbie-profile-help-copy {
  gap: 2px;
}

.newbie-profile-help-copy > span {
  font-size: 12px;
}

.newbie-profile-help-copy strong {
  font-size: 40px;
  line-height: 0.88;
}

.newbie-profile-help-copy strong em {
  font-size: 16px;
}

.newbie-profile-help-copy p {
  max-width: 255px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .newbie-profile-summary {
    min-height: 150px;
    padding: 13px 15px 12px;
  }

  .newbie-profile-account strong {
    font-size: 26px;
  }

  .newbie-profile-help-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    padding: 0 1px;
  }

  .newbie-profile-help-emblem {
    width: 44px;
    height: 52px;
  }

  .newbie-profile-help-copy strong {
    font-size: 38px;
  }
}

/* Profile banner without account name/id. */
.newbie-profile-summary {
  min-height: 126px;
  align-content: center;
  gap: 0;
  padding: 18px 24px;
}

.newbie-profile-account {
  display: none !important;
}

.newbie-profile-help-card {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 0;
}

.newbie-profile-help-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 3px;
  min-width: 0;
}

.newbie-profile-help-copy > span {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
}

.newbie-profile-help-copy strong {
  flex: 0 0 auto;
  font-size: 38px;
  line-height: 0.88;
}

.newbie-profile-help-copy p {
  flex: 0 0 100%;
  max-width: 260px;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 380px) {
  .newbie-profile-summary {
    min-height: 122px;
    padding: 17px 20px;
  }

  .newbie-profile-help-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .newbie-profile-help-emblem {
    width: 44px;
    height: 52px;
  }

  .newbie-profile-help-copy strong {
    font-size: 36px;
  }
}

/* Profile preview banner: emblem + title, like an in-game profile card. */
.newbie-profile-summary {
  min-height: 64px;
  align-content: center;
  gap: 0;
  padding: 7px 20px;
}

.newbie-profile-help-card {
  width: min(100%, 430px);
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
}

.newbie-profile-help-emblem {
  width: 38px;
  height: 44px;
  filter:
    drop-shadow(0 6px 7px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 7px rgba(117, 194, 96, 0.24));
}

.newbie-profile-help-copy {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 2px;
  column-gap: 8px;
  align-items: baseline;
  min-width: 0;
}

.newbie-profile-help-copy > span:not(.newbie-profile-season-points) {
  grid-column: 1 / -1;
  color: #f2d88e;
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.75);
}

.newbie-profile-help-copy strong {
  display: block;
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
  color: #fff8dd;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.06;
  text-overflow: ellipsis;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.86),
    0 0 10px rgba(255, 238, 180, 0.22);
  white-space: nowrap;
}

.newbie-profile-help-copy > .newbie-profile-season-points {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  border: 1px solid rgba(255, 214, 95, 0.48);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(54, 36, 10, 0.72);
  color: #ffe28a;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.68);
  white-space: nowrap;
}

.newbie-profile-help-copy p {
  display: none !important;
}

.newbie-profile-dummy-notice {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 214, 95, 0.64);
  border-radius: 8px;
  padding: 9px 12px;
  background:
    linear-gradient(90deg, rgba(78, 50, 8, 0.94), rgba(28, 20, 8, 0.94)),
    rgba(35, 24, 10, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 205, 0.16),
    0 10px 20px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  color: #fff2bd;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.newbie-profile-summary:has(+ .newbie-profile-stage-conditions:not([hidden])) {
  border-bottom-color: rgba(139, 177, 132, 0.54);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.newbie-profile-help-card[aria-expanded="true"] {
  filter:
    drop-shadow(0 0 10px rgba(137, 184, 127, 0.28))
    drop-shadow(0 7px 12px rgba(0, 0, 0, 0.34));
}

.newbie-profile-stage-conditions:not([hidden]) {
  position: relative;
  z-index: 1;
  margin-top: -18px;
  border-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  padding-top: 16px;
  background:
    linear-gradient(180deg, rgba(137, 184, 127, 0.13), rgba(137, 184, 127, 0.035) 36px, transparent 72px),
    linear-gradient(135deg, rgba(31, 36, 23, 0.98), rgba(10, 12, 9, 0.98));
  box-shadow:
    inset 1px 0 0 rgba(255, 231, 159, 0.08),
    inset -1px 0 0 rgba(255, 231, 159, 0.08),
    inset 0 -1px 0 rgba(255, 231, 159, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.3);
}

.newbie-profile-stage-conditions:not([hidden])::before {
  position: absolute;
  top: 0;
  right: 14px;
  left: 14px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(178, 217, 150, 0.58), transparent);
}

@media (max-width: 380px) {
  .newbie-profile-summary {
    min-height: 60px;
    padding: 7px 16px;
  }

  .newbie-profile-help-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .newbie-profile-help-emblem {
    width: 34px;
    height: 40px;
  }

  .newbie-profile-help-copy strong {
    font-size: 19px;
  }
}

/* Bottom menu refresh: image-backed panel with clearer stat/action hierarchy. */
.newbie-bottom-menu {
  --newbie-bottom-menu-open-height: 318px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: min(414px, calc(100vw - 18px));
  max-height: calc(100dvh - 92px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.newbie-bottom-menu-panel {
  position: relative;
  isolation: isolate;
  max-height: min(calc(100dvh - 92px), var(--newbie-bottom-menu-open-height));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 10px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(25, 21, 13, 0.96), rgba(7, 9, 7, 0.985));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.2),
    inset 0 0 0 1px rgba(93, 68, 31, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.52),
    0 24px 46px rgba(0, 0, 0, 0.44);
}

.newbie-bottom-menu-panel::-webkit-scrollbar {
  display: none;
}

.newbie-bottom-menu-panel::before,
.newbie-bottom-menu-panel::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.newbie-bottom-menu-panel::before {
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.84) 0%, rgba(10, 12, 8, 0.34) 42%, rgba(6, 8, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(255, 224, 147, 0.14), rgba(5, 7, 5, 0.76) 58%, rgba(5, 7, 5, 0.96)),
    url("./profile-banner-bg.webp") center 46% / cover no-repeat;
  opacity: 0.54;
  transform: scale(1.02);
}

.newbie-bottom-menu-panel::after {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 226, 145, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(119, 184, 176, 0.12), transparent 34%),
    linear-gradient(180deg, transparent 0 34px, rgba(7, 9, 7, 0.44) 96px, rgba(7, 9, 7, 0.72));
}

.newbie-bottom-menu-head {
  min-height: 34px;
  margin-bottom: 10px;
}

.newbie-bottom-menu-head h2 {
  position: relative;
  color: #fff1c5;
  font-size: 17px;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.72),
    0 0 14px rgba(239, 199, 114, 0.18);
}

.newbie-bottom-menu-head h2::after {
  display: block;
  width: 74px;
  height: 8px;
  margin-top: 7px;
  content: "";
  background:
    linear-gradient(90deg, #a98545 0 32px, transparent 32px 40px, #a98545 40px 100%),
    radial-gradient(circle at 50% 50%, #ddbd68 0 4px, transparent 4.5px);
  background-repeat: no-repeat;
  background-size: 100% 1px, 100% 100%;
  background-position: 0 50%, 0 0;
  opacity: 0.72;
}

.newbie-bottom-menu-close {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: rgba(222, 184, 105, 0.46);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(29, 22, 12, 0.92), rgba(8, 9, 7, 0.94));
  color: #ffe3a3;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    0 8px 16px rgba(0, 0, 0, 0.24);
}

.newbie-bottom-menu-close::before,
.newbie-bottom-menu-close::after {
  width: 14px;
  height: 2px;
}

.newbie-bottom-menu-help {
  gap: 8px;
  margin-bottom: 10px;
}

.newbie-bottom-menu-help-toggle {
  min-height: 104px;
  border-color: rgba(224, 190, 108, 0.5);
  border-radius: 16px;
  grid-template-columns: 46px minmax(0, 1fr) 14px;
  gap: 14px;
  padding: 18px 17px;
  background:
    linear-gradient(90deg, rgba(5, 6, 3, 0.94) 0%, rgba(8, 8, 4, 0.82) 43%, rgba(18, 15, 8, 0.58) 72%, rgba(20, 16, 8, 0.34) 100%),
    linear-gradient(180deg, rgba(244, 203, 112, 0.2), rgba(8, 9, 5, 0.12)),
    url("/background/그란플로리스.webp?v=1");
  background-position: center, center, 52% 54%;
  background-size: 100% 100%, 100% 100%, cover;
  color: #fff7db;
  box-shadow:
    inset 4px 0 0 rgba(201, 177, 95, 0.74),
    inset 0 1px 0 rgba(255, 239, 194, 0.12),
    inset 0 0 0 1px rgba(255, 239, 194, 0.05),
    0 10px 18px rgba(0, 0, 0, 0.2);
}

.newbie-bottom-menu-help-toggle:hover,
.newbie-bottom-menu-help-toggle:focus-visible {
  border-color: rgba(241, 210, 132, 0.76);
  background:
    linear-gradient(90deg, rgba(6, 7, 3, 0.9) 0%, rgba(10, 10, 5, 0.74) 43%, rgba(22, 18, 9, 0.48) 72%, rgba(24, 18, 9, 0.26) 100%),
    linear-gradient(180deg, rgba(255, 222, 136, 0.24), rgba(8, 9, 5, 0.08)),
    url("/background/그란플로리스.webp?v=1");
  background-position: center, center, 52% 54%;
  background-size: 100% 100%, 100% 100%, cover;
}

.newbie-bottom-menu-help-toggle-symbol {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 227, 146, 0.34);
  background:
    linear-gradient(180deg, rgba(20, 24, 15, 0.84), rgba(8, 10, 7, 0.76));
  color: #ffe591;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.14),
    0 10px 20px rgba(0, 0, 0, 0.28);
}

.newbie-bottom-menu-help-toggle-symbol-icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.05;
}

.newbie-bottom-menu-help-toggle.is-open {
  border-color: rgba(205, 230, 150, 0.74);
  box-shadow:
    inset 4px 0 0 rgba(159, 221, 103, 0.78),
    inset 0 1px 0 rgba(234, 255, 211, 0.13),
    inset 0 0 0 1px rgba(234, 255, 211, 0.06),
    0 10px 18px rgba(0, 0, 0, 0.24);
}

.newbie-bottom-menu-help-toggle-label {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.52);
}

.newbie-bottom-menu-help-toggle-desc {
  color: rgba(217, 226, 184, 0.76);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.46);
}

.newbie-bottom-menu-help-toggle-icon {
  width: 12px;
  height: 12px;
  border-width: 3px;
  margin-right: 3px;
}

.newbie-bottom-menu-help .newbie-bottom-menu-stats {
  margin-bottom: 0;
}

.newbie-bottom-menu-stats {
  gap: 8px;
  margin-bottom: 10px;
}

.newbie-bottom-menu-stat {
  --stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-4.7 0-8 2.5-8 6v1h16v-1c0-3.5-3.3-6-8-6Z'/%3E%3C/svg%3E");
  position: relative;
  min-height: 64px;
  gap: 4px;
  border-color: rgba(155, 188, 130, 0.32);
  padding: 11px 10px 9px 63px;
  background:
    linear-gradient(180deg, rgba(30, 47, 31, 0.84), rgba(8, 13, 10, 0.9));
  box-shadow:
    inset 3px 0 0 rgba(139, 203, 92, 0.64),
    inset 0 1px 0 rgba(234, 255, 211, 0.08),
    inset 0 0 0 1px rgba(255, 239, 194, 0.04),
    0 9px 17px rgba(0, 0, 0, 0.18);
}

.newbie-bottom-menu-stat::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(154, 209, 102, 0.48);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 36% 28%, rgba(222, 255, 150, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(40, 58, 29, 0.96), rgba(10, 15, 9, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(239, 255, 210, 0.12),
    0 0 0 1px rgba(9, 15, 9, 0.56),
    0 6px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}

.newbie-bottom-menu-stat::after {
  position: absolute;
  top: 50%;
  left: 25px;
  width: 16px;
  height: 16px;
  content: "";
  background: linear-gradient(180deg, #caef87, #83bc57);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.34));
  mask: var(--stat-icon) center / contain no-repeat;
  -webkit-mask: var(--stat-icon) center / contain no-repeat;
  transform: translateY(-50%);
}

.newbie-bottom-menu-stat:nth-child(2) {
  --stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.2 8.3 9 4.8l3 2.6 3-2.6 1.8 3.5-2.1 1.6H9.3L7.2 8.3ZM12 15a3.7 3.7 0 1 0 0-7.4 3.7 3.7 0 0 0 0 7.4Zm0 1.6c-4.1 0-7 1.9-7 4.4h14c0-2.5-2.9-4.4-7-4.4Z'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-stat:nth-child(3) {
  --stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 10.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm8 0a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM8 12c-3.8 0-6.5 2-6.5 5v2.5h13V17c0-3-2.7-5-6.5-5Zm8 0c-.7 0-1.4.1-2 .3 1.6 1.1 2.5 2.7 2.5 4.7v2.5h6V17c0-3-2.7-5-6.5-5Z'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-stat:nth-child(4) {
  --stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm11 9H6v9h12v-9ZM6 7v2h12V7H6Z'/%3E%3C/svg%3E");
}

.newbie-bottom-menu-stat span {
  color: #c4cda7;
  font-size: 12px;
  letter-spacing: 0;
}

.newbie-bottom-menu-stat strong {
  color: #fff7db;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.58);
}

.newbie-bottom-menu-actions {
  gap: 8px;
}

.newbie-bottom-menu-action {
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  min-height: 62px;
  gap: 12px;
  border-color: rgba(208, 172, 95, 0.4);
  border-radius: 10px;
  padding: 9px 12px;
  background:
    linear-gradient(180deg, rgba(12, 13, 9, 0.9), rgba(4, 5, 4, 0.92));
  color: #fff0c4;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.08),
    0 8px 15px rgba(0, 0, 0, 0.18);
}

.newbie-bottom-menu-action-copy {
  gap: 5px;
}

.newbie-bottom-menu-action-title {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
  color: #fff7db;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.44);
}

.newbie-bottom-menu-action-title::after {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  opacity: 0.58;
  transform: rotate(45deg);
  transition: opacity 150ms ease, transform 150ms ease;
}

.newbie-bottom-menu-action-desc {
  color: rgba(255, 229, 173, 0.66);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.newbie-bottom-menu-action::after {
  content: none;
  justify-self: end;
  width: 10px;
  height: 10px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  opacity: 0.68;
  transform: rotate(45deg);
}

.newbie-bottom-menu-action:hover,
.newbie-bottom-menu-action:focus-visible {
  border-color: rgba(244, 210, 131, 0.7);
  background:
    linear-gradient(180deg, rgba(37, 30, 16, 0.94), rgba(9, 10, 7, 0.96));
}

.newbie-bottom-menu-action:hover .newbie-bottom-menu-action-title::after,
.newbie-bottom-menu-action:focus-visible .newbie-bottom-menu-action-title::after {
  opacity: 0.86;
  transform: translateX(2px) rotate(45deg);
}

.newbie-bottom-menu-action-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 199, 114, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 216, 128, 0.18), rgba(83, 60, 28, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 239, 194, 0.12);
}

.newbie-bottom-menu-action--primary {
  min-height: 64px;
  border-color: rgba(255, 226, 143, 0.72);
  background:
    linear-gradient(180deg, #e7c66c 0%, #b98434 52%, #68451a 100%);
  color: #120b04;
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 224, 0.28),
    inset 0 -9px 15px rgba(91, 52, 10, 0.24),
    0 8px 15px rgba(0, 0, 0, 0.22);
}

.newbie-bottom-menu-action--primary:hover,
.newbie-bottom-menu-action--primary:focus-visible {
  border-color: rgba(255, 237, 174, 0.96);
  background:
    linear-gradient(180deg, #ffe18a 0%, #d29d44 48%, #78501c 100%);
}

.newbie-bottom-menu-action--primary .newbie-bottom-menu-action-icon {
  border-color: rgba(18, 11, 4, 0.2);
  background: rgba(18, 11, 4, 0.13);
}

.newbie-bottom-menu-action--primary .newbie-bottom-menu-action-title {
  color: #120b04;
  text-shadow: 0 1px 0 rgba(255, 244, 203, 0.22);
}

.newbie-bottom-menu-action--primary .newbie-bottom-menu-action-desc {
  color: rgba(36, 20, 5, 0.72);
  text-shadow: 0 1px 0 rgba(255, 242, 202, 0.2);
}

.newbie-bottom-menu-action--create-hero {
  position: relative;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border-color: rgba(241, 210, 132, 0.76);
  border-radius: 16px;
  padding: 18px 17px;
  background:
    linear-gradient(90deg, rgba(6, 7, 3, 0.9) 0%, rgba(10, 10, 5, 0.74) 43%, rgba(22, 18, 9, 0.48) 72%, rgba(24, 18, 9, 0.26) 100%),
    linear-gradient(180deg, rgba(255, 222, 136, 0.24), rgba(8, 9, 5, 0.08)),
    url("/newbie/menu-create-cta-bg.webp?v=1");
  background-position: center, center, 64% 54%;
  background-size: 100% 100%, 100% 100%, cover;
  color: #fff7db;
  box-shadow:
    inset 4px 0 0 rgba(236, 191, 81, 0.86),
    inset 0 1px 0 rgba(255, 239, 194, 0.13),
    inset 0 0 0 1px rgba(255, 239, 194, 0.06),
    0 10px 18px rgba(0, 0, 0, 0.22);
}

.newbie-bottom-menu-action--create-hero:hover,
.newbie-bottom-menu-action--create-hero:focus-visible {
  border-color: rgba(255, 226, 143, 0.88);
  background:
    linear-gradient(90deg, rgba(6, 7, 3, 0.84) 0%, rgba(10, 10, 5, 0.68) 43%, rgba(22, 18, 9, 0.42) 72%, rgba(24, 18, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 229, 151, 0.3), rgba(8, 9, 5, 0.08)),
    url("/newbie/menu-create-cta-bg.webp?v=1");
  background-position: center, center, 64% 54%;
  background-size: 100% 100%, 100% 100%, cover;
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 227, 146, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(20, 24, 15, 0.84), rgba(8, 10, 7, 0.76));
  color: #ffe591;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.14),
    0 10px 20px rgba(0, 0, 0, 0.28);
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.05;
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy {
  gap: 7px;
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
  color: #fff7db;
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.52);
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
  color: rgba(255, 229, 173, 0.78);
  font-size: 13px;
  font-weight: 850;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.46);
}

.newbie-bottom-menu-action--create-hero::after {
  z-index: 1;
  width: 12px;
  height: 12px;
  border-width: 3px;
  opacity: 0.92;
  box-shadow:
    0 0 0 13px rgba(6, 8, 6, 0.34),
    0 0 0 14px rgba(255, 236, 166, 0.18);
}


@media (max-width: 380px) {
  .newbie-bottom-menu {
    --newbie-bottom-menu-open-height: 304px;
    width: min(414px, calc(100vw - 12px));
  }

  .newbie-policy-modal,
  .newbie-inquiry-modal {
    width: min(414px, calc(100vw - 12px));
    margin-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  .newbie-inquiry-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .newbie-inquiry-counter {
    justify-self: end;
  }

  .newbie-modal.newbie-policy-modal {
    max-height: min(calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)), 484px);
  }

  .newbie-bottom-menu-panel {
    padding: 12px;
  }

  .newbie-bottom-menu-stat {
    min-height: 60px;
    padding: 10px 8px 8px 57px;
  }

  .newbie-bottom-menu-stat::before {
    left: 13px;
    width: 32px;
    height: 32px;
  }

  .newbie-bottom-menu-stat::after {
    left: 21px;
    width: 16px;
    height: 16px;
  }

  .newbie-bottom-menu-stat span {
    font-size: 11px;
  }

  .newbie-bottom-menu-stat strong {
    font-size: 22px;
  }

  .newbie-bottom-menu-help-toggle {
    grid-template-columns: 40px minmax(0, 1fr) 12px;
    gap: 11px;
    min-height: 96px;
    border-radius: 14px;
    padding: 15px 14px;
  }

  .newbie-bottom-menu-help-toggle-symbol {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .newbie-bottom-menu-help-toggle-symbol-icon {
    width: 27px;
    height: 27px;
  }

  .newbie-bottom-menu-help-toggle-label {
    font-size: 20px;
  }

  .newbie-bottom-menu-help-toggle-desc {
    font-size: 12px;
  }

  .newbie-bottom-menu-action {
    grid-template-columns: 32px minmax(0, 1fr) 12px;
    min-height: 56px;
    gap: 9px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .newbie-bottom-menu-action-title {
    font-size: 14px;
  }

  .newbie-bottom-menu-action-desc {
    font-size: 11px;
  }

  .newbie-bottom-menu-action--primary {
    min-height: 58px;
  }

  .newbie-bottom-menu-action--create-hero {
    grid-template-columns: 40px minmax(0, 1fr) 14px;
    min-height: 96px;
    gap: 11px;
    border-radius: 14px;
    padding: 15px 14px;
  }

  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
    width: 27px;
    height: 27px;
  }

  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
    font-size: 20px;
  }

  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
    font-size: 12px;
  }

  .newbie-bottom-menu-action-icon {
    width: 32px;
    height: 32px;
  }

  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
    width: 40px;
    height: 40px;
  }
}

.newbie-bottom-menu-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.newbie-bottom-menu-help,
.newbie-bottom-menu-actions {
  display: contents;
}

.newbie-bottom-menu-help-toggle {
  grid-column: 1;
  grid-row: 1;
}

.newbie-bottom-menu-action--create-hero {
  grid-column: 2;
  grid-row: 1;
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 88px;
  height: 100%;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  padding: 12px;
}

.newbie-bottom-menu-help-toggle-symbol,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.newbie-bottom-menu-help-toggle-symbol-icon,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
  width: 23px;
  height: 23px;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy {
  gap: 0;
}

.newbie-bottom-menu-help-toggle-label,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
  overflow: visible;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.18;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
}

.newbie-bottom-menu-help-toggle-desc,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
  display: none;
}

.newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-action--create-hero::after {
  position: absolute;
  top: 12px;
  right: 12px;
}

.newbie-bottom-menu-help-toggle-icon {
  margin-right: 0;
}

.newbie-bottom-menu-action--create-hero::after {
  width: 9px;
  height: 9px;
  box-shadow: none;
}

.newbie-bottom-menu-secondary-groups,
.newbie-bottom-menu-stats,
.newbie-bottom-menu-action:not(.newbie-bottom-menu-action--create-hero) {
  grid-column: 1 / -1;
}

.newbie-bottom-menu-secondary-groups {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(224, 190, 108, 0.28);
}

.newbie-bottom-menu-action-group {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.newbie-bottom-menu-action-group + .newbie-bottom-menu-action-group {
  padding-top: 9px;
  border-top: 1px solid rgba(224, 190, 108, 0.2);
}

.newbie-bottom-menu-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 4px;
  color: rgba(214, 190, 124, 0.76);
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.46);
}

.newbie-bottom-menu-group-label::after {
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(224, 190, 108, 0.32), transparent);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action {
  grid-template-columns: 30px minmax(0, 1fr) 10px;
  min-height: 52px;
  gap: 10px;
  border-color: rgba(232, 195, 111, 0.52);
  border-radius: 8px;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(48, 38, 18, 0.94), rgba(21, 17, 9, 0.96));
  color: #f5dda0;
  box-shadow:
    inset 3px 0 0 rgba(231, 186, 78, 0.62),
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    inset 0 0 0 1px rgba(255, 239, 194, 0.05),
    0 7px 13px rgba(0, 0, 0, 0.24);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:hover,
.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:focus-visible {
  border-color: rgba(255, 221, 134, 0.72);
  background:
    linear-gradient(180deg, rgba(62, 49, 24, 0.98), rgba(28, 22, 11, 0.98));
  box-shadow:
    inset 3px 0 0 rgba(255, 211, 105, 0.76),
    inset 0 1px 0 rgba(255, 244, 203, 0.22),
    inset 0 0 0 1px rgba(255, 239, 194, 0.08),
    0 9px 16px rgba(0, 0, 0, 0.28);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-icon {
  width: 30px;
  height: 30px;
  border-color: rgba(255, 218, 126, 0.42);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 221, 127, 0.26), rgba(111, 82, 34, 0.2));
  color: #ffe08c;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.16);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-title {
  color: #fff1c4;
  font-size: 14px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.38);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-desc {
  color: rgba(238, 215, 158, 0.72);
  font-size: 11.5px;
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action::after {
  width: 8px;
  height: 8px;
  border-width: 2px;
  opacity: 0.54;
}

@media (max-width: 380px) {
  .newbie-bottom-menu-secondary-groups {
    gap: 8px;
    padding-top: 9px;
  }

  .newbie-bottom-menu-action-group {
    gap: 5px;
  }

  .newbie-bottom-menu-action-group + .newbie-bottom-menu-action-group {
    padding-top: 8px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action {
    grid-template-columns: 28px minmax(0, 1fr) 10px;
    min-height: 48px;
    gap: 8px;
    padding: 7px 9px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-icon {
    width: 28px;
    height: 28px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-title {
    font-size: 13px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-desc {
    font-size: 10.5px;
  }
}

.newbie-bottom-menu-help-toggle-icon {
  transform: rotate(-45deg);
}

.newbie-bottom-menu-help-toggle.is-open .newbie-bottom-menu-help-toggle-icon {
  transform: rotate(-45deg);
}

.newbie-stats-modal {
  align-self: end;
  width: min(414px, calc(100vw - 24px));
  max-width: min(414px, calc(100vw - 24px));
  height: min(calc(100dvh - 172px), 468px);
  max-height: min(calc(100dvh - 172px), 468px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(25, 21, 13, 0.98), rgba(7, 9, 7, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.18),
    inset 0 0 0 1px rgba(93, 68, 31, 0.3),
    0 24px 46px rgba(0, 0, 0, 0.44);
}

.newbie-stats-modal-header {
  display: grid;
  gap: 8px;
  padding-right: 38px;
}

.newbie-stats-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.newbie-stats-modal-header h2 {
  margin: 0;
  color: #fff7db;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

.newbie-stats-basis {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: rgba(255, 229, 173, 0.72);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
}

.newbie-stats-basis strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(239, 199, 114, 0.42);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(239, 199, 114, 0.14);
  color: #ffe8b6;
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.newbie-stats-basis span {
  min-width: 0;
}

.newbie-stats-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}

.newbie-stats-records {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid rgba(239, 199, 114, 0.24);
  padding-top: 13px;
}

.newbie-stats-records-header {
  align-items: flex-start;
  padding-right: 0;
}

.newbie-stats-records-header h3 {
  min-width: 0;
  margin: 0;
  color: #fff7db;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.2;
}

.newbie-stats-records-badges {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.newbie-stats-records-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(239, 199, 114, 0.32);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(56, 38, 14, 0.58);
  color: rgba(255, 232, 182, 0.78);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.newbie-stats-records-badge strong {
  margin-left: 4px;
  color: #fff7db;
  font-size: 12px;
  font-weight: 1000;
}

.newbie-stats-records-list {
  max-height: min(38dvh, 360px);
}

.newbie-stats-settlement {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid rgba(239, 199, 114, 0.24);
  padding-top: 13px;
}

.newbie-stats-settlement-header {
  align-items: flex-start;
  padding-right: 0;
}

.newbie-stats-settlement-header h3 {
  min-width: 0;
  margin: 0;
  color: #fff7db;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.2;
}

.newbie-stats-settlement-header p {
  margin: 4px 0 0;
  color: rgba(255, 232, 182, 0.66);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  word-break: keep-all;
}

.newbie-stats-settlement-rule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-width: 162px;
  min-height: 28px;
  border: 1px solid rgba(240, 172, 86, 0.42);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(62, 38, 12, 0.58);
  color: #ffdba3;
  font-size: 10px;
  font-weight: 1000;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.newbie-stats-settlement-list {
  display: grid;
  gap: 8px;
}

.newbie-settlement-chart {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(114, 224, 151, 0.22);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(19, 34, 25, 0.74), rgba(8, 10, 7, 0.74));
  box-shadow: inset 0 1px 0 rgba(210, 255, 222, 0.06);
}

.newbie-settlement-chart[data-demo-season="true"] {
  border-color: rgba(239, 199, 114, 0.38);
  background:
    radial-gradient(circle at 12% 0%, rgba(114, 224, 151, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(31, 32, 16, 0.78), rgba(8, 10, 7, 0.76));
}

.newbie-settlement-chart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.newbie-settlement-chart__title {
  min-width: 0;
  overflow: hidden;
  color: #fff7db;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-settlement-chart__legend {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px 7px;
  min-width: 0;
}

.newbie-settlement-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 232, 182, 0.7);
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.newbie-settlement-chart__legend-item::before {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 244, 205, 0.32);
  content: "";
}

.newbie-settlement-chart__legend-item[data-settlement-kind="existing"]::before,
.newbie-settlement-flow-segment[data-settlement-kind="existing"] {
  width: 13px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(118, 194, 135, 0.86), rgba(45, 116, 68, 0.76));
}

.newbie-settlement-chart__legend-item[data-settlement-kind="influx"]::before,
.newbie-settlement-flow-segment[data-settlement-kind="influx"] {
  width: 13px;
  border-radius: 3px;
  background: linear-gradient(180deg, #8cf0a8, #35aa66);
}

.newbie-settlement-chart__legend-item[data-settlement-kind="lapsed"]::before {
  width: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 137, 137, 0.9), rgba(155, 56, 56, 0.78));
}

.newbie-settlement-stack-chart {
  display: grid;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 205, 0.08);
  border-radius: 8px;
  padding: 7px 7px 6px;
  background:
    linear-gradient(180deg, rgba(255, 244, 205, 0.05), rgba(255, 244, 205, 0.02));
}

.newbie-settlement-stack-chart__svg {
  display: block;
  width: 100%;
  height: 132px;
  overflow: visible;
}

.newbie-settlement-stack-chart__grid {
  stroke: rgba(255, 244, 205, 0.12);
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  stroke-width: 1;
}

.newbie-settlement-stack-chart__segment {
  stroke: rgba(177, 255, 199, 0.18);
  stroke-width: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.newbie-settlement-stack-chart__segment[data-settlement-kind="existing"] {
  fill: rgba(72, 151, 91, 0.64);
}

.newbie-settlement-stack-chart__segment[data-settlement-kind="influx"] {
  fill: rgba(135, 247, 164, 0.82);
}

.newbie-settlement-stack-chart__lapsed-bar {
  fill: rgba(230, 88, 88, 0.78);
  stroke: rgba(255, 197, 197, 0.2);
  stroke-width: 1;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.28));
}

.newbie-settlement-stack-chart__segment-label,
.newbie-settlement-stack-chart__total-label,
.newbie-settlement-stack-chart__lapsed-label {
  fill: #dfffe7;
  font-size: 8px;
  font-weight: 1000;
  paint-order: stroke;
  stroke: rgba(8, 12, 7, 0.82);
  stroke-linejoin: round;
  stroke-width: 3px;
  text-anchor: middle;
}

.newbie-settlement-stack-chart__segment-label[data-settlement-kind="influx"] {
  fill: #16371f;
  stroke: rgba(219, 255, 228, 0.72);
  stroke-width: 2px;
}

.newbie-settlement-stack-chart__total-label {
  fill: #f0ffef;
}

.newbie-settlement-stack-chart__lapsed-label {
  fill: #ffd1d1;
  stroke: rgba(22, 7, 7, 0.84);
}

.newbie-settlement-stack-chart__axis-label {
  fill: rgba(255, 232, 182, 0.64);
  font-size: 9px;
  font-weight: 1000;
  text-anchor: middle;
}

.newbie-settlement-season-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(130, 102, 46, 0.42);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(29, 25, 13, 0.74), rgba(8, 10, 7, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 241, 194, 0.08);
}

.newbie-settlement-season-card[data-current-season="true"] {
  border-color: rgba(114, 224, 151, 0.42);
  background:
    linear-gradient(180deg, rgba(20, 44, 31, 0.72), rgba(8, 10, 7, 0.76));
}

.newbie-settlement-season-card[data-demo-season="true"] {
  position: relative;
  overflow: hidden;
  border-color: rgba(239, 199, 114, 0.48);
  background:
    radial-gradient(circle at 16% 0%, rgba(239, 199, 114, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(39, 31, 13, 0.8), rgba(8, 10, 7, 0.76));
}

.newbie-settlement-season-card[data-demo-season="true"]::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 244, 205, 0.08) 38%, transparent 62%);
  content: "";
}

.newbie-settlement-season-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.newbie-settlement-season-card__title {
  min-width: 0;
  overflow: hidden;
  color: #fff7db;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-settlement-season-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 22px;
  border: 1px solid rgba(239, 199, 114, 0.36);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(239, 199, 114, 0.1);
  color: rgba(255, 232, 182, 0.78);
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-settlement-season-card[data-current-season="true"] .newbie-settlement-season-card__badge {
  border-color: rgba(114, 224, 151, 0.48);
  background: rgba(61, 134, 91, 0.2);
  color: #bff5ce;
}

.newbie-settlement-season-card[data-demo-season="true"] .newbie-settlement-season-card__badge {
  border-color: rgba(255, 226, 143, 0.56);
  background: rgba(239, 199, 114, 0.18);
  color: #ffe8b6;
}

.newbie-settlement-flow {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(255, 244, 205, 0.08);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 244, 205, 0.035);
}

.newbie-settlement-flow-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.newbie-settlement-flow-row__label {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 232, 182, 0.68);
  font-size: 10px;
  font-weight: 1000;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-settlement-flow-track {
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 244, 205, 0.07);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.34);
}

.newbie-settlement-flow-row--stacked .newbie-settlement-flow-track {
  height: 14px;
  background: rgba(54, 148, 86, 0.09);
}

.newbie-settlement-flow-segment {
  flex: 0 0 var(--settlement-segment-value, 0%);
  min-width: 4px;
}

.newbie-settlement-flow-segment[data-empty="true"] {
  flex-basis: 0;
  min-width: 0;
}

.newbie-settlement-season-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.newbie-settlement-metric {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(255, 244, 205, 0.1);
  border-radius: 8px;
  padding: 8px 6px;
  background: rgba(255, 244, 205, 0.045);
}

.newbie-settlement-metric[data-settlement-tone="influx"] {
  border-color: rgba(114, 224, 151, 0.28);
  background: rgba(48, 122, 80, 0.12);
}

.newbie-settlement-metric[data-settlement-tone="existing"] {
  border-color: rgba(118, 194, 135, 0.24);
  background: rgba(45, 116, 68, 0.12);
}

.newbie-settlement-metric[data-settlement-tone="surviving"] {
  border-color: rgba(104, 233, 143, 0.34);
  background: rgba(54, 148, 86, 0.14);
}

.newbie-settlement-metric__label,
.newbie-settlement-metric__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.1;
}

.newbie-settlement-metric__label {
  color: rgba(255, 232, 182, 0.68);
  font-size: 10px;
  font-weight: 900;
}

.newbie-settlement-metric__value {
  color: #fff7db;
  font-size: 15px;
  font-weight: 1000;
}

.newbie-settlement-metric[data-settlement-tone="influx"] .newbie-settlement-metric__value {
  color: #bdf5cc;
}

.newbie-settlement-metric[data-settlement-tone="existing"] .newbie-settlement-metric__value {
  color: #ccefd4;
}

.newbie-settlement-metric[data-settlement-tone="surviving"] .newbie-settlement-metric__value {
  color: #caffd8;
}

.newbie-settlement-season-card__retention,
.newbie-settlement-empty,
.newbie-settlement-demo-note {
  margin: 0;
  color: rgba(255, 232, 182, 0.72);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
  word-break: keep-all;
}

.newbie-settlement-empty {
  border: 1px dashed rgba(239, 199, 114, 0.24);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}

.newbie-settlement-demo-note {
  border: 1px solid rgba(239, 199, 114, 0.3);
  border-radius: 8px;
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(63, 45, 16, 0.5), rgba(12, 13, 8, 0.58));
  color: rgba(255, 232, 182, 0.8);
}

.newbie-stats-distribution {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid rgba(239, 199, 114, 0.2);
  padding-top: 13px;
}

.newbie-stats-distribution-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.newbie-stats-distribution-header h3,
.newbie-stats-distribution-card h4 {
  margin: 0;
  color: #fff7db;
  font-weight: 1000;
  line-height: 1.2;
}

.newbie-stats-distribution-header h3 {
  font-size: 15px;
}

.newbie-stats-distribution-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  color: rgba(255, 232, 182, 0.64);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.newbie-stats-distribution-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(239, 199, 114, 0.4);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(239, 199, 114, 0.13);
  color: #ffe8b6;
  font-size: 10px;
  font-weight: 1000;
}

.newbie-stats-distribution-meta strong[hidden] {
  display: none;
}

.newbie-stats-distribution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 9px;
}

.newbie-stats-distribution-grid.is-empty {
  grid-template-columns: minmax(0, 1fr);
}

.newbie-stats-distribution-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(130, 102, 46, 0.38);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(35, 27, 12, 0.62), rgba(8, 10, 7, 0.7));
}

.newbie-stats-distribution-card h4 {
  font-size: 12px;
}

.newbie-stats-dungeon-distribution {
  display: grid;
  gap: 7px;
}

.newbie-stats-distribution-row {
  --distribution-accent: 239, 199, 114;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 8px;
  min-width: 0;
}

.newbie-stats-distribution-row[data-theme="extinction"] {
  --distribution-accent: 114, 224, 151;
}

.newbie-stats-distribution-row[data-theme="tower"] {
  --distribution-accent: 135, 194, 255;
}

.newbie-stats-distribution-row[data-theme="soldoros"] {
  --distribution-accent: 239, 199, 114;
}

.newbie-stats-distribution-row__label,
.newbie-stats-distribution-row__count {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.newbie-stats-distribution-row__label {
  color: rgba(255, 245, 218, 0.86);
  font-size: 11px;
  font-weight: 900;
}

.newbie-stats-distribution-row__count {
  color: #fff7db;
  font-size: 11px;
  font-weight: 1000;
}

.newbie-stats-distribution-row__bar {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 244, 205, 0.09);
}

.newbie-stats-distribution-row__fill {
  display: block;
  width: var(--distribution-value, 0%);
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(var(--distribution-accent), 0.92), rgba(255, 249, 220, 0.9));
  box-shadow: 0 0 12px rgba(var(--distribution-accent), 0.26);
}

.newbie-stats-weekday-distribution {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  min-height: 96px;
}

.newbie-stats-weekday-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  height: 96px;
}

.newbie-stats-weekday-item__label,
.newbie-stats-weekday-item__count {
  min-width: 0;
  color: rgba(255, 245, 218, 0.82);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.newbie-stats-weekday-item__bar {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 46px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 244, 205, 0.08), rgba(255, 244, 205, 0.04));
}

.newbie-stats-weekday-item__fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--weekday-value, 0%);
  min-height: 2px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(114, 224, 151, 0.95), rgba(55, 154, 108, 0.9));
  box-shadow: 0 0 12px rgba(114, 224, 151, 0.24);
}

.newbie-stats-weekday-item[data-weekday="sat"] .newbie-stats-weekday-item__fill,
.newbie-stats-weekday-item[data-weekday="sun"] .newbie-stats-weekday-item__fill {
  background:
    linear-gradient(180deg, rgba(239, 199, 114, 0.98), rgba(186, 123, 55, 0.92));
  box-shadow: 0 0 12px rgba(239, 199, 114, 0.26);
}

.newbie-stats-distribution-empty {
  box-sizing: border-box;
  margin: 0;
  border: 1px dashed rgba(239, 199, 114, 0.24);
  border-radius: 8px;
  padding: 12px 10px;
  color: rgba(255, 232, 182, 0.72);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

.newbie-stats-weekday-distribution .newbie-stats-distribution-empty {
  grid-column: 1 / -1;
  align-self: center;
  width: 100%;
}

.newbie-stats-empty-state {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 126px;
  border: 1px solid rgba(239, 199, 114, 0.42);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(51, 37, 14, 0.76), rgba(9, 11, 8, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 194, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.newbie-stats-empty-state__icon {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(239, 199, 114, 0.54);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(239, 199, 114, 0.18), rgba(239, 199, 114, 0.04));
}

.newbie-stats-empty-state__icon::before,
.newbie-stats-empty-state__icon::after {
  position: absolute;
  bottom: 11px;
  width: 7px;
  border-radius: 999px 999px 3px 3px;
  content: "";
  background: rgba(255, 232, 182, 0.82);
}

.newbie-stats-empty-state__icon::before {
  left: 13px;
  height: 13px;
  box-shadow: 11px -6px 0 rgba(255, 232, 182, 0.62), 22px 2px 0 rgba(255, 232, 182, 0.42);
}

.newbie-stats-empty-state__icon::after {
  right: 9px;
  bottom: 30px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe8b6;
}

.newbie-stats-empty-state__copy {
  min-width: 0;
}

.newbie-stats-empty-state__copy strong {
  display: block;
  color: #fff7db;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.25;
}

.newbie-stats-empty-state__copy p {
  margin: 5px 0 0;
  color: rgba(255, 232, 182, 0.74);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.45;
}

.newbie-stats-record-row {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 34px;
  border: 1px solid rgba(130, 102, 46, 0.42);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(10, 12, 8, 0.62);
}

.newbie-stats-record-row__time,
.newbie-stats-record-row__dungeon {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.newbie-stats-record-row__time {
  color: rgba(255, 232, 182, 0.78);
  font-size: 11px;
  font-weight: 900;
}

.newbie-stats-record-row__dungeon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #fff7db;
  font-size: 12px;
  font-weight: 950;
  text-align: right;
}

/* Newbie menu featured cards: forest status + dungeon create actions. */
.newbie-bottom-menu {
  width: min(414px, calc(100vw - 12px));
}

.newbie-bottom-menu-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.newbie-bottom-menu-help,
.newbie-bottom-menu-actions {
  display: contents;
}

.newbie-bottom-menu-help-toggle {
  grid-column: 1;
  grid-row: 1;
  border-color: rgba(67, 224, 202, 0.56);
  background:
    linear-gradient(90deg, rgba(0, 12, 10, 0.72) 0%, rgba(3, 23, 21, 0.5) 44%, rgba(5, 44, 39, 0.16) 72%, rgba(4, 51, 45, 0.04) 100%),
    radial-gradient(circle at 20% 72%, rgba(39, 248, 222, 0.12), transparent 23%),
    linear-gradient(180deg, rgba(83, 255, 224, 0.08), rgba(2, 10, 9, 0.04)),
    url("/background/%EA%B7%B8%EB%9E%80%ED%94%8C%EB%A1%9C%EB%A6%AC%EC%8A%A4.webp?v=1");
  background-position: center, center, center, 48% 56%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  box-shadow:
    inset 1px 0 0 rgba(103, 255, 225, 0.58),
    inset 0 1px 0 rgba(224, 255, 246, 0.14),
    inset 0 0 0 1px rgba(116, 255, 223, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.26);
}

.newbie-bottom-menu-action--create-hero {
  grid-column: 2;
  grid-row: 1;
  border-color: rgba(214, 168, 83, 0.62);
  background:
    linear-gradient(90deg, rgba(9, 7, 5, 0.74) 0%, rgba(15, 12, 8, 0.52) 44%, rgba(48, 34, 13, 0.18) 72%, rgba(65, 44, 14, 0.04) 100%),
    radial-gradient(circle at 22% 58%, rgba(255, 218, 111, 0.09), transparent 25%),
    linear-gradient(180deg, rgba(255, 214, 113, 0.08), rgba(8, 9, 5, 0.03)),
    url("/newbie/menu-create-cta-bg.webp?v=1");
  background-position: center, center, center, 64% 54%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  box-shadow:
    inset 1px 0 0 rgba(236, 191, 81, 0.68),
    inset 0 1px 0 rgba(255, 239, 194, 0.14),
    inset 0 0 0 1px rgba(255, 239, 194, 0.07),
    0 10px 20px rgba(0, 0, 0, 0.26);
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  min-height: 150px;
  height: 100%;
  grid-template-columns: 58px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 18px 58px 18px 14px;
  color: #fff9e6;
}

.newbie-bottom-menu-help-toggle:hover,
.newbie-bottom-menu-help-toggle:focus-visible {
  border-color: rgba(74, 255, 224, 0.82);
  background:
    linear-gradient(90deg, rgba(0, 12, 10, 0.66) 0%, rgba(3, 23, 21, 0.44) 44%, rgba(5, 44, 39, 0.12) 72%, rgba(4, 51, 45, 0.02) 100%),
    radial-gradient(circle at 20% 72%, rgba(39, 248, 222, 0.16), transparent 23%),
    linear-gradient(180deg, rgba(83, 255, 224, 0.1), rgba(2, 10, 9, 0.03)),
    url("/background/%EA%B7%B8%EB%9E%80%ED%94%8C%EB%A1%9C%EB%A6%AC%EC%8A%A4.webp?v=1");
  background-position: center, center, center, 48% 56%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
}

.newbie-bottom-menu-action--create-hero:hover,
.newbie-bottom-menu-action--create-hero:focus-visible {
  border-color: rgba(255, 218, 121, 0.88);
  background:
    linear-gradient(90deg, rgba(9, 7, 5, 0.68) 0%, rgba(15, 12, 8, 0.46) 44%, rgba(48, 34, 13, 0.14) 72%, rgba(65, 44, 14, 0.02) 100%),
    radial-gradient(circle at 22% 58%, rgba(255, 218, 111, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(255, 229, 151, 0.1), rgba(8, 9, 5, 0.03)),
    url("/newbie/menu-create-cta-bg.webp?v=1");
  background-position: center, center, center, 64% 54%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
}

.newbie-bottom-menu-help-toggle-symbol,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 244, 204, 0.18), transparent 34%),
    rgba(8, 10, 7, 0.62);
}

.newbie-bottom-menu-help-toggle-symbol {
  border-color: rgba(87, 255, 225, 0.72);
  color: #ffe797;
  box-shadow:
    inset 0 1px 0 rgba(229, 255, 249, 0.2),
    0 0 0 1px rgba(87, 255, 225, 0.1),
    0 0 22px rgba(32, 238, 220, 0.32),
    0 12px 22px rgba(0, 0, 0, 0.32);
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
  border-color: rgba(255, 217, 127, 0.66);
  color: #ffdf83;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.2),
    0 0 0 1px rgba(255, 217, 127, 0.08),
    0 0 22px rgba(235, 181, 69, 0.26),
    0 12px 22px rgba(0, 0, 0, 0.32);
}

.newbie-bottom-menu-help-toggle-symbol-icon,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.05;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy {
  min-width: 0;
  gap: 8px;
}

.newbie-bottom-menu-help-toggle-label,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
  overflow: visible;
  color: #fff9e6;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1.12;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.58);
}

.newbie-bottom-menu-help-toggle-desc,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
  display: block;
  overflow: hidden;
  color: rgba(255, 239, 202, 0.74);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.48);
}

.newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-action--create-hero::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 235, 173, 0.48);
  border-radius: 50%;
  background: rgba(5, 7, 5, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    0 8px 16px rgba(0, 0, 0, 0.24);
  opacity: 1;
  transform: translateY(-50%);
}

.newbie-bottom-menu-help-toggle-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translate(-60%, -50%) rotate(-45deg);
}

.newbie-bottom-menu-action--create-hero::before {
  position: absolute;
  top: 50%;
  right: 31px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translate(50%, -50%) rotate(-45deg);
}

.newbie-bottom-menu-help-toggle-icon {
  color: #63fbe2;
}

.newbie-bottom-menu-action--create-hero::after {
  color: #ffe3a3;
}

.newbie-bottom-menu-help-toggle.is-open .newbie-bottom-menu-help-toggle-icon {
  transform: translateY(-50%);
}

.newbie-bottom-menu-secondary-groups,
.newbie-bottom-menu-stats,
.newbie-bottom-menu-action:not(.newbie-bottom-menu-action--create-hero) {
  grid-column: 1 / -1;
}

@media (max-width: 520px) {
  .newbie-bottom-menu {
    width: min(414px, calc(100vw - 12px));
  }

  .newbie-bottom-menu-panel {
    gap: 8px;
    padding: 10px;
  }

  .newbie-bottom-menu-help-toggle,
  .newbie-bottom-menu-action--create-hero {
    min-height: 116px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 13px 42px 13px 10px;
  }

  .newbie-bottom-menu-help-toggle-symbol,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
    width: 42px;
    height: 42px;
  }

  .newbie-bottom-menu-help-toggle-symbol-icon,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
    width: 26px;
    height: 26px;
  }

  .newbie-bottom-menu-help-toggle-copy,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy {
    gap: 5px;
  }

  .newbie-bottom-menu-help-toggle-label,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
    font-size: 15px;
    line-height: 1.18;
  }

  .newbie-bottom-menu-help-toggle-desc,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
    font-size: 10.5px;
    line-height: 1.28;
  }

  .newbie-bottom-menu-help-toggle-icon,
  .newbie-bottom-menu-action--create-hero::after {
    right: 9px;
    width: 28px;
    height: 28px;
  }

  .newbie-bottom-menu-help-toggle-icon::before,
  .newbie-bottom-menu-action--create-hero::before {
    width: 6px;
    height: 6px;
  }

  .newbie-bottom-menu-action--create-hero::before {
    right: 23px;
  }
}

@media (max-width: 380px) {
  .newbie-bottom-menu-help-toggle,
  .newbie-bottom-menu-action--create-hero {
    min-height: 104px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    padding: 11px 36px 11px 8px;
  }

  .newbie-bottom-menu-help-toggle-symbol,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
    width: 34px;
    height: 34px;
  }

  .newbie-bottom-menu-help-toggle-symbol-icon,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
    width: 22px;
    height: 22px;
  }

  .newbie-bottom-menu-help-toggle-label,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
    font-size: 14px;
  }

  .newbie-bottom-menu-help-toggle-desc,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
    display: none;
  }

  .newbie-bottom-menu-help-toggle-icon,
  .newbie-bottom-menu-action--create-hero::after {
    right: 8px;
    width: 24px;
    height: 24px;
  }

  .newbie-bottom-menu-action--create-hero::before {
    right: 20px;
  }
}

/* Newbie menu polish: quieter base state, clearer hierarchy on hover/focus. */
.newbie-bottom-menu-panel {
  border-color: rgba(196, 166, 96, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.42);
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action {
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.newbie-bottom-menu-help-toggle {
  border-color: rgba(72, 220, 199, 0.42);
  background:
    linear-gradient(90deg, rgba(0, 12, 10, 0.82) 0%, rgba(2, 18, 17, 0.68) 46%, rgba(6, 45, 39, 0.24) 76%, rgba(7, 50, 44, 0.08) 100%),
    radial-gradient(circle at 20% 72%, rgba(39, 248, 222, 0.1), transparent 23%),
    linear-gradient(180deg, rgba(83, 255, 224, 0.06), rgba(2, 10, 9, 0.03)),
    url("/background/%EA%B7%B8%EB%9E%80%ED%94%8C%EB%A1%9C%EB%A6%AC%EC%8A%A4.webp?v=1");
  background-position: center, center, center, 48% 56%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  box-shadow:
    inset 1px 0 0 rgba(103, 255, 225, 0.38),
    inset 0 1px 0 rgba(224, 255, 246, 0.1),
    inset 0 0 0 1px rgba(116, 255, 223, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.22);
}

.newbie-bottom-menu-action--create-hero {
  border-color: rgba(214, 168, 83, 0.44);
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.9) 0%, rgba(12, 9, 6, 0.76) 46%, rgba(36, 25, 10, 0.32) 76%, rgba(76, 51, 17, 0.12) 100%),
    radial-gradient(circle at 78% 44%, rgba(255, 213, 108, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 214, 113, 0.06), rgba(8, 9, 5, 0.03)),
    url("/newbie/menu-create-cta-bg.webp?v=1");
  background-position: center, center, center, 64% 54%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  box-shadow:
    inset 1px 0 0 rgba(236, 191, 81, 0.42),
    inset 0 1px 0 rgba(255, 239, 194, 0.1),
    inset 0 0 0 1px rgba(255, 239, 194, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.22);
}

.newbie-bottom-menu-help-toggle:hover,
.newbie-bottom-menu-help-toggle:focus-visible {
  border-color: rgba(75, 255, 225, 0.72);
  background:
    linear-gradient(90deg, rgba(0, 12, 10, 0.76) 0%, rgba(3, 23, 21, 0.58) 46%, rgba(5, 44, 39, 0.18) 76%, rgba(4, 51, 45, 0.04) 100%),
    radial-gradient(circle at 20% 72%, rgba(39, 248, 222, 0.15), transparent 23%),
    linear-gradient(180deg, rgba(83, 255, 224, 0.1), rgba(2, 10, 9, 0.03)),
    url("/background/%EA%B7%B8%EB%9E%80%ED%94%8C%EB%A1%9C%EB%A6%AC%EC%8A%A4.webp?v=1");
  background-position: center, center, center, 48% 56%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  box-shadow:
    inset 1px 0 0 rgba(103, 255, 225, 0.56),
    inset 0 1px 0 rgba(224, 255, 246, 0.14),
    0 0 0 1px rgba(103, 255, 225, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.26);
}

.newbie-bottom-menu-action--create-hero:hover,
.newbie-bottom-menu-action--create-hero:focus-visible {
  border-color: rgba(255, 218, 121, 0.72);
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.84) 0%, rgba(12, 9, 6, 0.68) 46%, rgba(38, 26, 10, 0.26) 76%, rgba(76, 51, 17, 0.08) 100%),
    radial-gradient(circle at 78% 44%, rgba(255, 218, 111, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255, 229, 151, 0.1), rgba(8, 9, 5, 0.03)),
    url("/newbie/menu-create-cta-bg.webp?v=1");
  background-position: center, center, center, 64% 54%;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  box-shadow:
    inset 1px 0 0 rgba(236, 191, 81, 0.6),
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    0 0 0 1px rgba(255, 218, 121, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.26);
}

.newbie-bottom-menu-help-toggle-symbol {
  border-color: rgba(87, 255, 225, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(229, 255, 249, 0.16),
    0 0 0 1px rgba(87, 255, 225, 0.06),
    0 8px 16px rgba(0, 0, 0, 0.3);
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
  border-color: rgba(255, 217, 127, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    0 8px 16px rgba(0, 0, 0, 0.3);
}

.newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-action--create-hero::after {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 235, 173, 0.3);
  background: rgba(5, 7, 5, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 244, 203, 0.12);
  opacity: 0.78;
  transition: border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.newbie-bottom-menu-action--create-hero::after {
  border-color: rgba(255, 210, 31, 0.48);
  background: rgba(5, 7, 5, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 244, 203, 0.12);
  opacity: 0.78;
}

.newbie-bottom-menu-action--create-hero::before {
  z-index: 2;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffd21f;
  border-bottom: 2px solid #ffd21f;
  color: #ffd21f;
  filter: none;
  opacity: 1;
}

.newbie-bottom-menu-help-toggle:hover .newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-help-toggle:focus-visible .newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-action--create-hero:hover::after,
.newbie-bottom-menu-action--create-hero:focus-visible::after {
  border-color: rgba(255, 235, 173, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    0 0 14px rgba(214, 164, 79, 0.18);
  opacity: 1;
}

.newbie-bottom-menu-action--create-hero:hover::after,
.newbie-bottom-menu-action--create-hero:focus-visible::after {
  border-color: rgba(255, 210, 31, 0.64);
  background: rgba(5, 7, 5, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    0 0 14px rgba(255, 210, 31, 0.18);
}

.newbie-bottom-menu-action--create-hero:hover::before,
.newbie-bottom-menu-action--create-hero:focus-visible::before {
  border-right-color: #ffe16a;
  border-bottom-color: #ffe16a;
  color: #ffe16a;
  filter: none;
}

.newbie-bottom-menu-secondary-groups {
  gap: 10px;
  margin-top: 3px;
  padding-top: 12px;
  border-top-color: rgba(224, 190, 108, 0.22);
}

.newbie-bottom-menu-action-group {
  gap: 7px;
}

.newbie-bottom-menu-action-group + .newbie-bottom-menu-action-group {
  padding-top: 11px;
  border-top-color: rgba(224, 190, 108, 0.16);
}

.newbie-bottom-menu-group-label {
  padding: 0 5px;
  color: rgba(245, 218, 151, 0.88);
  font-size: 12px;
  line-height: 1.25;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

.newbie-bottom-menu-group-label::after {
  background: linear-gradient(90deg, rgba(224, 190, 108, 0.36), rgba(224, 190, 108, 0.05), transparent);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action {
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 50px;
  gap: 9px;
  border-color: rgba(218, 181, 102, 0.28);
  background:
    linear-gradient(180deg, rgba(36, 29, 15, 0.9), rgba(14, 12, 8, 0.94));
  color: #ead49b;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.09),
    0 5px 11px rgba(0, 0, 0, 0.2);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:hover,
.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:focus-visible {
  border-color: rgba(255, 221, 134, 0.58);
  background:
    linear-gradient(180deg, rgba(50, 39, 19, 0.98), rgba(22, 18, 10, 0.98));
  box-shadow:
    inset 2px 0 0 rgba(255, 211, 105, 0.42),
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    0 7px 13px rgba(0, 0, 0, 0.24);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-icon {
  width: 26px;
  height: 26px;
  border-color: rgba(255, 218, 126, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 221, 127, 0.16), rgba(111, 82, 34, 0.12));
  color: #e8d39a;
  box-shadow: inset 0 1px 0 rgba(255, 244, 203, 0.12);
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:hover .newbie-bottom-menu-action-icon,
.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:focus-visible .newbie-bottom-menu-action-icon {
  border-color: rgba(255, 218, 126, 0.46);
  color: #ffe4a0;
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-icon::before {
  width: 17px;
  height: 17px;
  opacity: 0.86;
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-title {
  color: #f7e7b9;
  font-size: 14px;
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-desc {
  color: rgba(231, 211, 166, 0.66);
  font-size: 11.5px;
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action::after {
  width: 7px;
  height: 7px;
  border-width: 2px;
  opacity: 0.34;
  transition: opacity 150ms ease, transform 150ms ease;
}

.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:hover::after,
.newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action:focus-visible::after {
  opacity: 0.68;
  transform: translateX(2px) rotate(45deg);
}

#newbie-login-link {
  --newbie-login-cta-accent: #f6cf73;
  --newbie-login-cta-glow: rgba(246, 207, 115, 0.3);
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 70px;
  gap: 12px;
  border-color: rgba(255, 223, 131, 0.72);
  padding: 12px 14px;
  background:
    radial-gradient(circle at 13% 48%, rgba(255, 225, 128, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(91, 66, 25, 0.99), rgba(35, 26, 12, 0.99) 54%, rgba(11, 12, 8, 0.99));
  color: #fff9e9;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 213, 0.2),
    inset 0 0 0 1px rgba(255, 240, 181, 0.13),
    0 0 0 1px rgba(255, 212, 111, 0.18),
    0 12px 23px rgba(0, 0, 0, 0.28),
    0 0 22px var(--newbie-login-cta-glow);
}

#newbie-login-link::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.16), transparent 32%, rgba(255, 226, 143, 0.11) 63%, transparent 84%);
  content: "";
  opacity: 0.82;
  pointer-events: none;
}

#newbie-login-link:hover,
#newbie-login-link:focus-visible {
  border-color: rgba(255, 234, 166, 0.92);
  background:
    radial-gradient(circle at 13% 48%, rgba(255, 231, 152, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(110, 78, 28, 1), rgba(45, 32, 13, 1) 54%, rgba(14, 14, 8, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 224, 0.24),
    inset 0 0 0 1px rgba(255, 239, 180, 0.2),
    0 0 0 1px rgba(255, 226, 143, 0.3),
    0 14px 27px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(246, 207, 115, 0.38);
}

#newbie-login-link .newbie-bottom-menu-action-icon {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 232, 160, 0.58);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 232, 0.28), transparent 36%),
    linear-gradient(180deg, rgba(255, 224, 135, 0.28), rgba(77, 50, 15, 0.62));
  color: #fff4bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 224, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(246, 207, 115, 0.28);
}

#newbie-login-link .newbie-bottom-menu-action-icon::before {
  width: 22px;
  height: 22px;
  opacity: 1;
}

#newbie-login-link .newbie-bottom-menu-action-title {
  color: #fffdf1;
  font-size: 17px;
  line-height: 1.1;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.5),
    0 0 14px rgba(246, 207, 115, 0.28);
}

#newbie-login-link .newbie-bottom-menu-action-title::after {
  opacity: 0.94;
}

#newbie-login-link .newbie-bottom-menu-action-desc {
  color: rgba(255, 241, 204, 0.86);
  font-size: 12.3px;
}

#newbie-logout-button {
  border-color: rgba(180, 154, 103, 0.2);
  background:
    linear-gradient(180deg, rgba(25, 23, 18, 0.76), rgba(10, 10, 8, 0.9));
  color: rgba(226, 210, 176, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.05),
    0 4px 9px rgba(0, 0, 0, 0.16);
}

#newbie-logout-button .newbie-bottom-menu-action-icon {
  border-color: rgba(210, 182, 126, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 210, 176, 0.7);
}

#newbie-logout-button .newbie-bottom-menu-action-title {
  color: rgba(236, 221, 190, 0.8);
}

#newbie-logout-button .newbie-bottom-menu-action-desc {
  color: rgba(225, 211, 180, 0.48);
}

#newbie-logout-button::after {
  opacity: 0.24;
}

#newbie-logout-button:hover,
#newbie-logout-button:focus-visible {
  border-color: rgba(210, 177, 105, 0.42);
  background:
    linear-gradient(180deg, rgba(34, 30, 22, 0.92), rgba(14, 13, 10, 0.96));
}

#newbie-logout-button:hover .newbie-bottom-menu-action-title,
#newbie-logout-button:focus-visible .newbie-bottom-menu-action-title {
  color: #f1deb0;
}

@media (max-width: 520px) {
  .newbie-bottom-menu-help-toggle-icon,
  .newbie-bottom-menu-action--create-hero::after {
    width: 26px;
    height: 26px;
  }

  .newbie-bottom-menu-action--create-hero::before {
    right: 22px;
  }
}

@media (max-width: 380px) {
  .newbie-bottom-menu-secondary-groups {
    gap: 8px;
    padding-top: 10px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 48px;
    gap: 8px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-icon {
    width: 24px;
    height: 24px;
  }

  .newbie-bottom-menu-secondary-groups .newbie-bottom-menu-action-icon::before {
    width: 15px;
    height: 15px;
  }
}

/* Keep featured menu cards inside the 430px app shell without cramped titles. */
.newbie-bottom-menu-panel {
  grid-template-columns: minmax(0, 1fr);
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero {
  grid-column: 1 / -1;
}

.newbie-bottom-menu-help-toggle {
  grid-row: 1;
}

.newbie-bottom-menu-action--create-hero {
  grid-row: 2;
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero {
  min-height: 92px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 12px;
}

.newbie-bottom-menu-help-toggle {
  min-height: 96px;
}

.newbie-bottom-menu-help-toggle-symbol,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
  width: 44px;
  height: 44px;
}

.newbie-bottom-menu-help-toggle-symbol-icon,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
  width: 27px;
  height: 27px;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy {
  gap: 7px;
}

.newbie-bottom-menu-help-toggle-copy {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: space-between;
  column-gap: 8px;
}

.newbie-bottom-menu-help-toggle-label,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.16;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.newbie-bottom-menu-help-toggle-label::after {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  opacity: 0.58;
  transform: rotate(45deg);
  transition: opacity 150ms ease, transform 150ms ease;
}

.newbie-bottom-menu-help-toggle-label::after,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title::after {
  display: none;
  content: none;
}

.newbie-bottom-menu-help-toggle:hover .newbie-bottom-menu-help-toggle-label::after,
.newbie-bottom-menu-help-toggle:focus-visible .newbie-bottom-menu-help-toggle-label::after {
  opacity: 0.86;
  transform: translateX(2px) rotate(45deg);
}

.newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-action--create-hero::before,
.newbie-bottom-menu-action--create-hero::after {
  display: none;
  content: none;
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
  white-space: nowrap;
}

.newbie-bottom-menu-help-toggle-stats {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-self: end;
  gap: 5px;
  width: max-content;
  max-width: 100%;
}

.newbie-bottom-menu-help-toggle-stat {
  --newbie-menu-stat-icon-color: #84ffe9;
  --newbie-menu-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 21a8 8 0 0 1 13.292-6'/%3E%3Ccircle cx='10' cy='8' r='5'/%3E%3Cpath d='M19 16v6'/%3E%3Cpath d='M22 19h-6'/%3E%3C/svg%3E");
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 5px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.newbie-bottom-menu-help-toggle-stat::before {
  display: none;
  content: none;
}

.newbie-menu-stat-glyph {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  align-self: center;
  color: var(--newbie-menu-stat-icon-color);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

.newbie-menu-stat-glyph--newbie {
  color: #84ffe9;
}

.newbie-menu-stat-glyph--veteran {
  color: #a7e9ff;
}

.newbie-menu-stat-glyph--total-help {
  color: #f0c96d;
}

.newbie-bottom-menu-help-toggle-stat--veteran {
  --newbie-menu-stat-icon-color: #a7e9ff;
  --newbie-menu-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V5l8-3 8 3v8Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E");
  background: none;
}

.newbie-bottom-menu-help-toggle-stat--total-help {
  --newbie-menu-stat-icon-color: #f0c96d;
  --newbie-menu-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16'/%3E%3Cpath d='m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95'/%3E%3Cpath d='m2 15 6 6'/%3E%3Cpath d='m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91'/%3E%3C/svg%3E");
  background: none;
}

.newbie-menu-stat-copy {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
  gap: 4px;
}

.newbie-menu-stat-caption {
  display: inline;
  min-width: 0;
  overflow: visible;
  color: rgba(229, 255, 249, 0.72);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.58);
}

.newbie-bottom-menu-help-toggle-stat strong {
  min-width: 0;
  overflow: visible;
  color: #84ffe9;
  font-size: 16px;
  font-weight: 1000;
  line-height: 0.98;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: nowrap;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.58),
    0 0 10px color-mix(in srgb, currentColor 34%, transparent);
}

.newbie-bottom-menu-help-toggle-stat--veteran strong {
  color: #a7e9ff;
}

.newbie-bottom-menu-help-toggle-stat--total-help strong {
  color: #f0c96d;
}

.newbie-bottom-menu-help-toggle-desc,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
  font-size: 10.5px;
  line-height: 1.28;
}

.newbie-bottom-menu-help-toggle-icon,
.newbie-bottom-menu-action--create-hero::after {
  right: 8px;
  width: 26px;
  height: 26px;
}

.newbie-bottom-menu-help-toggle-icon::before,
.newbie-bottom-menu-action--create-hero::before {
  width: 6px;
  height: 6px;
}

.newbie-bottom-menu-action--create-hero::before {
  right: 21px;
}

@media (max-width: 380px) {
  .newbie-bottom-menu-help-toggle,
  .newbie-bottom-menu-action--create-hero {
    min-height: 88px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 9px;
  }

  .newbie-bottom-menu-help-toggle {
    min-height: 92px;
  }

  .newbie-bottom-menu-help-toggle-symbol,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon {
    width: 36px;
    height: 36px;
  }

  .newbie-bottom-menu-help-toggle-symbol-icon,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-icon-svg {
    width: 21px;
    height: 21px;
  }

  .newbie-bottom-menu-help-toggle-label,
  .newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
    font-size: 13.5px;
  }

  .newbie-bottom-menu-help-toggle-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    row-gap: 5px;
  }

  .newbie-bottom-menu-help-toggle-stats {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .newbie-bottom-menu-help-toggle-stats {
    gap: 4px;
  }

  .newbie-bottom-menu-help-toggle-stat {
    gap: 4px;
    padding: 0;
  }

  .newbie-menu-stat-glyph {
    width: 15px;
    height: 15px;
  }

  .newbie-menu-stat-caption {
    font-size: 10px;
  }

  .newbie-bottom-menu-help-toggle-stat strong {
    font-size: 14.5px;
  }

  .newbie-bottom-menu-help-toggle-icon,
  .newbie-bottom-menu-action--create-hero::after {
    right: 7px;
    width: 24px;
    height: 24px;
  }

  .newbie-bottom-menu-action--create-hero::before {
    right: 19px;
  }
}

/* Menu guide/support icons: make the guide/contact rows read like real actions. */
#newbie-bottom-menu-guide-group-title {
  --newbie-bottom-menu-group-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M16 12h2'/%3E%3Cpath d='M16 8h2'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3Cpath d='M6 12h2'/%3E%3Cpath d='M6 8h2'/%3E%3C/svg%3E");
}

#newbie-bottom-menu-support-group-title {
  --newbie-bottom-menu-group-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h6'/%3E%3Cpath d='M8 9h2'/%3E%3C/svg%3E");
}

#newbie-bottom-menu-guide-group-title::before,
#newbie-bottom-menu-support-group-title::before {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  content: "";
  background: linear-gradient(180deg, #ffe6a8, #c99645);
  filter: drop-shadow(0 0 7px rgba(239, 199, 114, 0.24));
  -webkit-mask: var(--newbie-bottom-menu-group-icon) center / contain no-repeat;
  mask: var(--newbie-bottom-menu-group-icon) center / contain no-repeat;
}

#newbie-open-job-guide-button {
  --newbie-bottom-menu-row-accent: #8fe2d2;
  --newbie-bottom-menu-row-accent-soft: rgba(143, 226, 210, 0.2);
}

#newbie-open-newbie-guide-button {
  --newbie-bottom-menu-row-accent: #f0c96d;
  --newbie-bottom-menu-row-accent-soft: rgba(240, 201, 109, 0.2);
}

#newbie-open-policy-button {
  --newbie-bottom-menu-row-accent: #f0c96d;
  --newbie-bottom-menu-row-accent-soft: rgba(240, 201, 109, 0.2);
}

#newbie-open-policy-button .newbie-bottom-menu-action-icon {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h6'/%3E%3Cpath d='M8 8h.01'/%3E%3C/svg%3E");
}

#newbie-open-inquiry-button {
  --newbie-bottom-menu-row-accent: #f0c96d;
  --newbie-bottom-menu-row-accent-soft: rgba(240, 201, 109, 0.2);
}

#newbie-open-inquiry-button .newbie-bottom-menu-action-icon {
  --newbie-bottom-menu-action-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H8l-5 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2Z'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M16 10h.01'/%3E%3C/svg%3E");
}

#newbie-open-hall-of-fame-button {
  --newbie-bottom-menu-row-accent: #f0c96d;
  --newbie-bottom-menu-row-accent-soft: rgba(240, 201, 109, 0.2);
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action {
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 58px;
  gap: 10px;
  border-color: color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 34%, transparent);
  padding: 8px 12px;
  background:
    radial-gradient(circle at 12% 48%, var(--newbie-bottom-menu-row-accent-soft), transparent 30%),
    linear-gradient(90deg, rgba(31, 26, 17, 0.96), rgba(14, 12, 8, 0.98));
  box-shadow:
    inset 1px 0 0 color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 32%, transparent),
    inset 0 1px 0 rgba(255, 241, 202, 0.08),
    0 5px 10px rgba(0, 0, 0, 0.2);
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action:hover,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action:focus-visible {
  border-color: color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 58%, transparent);
  background:
    radial-gradient(circle at 12% 48%, color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 22%, transparent), transparent 30%),
    linear-gradient(90deg, rgba(41, 34, 20, 0.98), rgba(18, 15, 9, 0.99));
  box-shadow:
    inset 2px 0 0 color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 48%, transparent),
    inset 0 1px 0 rgba(255, 244, 203, 0.13),
    0 7px 14px rgba(0, 0, 0, 0.24);
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action::after {
  content: none;
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon {
  width: 34px;
  height: 34px;
  border-color: color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 44%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 250, 218, 0.14), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--newbie-bottom-menu-row-accent) 23%, rgba(13, 16, 12, 0.94)), rgba(8, 8, 6, 0.94));
  color: var(--newbie-bottom-menu-row-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.24),
    0 0 13px var(--newbie-bottom-menu-row-accent-soft),
    0 6px 12px rgba(0, 0, 0, 0.24);
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon::before {
  width: 19px;
  height: 19px;
  opacity: 0.96;
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-title {
  color: #fff9e9;
  font-size: 16px;
  line-height: 1.1;
}

.newbie-bottom-menu .newbie-bottom-menu-action-title,
.newbie-bottom-menu .newbie-bottom-menu-help-toggle-label {
  overflow: visible;
  padding-right: 6px;
  text-overflow: clip;
}

:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-desc {
  display: -webkit-box;
  color: rgba(236, 220, 184, 0.72);
  font-size: 11.5px;
  line-height: 1.2;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 420px) {
  #newbie-login-link {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 66px;
    gap: 10px;
    padding: 11px 12px;
  }

  #newbie-login-link .newbie-bottom-menu-action-icon {
    width: 36px;
    height: 36px;
  }

  #newbie-login-link .newbie-bottom-menu-action-title {
    font-size: 16.5px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 56px;
    gap: 9px;
    padding: 7px 10px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon {
    width: 32px;
    height: 32px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon::before {
    width: 18px;
    height: 18px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-title {
    font-size: 15.5px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-desc {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  #newbie-login-link {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 62px;
    gap: 9px;
    padding: 10px 11px;
  }

  #newbie-login-link .newbie-bottom-menu-action-icon {
    width: 34px;
    height: 34px;
  }

  #newbie-login-link .newbie-bottom-menu-action-icon::before {
    width: 20px;
    height: 20px;
  }

  #newbie-login-link .newbie-bottom-menu-action-title {
    font-size: 16px;
  }

  #newbie-login-link .newbie-bottom-menu-action-desc {
    font-size: 11.5px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    min-height: 54px;
    padding: 7px 9px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon {
    width: 30px;
    height: 30px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon::before {
    width: 17px;
    height: 17px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-title {
    font-size: 15px;
  }

  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-desc {
    font-size: 11.5px;
  }
}

/* Newbie settlement status cards inspired by the verified role showcase. */
.newbie-stats-modal {
  width: min(414px, calc(100vw - 24px));
  max-width: min(414px, calc(100vw - 24px));
  height: min(calc(100dvh - 172px), 468px);
  max-height: min(calc(100dvh - 172px), 468px);
}

.newbie-stats-modal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat {
  --newbie-stat-accent: #93ee57;
  --newbie-stat-accent-2: #5ec83f;
  --newbie-stat-accent-rgb: 147, 238, 87;
  --newbie-stat-card-bg: linear-gradient(135deg, rgba(15, 41, 18, 0.98), rgba(4, 9, 7, 0.98) 64%, rgba(7, 18, 10, 0.98));
  --newbie-stat-main-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-8 9v-1.5C4 15.5 7.6 13 12 13s8 2.5 8 5.5V20H4Z'/%3E%3C/svg%3E");
  --newbie-stat-shield-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5.2v6.1c0 5-3.4 8.8-8 10.7-4.6-1.9-8-5.7-8-10.7V5.2L12 2Zm-1.2 13.2 5.2-5.2-1.6-1.6-3.6 3.6-1.6-1.6L7.6 12l3.2 3.2Z'/%3E%3C/svg%3E");
  --newbie-stat-laurel-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cg fill='black'%3E%3Cpath d='M30 86c-12-11-18-24-18-40 0-13 4-25 12-35l4 3c-7 9-10 20-10 32 0 14 5 26 16 36l-4 4Z'/%3E%3Cellipse cx='22' cy='70' rx='5' ry='12' transform='rotate(-42 22 70)'/%3E%3Cellipse cx='16' cy='56' rx='4.5' ry='11' transform='rotate(-24 16 56)'/%3E%3Cellipse cx='17' cy='42' rx='4.5' ry='11' transform='rotate(-8 17 42)'/%3E%3Cellipse cx='22' cy='28' rx='4.5' ry='10' transform='rotate(14 22 28)'/%3E%3Cpath d='M90 86c12-11 18-24 18-40 0-13-4-25-12-35l-4 3c7 9 10 20 10 32 0 14-5 26-16 36l4 4Z'/%3E%3Cellipse cx='98' cy='70' rx='5' ry='12' transform='rotate(42 98 70)'/%3E%3Cellipse cx='104' cy='56' rx='4.5' ry='11' transform='rotate(24 104 56)'/%3E%3Cellipse cx='103' cy='42' rx='4.5' ry='11' transform='rotate(8 103 42)'/%3E%3Cellipse cx='98' cy='28' rx='4.5' ry='10' transform='rotate(-14 98 28)'/%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "emblem count"
    "title count";
  justify-items: center;
  align-items: center;
  min-height: 100px;
  overflow: hidden;
  gap: 0 12px;
  border-color: rgba(var(--newbie-stat-accent-rgb), 0.58);
  border-radius: 8px;
  padding: 10px 12px 10px 8px;
  background:
    radial-gradient(circle at 18% 45%, rgba(var(--newbie-stat-accent-rgb), 0.28), transparent 30%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(var(--newbie-stat-accent-rgb), 0.11), transparent 54%),
    var(--newbie-stat-card-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(var(--newbie-stat-accent-rgb), 0.12),
    0 0 24px rgba(var(--newbie-stat-accent-rgb), 0.16),
    0 18px 34px rgba(0, 0, 0, 0.34);
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat--veteran {
  --newbie-stat-accent: #85d8ff;
  --newbie-stat-accent-2: #2f7eea;
  --newbie-stat-accent-rgb: 133, 216, 255;
  --newbie-stat-card-bg: linear-gradient(135deg, rgba(13, 29, 48, 0.98), rgba(4, 9, 16, 0.98) 64%, rgba(6, 17, 34, 0.98));
  --newbie-stat-main-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.2 8.4 8.4 3.8l3.6 3.1 3.6-3.1 2.2 4.6-2.5 1.9H8.7L6.2 8.4Zm5.8 7.2a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM4 21c0-2.7 3.4-4.7 8-4.7s8 2 8 4.7H4Z'/%3E%3C/svg%3E");
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat::before {
  position: absolute;
  top: 28px;
  left: 27px;
  z-index: -1;
  width: 92px;
  height: 92px;
  border: 4px solid var(--newbie-stat-accent-2);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle, rgba(var(--newbie-stat-accent-rgb), 0.12), transparent 70%);
  box-shadow:
    0 0 0 1px rgba(var(--newbie-stat-accent-rgb), 0.18),
    0 0 24px rgba(var(--newbie-stat-accent-rgb), 0.28),
    inset 0 0 18px rgba(0, 0, 0, 0.44);
  opacity: 0.88;
  transform: none;
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat::after {
  position: absolute;
  top: 49px;
  left: 8px;
  z-index: -1;
  width: 130px;
  height: 105px;
  content: "";
  background: linear-gradient(180deg, rgba(var(--newbie-stat-accent-rgb), 0.84), rgba(var(--newbie-stat-accent-rgb), 0.24));
  filter: drop-shadow(0 0 10px rgba(var(--newbie-stat-accent-rgb), 0.2));
  opacity: 0.42;
  -webkit-mask: var(--newbie-stat-laurel-icon) center / contain no-repeat;
  mask: var(--newbie-stat-laurel-icon) center / contain no-repeat;
  transform: none;
}

.newbie-stat-card-emblem {
  position: relative;
  z-index: 1;
  grid-area: emblem;
  justify-self: center;
  align-self: end;
  width: 58px;
  height: 58px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(var(--newbie-stat-accent-rgb), 0.34));
}

.newbie-stat-card-emblem::before,
.newbie-stat-card-emblem::after {
  position: absolute;
  content: "";
}

.newbie-stat-card-emblem::before {
  left: 50%;
  bottom: 20px;
  width: 52px;
  height: 52px;
  background: linear-gradient(180deg, #eaffce, var(--newbie-stat-accent) 42%, var(--newbie-stat-accent-2));
  filter: drop-shadow(0 0 12px rgba(var(--newbie-stat-accent-rgb), 0.34));
  -webkit-mask: var(--newbie-stat-main-icon) center / contain no-repeat;
  mask: var(--newbie-stat-main-icon) center / contain no-repeat;
  transform: translateX(-50%);
}

.newbie-stat-card-emblem::after {
  right: 7px;
  bottom: 17px;
  width: 34px;
  height: 34px;
  background: linear-gradient(180deg, #dff6ff, var(--newbie-stat-accent));
  filter:
    drop-shadow(0 0 8px rgba(var(--newbie-stat-accent-rgb), 0.42))
    drop-shadow(0 2px 0 rgba(0, 0, 0, 0.38));
  -webkit-mask: var(--newbie-stat-shield-icon) center / contain no-repeat;
  mask: var(--newbie-stat-shield-icon) center / contain no-repeat;
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat::before,
.newbie-stats-modal-grid .newbie-bottom-menu-stat::after,
.newbie-stat-card-emblem::before,
.newbie-stat-card-emblem::after {
  content: none;
}

.newbie-stat-card-emblem-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--newbie-stat-accent);
  filter: drop-shadow(0 0 14px rgba(var(--newbie-stat-accent-rgb), 0.26));
}

.newbie-stat-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.34);
  transform-origin: center;
}

.newbie-stat-laurel {
  fill: currentColor;
  opacity: 0.36;
}

.newbie-stat-ring {
  fill: rgba(var(--newbie-stat-accent-rgb), 0.08);
  stroke: var(--newbie-stat-accent-2);
  stroke-width: 5;
  filter: drop-shadow(0 0 12px rgba(var(--newbie-stat-accent-rgb), 0.34));
}

.newbie-stat-main-icon {
  fill: var(--newbie-stat-accent);
  filter: drop-shadow(0 0 8px rgba(var(--newbie-stat-accent-rgb), 0.36));
}

.newbie-stat-main-icon--veteran {
  fill: #82d8ff;
}

.newbie-stat-shield-fill {
  fill: color-mix(in srgb, var(--newbie-stat-accent) 82%, #ffffff);
  stroke: rgba(5, 12, 10, 0.88);
  stroke-width: 3;
  paint-order: stroke;
}

.newbie-stat-shield-check {
  fill: none;
  stroke: rgba(5, 26, 22, 0.9);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat .newbie-stat-card-kicker {
  display: none;
  grid-area: kicker;
  justify-self: start;
  min-height: 36px;
  border: 1px solid rgba(var(--newbie-stat-accent-rgb), 0.58);
  border-radius: 999px;
  padding: 8px 15px;
  background:
    linear-gradient(180deg, rgba(var(--newbie-stat-accent-rgb), 0.22), rgba(var(--newbie-stat-accent-rgb), 0.08));
  color: #dfffc4;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(var(--newbie-stat-accent-rgb), 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 16px rgba(var(--newbie-stat-accent-rgb), 0.16);
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat--veteran .newbie-stat-card-kicker {
  color: #d7f3ff;
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat .newbie-stat-card-title {
  grid-area: title;
  justify-self: center;
  align-self: start;
  min-width: 0;
  color: #fffaf0;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 18px rgba(255, 255, 255, 0.12);
}

.newbie-stats-modal-grid .newbie-bottom-menu-stat strong {
  grid-area: count;
  justify-self: end;
  align-self: center;
  min-width: 0;
  color: var(--newbie-stat-accent);
  font-size: 31px;
  font-weight: 1000;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: right;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.68),
    0 0 20px rgba(var(--newbie-stat-accent-rgb), 0.26);
}

.newbie-bottom-menu-stat--veteran strong {
  color: #9ae4ff;
}

@media (max-width: 620px) {
  #newbie-stats-modal {
    padding-right: 0;
    padding-left: 0;
  }

  .newbie-stats-modal {
    width: 100vw;
    max-width: 100vw;
    height: min(calc(100dvh - 172px), 468px);
    max-height: min(calc(100dvh - 172px), 468px);
    border-right: 0;
    border-left: 0;
  }

  .newbie-stats-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "emblem count"
      "title count";
    justify-items: center;
    align-items: center;
    min-height: 100px;
    gap: 0 12px;
    padding: 10px 12px 10px 8px;
  }

  .newbie-stat-card-emblem {
    justify-self: center;
    align-self: end;
    width: 58px;
    height: 58px;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat .newbie-stat-card-kicker {
    display: none;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat .newbie-stat-card-title {
    justify-self: center;
    align-self: start;
    font-size: 11px;
    line-height: 1.1;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat strong {
    justify-self: end;
    align-self: center;
    font-size: 31px;
  }

}

@media (max-width: 380px) {
  .newbie-stats-records-header,
  .newbie-stats-settlement-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .newbie-stats-records-badges {
    justify-content: flex-start;
  }

  .newbie-stats-settlement-rule {
    justify-self: start;
    max-width: 100%;
  }

  .newbie-settlement-chart__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-settlement-chart__legend {
    justify-content: flex-start;
  }

  .newbie-settlement-stack-chart {
    padding: 6px 5px 5px;
  }

  .newbie-settlement-stack-chart__svg {
    height: 124px;
  }

  .newbie-settlement-flow-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 6px;
  }

  .newbie-settlement-season-card__metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-stats-distribution-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .newbie-stats-distribution-meta {
    justify-content: flex-start;
  }

  .newbie-stats-distribution-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-stats-empty-state {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: auto;
    padding: 11px;
  }

  .newbie-stats-empty-state__icon {
    width: 42px;
    height: 42px;
  }

  .newbie-stats-empty-state__copy strong {
    font-size: 13px;
  }

  .newbie-stats-empty-state__copy p {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .newbie-stats-weekday-item {
    height: 84px;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 92px;
    gap: 0 3px;
    padding: 8px 4px;
  }

  .newbie-stat-card-emblem {
    width: 52px;
    height: 52px;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat .newbie-stat-card-kicker {
    display: none;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat .newbie-stat-card-title {
    font-size: 10px;
  }

  .newbie-stats-modal-grid .newbie-bottom-menu-stat strong {
    font-size: 27px;
  }

}

/* Menu create action: keep the CTA focused after removing the side summary. */
.newbie-bottom-menu-action--create-hero {
  grid-template-columns: 44px minmax(0, 1fr);
  padding-right: 12px;
}

.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy {
  grid-column: 2;
  min-width: 0;
}

@media (max-width: 380px) {
  .newbie-bottom-menu-action--create-hero {
    grid-template-columns: 36px minmax(0, 1fr);
    padding-right: 9px;
  }
}

/* Bottom nav redesign: compact dock with clearer active and menu states. */
.newbie-bottom-nav {
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  gap: 4px;
  width: min(414px, calc(100vw - 16px));
  height: 58px;
  min-height: 58px;
  border-color: rgba(218, 197, 119, 0.58);
  border-radius: 8px;
  padding: 5px 8px;
  background:
    linear-gradient(90deg, rgba(117, 184, 173, 0.1), transparent 28%, transparent 72%, rgba(217, 188, 102, 0.1)),
    linear-gradient(180deg, rgba(18, 23, 16, 0.98), rgba(5, 7, 5, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 202, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 14px 28px rgba(0, 0, 0, 0.42);
}

.newbie-bottom-nav::before {
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 241, 194, 0.08), transparent),
    radial-gradient(circle at 50% 0%, rgba(245, 216, 128, 0.1), transparent 56%);
  content: "";
  pointer-events: none;
}

.newbie-bottom-nav-button {
  z-index: 1;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 5px 8px 4px;
  color: #adb49a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.newbie-bottom-nav-button > span:not(.newbie-bottom-nav-icon) {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-bottom-nav-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  color: currentColor;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.34));
}

.newbie-bottom-nav-icon--svg-only::before,
.newbie-bottom-nav-icon--svg-only::after {
  content: none;
}

.newbie-bottom-nav-button .newbie-bottom-nav-icon-svg {
  stroke-width: 2.05;
}

.newbie-bottom-nav-button:not(.newbie-bottom-nav-menu).is-active {
  border-color: rgba(236, 213, 130, 0.66);
  background:
    linear-gradient(180deg, rgba(77, 78, 45, 0.92), rgba(25, 28, 18, 0.96));
  color: #fff1bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.16),
    inset 0 0 18px rgba(224, 178, 87, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.18);
}

.newbie-bottom-nav-button:not(.newbie-bottom-nav-menu).is-active::after {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #75b8ad, #f2d78a);
  content: "";
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(117, 184, 173, 0.35);
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu {
  width: 58px;
  height: 58px;
  min-height: 58px;
  margin-top: -15px;
  border-color: rgba(241, 215, 139, 0.76);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 247, 215, 0.28), transparent 34%),
    linear-gradient(180deg, #d7bd69 0%, #9c7630 62%, #4b3517 100%);
  color: #171107;
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 225, 0.34),
    inset 0 -10px 16px rgba(63, 39, 9, 0.28),
    0 0 0 4px rgba(7, 9, 6, 0.94),
    0 0 0 5px rgba(241, 215, 139, 0.22),
    0 10px 20px rgba(0, 0, 0, 0.38);
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu.is-active,
.newbie-bottom-nav-button.newbie-bottom-nav-menu[aria-expanded="true"] {
  border-color: rgba(143, 226, 210, 0.82);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.3), transparent 34%),
    linear-gradient(180deg, #9bd7c8 0%, #4f9585 58%, #23554d 100%);
  color: #07110f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -10px 16px rgba(10, 56, 49, 0.26),
    0 0 0 4px rgba(7, 9, 6, 0.94),
    0 0 0 6px rgba(117, 184, 173, 0.24),
    0 0 22px rgba(117, 184, 173, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.38);
}

.newbie-bottom-nav-menu .newbie-bottom-nav-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.newbie-bottom-nav-menu .newbie-bottom-nav-icon-svg {
  width: 27px;
  height: 27px;
  margin: 0;
  stroke-width: 1.95;
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu > .newbie-bottom-nav-menu-state {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: auto;
  height: auto;
  min-width: 30px;
  min-height: 14px;
  overflow: visible;
  clip: auto;
  border: 1px solid rgba(216, 245, 236, 0.42);
  border-radius: 999px;
  padding: 1px 5px;
  background: rgba(7, 17, 15, 0.72);
  color: #dffaf2;
  font-size: 9px;
  font-weight: 1000;
  line-height: 1.1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu[aria-expanded="true"] .newbie-bottom-nav-icon {
  transform: translateY(-5px);
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu[aria-expanded="true"] > .newbie-bottom-nav-menu-state {
  opacity: 1;
  transform: translate(-50%, 0);
}

.newbie-bottom-nav-button.newbie-bottom-nav-menu > span.newbie-bottom-nav-menu-state {
  z-index: 3;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  overflow: visible;
  box-sizing: border-box;
}

.newbie-bottom-menu {
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

#newbie-create-view {
  padding: max(10px, env(safe-area-inset-top, 0px)) 16px calc(72px + env(safe-area-inset-bottom, 0px));
}

#newbie-create-view .newbie-create-sheet {
  width: min(414px, 100%);
  max-height: min(680px, calc(100dvh - 92px - env(safe-area-inset-bottom, 0px)));
  border-bottom: 1px solid var(--newbie-surface-border);
  border-radius: 10px;
}

@media (hover: hover) {
  .newbie-bottom-nav-button:not(.newbie-bottom-nav-menu):hover {
    border-color: rgba(214, 192, 113, 0.42);
    background: rgba(255, 241, 194, 0.06);
    color: #f0dfad;
  }

  .newbie-bottom-nav-button.newbie-bottom-nav-menu:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 380px) {
  #newbie-chat-modal {
    padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px));
  }

  #newbie-create-view {
    padding-right: 9px;
    padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px));
    padding-left: 9px;
  }

  #newbie-create-view .newbie-create-sheet {
    max-height: min(680px, calc(100dvh - 89px - env(safe-area-inset-bottom, 0px)));
  }

  .newbie-bottom-nav {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    width: min(382px, calc(100vw - 10px));
    height: 56px;
    min-height: 56px;
    padding: 4px 6px;
  }

  .newbie-bottom-nav-button {
    min-height: 46px;
    gap: 2px;
    padding: 4px 6px 3px;
  }

  .newbie-bottom-nav-button > span:not(.newbie-bottom-nav-icon) {
    font-size: 10px;
  }

  .newbie-bottom-nav-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .newbie-bottom-nav-button.newbie-bottom-nav-menu {
    width: 54px;
    height: 54px;
    min-height: 54px;
    margin-top: -13px;
  }

  .newbie-bottom-nav-menu .newbie-bottom-nav-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .newbie-bottom-nav-menu .newbie-bottom-nav-icon-svg {
    width: 25px;
    height: 25px;
  }

  .newbie-bottom-menu {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 340px) {
  .newbie-bottom-nav {
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  }

  .newbie-bottom-nav-button {
    padding-right: 4px;
    padding-left: 4px;
  }
}

/* Show featured menu card art directly, with only the create CTA text edge softened. */
.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-help-toggle:hover,
.newbie-bottom-menu-help-toggle:focus-visible {
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.74) 0%, rgba(6, 10, 6, 0.68) 30%, rgba(7, 12, 7, 0.42) 48%, rgba(8, 12, 8, 0) 66%),
    url("/background/%EA%B7%B8%EB%9E%80%ED%94%8C%EB%A1%9C%EB%A6%AC%EC%8A%A4.webp?v=1") 50% 54% / cover no-repeat;
  background-blend-mode: normal, normal;
  filter: none;
  backdrop-filter: none;
}

.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-action--create-hero:hover,
.newbie-bottom-menu-action--create-hero:focus-visible {
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.74) 0%, rgba(6, 10, 6, 0.68) 30%, rgba(7, 12, 7, 0.42) 48%, rgba(8, 12, 8, 0) 66%),
    url("/background/%EC%97%98%EB%B8%90%EA%B0%80%EB%93%9C.webp?v=1") 50% 54% / cover no-repeat;
  background-blend-mode: normal, normal;
  filter: none;
  backdrop-filter: none;
}

.newbie-bottom-menu-action--hall-hero,
.newbie-bottom-menu-action--hall-hero:hover,
.newbie-bottom-menu-action--hall-hero:focus-visible {
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.74) 0%, rgba(6, 10, 6, 0.68) 30%, rgba(7, 12, 7, 0.42) 48%, rgba(8, 12, 8, 0) 66%),
    url("/background/%EC%84%B8%EB%A6%AC%EC%95%84%EC%9D%98%20%EB%B0%A9.webp?v=1") 50% 58% / cover no-repeat;
  background-blend-mode: normal, normal;
  border-color: rgba(255, 225, 146, 0.82);
  color: #fff8e1;
  filter: none;
  backdrop-filter: none;
}

.newbie-bottom-menu-help-toggle::before,
.newbie-bottom-menu-action--create-hero::before,
.newbie-bottom-menu-action--hall-hero::before,
.newbie-bottom-menu-action--hall-hero::after,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-title::after {
  display: none;
  content: none;
}

.newbie-bottom-menu-action--create-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  display: block;
  width: min(54%, 236px);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.48) 0%, rgba(6, 10, 6, 0.36) 52%, rgba(7, 12, 7, 0.16) 78%, rgba(8, 12, 8, 0) 100%);
  backdrop-filter: blur(6px) saturate(0.78);
  -webkit-backdrop-filter: blur(6px) saturate(0.78);
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-action--hall-hero {
  grid-template-columns: minmax(0, 1fr);
  grid-row: auto;
  padding-left: 20px;
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-action--hall-hero {
  isolation: isolate;
  overflow: hidden;
}

.newbie-bottom-menu-help-toggle-symbol,
.newbie-bottom-menu-action--create-hero > .newbie-bottom-menu-action-icon,
.newbie-bottom-menu-action--hall-hero > .newbie-bottom-menu-action-icon {
  display: none;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-copy {
  grid-column: 1;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-help-toggle .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-copy,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-arrow {
  z-index: 1;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-copy,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-copy {
  position: relative;
}

.newbie-bottom-menu-help-toggle-label,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-title {
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.72);
}

.newbie-bottom-menu-help-toggle-desc,
.newbie-bottom-menu-action--create-hero .newbie-bottom-menu-action-desc {
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.72);
}

.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-title,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-desc {
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.72);
}

/* Compact secondary menu rows while keeping the three primary menu cards prominent. */
.newbie-bottom-menu {
  --newbie-bottom-menu-open-height: 296px;
}

.newbie-bottom-menu::after {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(255, 224, 144, 0.66);
  border-bottom: 1px solid rgba(255, 224, 144, 0.66);
  border-radius: 0 0 3px 0;
  background: rgba(13, 15, 10, 0.98);
  content: "";
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.42);
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-action--hall-hero {
  position: relative;
  padding-right: 48px;
}

.newbie-bottom-menu-action-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 32px;
  color: #fff1bf;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.88);
  transform: translateY(-50%);
  transition: color 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

.newbie-bottom-menu-help-toggle:hover .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-help-toggle:focus-visible .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-action--create-hero:hover .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-action--create-hero:focus-visible .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-action--hall-hero:hover .newbie-bottom-menu-action-arrow,
.newbie-bottom-menu-action--hall-hero:focus-visible .newbie-bottom-menu-action-arrow {
  color: #fff8df;
  text-shadow: 0 0 10px rgba(255, 225, 139, 0.78);
  transform: translate(3px, -50%);
}

.newbie-bottom-menu-help-toggle:hover,
.newbie-bottom-menu-help-toggle:focus-visible,
.newbie-bottom-menu-action--create-hero:hover,
.newbie-bottom-menu-action--create-hero:focus-visible,
.newbie-bottom-menu-action--hall-hero:hover,
.newbie-bottom-menu-action--hall-hero:focus-visible {
  border-color: rgba(255, 238, 166, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 218, 0.2),
    0 0 0 2px rgba(240, 201, 109, 0.14),
    0 12px 24px rgba(0, 0, 0, 0.32);
}

.newbie-bottom-menu-help-toggle {
  min-height: 72px;
  padding: 10px 14px;
  padding-right: 48px;
}

.newbie-bottom-menu-action--create-hero {
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 48px;
}

.newbie-bottom-menu-action--hall-hero {
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 48px;
}

.newbie-bottom-menu-help-toggle-copy {
  align-content: center;
}

.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-copy {
  align-content: center;
  gap: 6px;
}

.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-title {
  color: #fff8e1;
  font-size: 13.5px;
  line-height: 1.08;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.86),
    0 0 12px rgba(246, 207, 115, 0.36);
}

.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-desc {
  display: block;
  overflow: hidden;
  color: rgba(255, 232, 178, 0.88);
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78);
  white-space: nowrap;
}

.newbie-bottom-menu-help-toggle-label {
  font-size: 13.5px;
}

.newbie-bottom-menu-secondary-groups {
  gap: 6px;
  margin-top: 0;
  padding-top: 8px;
}

.newbie-bottom-menu-action-group {
  gap: 5px;
}

.newbie-bottom-menu-action-group + .newbie-bottom-menu-action-group {
  padding-top: 8px;
}

#newbie-login-link,
#newbie-logout-button,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action {
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 44px;
  gap: 8px;
  border-radius: 7px;
  padding: 6px 10px;
}

#newbie-login-link .newbie-bottom-menu-action-icon,
#newbie-logout-button .newbie-bottom-menu-action-icon,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

#newbie-login-link .newbie-bottom-menu-action-icon::before,
#newbie-logout-button .newbie-bottom-menu-action-icon::before,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon::before {
  width: 16px;
  height: 16px;
}

#newbie-login-link .newbie-bottom-menu-action-copy,
#newbie-logout-button .newbie-bottom-menu-action-copy,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-copy {
  gap: 2px;
}

#newbie-login-link .newbie-bottom-menu-action-title,
#newbie-logout-button .newbie-bottom-menu-action-title,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-title {
  font-size: 13.5px;
  line-height: 1.08;
}

#newbie-login-link .newbie-bottom-menu-action-desc,
#newbie-logout-button .newbie-bottom-menu-action-desc,
:is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-desc {
  display: block;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .newbie-bottom-menu {
    --newbie-bottom-menu-open-height: 280px;
  }

  .newbie-bottom-menu-help-toggle {
    min-height: 68px;
    padding: 9px 12px;
    padding-right: 42px;
  }

  .newbie-bottom-menu-action--create-hero {
    min-height: 68px;
    padding-top: 9px;
    padding-bottom: 9px;
    padding-right: 42px;
  }

  .newbie-bottom-menu-action--hall-hero {
    min-height: 68px;
    padding-top: 9px;
    padding-bottom: 9px;
    padding-right: 42px;
  }

  .newbie-bottom-menu-action-arrow {
    right: 10px;
    font-size: 25px;
  }

  .newbie-bottom-menu-help-toggle-label {
    font-size: 13px;
  }

  .newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-title {
    font-size: 13px;
  }

  #newbie-login-link,
  #newbie-logout-button,
  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 42px;
    gap: 7px;
    padding: 6px 9px;
  }

  #newbie-login-link .newbie-bottom-menu-action-icon,
  #newbie-logout-button .newbie-bottom-menu-action-icon,
  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-icon {
    width: 26px;
    height: 26px;
  }

  #newbie-login-link .newbie-bottom-menu-action-title,
  #newbie-logout-button .newbie-bottom-menu-action-title,
  :is(#newbie-bottom-menu-guide-group-title, #newbie-bottom-menu-support-group-title) ~ .newbie-bottom-menu-action .newbie-bottom-menu-action-title {
    font-size: 13px;
  }
}

/* Theme dungeon art for the lobby dropdown. */
#newbie-lobby-title .newbie-theme-select-chip,
.newbie-theme-select-option {
  --newbie-theme-bg-image: none;
  --newbie-theme-bg-position: 50% 50%;
}

#newbie-lobby-title .newbie-theme-select-chip {
  overflow: hidden;
  isolation: isolate;
  justify-content: flex-start;
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.84) 0%, rgba(16, 17, 11, 0.58) 58%, rgba(16, 17, 11, 0.34) 100%),
    var(--newbie-theme-bg-image),
    linear-gradient(180deg, rgba(50, 55, 35, 0.96), rgba(15, 17, 13, 0.98));
  background-position: 50% 50%, var(--newbie-theme-bg-position), 50% 50%;
  background-size: cover, cover, cover;
  color: #fff4ce;
}

#newbie-lobby-title .newbie-theme-select-chip.is-active {
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.84) 0%, rgba(16, 17, 11, 0.58) 58%, rgba(16, 17, 11, 0.34) 100%),
    var(--newbie-theme-bg-image),
    linear-gradient(180deg, rgba(76, 75, 42, 0.98), rgba(31, 32, 20, 0.98));
  background-position: 50% 50%, var(--newbie-theme-bg-position), 50% 50%;
  background-size: cover, cover, cover;
}

#newbie-lobby-title .newbie-theme-select-chip > span,
#newbie-lobby-title .newbie-theme-select-chip::after {
  position: relative;
  z-index: 1;
}

#newbie-lobby-title .newbie-theme-select-chip [data-newbie-filter-label] {
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.72);
  text-overflow: ellipsis;
}

.newbie-theme-select-menu {
  width: min(184px, calc(100vw - 24px));
}

.newbie-theme-select-option {
  min-height: 48px;
  overflow: hidden;
  isolation: isolate;
  padding: 0 12px;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.9) 0%, rgba(8, 10, 8, 0.72) 58%, rgba(8, 10, 8, 0.4) 100%),
    var(--newbie-theme-bg-image),
    linear-gradient(180deg, rgba(24, 26, 18, 0.96), rgba(10, 12, 9, 0.98));
  background-position: 50% 50%, var(--newbie-theme-bg-position), 50% 50%;
  background-size: cover, cover, cover;
  color: #f9edca;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.72);
}

.newbie-theme-select-option.is-selected {
  background:
    linear-gradient(90deg, rgba(21, 15, 6, 0.86) 0%, rgba(26, 20, 9, 0.62) 58%, rgba(26, 20, 9, 0.36) 100%),
    linear-gradient(180deg, rgba(236, 213, 130, 0.2), rgba(236, 213, 130, 0.02)),
    var(--newbie-theme-bg-image),
    linear-gradient(180deg, rgba(76, 75, 42, 0.98), rgba(31, 32, 20, 0.98));
  background-position: 50% 50%, 50% 50%, var(--newbie-theme-bg-position), 50% 50%;
  background-size: cover, cover, cover, cover;
}

#newbie-lobby-title .newbie-theme-select-chip[data-newbie-filter="extinction"],
.newbie-theme-select-option[data-newbie-filter-option="extinction"] {
  --newbie-theme-bg-image: url("/images/%EC%86%8C%EB%A9%B8.png?v=1");
  --newbie-theme-bg-position: 50% 45%;
}

#newbie-lobby-title .newbie-theme-select-chip[data-newbie-filter="tower"],
.newbie-theme-select-option[data-newbie-filter-option="tower"] {
  --newbie-theme-bg-image: url("/images/%EC%A0%95%EB%8D%98.webp?v=1");
  --newbie-theme-bg-position: 50% 42%;
}

#newbie-lobby-title .newbie-theme-select-chip[data-newbie-filter="soldoros"],
.newbie-theme-select-option[data-newbie-filter-option="soldoros"] {
  --newbie-theme-bg-image: url("/images/%EC%86%94%EB%8F%84%EB%A1%9C%EC%8A%A4.webp?v=1");
  --newbie-theme-bg-position: 50% 46%;
}

/* Lobby background art: brighten the empty state without changing the action hierarchy. */
.newbie-lobby-view {
  position: relative;
  isolation: isolate;
  align-content: start;
  min-height: calc(100dvh - 130px - env(safe-area-inset-bottom, 0px));
}

.newbie-lobby-view .newbie-header {
  position: relative;
  z-index: 140;
}

.newbie-lobby-view::before {
  position: absolute;
  z-index: -1;
  inset: -18px -16px calc(-104px - env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.28) 0%, rgba(5, 8, 5, 0.44) 42%, rgba(5, 8, 5, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 8, 5, 0.62), rgba(5, 8, 5, 0.08) 42%, rgba(5, 8, 5, 0.5)),
    url("/background/%EC%84%B8%EB%A6%AC%EC%95%84%EC%9D%98%20%EB%B0%A9.webp?v=1") 50% 50% / cover no-repeat;
  filter: saturate(0.98) brightness(0.9);
}

.newbie-lobby-view .newbie-lobby-empty {
  gap: 10px;
  transform: translateY(-10px);
}

.newbie-lobby-view .newbie-lobby-empty--signed-out {
  transform: none;
}

.newbie-lobby-view .newbie-lobby-empty__icon {
  display: none;
}

/* Bottom menu depth pass: lift the sheet itself without blurring the lobby/profile. */
.newbie-bottom-menu-panel {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 224, 144, 0.72);
  background:
    linear-gradient(180deg, rgba(43, 38, 22, 0.99) 0%, rgba(17, 18, 12, 0.99) 58%, rgba(8, 10, 7, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 218, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(0, 0, 0, 0.78),
    0 0 0 4px rgba(9, 11, 7, 0.72),
    0 -2px 24px rgba(240, 201, 109, 0.2),
    0 24px 58px rgba(0, 0, 0, 0.82),
    0 58px 104px rgba(0, 0, 0, 0.56);
}

.newbie-bottom-menu-panel::before {
  position: absolute;
  pointer-events: none;
  content: "";
}

.newbie-bottom-menu-panel::before {
  z-index: -1;
  inset: -9px -8px -10px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 236, 166, 0.22), rgba(117, 184, 173, 0.1) 42%, rgba(0, 0, 0, 0));
  filter: blur(7px);
  opacity: 0.82;
}

/* Menu primary layout: create first, stats and hall side by side. */
.newbie-bottom-menu-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-actions {
  grid-column: 1 / -1;
}

.newbie-bottom-menu-action--create-hero {
  grid-row: 1;
}

.newbie-bottom-menu-help,
.newbie-bottom-menu-action--hall-hero {
  grid-row: 2;
  min-width: 0;
}

.newbie-bottom-menu-help {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}

.newbie-bottom-menu-action.newbie-bottom-menu-action--hall-hero {
  grid-column: 2;
  grid-row: 2;
}

.newbie-bottom-menu-actions {
  grid-row: 3;
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--hall-hero {
  height: 100%;
  min-height: 68px;
  padding: 10px 12px;
}

.newbie-bottom-menu-help-toggle-copy,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-copy {
  align-content: center;
}

.newbie-bottom-menu-help-toggle-label,
.newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-title {
  font-size: 13px;
}

.newbie-bottom-menu-help-toggle-copy {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 5px;
}

.newbie-bottom-menu-help-toggle-desc {
  display: block;
  grid-row: 2;
  margin-top: 2px;
  justify-self: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .newbie-bottom-menu-panel {
    gap: 7px;
  }

  .newbie-bottom-menu-help-toggle,
  .newbie-bottom-menu-action--hall-hero {
    min-height: 64px;
    padding: 9px 10px;
  }

  .newbie-bottom-menu-help-toggle-label,
  .newbie-bottom-menu-action--hall-hero .newbie-bottom-menu-action-title {
    font-size: 12.5px;
  }
}

.newbie-bottom-menu-panel {
  max-height: min(calc(100dvh - 92px), var(--newbie-bottom-menu-open-height));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.newbie-bottom-menu-help-toggle,
.newbie-bottom-menu-action--create-hero,
.newbie-bottom-menu-action--hall-hero {
  padding-right: 48px;
}

.newbie-bottom-menu-help-toggle-icon {
  display: none;
}

@media (max-width: 380px) {
  .newbie-bottom-menu-help-toggle,
  .newbie-bottom-menu-action--create-hero,
  .newbie-bottom-menu-action--hall-hero {
    padding-right: 42px;
  }
}

.newbie-hall-of-fame-entry {
  grid-template-columns: minmax(0, 1fr) minmax(86px, max-content) max-content;
}

.newbie-hall-of-fame-rank {
  grid-column: 3;
  justify-self: end;
}

.newbie-hall-of-fame-identity {
  grid-column: 1;
}

.newbie-hall-of-fame-score {
  grid-column: 2;
}

.newbie-hall-of-fame-entry[data-rank="1"] {
  grid-template-areas:
    "identity rank"
    "identity score";
}

.newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-rank {
  justify-self: end;
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-rank,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-rank {
  grid-column: 1;
  justify-self: end;
}

.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-identity,
.newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-score,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-identity,
.newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-score {
  grid-column: 1;
}

.newbie-hall-of-fame-entry.is-honorable {
  grid-template-areas: "identity score rank";
}

.newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-rank {
  grid-area: rank;
}

.newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-identity {
  grid-area: identity;
}

.newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-score {
  grid-area: score;
}

/* Hall of Fame dedicated route. */
body.newbie-hall-of-fame-route {
  display: block;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 10, 8, 0.4), rgba(4, 5, 4, 0.9)),
    linear-gradient(90deg, rgba(14, 18, 12, 0.9), rgba(14, 18, 12, 0.28) 44%, rgba(4, 5, 4, 0.92)),
    url("/background/%EC%97%98%EB%B8%90%EA%B0%80%EB%93%9C.webp?v=1") center / cover fixed no-repeat,
    #070907;
}

body.newbie-hall-of-fame-route::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(242, 215, 138, 0.055) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, rgba(242, 215, 138, 0.05), transparent 34%, rgba(0, 0, 0, 0.3));
}

body.newbie-hall-of-fame-route .newbie-shell,
body.newbie-hall-of-fame-route .newbie-bottom-nav,
body.newbie-hall-of-fame-route .newbie-floating-actions {
  display: none !important;
}

body.newbie-hall-of-fame-route #newbie-hall-of-fame-modal {
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(4, 5, 4, 0.1), rgba(4, 5, 4, 0.28));
}

body.newbie-hall-of-fame-route .newbie-hall-of-fame-modal {
  align-self: center;
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  margin-bottom: 0;
  border-radius: 8px;
}

body.newbie-hall-of-fame-route .newbie-hall-of-fame-close {
  border-color: rgba(242, 215, 138, 0.64);
}

@media (min-width: 900px) {
  body.newbie-hall-of-fame-route #newbie-hall-of-fame-modal {
    padding: clamp(28px, 4vw, 56px);
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-modal {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 20px 28px;
    width: min(1080px, calc(100vw - 72px));
    max-height: min(760px, calc(100dvh - 64px));
    padding: 30px;
    border-color: rgba(242, 215, 138, 0.62);
    background:
      radial-gradient(ellipse at 16% 0%, rgba(242, 215, 138, 0.19), transparent 42%),
      linear-gradient(135deg, rgba(31, 36, 23, 0.98), rgba(10, 12, 9, 0.985) 58%, rgba(8, 9, 8, 0.99));
    box-shadow:
      inset 0 1px 0 rgba(255, 243, 199, 0.16),
      inset 0 0 0 1px rgba(88, 99, 57, 0.26),
      0 34px 74px rgba(0, 0, 0, 0.52);
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-modal::before {
    top: 28px;
    right: 30px;
    width: 184px;
    height: 184px;
    opacity: 0.26;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-header {
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: stretch;
    min-height: 0;
    padding: 6px 0 0;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-kicker {
    font-size: 13px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-header h2 {
    grid-column: 1 / -1;
    max-width: 7.5em;
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 1;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-close {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 18px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-tabs {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-tab {
    min-height: 46px;
    font-size: 14px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-list {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: start;
    gap: 14px;
    height: min(570px, calc(100dvh - 210px));
    max-height: none;
    padding-right: 4px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="1"] {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(174px, max-content);
    min-height: 172px;
    padding: 26px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="2"],
  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="3"] {
    grid-column: span 2;
    min-height: 154px;
    padding: 18px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry.is-honorable {
    grid-column: span 2;
    grid-template-areas: "identity score rank";
    grid-template-columns: minmax(0, 1fr) minmax(118px, max-content) max-content;
    min-height: 82px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-identity {
    grid-area: identity;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-score {
    grid-area: score;
    justify-items: end;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry.is-honorable .newbie-hall-of-fame-rank {
    grid-area: rank;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-name {
    font-size: clamp(30px, 3vw, 40px);
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-points {
    font-size: 28px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="1"] .newbie-hall-of-fame-character {
    right: 186px;
    bottom: 10px;
    width: 132px;
    height: 158px;
  }

  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="2"] .newbie-hall-of-fame-character,
  body.newbie-hall-of-fame-route .newbie-hall-of-fame-entry[data-rank="3"] .newbie-hall-of-fame-character {
    right: 20px;
    bottom: 4px;
    width: 74px;
    height: 112px;
    opacity: 0.82;
  }
}

/* Create modal choice buttons: make theme and difficulty intent visible at a glance. */
.newbie-create-sheet .newbie-theme-segmented,
.newbie-create-sheet .newbie-difficulty-segmented {
  --newbie-choice-active-border: rgba(255, 233, 156, 0.8);
}

.newbie-create-sheet .newbie-theme-segmented label,
.newbie-create-sheet .newbie-difficulty-segmented label {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(159, 151, 91, 0.38);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.76);
}

.newbie-create-sheet .newbie-theme-segmented label::before,
.newbie-create-sheet .newbie-difficulty-segmented label::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 248, 213, 0.1), rgba(0, 0, 0, 0.08)),
    var(--newbie-choice-bg, rgba(14, 16, 12, 0.82));
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.newbie-create-sheet .newbie-theme-segmented label:has(input:checked),
.newbie-create-sheet .newbie-difficulty-segmented label:has(input:checked) {
  border-color: var(--newbie-choice-active-border);
  color: #fff8dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 214, 0.22),
    inset 0 -12px 18px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 228, 144, 0.16),
    0 7px 16px rgba(0, 0, 0, 0.22);
}

.newbie-create-sheet .newbie-theme-segmented label:has(input:checked)::before,
.newbie-create-sheet .newbie-difficulty-segmented label:has(input:checked)::before {
  opacity: 1;
  transform: scale(1.015);
}

.newbie-create-sheet .newbie-theme-segmented label > span,
.newbie-create-sheet .newbie-difficulty-segmented label > span {
  position: relative;
  z-index: 1;
}

.newbie-create-sheet .newbie-theme-segmented label > span,
.newbie-create-sheet .newbie-difficulty-segmented label > span {
  display: inline-flex;
  align-items: center;
  min-height: 15px;
  line-height: 1.2;
}

.newbie-create-sheet .newbie-theme-segmented label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.newbie-create-sheet .newbie-theme-segmented label {
  min-height: 62px;
  background: var(--newbie-theme-bg-image, none) var(--newbie-theme-bg-position, 50% 50%) / cover no-repeat;
  color: #fff2c8;
}

.newbie-create-sheet .newbie-theme-segmented label:has(input:checked) {
  background: var(--newbie-theme-bg-image, none) var(--newbie-theme-bg-position, 50% 50%) / cover no-repeat;
}

.newbie-create-sheet .newbie-theme-segmented label::before,
.newbie-create-sheet .newbie-theme-segmented label:has(input:checked)::before {
  display: none;
  content: none;
}

.newbie-create-sheet .newbie-theme-segmented label::after {
  display: none;
  content: none;
}

.newbie-create-sheet .newbie-theme-segmented label:has(input:checked)::after {
  display: none;
  content: none;
}

.newbie-create-sheet .newbie-theme-segmented label:has(input[value="extinction"]) {
  --newbie-theme-bg-image: url("/images/%EC%86%8C%EB%A9%B8.png?v=1");
  --newbie-theme-bg-position: 50% 45%;
}

.newbie-create-sheet .newbie-theme-segmented label:has(input[value="tower"]) {
  --newbie-theme-bg-image: url("/images/%EC%A0%95%EB%8D%98.webp?v=1");
  --newbie-theme-bg-position: 50% 42%;
}

.newbie-create-sheet .newbie-theme-segmented label:has(input[value="soldoros"]) {
  --newbie-theme-bg-image: url("/images/%EC%86%94%EB%8F%84%EB%A1%9C%EC%8A%A4.webp?v=1");
  --newbie-theme-bg-position: 50% 46%;
}

.newbie-create-sheet .newbie-difficulty-segmented label {
  min-height: 34px;
  --newbie-choice-bg: linear-gradient(135deg, rgba(46, 48, 30, 0.86), rgba(13, 15, 10, 0.92));
  --newbie-difficulty-selected-accent: var(--newbie-choice-active-border);
  --newbie-difficulty-selected-glow: rgba(255, 228, 144, 0.24);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input:checked) {
  transform: translateY(-1px);
  outline: 2px solid var(--newbie-difficulty-selected-accent);
  outline-offset: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -14px 20px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 248, 214, 0.22),
    0 0 0 4px rgba(255, 238, 163, 0.13),
    0 10px 22px rgba(0, 0, 0, 0.32),
    0 0 22px var(--newbie-difficulty-selected-glow);
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input:checked)::after {
  position: absolute;
  z-index: 0;
  right: 8px;
  bottom: 5px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  content: "";
  background: var(--newbie-difficulty-selected-accent);
  box-shadow: 0 0 12px var(--newbie-difficulty-selected-glow);
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input:checked) > span {
  color: #fffdf0;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.92),
    0 0 10px var(--newbie-difficulty-selected-glow);
}

.newbie-create-sheet .newbie-difficulty-segmented:has(label:only-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newbie-create-sheet .newbie-difficulty-segmented:has(label:only-child) label {
  grid-column: 1;
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input[value="normal"]) {
  --newbie-choice-bg: linear-gradient(135deg, rgba(55, 113, 63, 0.78), rgba(18, 47, 35, 0.92));
  --newbie-choice-active-border: rgba(139, 220, 138, 0.78);
  --newbie-difficulty-selected-accent: rgba(158, 245, 151, 0.98);
  --newbie-difficulty-selected-glow: rgba(96, 236, 103, 0.28);
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input[value="expert"]) {
  --newbie-choice-bg: linear-gradient(135deg, rgba(35, 126, 133, 0.78), rgba(17, 51, 76, 0.92));
  --newbie-choice-active-border: rgba(116, 219, 230, 0.78);
  --newbie-difficulty-selected-accent: rgba(139, 239, 250, 0.98);
  --newbie-difficulty-selected-glow: rgba(81, 226, 242, 0.3);
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input[value="hard"]) {
  --newbie-choice-bg: linear-gradient(135deg, rgba(151, 65, 48, 0.82), rgba(80, 29, 35, 0.94));
  --newbie-choice-active-border: rgba(246, 150, 116, 0.8);
  --newbie-difficulty-selected-accent: rgba(255, 171, 128, 0.98);
  --newbie-difficulty-selected-glow: rgba(255, 119, 73, 0.32);
}

.newbie-create-sheet .newbie-difficulty-segmented label:has(input[value="dice_1"]) {
  --newbie-choice-bg: linear-gradient(135deg, rgba(106, 78, 161, 0.82), rgba(43, 38, 88, 0.94));
  --newbie-choice-active-border: rgba(196, 168, 255, 0.8);
  --newbie-difficulty-selected-accent: rgba(213, 191, 255, 0.98);
  --newbie-difficulty-selected-glow: rgba(172, 128, 255, 0.32);
}

@media (max-width: 380px) {
  .newbie-create-signin-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-create-signin-note a {
    justify-self: start;
  }

  .newbie-create-sheet .newbie-theme-segmented label {
    min-height: 56px;
  }

  .newbie-create-sheet .newbie-theme-segmented label::after {
    right: 5px;
    bottom: 5px;
    left: 5px;
    min-height: 20px;
    font-size: 10px;
  }
}

.newbie-floating-actions {
  position: fixed;
  right: max(16px, calc((100vw - 414px) / 2 + 10px));
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 54;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100vw - 24px);
}

.newbie-floating-actions-primary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.newbie-notice-fab,
.newbie-operations-guide-fab,
.newbie-job-guide-fab,
.newbie-newbie-guide-fab {
  position: relative;
  display: inline-grid;
  grid-template-columns: 18px max-content;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  border: 1px solid rgba(239, 199, 114, 0.7);
  border-radius: 8px;
  padding: 0 11px 0 10px;
  background:
    linear-gradient(180deg, rgba(64, 50, 24, 0.98), rgba(17, 16, 10, 0.98));
  color: #fff1bf;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  appearance: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.17),
    inset 0 0 14px rgba(239, 199, 114, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.34);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  touch-action: manipulation;
}

.newbie-notice-fab {
  min-width: 70px;
}

.newbie-operations-guide-fab {
  min-width: 88px;
  border-color: rgba(143, 226, 210, 0.56);
  background:
    linear-gradient(180deg, rgba(28, 53, 49, 0.98), rgba(8, 16, 15, 0.98));
  color: #d9fff7;
  box-shadow:
    inset 0 1px 0 rgba(143, 226, 210, 0.16),
    inset 0 0 14px rgba(143, 226, 210, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.34);
}

.newbie-job-guide-fab {
  min-width: 96px;
  border-color: rgba(143, 226, 210, 0.52);
  background:
    linear-gradient(180deg, rgba(31, 54, 56, 0.98), rgba(8, 14, 22, 0.98));
  color: #d9fff7;
  box-shadow:
    inset 0 1px 0 rgba(143, 226, 210, 0.14),
    inset 0 0 14px rgba(143, 226, 210, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.34);
}

.newbie-newbie-guide-fab {
  min-width: 96px;
  border-color: rgba(240, 201, 109, 0.62);
  color: #fff1bf;
}

.newbie-notice-fab-icon,
.newbie-operations-guide-fab-icon,
.newbie-job-guide-fab-icon,
.newbie-newbie-guide-fab-icon {
  width: 18px;
  height: 18px;
}

.newbie-notice-fab-icon {
  color: #8fe2d2;
}

.newbie-operations-guide-fab-icon {
  color: #8fe2d2;
}

.newbie-job-guide-fab-icon {
  color: #8fe2d2;
}

.newbie-newbie-guide-fab-icon {
  color: #f0c96d;
}

.newbie-notice-fab-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.newbie-job-guide-fab-label,
.newbie-newbie-guide-fab-label {
  min-width: 0;
  white-space: nowrap;
}

.newbie-notice-fab-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.72);
  background: #69f0d2;
  box-shadow: 0 0 0 2px rgba(14, 18, 12, 0.94), 0 0 10px rgba(105, 240, 210, 0.46);
  transition: opacity 160ms ease, transform 160ms ease;
}

.newbie-notice-fab[data-has-unread="true"] .newbie-notice-fab-dot {
  opacity: 1;
  transform: scale(1);
}

.newbie-notice-modal.newbie-operations-guide-modal {
  display: block;
  height: auto;
  max-height: min(500px, calc(100dvh - 100px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.newbie-operations-guide-modal .newbie-notice-header h2 {
  font-size: 14px;
  line-height: 1.25;
}

.newbie-notice-content.newbie-operations-guide-content {
  margin-top: 10px;
  overflow: visible;
  padding-top: 0;
  scrollbar-gutter: auto;
}

.newbie-operations-guide-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 2px 0 24px;
  color: #edf3df;
  font-size: 12px;
  line-height: 1.45;
}

.newbie-operations-guide-list li {
  padding-left: 3px;
}

.newbie-operations-guide-list li::marker {
  color: #9eeadd;
  font-weight: 1000;
}

.newbie-operations-guide-list strong {
  color: #fff5d2;
  font-weight: 800;
}

.newbie-notice-modal {
  align-self: end;
  width: min(414px, calc(100vw - 18px));
  height: min(292px, calc(100dvh - 100px));
  max-height: none;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  border-color: rgba(239, 199, 114, 0.58);
  border-radius: 12px;
  padding: 18px;
  background:
    radial-gradient(ellipse at 18% -4%, rgba(239, 199, 114, 0.2), transparent 36%),
    radial-gradient(ellipse at 94% 10%, rgba(105, 240, 210, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(28, 24, 16, 0.99), rgba(7, 9, 7, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, 0.16),
    inset 0 0 0 1px rgba(93, 68, 31, 0.28),
    0 24px 46px rgba(0, 0, 0, 0.44);
}

.newbie-notice-close {
  border-color: rgba(239, 199, 114, 0.48);
  border-radius: 8px;
  background: rgba(20, 15, 7, 0.82);
  color: #ffe8af;
}

.newbie-notice-header {
  display: grid;
  gap: 7px;
  padding-right: 42px;
}

.newbie-notice-kicker {
  width: max-content;
  border: 1px solid rgba(105, 240, 210, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(105, 240, 210, 0.08);
  color: #a8fff0;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
}

.newbie-notice-header h2 {
  margin: 0;
  color: #fff7db;
  font-size: 25px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1.18;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.48);
}

.newbie-notice-content {
  display: grid;
  align-content: start;
  min-height: 0;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.newbie-notice-section {
  display: grid;
  gap: 9px;
}

.newbie-notice-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.newbie-notice-section-head h3 {
  margin: 0;
  color: #f7e7b2;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0;
}

.newbie-notice-section-head time {
  flex: 0 0 auto;
  color: #9fb4a8;
  font-size: 11px;
  font-weight: 900;
}

.newbie-notice-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(239, 199, 114, 0.18);
  border-radius: 9px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 244, 205, 0.06), rgba(255, 244, 205, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 244, 205, 0.06);
}

.newbie-notice-card strong {
  color: #fff5d2;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.25;
}

.newbie-notice-card p {
  margin: 0;
  color: #d6ddc7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.newbie-update-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.newbie-update-list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  border: 1px solid rgba(105, 240, 210, 0.14);
  border-radius: 8px;
  padding: 10px 11px;
  background: rgba(105, 240, 210, 0.045);
}

.newbie-update-list li[data-entry-kind="notice"] {
  border-color: rgba(255, 203, 90, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 203, 90, 0.13), rgba(255, 203, 90, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 238, 170, 0.08);
}

.newbie-update-list time {
  color: #9eeadd;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.35;
  white-space: nowrap;
}

.newbie-update-list li[data-entry-kind="notice"] time {
  color: #ffd77a;
}

.newbie-update-list span {
  min-width: 0;
  color: #edf3df;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.newbie-update-list li[data-entry-kind="notice"] span {
  color: #fff2c1;
}

@media (hover: hover) {
  .newbie-notice-fab:hover,
  .newbie-operations-guide-fab:hover,
  .newbie-job-guide-fab:hover,
  .newbie-newbie-guide-fab:hover {
    border-color: rgba(143, 226, 210, 0.78);
    color: #fff8d7;
    transform: translateY(-1px);
  }

  .newbie-job-guide-fab:hover {
    border-color: rgba(159, 211, 255, 0.84);
  }

  .newbie-newbie-guide-fab:hover {
    border-color: rgba(240, 201, 109, 0.86);
  }
}

@media (max-width: 380px) {
  .newbie-floating-actions {
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    gap: 7px;
  }

  .newbie-floating-actions-primary {
    gap: 7px;
  }

  .newbie-notice-fab {
    min-width: 66px;
    min-height: 36px;
    padding-right: 10px;
    padding-left: 9px;
    font-size: 11px;
  }

  .newbie-operations-guide-fab {
    min-width: 82px;
    min-height: 36px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11px;
  }

  .newbie-job-guide-fab {
    min-height: 36px;
    min-width: 86px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 10px;
  }

  .newbie-newbie-guide-fab {
    min-width: 86px;
    min-height: 36px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .newbie-job-guide-modal {
    width: min(calc(100vw - 32px), 414px);
    height: min(760px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    padding: 12px 10px 10px;
  }

  .newbie-newbie-guide-modal {
    --newbie-guide-modal-height: min(800px, calc(100dvh - 32px));
    --newbie-guide-modal-max-height: calc(100dvh - 32px);
    width: min(calc(100vw - 32px), 414px);
  }

  .newbie-notice-modal {
    height: min(286px, calc(100dvh - 92px));
    padding: 16px;
  }

  .newbie-notice-header h2 {
    font-size: 23px;
  }
}

#newbie-help-evaluation-modal {
  z-index: 135;
}

.newbie-help-evaluation-modal {
  width: min(414px, calc(100vw - 24px));
  max-height: min(680px, calc(100dvh - 32px));
  gap: 14px;
  border-color: rgba(224, 178, 92, 0.56);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 0, rgba(224, 178, 92, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(31, 25, 14, 0.99), rgba(10, 12, 9, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.5);
}

.newbie-help-evaluation-header {
  display: grid;
  gap: 5px;
  padding-right: 38px;
}

.newbie-help-evaluation-header h2,
.newbie-help-evaluation-header p {
  margin: 0;
}

.newbie-help-evaluation-header p {
  color: #c8bea2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.newbie-help-evaluation-kicker {
  color: #f0c96d;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.04em;
}

.newbie-help-evaluation-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.newbie-help-evaluation-summary div {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid rgba(224, 178, 92, 0.2);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 239, 194, 0.04);
}

.newbie-help-evaluation-summary dt,
.newbie-help-evaluation-summary dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newbie-help-evaluation-summary dt {
  color: #a99b77;
  font-size: 10px;
  font-weight: 900;
}

.newbie-help-evaluation-summary dd {
  color: #fff0c4;
  font-size: 12px;
  font-weight: 950;
}

.newbie-help-evaluation-fieldset {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin: 0;
  border: 0;
  padding: 0;
}

.newbie-help-evaluation-fieldset legend {
  padding: 0;
  color: #fff0c4;
  font-size: 13px;
  font-weight: 1000;
}

.newbie-help-evaluation-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: rgba(224, 178, 92, 0.3);
  background: rgba(5, 8, 7, 0.76);
}

.newbie-help-evaluation-options label {
  min-width: 0;
  color: #c8bea2;
  white-space: nowrap;
}

.newbie-help-evaluation-options label:has(input:checked) {
  background: linear-gradient(180deg, rgba(192, 143, 54, 0.94), rgba(104, 69, 23, 0.96));
  color: #fff8df;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 194, 0.16),
    0 6px 14px rgba(0, 0, 0, 0.2);
}

.newbie-help-evaluation-options label:has(input:focus-visible) {
  outline: 2px solid rgba(255, 222, 135, 0.88);
  outline-offset: 2px;
}

.newbie-help-evaluation-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.newbie-help-evaluation-actions .newbie-modal-action {
  min-height: 42px;
}

.newbie-profile-history-evaluation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 2px 10px;
}

.newbie-profile-history-evaluation-results {
  display: flex;
  flex: 1 1 220px;
  flex-wrap: wrap;
  gap: 6px;
}

.newbie-profile-history-evaluation-result {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  overflow: hidden;
  border: 1px solid rgba(129, 175, 118, 0.32);
  border-radius: 999px;
  background: rgba(24, 51, 24, 0.46);
  font-size: 10px;
  font-weight: 950;
}

.newbie-profile-history-evaluation-result[data-evaluation-result="false"] {
  border-color: rgba(215, 121, 98, 0.34);
  background: rgba(75, 29, 23, 0.48);
}

.newbie-profile-history-evaluation-result__label,
.newbie-profile-history-evaluation-result__value {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
}

.newbie-profile-history-evaluation-result__label {
  color: #aebc9e;
}

.newbie-profile-history-evaluation-result__value {
  border-left: 1px solid rgba(129, 175, 118, 0.24);
  color: #d8f0c8;
}

.newbie-profile-history-evaluation-result[data-evaluation-result="false"] .newbie-profile-history-evaluation-result__label {
  color: #c5a49a;
}

.newbie-profile-history-evaluation-result[data-evaluation-result="false"] .newbie-profile-history-evaluation-result__value {
  border-left-color: rgba(215, 121, 98, 0.24);
  color: #ffd0c4;
}

.newbie-profile-history-evaluation-prompt {
  flex: 1 1 190px;
  margin: 0;
  color: #bfa875;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.newbie-profile-history-evaluation-button {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid rgba(224, 178, 92, 0.48);
  border-radius: 999px;
  padding: 0 11px;
  background: linear-gradient(180deg, rgba(124, 88, 29, 0.92), rgba(68, 45, 16, 0.94));
  color: #fff0c4;
  font-size: 11px;
  font-weight: 1000;
}

.newbie-profile-history-evaluation-button:hover,
.newbie-profile-history-evaluation-button:focus-visible {
  border-color: rgba(255, 222, 135, 0.82);
  background: linear-gradient(180deg, rgba(174, 128, 44, 0.96), rgba(93, 61, 20, 0.96));
}

.newbie-profile-history-evaluation-button:focus-visible {
  outline: 2px solid rgba(255, 222, 135, 0.7);
  outline-offset: 2px;
}

@media (max-width: 380px) {
  .newbie-help-evaluation-modal {
    width: min(414px, calc(100vw - 16px));
    padding: 15px;
  }

  .newbie-help-evaluation-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .newbie-help-evaluation-summary div {
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
  }

  .newbie-help-evaluation-options label {
    min-height: 40px;
    padding: 0 5px;
    font-size: 12px;
  }

  .newbie-profile-history-evaluation {
    align-items: stretch;
  }

  .newbie-profile-history-evaluation-button {
    min-height: 32px;
  }
}

/* Policy guide: keep the summary and actions fixed while the rules scroll. */
.newbie-modal.newbie-policy-modal {
  isolation: isolate;
  height: min(720px, calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)));
  max-height: min(720px, calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)));
  gap: 14px;
  border-color: rgba(239, 199, 114, 0.66);
  border-radius: 18px 18px 12px 12px;
  padding: 20px 18px 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% -8%, rgba(239, 199, 114, 0.2), transparent 34%),
    radial-gradient(circle at 96% 5%, rgba(105, 240, 210, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(29, 25, 17, 0.995), rgba(8, 10, 8, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 212, 0.2),
    inset 0 0 0 1px rgba(99, 73, 34, 0.26),
    0 28px 60px rgba(0, 0, 0, 0.5);
}

.newbie-modal.newbie-policy-modal::before {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  z-index: -1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 222, 139, 0.92), rgba(105, 240, 210, 0.5), transparent);
  content: "";
}

.newbie-policy-modal .newbie-policy-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 14px;
  border-bottom: 1px solid rgba(239, 199, 114, 0.2);
}

.newbie-policy-modal .newbie-policy-header h2 {
  color: #fff7dc;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 14px rgba(239, 199, 114, 0.14);
}

.newbie-policy-modal .newbie-policy-lead {
  width: 100%;
  max-width: none;
  color: #d8cfb5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.65;
  overflow-wrap: break-word;
  text-align: left;
  word-break: keep-all;
}

.newbie-policy-modal .newbie-policy-closing {
  margin: 2px 2px 0;
  border-top: 1px solid rgba(239, 199, 114, 0.2);
  padding: 12px 2px 2px;
  color: #bfc5af;
  font-size: 11.5px;
}

.newbie-policy-modal .newbie-policy-list {
  align-content: start;
  grid-auto-rows: max-content;
  gap: 10px;
  padding: 2px 6px 12px 2px;
  scroll-padding-block: 8px;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.newbie-policy-modal .newbie-policy-item {
  --policy-accent: 239, 199, 114;
  position: relative;
  align-self: start;
  min-width: 0;
  min-height: max-content;
  overflow: visible;
  border-color: rgba(var(--policy-accent), 0.3);
  border-radius: 12px;
  padding: 14px 14px 14px 17px;
  background:
    linear-gradient(90deg, rgba(var(--policy-accent), 0.08), transparent 34%),
    linear-gradient(180deg, rgba(51, 41, 24, 0.78), rgba(18, 18, 13, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 216, 0.07),
    0 7px 18px rgba(0, 0, 0, 0.13);
}

.newbie-policy-modal .newbie-policy-item:nth-child(2) {
  --policy-accent: 105, 240, 210;
}

.newbie-policy-modal .newbie-policy-item:nth-child(3) {
  --policy-accent: 132, 174, 255;
}

.newbie-policy-modal .newbie-policy-item:nth-child(4) {
  --policy-accent: 242, 169, 111;
}

.newbie-policy-modal .newbie-policy-item::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgb(var(--policy-accent));
  box-shadow: 0 0 14px rgba(var(--policy-accent), 0.34);
  content: "";
}

.newbie-policy-modal .newbie-policy-item h3 {
  color: #fff1c7;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.newbie-policy-modal .newbie-policy-item p,
.newbie-policy-modal .newbie-policy-points {
  color: #d4d2c3;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.65;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.newbie-policy-modal .newbie-policy-item p,
.newbie-policy-modal .newbie-policy-points li {
  text-align: left;
}

.newbie-policy-modal .newbie-policy-points {
  margin-top: 8px;
  padding-left: 19px;
}

.newbie-policy-modal .newbie-policy-points li + li {
  margin-top: 5px;
}

.newbie-policy-modal .newbie-policy-points li::marker {
  color: rgb(var(--policy-accent));
}

.newbie-policy-modal .newbie-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(239, 199, 114, 0.2);
}

.newbie-policy-modal .newbie-modal-action {
  min-height: 46px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.newbie-policy-modal .newbie-modal-action--primary {
  border-color: rgba(255, 223, 145, 0.8);
  background: linear-gradient(180deg, #edcd79, #b17e32);
  color: #211406;
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 221, 0.42),
    0 8px 18px rgba(109, 70, 19, 0.22);
}

.newbie-policy-modal .newbie-modal-action:not(.newbie-modal-action--primary) {
  border-color: rgba(239, 199, 114, 0.35);
  background: rgba(255, 245, 211, 0.055);
  color: #f2e2b8;
}

.newbie-policy-modal .newbie-modal-action--primary:hover,
.newbie-policy-modal .newbie-modal-action--primary:focus-visible {
  border-color: #ffe9ae;
  background: linear-gradient(180deg, #f7dc92, #c18c39);
}

@media (max-width: 380px) {
  .newbie-modal.newbie-policy-modal {
    height: min(720px, calc(100dvh - 92px - env(safe-area-inset-bottom, 0px)));
    max-height: min(720px, calc(100dvh - 92px - env(safe-area-inset-bottom, 0px)));
    gap: 11px;
    border-radius: 14px 14px 10px 10px;
    padding: 16px 14px 13px;
  }

  .newbie-policy-modal .newbie-policy-header {
    gap: 7px;
    padding-bottom: 11px;
  }

  .newbie-policy-modal .newbie-policy-header h2 {
    font-size: 20px;
  }

  .newbie-policy-modal .newbie-policy-lead {
    font-size: 11.5px;
    line-height: 1.6;
  }

  .newbie-policy-modal .newbie-policy-list {
    gap: 8px;
    padding-right: 3px;
    padding-bottom: 8px;
  }

  .newbie-policy-modal .newbie-policy-item {
    padding: 11px 11px 11px 14px;
  }

  .newbie-policy-modal .newbie-policy-item h3 {
    font-size: 12.5px;
  }

  .newbie-policy-modal .newbie-policy-item p,
  .newbie-policy-modal .newbie-policy-points {
    font-size: 11px;
    line-height: 1.6;
  }

  .newbie-policy-modal .newbie-modal-actions {
    padding-top: 11px;
  }
}
