:root {
  --bg: #14161a;
  --surface: #1e2126;
  --surface-2: #262b33;
  --line: #3a4048;
  --text: #eef1f4;
  --muted: #a7b0ba;
  --grass: #5aa843;
  --grass-dark: #3f7d2e;
  --dirt: #8a5a33;
  --gold: #f2c94c;
  --danger: #d9534f;
}
* {
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  margin: 0;
}
.block-texture {
  background-color: var(--surface);
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%);
  background-size: 16px 16px;
}
.font-pixel {
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0.02em;
}
.card {
  background: var(--surface);
  border: 3px solid var(--line);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border: 3px solid #101216;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  background: var(--surface-2);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.btn-primary {
  background: var(--grass);
  color: #0e1a0b;
}
.btn-primary:hover {
  background: #6bbb52;
}
.btn-gold {
  background: var(--gold);
  color: #241a02;
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  background: #101216;
  color: var(--text);
  border: 3px solid var(--line);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: 3px solid var(--grass);
  outline-offset: 1px;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border: 2px solid var(--line);
  background: #101216;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.state {
  border: 3px dashed var(--line);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}
.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101216;
  display: block;
}
.star-btn {
  font-size: 1.8rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #555d68;
  min-width: 44px;
  min-height: 44px;
}
.star-btn.on {
  color: var(--gold);
}
a {
  color: #9fd08a;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.scene {
  --par: 0;
  position: relative;
  overflow: hidden;
  border: 4px solid #101216;
  background: linear-gradient(#79a6d8 0 55%, #5aa843 55% 62%, #8a5a33 62% 100%);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5);
  min-height: 340px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.scene.night {
  background: linear-gradient(#1b2340 0 55%, #2e5b27 55% 62%, #5c3d22 62% 100%);
}
.scene-copy {
  position: relative;
  z-index: 3;
  max-width: 34rem;
}
.scene-lead {
  color: #101216;
  font-weight: 600;
}
.scene.night .scene-lead {
  color: #eef1f4;
}
.scene-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cloud {
  position: absolute;
  width: 92px;
  height: 26px;
  background: #f4f7fa;
  border: 3px solid #101216;
  animation: drift 26s linear infinite;
}
.cloud::after {
  content: "";
  position: absolute;
  left: 14px;
  top: -14px;
  width: 44px;
  height: 18px;
  background: inherit;
  border: 3px solid #101216;
  border-bottom: 0;
}
.scene.night .cloud {
  background: #39415e;
}
@keyframes drift {
  from {
    translate: -30px 0;
  }
  to {
    translate: 60px 0;
  }
}
.scene-stage {
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  z-index: 2;
  pointer-events: none;
}
.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  background: linear-gradient(#5aa843 0 14px, #8a5a33 14px 100%);
  border-top: 4px solid #101216;
}
.t1 {
  left: 12%;
}
.t2 {
  left: 64%;
}
.t3 {
  left: 86%;
}
.ore {
  position: absolute;
  bottom: 16px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border: 2px solid #101216;
}
.o1 {
  left: 30%;
}
.card {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.5);
}
@media (max-width: 640px) {
  .scene {
    min-height: 430px;
  }
}
.btn,
.input,
.select,
.textarea,
.tag {
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background-color 0.14s ease,
    border-color 0.14s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.5);
}
.btn:active {
  transform: translateY(2px) scale(0.99);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.input:focus,
.select:focus,
.textarea:focus {
  box-shadow: 0 0 0 3px rgba(90, 168, 67, 0.25);
}
.card {
  animation: card-in 0.38s ease both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card .thumb {
  transition: transform 0.25s ease;
}
.card:hover .thumb {
  transform: scale(1.03);
}
.loader {
  display: inline-flex;
  gap: 6px;
  margin-right: 0.6rem;
  vertical-align: middle;
}
.loader i {
  width: 12px;
  height: 12px;
  background: var(--grass);
  border: 2px solid #101216;
  animation: loader-hop 0.7s ease-in-out infinite;
}
.loader i:nth-child(2) {
  animation-delay: 0.12s;
  background: var(--gold);
}
.loader i:nth-child(3) {
  animation-delay: 0.24s;
  background: var(--dirt);
}
@keyframes loader-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.scene {
  background: linear-gradient(#6fa8dc 0 52%, #9fd08a 52% 64%, #7fb6d9 64% 100%);
}
.scene.night {
  background: linear-gradient(#1b2340 0 52%, #2e5b27 52% 64%, #24365e 64% 100%);
}
@media (max-width: 640px) {
  .scene {
    min-height: 560px;
  }
  .scene-stage {
    height: 300px;
  }
}
.scene {
  min-height: 540px;
  padding: 0;
}
.scene-copy {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  max-width: 430px;
  padding: 1rem;
  background: rgba(244, 247, 250, 0.9);
  border: 3px solid #101216;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
  color: #101216;
}
.scene.night .scene-copy {
  background: rgba(20, 24, 32, 0.9);
  color: #eef1f4;
}
.scene-stage {
  height: 100%;
}
.ground {
  display: none;
}
@media (max-width: 640px) {
  .scene {
    min-height: 720px;
  }
  .scene-copy {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
}
body {
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.font-pixel {
  font-family: "Bungee", "Arial Black", sans-serif;
  letter-spacing: 0.01em;
  text-shadow: 3px 3px 0 rgba(16, 18, 22, 0.28);
}
.scene-copy h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.08;
}
.card h2 {
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.btn,
label {
  font-weight: 900;
}
.btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tag {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.card {
  border-width: 4px;
}
.card:hover {
  border-color: #101216;
}
.thumb {
  image-rendering: pixelated;
}
.state {
  font-weight: 800;
}
@media (max-width: 820px) and (orientation: portrait) {
  .scene {
    min-height: 400px;
  }
  .scene-copy {
    top: 0.75rem;
    left: 0.75rem;
    right: auto;
    width: 58%;
    max-width: 330px;
    padding: 0.8rem;
  }
  .scene-copy h1 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }
  .scene-lead {
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .scene-actions .btn {
    min-height: 40px;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .scene {
    min-height: 380px;
  }
  .scene-copy {
    width: 62%;
  }
  .scene-lead {
    font-size: 0.82rem;
  }
}
.reco {
  margin: 1.25rem 0 0.5rem;
}
.reco-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.reco-head h2 {
  font-size: clamp(1rem, 3vw, 1.4rem);
  margin: 0;
}
.reco-nav {
  display: flex;
  gap: 0.5rem;
}
.reco-nav .btn {
  min-width: 44px;
  padding-inline: 0.7rem;
  font-size: 1.2rem;
}
.reco-card {
  display: grid;
  grid-template-columns: minmax(220px, 42%) 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 4px solid #101216;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5);
}
.reco-thumb {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  background: #101216;
  display: block;
}
.reco-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0 3px,
      transparent 3px 22px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 3px,
      transparent 3px 26px
    ),
    linear-gradient(#67b34d 0 34%, #8a5a33 34% 100%);
}
.reco-fallback span {
  font-family: "Bungee", "Arial Black", sans-serif;
  color: #101216;
  background: var(--gold);
  border: 3px solid #101216;
  padding: 0.4rem 0.7rem;
}
.reco-copy {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}
.reco-copy h3 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.15;
}
.reco-copy p {
  margin: 0;
  color: var(--muted);
}
.reco-dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.7rem;
}
.reco-dot {
  width: 18px;
  height: 18px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}
.reco-dot::after {
  content: "";
  position: absolute;
  inset: 13px;
  background: var(--surface-2);
  border: 2px solid #101216;
}
.reco-dot[aria-pressed="true"]::after {
  background: var(--gold);
}
@media (max-width: 640px) {
  .reco-card {
    grid-template-columns: 1fr;
  }
  .reco-thumb {
    min-height: 150px;
    aspect-ratio: 16 / 9;
  }
}
.scene {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.scene-copy {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 1rem 1rem 0.5rem;
  max-width: 560px;
  width: auto;
}
.scene-stage {
  position: relative;
  height: 360px;
  flex: none;
}
@media (max-width: 820px) and (orientation: portrait) {
  .scene-copy {
    margin: 0.75rem 0.75rem 0.25rem;
    width: auto;
    max-width: none;
  }
  .scene-stage {
    height: 300px;
  }
}
.scene-stage {
  z-index: 6;
}
.scene-copy {
  z-index: 3;
}
.scene {
  display: block;
  min-height: 460px;
}
.scene-copy {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  width: min(380px, 44%);
  max-width: 380px;
  z-index: 5;
}
.scene-stage {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 2;
}
@media (max-width: 820px) and (orientation: portrait) {
  .scene {
    min-height: 390px;
  }
  .scene-copy {
    top: 0.75rem;
    left: 0.75rem;
    width: 52%;
    max-width: 300px;
    padding: 0.8rem;
  }
}
.scene-copy {
  width: min(300px, 36%);
  max-width: 300px;
  padding: 0.65rem 0.75rem;
  border-width: 2px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.scene-copy h1 {
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.12;
}
.scene-lead {
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 0.45rem !important;
}
.scene-actions {
  margin-top: 0.55rem;
  gap: 0.4rem;
}
.scene-actions .btn {
  min-height: 44px;
  padding: 0.35rem 0.55rem;
  font-size: 0.68rem;
  border-width: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}
@media (max-width: 820px) and (orientation: portrait) {
  .scene-copy {
    width: 46%;
    max-width: 240px;
    padding: 0.55rem 0.65rem;
  }
  .scene-copy h1 {
    font-size: clamp(0.95rem, 4.6vw, 1.25rem);
  }
  .scene-lead {
    font-size: 0.74rem;
  }
  .scene-actions .btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.62rem;
  }
}
.scene-actions {
  margin-top: 0.45rem;
}
#scene-daynight {
  min-height: 36px;
  padding: 0.22rem 0.42rem;
  font-size: 0.6rem;
  line-height: 1.1;
  border-width: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}
@media (max-width: 820px) and (orientation: portrait) {
  #scene-daynight {
    min-height: 34px;
    padding: 0.2rem 0.38rem;
    font-size: 0.58rem;
  }
}
header nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link {
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  gap: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.1;
}
.nav-link[hidden] {
  display: none !important;
}
.nav-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-admin-link .nav-icon {
  color: var(--gold);
  fill: rgba(242, 201, 76, 0.16);
}
.nav-link[aria-current="page"] {
  background: var(--gold);
  color: #241a02;
}
.nav-link[aria-current="page"] .nav-icon {
  color: #241a02;
  fill: none;
}
.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon {
  animation: nav-icon-pop 0.35s ease;
}
.nav-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.nav-logout {
  background: #7f1d1d;
  color: #fff;
}
.nav-logout:hover {
  background: #991b1b;
}
@keyframes nav-icon-pop {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.08);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 640px) {
  header nav {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-link {
    padding: 0.4rem 0.55rem;
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-link:hover .nav-icon,
  .nav-link:focus-visible .nav-icon {
    animation: none;
  }
}
header {
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 3px solid #101216;
  background: linear-gradient(var(--grass) 0 38%, var(--dirt) 38% 100%);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  background: var(--gold);
}
.brand-link:hover .brand-mark,
.brand-link:focus-visible .brand-mark {
  animation: brand-hop 0.4s ease;
}
@keyframes brand-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-3px) rotate(-3deg);
  }
}
header nav {
  position: relative;
  gap: 0.35rem;
  padding: 0.35rem;
  background: #101216;
  border: 3px solid #101216;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}
.nav-indicator {
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0;
  z-index: 0;
  width: var(--nav-w, 0);
  transform: translateX(var(--nav-x, 0));
  background: var(--gold);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.9, 0.25, 1.2),
    width 0.32s cubic-bezier(0.2, 0.9, 0.25, 1.2);
}
header nav .nav-link {
  position: relative;
  z-index: 1;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--text);
}
header nav .nav-link:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
header nav .nav-link.is-active,
header nav .nav-link[aria-current="page"] {
  color: #241a02;
  background: transparent;
}
header nav .nav-link.is-active .nav-icon,
header nav .nav-link[aria-current="page"] .nav-icon {
  color: #241a02;
  fill: none;
}
header nav .nav-logout {
  background: #7f1d1d;
  color: #fff;
  border-color: #101216;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}
header nav .nav-logout:hover {
  background: #991b1b;
}
header nav #auth-open {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
}
@media (max-width: 640px) {
  header nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  header nav::-webkit-scrollbar {
    display: none;
  }
  header nav .nav-link,
  header nav #auth-open {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.35rem;
  }
  #auth-area {
    display: contents;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-indicator {
    transition: none;
  }
  .brand-link:hover .brand-mark,
  .brand-link:focus-visible .brand-mark {
    animation: none;
  }
}
header nav .nav-icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}
header nav a[href="index.html"] .nav-icon {
  color: #9fd08a;
  background: rgba(90, 168, 67, 0.18);
}
header nav a[href="upload.html"] .nav-icon {
  color: #9fd3ff;
  background: rgba(111, 168, 220, 0.18);
}
header nav .nav-admin-link .nav-icon {
  color: var(--gold);
  background: rgba(242, 201, 76, 0.18);
}
header nav .nav-logout .nav-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
header nav .nav-link.is-active .nav-icon,
header nav .nav-link[aria-current="page"] .nav-icon {
  color: #241a02;
  background: rgba(36, 26, 2, 0.12);
  border-color: rgba(36, 26, 2, 0.28);
}
header nav .nav-link:active {
  transform: translateY(1px) scale(0.98);
}
header nav .nav-link:focus-visible .nav-icon {
  border-color: var(--gold);
}
@media (max-width: 640px) {
  header nav .nav-icon {
    width: 20px;
    height: 20px;
    padding: 2px;
  }
  header nav .nav-link span {
    letter-spacing: 0.01em;
  }
}
header {
  z-index: 90;
}
.nav-toggle {
  position: relative;
  z-index: 95;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #101216;
  color: #f4f7fa;
  border: 3px solid #101216;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: #f4f7fa;
}
.nav-toggle:hover span,
.nav-toggle:focus-visible span {
  background: var(--gold);
}
.nav-toggle:focus-visible,
.nav-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-toggle span {
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}
header nav.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 85;
  width: min(320px, 86vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 86px 16px 20px;
  background: #141821;
  border-right: 4px solid #101216;
  box-shadow: 8px 0 0 rgba(0, 0, 0, 0.22);
  transform: translateX(-105%);
  visibility: hidden;
  transition:
    transform 0.24s ease,
    visibility 0s linear 0.24s;
}
body.nav-open header nav.nav-drawer {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.24s ease;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
}
.nav-backdrop[hidden] {
  display: none;
}
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  color: #f4f7fa;
}
.nav-close {
  width: 44px;
  height: 44px;
  background: #101216;
  color: #f4f7fa;
  border: 3px solid #101216;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
header nav.nav-drawer .nav-indicator {
  display: none;
}
header nav.nav-drawer .nav-link {
  width: 100%;
  min-height: 52px;
  justify-content: flex-start;
  padding: 0.65rem 0.8rem;
  font-size: 0.92rem;
}
header nav.nav-drawer .nav-link.is-active,
header nav.nav-drawer .nav-link[aria-current="page"] {
  background: var(--gold);
  color: #241a02;
}
header nav.nav-drawer #auth-area {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: auto;
}
header nav.nav-drawer #auth-area .text-sm {
  display: block;
  overflow-wrap: anywhere;
}
header nav.nav-drawer #auth-area .btn {
  width: 100%;
  min-height: 52px;
  justify-content: flex-start;
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle span,
  header nav.nav-drawer {
    transition: none;
  }
}
.explore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.explore-btn {
  min-width: 168px;
  min-height: 52px;
  justify-content: center;
  font-family: "Bungee", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
header nav a[href="addons.html"] .nav-icon {
  color: #c4a7ff;
  background: rgba(150, 110, 255, 0.18);
}
header nav .nav-link.is-active[href="addons.html"] .nav-icon,
header nav .nav-link[aria-current="page"][href="addons.html"] .nav-icon {
  color: #241a02;
  background: rgba(36, 26, 2, 0.12);
}
header nav.nav-drawer {
  width: min(280px, 82vw);
  gap: 0.2rem;
  padding: 70px 12px 12px;
}
.nav-drawer-head {
  margin-bottom: 0;
}
.nav-close {
  width: 40px;
  height: 40px;
}
header nav.nav-drawer .nav-link {
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}
header nav.nav-drawer #auth-area {
  gap: 0.2rem;
}
header nav.nav-drawer #auth-area .btn {
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}
.scene {
  background: linear-gradient(#6db3ec 0 58%, #a5d6f5 58% 66%, #7fb6d9 66% 100%);
  image-rendering: pixelated;
}
.scene.night {
  background: linear-gradient(#16264d 0 58%, #27406e 58% 66%, #2c557c 66% 100%);
}
.cloud {
  background: #ffffff;
  border: 0;
  height: 18px;
  box-shadow:
    22px -10px 0 #ffffff,
    48px 0 0 #ffffff,
    10px 10px 0 rgba(255, 255, 255, 0.85);
  opacity: 0.96;
}
.cloud::after {
  display: none;
}
.scene.night .cloud {
  background: #5a6b8c;
  box-shadow:
    22px -10px 0 #5a6b8c,
    48px 0 0 #5a6b8c,
    10px 10px 0 rgba(90, 107, 140, 0.85);
}
.ground {
  display: none;
}
.scene {
  background: linear-gradient(#6db3ec 0 90%, #2f8fd0 90% 100%);
}
.scene.night {
  background: linear-gradient(#16264d 0 90%, #2c557c 90% 100%);
}
.scene-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.cloud-slab {
  position: absolute;
  left: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #ffffff 0 56%,
    #e6edf7 56% 78%,
    #b9c9de 78% 100%
  );
  filter: drop-shadow(0 8px 0 rgba(120, 140, 170, 0.35));
  animation: cloud-travel linear infinite;
}
.scene.night .cloud-slab {
  background: linear-gradient(
    to bottom,
    #93a7c9 0 56%,
    #6d82a8 56% 78%,
    #4c5f82 78% 100%
  );
  filter: drop-shadow(0 8px 0 rgba(20, 30, 55, 0.4));
}
@keyframes cloud-travel {
  from {
    translate: -40vw 0;
  }
  to {
    translate: 115vw 0;
  }
}
.cs1 {
  top: 4%;
  width: 170px;
  height: 44px;
  animation-duration: 30s;
  clip-path: polygon(
    0 38%,
    14% 38%,
    14% 18%,
    36% 18%,
    36% 0,
    64% 0,
    64% 16%,
    86% 16%,
    86% 36%,
    100% 36%,
    100% 70%,
    88% 70%,
    88% 100%,
    60% 100%,
    60% 80%,
    32% 80%,
    32% 100%,
    10% 100%,
    10% 72%,
    0 72%
  );
}
.cs2 {
  top: 11%;
  width: 110px;
  height: 34px;
  animation-duration: 22s;
  animation-delay: -9s;
  clip-path: polygon(
    0 30%,
    20% 30%,
    20% 0,
    55% 0,
    55% 22%,
    80% 22%,
    80% 45%,
    100% 45%,
    100% 78%,
    70% 78%,
    70% 100%,
    25% 100%,
    25% 75%,
    0 75%
  );
}
.cs3 {
  top: 18%;
  width: 220px;
  height: 48px;
  animation-duration: 38s;
  animation-delay: -20s;
  clip-path: polygon(
    0 42%,
    10% 42%,
    10% 22%,
    26% 22%,
    26% 6%,
    48% 6%,
    48% 0,
    70% 0,
    70% 20%,
    88% 20%,
    88% 40%,
    100% 40%,
    100% 68%,
    90% 68%,
    90% 92%,
    72% 92%,
    72% 100%,
    44% 100%,
    44% 82%,
    20% 82%,
    20% 100%,
    6% 100%,
    6% 70%,
    0 70%
  );
}
.cs4 {
  top: 8%;
  width: 84px;
  height: 30px;
  animation-duration: 18s;
  animation-delay: -5s;
  clip-path: polygon(
    0 35%,
    25% 35%,
    25% 0,
    70% 0,
    70% 30%,
    100% 30%,
    100% 75%,
    60% 75%,
    60% 100%,
    15% 100%,
    15% 70%,
    0 70%
  );
}
.cs5 {
  top: 24%;
  width: 140px;
  height: 38px;
  animation-duration: 27s;
  animation-delay: -14s;
  clip-path: polygon(
    0 40%,
    16% 40%,
    16% 14%,
    42% 14%,
    42% 0,
    68% 0,
    68% 24%,
    100% 24%,
    100% 62%,
    82% 62%,
    82% 100%,
    50% 100%,
    50% 78%,
    18% 78%,
    18% 100%,
    0 100%
  );
}
.torch-sparks {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}
.scene.night .torch-sparks {
  opacity: 1;
}
.torch-sparks i {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffb84d;
  box-shadow: 0 0 6px 2px rgba(255, 150, 40, 0.75);
  animation: spark-rise 1.6s ease-out infinite;
}
.torch-sparks i:nth-child(2) {
  animation-delay: 0.5s;
  margin-left: 3px;
}
.torch-sparks i:nth-child(3) {
  animation-delay: 1s;
  margin-left: -3px;
}
@keyframes spark-rise {
  0% {
    translate: 0 0;
    opacity: 1;
    scale: 1;
  }
  60% {
    opacity: 0.9;
  }
  100% {
    translate: 3px -26px;
    opacity: 0;
    scale: 0.4;
  }
}
.t1 {
  left: 24.8%;
  top: 33%;
}
.t2 {
  left: 34%;
  top: 37%;
}
.t3 {
  left: 63.5%;
  top: 30%;
}
.t4 {
  left: 58%;
  top: 40%;
}
.t5 {
  left: 23%;
  top: 61%;
}
.t6 {
  left: 61%;
  top: 57%;
}
.t7 {
  left: 35.5%;
  top: 69%;
}
.t8 {
  left: 62.5%;
  top: 78%;
}
.t9 {
  left: 14.5%;
  top: 83%;
}
@media (max-width: 820px) {
  .scene-img {
    object-position: 50% center;
  }
  .scene-copy {
    top: auto;
    bottom: 10px;
  }
  .t1 {
    left: 10%;
  }
  .t2 {
    left: 24.6%;
  }
  .t3 {
    left: 71.4%;
  }
  .t4 {
    left: 62.7%;
  }
  .t5 {
    left: 7.1%;
  }
  .t6 {
    left: 67.5%;
  }
  .t7 {
    left: 27%;
  }
  .t8 {
    left: 69.8%;
  }
  .t9 {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cloud-slab,
  .torch-sparks i {
    animation: none;
  }
}
.nav-toggle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 9px;
  background: #f7efdc;
  border: 2px solid #2b2b2b;
  box-shadow: 4px 4px 0 #9be15d;
}
.nav-toggle span {
  background: #2b2b2b;
  height: 3px;
}
.nav-toggle:hover span,
.nav-toggle:focus-visible span {
  background: #2b2b2b;
}
body {
  background: #f7efdc;
  color: #241a02;
}
.card {
  color: var(--text);
}
footer {
  color: #4a4232 !important;
}
header.block-texture {
  background-color: #57a639;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
  color: #f7efdc;
  border-bottom: 3px solid #241a02;
}
header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 9px;
  background-color: #57a639;
  background-image:
    linear-gradient(45deg, transparent 50%, #3f7d2e 50%),
    linear-gradient(-45deg, transparent 50%, #3f7d2e 50%);
  background-size: 14px 9px;
  background-position:
    0 0,
    7px 0;
  background-repeat: repeat-x;
  pointer-events: none;
}
header .brand-link {
  color: #f7efdc !important;
}
.scene {
  min-height: 230px;
}
.scene-img {
  object-position: 50% 38%;
}
.t1 {
  top: 22%;
}
.t2 {
  top: 35%;
}
.t3 {
  top: 12%;
}
.t4 {
  top: 44%;
}
.t6 {
  top: 98%;
}
.t5,
.t7,
.t8,
.t9 {
  display: none;
}
@media (max-width: 820px) {
  .scene {
    min-height: 195px;
  }
  .scene-img {
    object-fit: fill;
  }
  .scene-copy {
    width: 54%;
    padding: 0.45rem 0.55rem;
  }
  .scene-copy h1 {
    font-size: 0.8rem;
  }
  .scene-lead {
    font-size: 0.68rem;
  }
  .t1 {
    top: 33%;
  }
  .t2 {
    top: 37%;
  }
  .t3 {
    top: 30%;
  }
  .t4 {
    top: 40%;
  }
  .t5 {
    top: 61%;
    display: block;
  }
  .t6 {
    top: 57%;
  }
  .t7 {
    top: 69%;
    display: block;
  }
  .t8 {
    top: 78%;
    display: block;
  }
}
.scene-img {
  height: 200%;
  object-fit: cover;
  object-position: 50% 0;
}
.t1,
.t2,
.t4,
.t6 {
  display: none;
}
.t3 {
  top: 95%;
}
@media (max-width: 820px) {
  .scene-copy {
    width: 48%;
  }
  .scene-copy h1 {
    font-size: 0.72rem;
  }
  .scene-lead {
    font-size: 0.62rem;
  }
  .t1 {
    display: block;
    top: 66%;
  }
  .t2 {
    display: block;
    top: 74%;
  }
  .t3 {
    top: 60%;
  }
  .t4 {
    display: block;
    top: 80%;
  }
  .t5,
  .t6,
  .t7,
  .t8 {
    display: none;
  }
}
.scene-img {
  translate: 0 -14%;
}
.t3 {
  top: 67%;
}
@media (max-width: 820px) {
  .scene-img {
    translate: 0 -8%;
  }
  .t1 {
    top: 51%;
  }
  .t2 {
    top: 59%;
  }
  .t3 {
    top: 45%;
  }
  .t4 {
    top: 66%;
  }
}
.scene {
  min-height: 300px;
}
.scene-img {
  height: 170%;
  translate: 0 -5%;
}
.t3 {
  top: 65%;
}
@media (max-width: 820px) {
  .scene {
    min-height: 216px;
  }
  .scene-img {
    height: 185%;
    translate: 0 -3%;
  }
  .t1 {
    top: 56%;
  }
  .t2 {
    top: 63%;
  }
  .t3 {
    top: 50%;
  }
  .t4 {
    top: 69%;
  }
}
.scene-copy,
.scene.night .scene-copy {
  background: rgba(247, 239, 220, 0.94);
  color: #241a02;
  border-color: #241a02;
}
.scene-lead,
.scene.night .scene-lead {
  color: #241a02;
}
.scene-request {
  min-height: 44px;
  white-space: nowrap;
}
header.block-texture {
  box-shadow: 0 6px 0 #241a02;
}
.scene-request {
  min-height: 38px;
  padding: 0.28rem 0.5rem;
  font-size: 0.62rem;
  line-height: 1.1;
  border-width: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}
header nav a[href="request.html"] .nav-icon {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.18);
}
header nav .nav-link.is-active[href="request.html"] .nav-icon,
header nav .nav-link[aria-current="page"][href="request.html"] .nav-icon {
  color: #241a02;
  background: rgba(36, 26, 2, 0.12);
}
.send-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:root {
  --bg: #f7efdc;
  --surface: #fffdf7;
  --surface-2: #ffffff;
  --text: #241a02;
  --muted: #6f6350;
  --line: #e7dcbf;
  --grass: #57a639;
  --gold: #f2c94c;
  --danger: #b91c1c;
}
body {
  background: var(--bg);
  color: var(--text);
}
.font-pixel {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.brand-link {
  font-family: Bungee, Nunito, system-ui, sans-serif;
  letter-spacing: 0.01em;
}
header.block-texture {
  background: #57a639;
  background-image: none;
  color: #f7efdc;
  border-bottom: 1px solid rgba(36, 26, 2, 0.18);
  box-shadow: none;
}
header::before {
  display: none;
}
header .brand-link {
  color: #f7efdc !important;
}
.brand-mark {
  width: 30px;
  height: 30px;
  background: linear-gradient(#6abe30 0 34%, #8a5a2b 34% 100%);
  border: 2px solid #241a02;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    inset -6px -6px 0 rgba(0, 0, 0, 0.18);
  image-rendering: pixelated;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px auto 4px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #7ed957 0 4px, #57a639 4px 8px);
}
.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 11px;
  background: #f7efdc;
  border: 1px solid rgba(36, 26, 2, 0.22);
  border-radius: 12px;
  box-shadow: none;
}
.nav-toggle span {
  background: #241a02;
}
.nav-drawer {
  background: #fffdf7;
  color: #241a02;
  border-right: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(36, 26, 2, 0.16);
}
.nav-drawer-head {
  color: #241a02;
}
.nav-close {
  background: #f7efdc;
  color: #241a02;
  border: 1px solid var(--line);
  border-radius: 10px;
}
header nav .nav-link {
  background: transparent;
  color: #241a02;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: none;
}
header nav .nav-link.is-active,
header nav .nav-link[aria-current="page"] {
  background: #eaf6e3;
  color: #241a02;
}
header nav .nav-icon {
  color: #3f7d2e;
  background: #eef7e8;
  border: 0;
  border-radius: 8px;
}
header nav .nav-logout {
  background: #b91c1c;
  color: #fff;
}
header nav .nav-logout .nav-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.btn {
  min-height: 44px;
  border: 1px solid rgba(36, 26, 2, 0.18);
  border-radius: 12px;
  box-shadow: none;
  font-weight: 800;
}
.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn-primary {
  background: #57a639;
  color: #10240a;
}
.btn-primary:hover {
  background: #65b947;
}
.btn-gold {
  background: #f2c94c;
  color: #241a02;
}
.btn-danger {
  background: #b91c1c;
  color: #fff;
}
.card,
.reco-card,
.state {
  background: #fffdf7;
  color: #241a02;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(36, 26, 2, 0.06);
}
.input,
.select,
.textarea {
  background: #ffffff;
  color: #241a02;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: 3px solid rgba(87, 166, 57, 0.35);
  outline-offset: 1px;
}
.tag {
  background: #f1ead6;
  color: #5c4a12;
  border: 0;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}
.thumb,
.reco-thumb {
  border-radius: 16px;
}
.reco-fallback {
  background: #f1ead6;
  color: #6f6350;
}
.scene {
  border: 1px solid rgba(36, 26, 2, 0.14);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(36, 26, 2, 0.1);
  overflow: hidden;
}
.scene-img {
  filter: saturate(0.92) contrast(0.98);
}
.scene-copy,
.scene.night .scene-copy {
  background: rgba(255, 253, 247, 0.5);
  color: #241a02;
  border: 1px solid rgba(36, 26, 2, 0.14);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(36, 26, 2, 0.12);
  backdrop-filter: blur(8px);
}
.scene-request {
  min-height: 36px;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  line-height: 1.1;
  border-width: 1px;
  box-shadow: none;
}
.cloud-slab {
  opacity: 0.5;
}
.torch-sparks {
  opacity: 0.45;
}
.explore-btn {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
}
footer {
  color: #6f6350 !important;
}
:focus-visible {
  outline: 3px solid rgba(87, 166, 57, 0.55);
  outline-offset: 2px;
}
@media (max-width: 820px) {
  .scene {
    border-radius: 20px;
  }
  .scene-copy {
    border-radius: 16px;
  }
}
header .nav-drawer {
  background: #fffdf7 !important;
  color: #241a02 !important;
}
header .nav-drawer .nav-link {
  background: #ffffff !important;
  color: #241a02 !important;
}
header .nav-drawer .nav-link.is-active,
header .nav-drawer .nav-link[aria-current="page"] {
  background: #eaf6e3 !important;
  color: #241a02 !important;
}
header .nav-drawer .nav-link span {
  color: #241a02 !important;
}
header .nav-drawer .nav-logout {
  background: #b91c1c !important;
  color: #ffffff !important;
}
header .nav-drawer .nav-logout span {
  color: #ffffff !important;
}
.select {
  padding-right: 2.4rem;
}
body {
  background: linear-gradient(180deg, #fbf4df 0%, #f7efdc 42%, #f3e8cf 100%);
}
header.block-texture {
  background: linear-gradient(180deg, #63b544 0%, #57a639 100%);
  box-shadow: 0 10px 28px rgba(36, 26, 2, 0.14);
}
.brand-link {
  gap: 0.55rem;
  text-shadow: 0 1px 0 rgba(36, 26, 2, 0.18);
}
.nav-toggle {
  box-shadow: 0 6px 16px rgba(36, 26, 2, 0.16);
}
.scene {
  border-color: rgba(36, 26, 2, 0.2);
  box-shadow: 0 24px 60px rgba(36, 26, 2, 0.18);
}
.scene-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 24, 32, 0.08) 0%,
    rgba(16, 24, 32, 0) 42%,
    rgba(16, 24, 32, 0.28) 100%
  );
  pointer-events: none;
}
.scene-copy,
.scene.night .scene-copy {
  background: rgba(255, 253, 247, 0.5);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.18);
}
.scene-copy h1 {
  letter-spacing: 0.01em;
}
.btn {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(180deg, #6cbf4b 0%, #57a639 100%);
  box-shadow: 0 10px 22px rgba(87, 166, 57, 0.28);
}
.btn-gold {
  background: linear-gradient(180deg, #ffd968 0%, #f2c94c 100%);
  box-shadow: 0 10px 22px rgba(242, 201, 76, 0.3);
}
.scene-request {
  box-shadow: 0 6px 14px rgba(242, 201, 76, 0.28);
}
.card,
.reco-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
  box-shadow: 0 16px 38px rgba(36, 26, 2, 0.09);
}
.card {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(36, 26, 2, 0.13);
}
.reco-card {
  overflow: hidden;
}
.tag {
  background: #eef7e8;
  color: #2f5d22;
}
.input,
.select,
.textarea {
  box-shadow: inset 0 1px 0 rgba(36, 26, 2, 0.04);
}
.state {
  background: rgba(255, 253, 247, 0.86);
}
.explore-btn {
  box-shadow: 0 14px 30px rgba(242, 201, 76, 0.32);
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .card {
    transition: none;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}
.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.card-meta strong {
  color: var(--text);
}
.reco {
  margin-bottom: 0.5rem;
}
.reco-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.reco-head h1 {
  font-size: clamp(1.15rem, 3vw, 1.6rem);
}
.reco-nav .btn {
  min-width: 44px;
  padding: 0.4rem 0.7rem;
}
.reco-card {
  display: grid;
  gap: 0;
}
.reco-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.reco-copy {
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.reco-copy h2 {
  font-size: clamp(1.2rem, 3.4vw, 1.8rem);
  line-height: 1.15;
}
.reco-dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.8rem;
}
.reco-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(36, 26, 2, 0.3);
  background: #fffdf7;
  cursor: pointer;
}
.reco-dot[aria-pressed="true"] {
  background: #57a639;
}
.input,
.select {
  min-height: 48px;
}
.scene-copy h1 {
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.15;
}
.scene-lead {
  font-size: clamp(0.9rem, 2.6vw, 1.05rem);
}
@media (min-width: 760px) {
  .reco-card {
    grid-template-columns: 1.15fr 1fr;
  }
  .reco-thumb {
    height: 100%;
    aspect-ratio: auto;
    min-height: 260px;
  }
  .reco-copy {
    padding: 1.4rem;
  }
}
.pw-meter {
  height: 8px;
  margin-top: 0.45rem;
  background: #efe6cf;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.pw-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: #b91c1c;
  border-radius: 999px;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}
#pw-level {
  margin-top: 0.3rem;
}
.pw-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.6rem;
  margin-top: 0.45rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}
.pw-rules li::before {
  content: "○";
  margin-right: 0.35rem;
}
.pw-rules li.is-met {
  color: #2f5d22;
  font-weight: 800;
}
.pw-rules li.is-met::before {
  content: "✓";
}
.scan-result {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf7;
  font-size: 0.9rem;
}
.scan-result ul {
  margin: 0.45rem 0 0 1.1rem;
  list-style: disc;
}
.scan-result .scan-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.scan-aman {
  border-color: #9fd08a;
  background: #eef7e8;
}
.scan-waspada {
  border-color: #e5c15c;
  background: #fdf6df;
}
.scan-berbahaya {
  border-color: #e08a8a;
  background: #fdecec;
}
.reco-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

@keyframes auth-view-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
.auth-view-in { animation: auth-view-in 0.28s ease both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
main { animation: page-in 0.35s ease both; }
@media (prefers-reduced-motion: reduce) {
  .auth-view-in, main { animation: none; }
}

.btn:active, .nav-link:active, .nav-toggle:active, .explore-btn:active {
  filter: brightness(0.78);
  transform: translateY(1px) scale(0.99);
}

.reco-card:focus-visible {
  outline: 2px solid #57a639;
  outline-offset: 2px;
}

.thumb, .reco-thumb {
  object-fit: contain;
  background: #f1ead6;
}
.reco-card {
  grid-template-columns: 1fr;
}
.reco-thumb {
  aspect-ratio: 21 / 9;
  max-height: 320px;
}
@media (min-width: 760px) {
  .reco-card {
    grid-template-columns: 1fr;
  }
}

.card-title {
  font-size: 0.9rem;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.card-desc {
  font-size: 0.8rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 0;
}

.card .thumb {
  aspect-ratio: 1 / 1;
}
.card-title {
  font-size: 0.8rem;
}
.card-desc {
  font-size: 0.72rem;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.card-meta {
  font-size: 0.7rem;
}

.card-title { font-size: 0.72rem !important; }
.card-desc { font-size: 0.65rem !important; }
.card-meta { font-size: 0.62rem !important; }
.card .tag { font-size: 0.6rem; padding: 0.1rem 0.4rem; }
.card .btn { min-height: 32px; font-size: 0.7rem; padding: 0.3rem 0.5rem; }

.card .thumb { aspect-ratio: 4 / 3; }
.card-title { font-size: 0.65rem !important; }
.card-desc { font-size: 0.58rem !important; }
.card-meta { font-size: 0.55rem !important; }

.card .thumb {
  aspect-ratio: auto;
  height: 80px;
}

.card .thumb, .reco-thumb {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.card .thumb {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100px;
  margin: 0 auto;
  background: transparent;
}

.reco-thumb {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  margin: 0 auto;
  background: transparent;
}

@keyframes reco-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
.reco-card { animation: reco-in 0.4s ease both; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.card { animation: card-in 0.35s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) {
  .reco-card, .card { animation: none; }
}

body {
  background: #f3e9cf url("sand.jpg") repeat;
  background-size: 180px;
}
header {
  background: #7a5230 url("dirt.jpg") repeat;
  background-size: 120px;
}

header, .block-texture {
  background-color: #7a5230 !important;
  background-image: url("sand.jpg"), url("dirt.jpg") !important;
  background-size: 120px 30%, 120px !important;
  background-repeat: repeat-x, repeat !important;
  background-position: top left, top left !important;
}
body {
  background: #f3e9cf url("sand.jpg") repeat !important;
  background-size: 180px !important;
}

header, .block-texture {
  background: #7a5230 url("dirt.jpg") repeat !important;
  background-size: 160px !important;
}
body {
  background: #e8dcc0 url("sand.jpg") repeat !important;
  background-size: 160px !important;
}

.btn, .card, .reco-card, .nav-link, .input, .select, .textarea {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.card:hover, .reco-card:hover { transform: translateY(-3px); }
.input:focus, .select:focus, .textarea:focus { transform: scale(1.01); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.auth-card { animation: modal-in 0.25s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.auth-modal { animation: fade-in 0.2s ease both; }
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .reco-card, .nav-link, .input, .select, .textarea, .auth-card, .auth-modal { transition: none; animation: none; }
}

.card, .reco-card { box-shadow: 0 14px 30px rgba(36,26,2,.14); border: 1px solid rgba(36,26,2,.08); }
.card:hover, .reco-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 22px 44px rgba(36,26,2,.2); }
.btn-primary { background-image: linear-gradient(180deg,#6fbf4a,#57a639); }
.btn:active { transform: scale(.97); }
.nav-link { border-radius: 10px; }
.nav-link:hover { transform: translateX(4px); background: rgba(255,255,255,.14); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.scene-request { animation: floaty 3s ease-in-out infinite; }
.input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 3px rgba(87,166,57,.25); }
@media (prefers-reduced-motion: reduce) { .scene-request { animation: none; } .card:hover, .reco-card:hover, .nav-link:hover { transform: none; } }

header { box-shadow: 0 10px 28px rgba(36,26,2,.28); }
.card, .reco-card { border-radius: 16px; background: linear-gradient(180deg,#fffef9,#fff8e8); }
.btn-primary { box-shadow: 0 8px 18px rgba(87,166,57,.35); }
h1, h2 { text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.scene-copy { backdrop-filter: blur(8px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
