:root {
  --ink: #172a22;
  --soft-ink: #596b61;
  --deep: #0f2a22;
  --leaf: #35784e;
  --sun: #edc85f;
  --paper: #fff8ea;
  --cream: #f4ead7;
  --line: rgba(23, 42, 34, 0.14);
  --shadow: 0 28px 80px rgba(16, 34, 27, 0.18);
  --radius: 8px;
  --sans: "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Song Myung", "Nanum Myeongjo", Georgia, serif;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 4px;
  color: #fffdf3;
  background: #0f2a22;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid #edc85f; outline-offset: 3px; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 0%, rgba(237, 200, 95, 0.24), transparent 30%),
    linear-gradient(180deg, #edf4e4 0%, #fff8ea 54%, #f4ead7 100%);
  font-family: var(--sans);
}

body.writer-body {
  background: #edf1e6;
}

body.features-body {
  background:
    radial-gradient(circle at 78% -4%, rgba(237, 200, 95, 0.26), transparent 34%),
    linear-gradient(180deg, #eef4e4 0%, #fff8ea 48%, #f2ead8 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  color: #fffdf3;
  background: rgba(15, 42, 34, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand > span:last-child {
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 243, 0.34);
  border-radius: 8px;
  background: #173d2c url("assets/app-icon-192.png") center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 18px rgba(10, 32, 22, 0.22);
}

.brand-mark::before {
  content: none;
}

.brand-mark::after {
  content: none;
}

.header-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  color: rgba(255, 253, 243, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.header-action,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
}

.header-action,
.primary-btn {
  color: var(--ink);
  background: var(--sun);
}

.ghost-btn {
  color: #fffdf3;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.ghost-btn.dark {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 248, 234, 0.86);
}

.auth-slot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 8px;
}

.auth-summary {
  max-width: 150px;
  overflow: hidden;
  color: rgba(255, 253, 243, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(190, 238, 202, 0.26);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 253, 243, 0.9);
  background:
    linear-gradient(145deg, rgba(45, 111, 72, 0.34), rgba(16, 54, 39, 0.24)),
    rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

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

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 16%, rgba(237, 200, 95, 0.22), transparent 34%),
    rgba(8, 22, 17, 0.58);
  backdrop-filter: blur(10px);
}

.auth-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(221, 246, 213, 0.32);
  border-radius: 8px;
  color: #fffdf3;
  background:
    linear-gradient(145deg, rgba(50, 104, 69, 0.88), rgba(16, 45, 34, 0.92)),
    rgba(16, 54, 39, 0.86);
  box-shadow: 0 30px 90px rgba(6, 20, 15, 0.42);
  backdrop-filter: blur(22px);
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 253, 243, 0.24);
  border-radius: 50%;
  color: #fffdf3;
  background: rgba(255, 255, 255, 0.1);
  font-size: 22px;
  line-height: 1;
}

.auth-dialog-copy {
  padding-right: 28px;
}

.auth-kicker {
  color: #d9f580;
  font-size: 12px;
  font-weight: 900;
}

.auth-dialog h2 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 500;
  letter-spacing: 0;
}

.auth-dialog p {
  margin: 0;
  color: rgba(255, 253, 243, 0.78);
  line-height: 1.65;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 22px 0 16px;
  padding: 5px;
  border: 1px solid rgba(255, 253, 243, 0.18);
  border-radius: 999px;
  background: rgba(7, 26, 18, 0.24);
}

.auth-tabs button,
.auth-provider,
.auth-submit,
.auth-switch-row button {
  border: 0;
}

.auth-tabs button {
  min-height: 38px;
  border-radius: 999px;
  color: rgba(255, 253, 243, 0.7);
  background: transparent;
  font-weight: 900;
}

.auth-tabs button.active {
  color: var(--ink);
  background: #f3d263;
}

.auth-provider-stack {
  display: grid;
  gap: 10px;
}

.auth-google-slot {
  display: grid;
  place-items: center;
  min-height: 44px;
}

.auth-provider {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 243, 0.92);
  font-weight: 900;
}

.auth-provider-kakao {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  padding: 0 14px;
  color: #191600;
  background: #fee500;
}

.auth-provider-kakao::after { content: ""; }

.auth-provider-kakao-mark {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #fee500;
  background: #191600;
  font-size: 12px;
  font-weight: 950;
}

.auth-provider-kakao:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.55;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: rgba(255, 253, 243, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 253, 243, 0.18);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 253, 243, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 253, 243, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 248, 234, 0.94);
  outline: none;
}

.auth-form input:focus {
  border-color: #d9f580;
  box-shadow: 0 0 0 3px rgba(217, 245, 128, 0.18);
}

.auth-submit {
  min-height: 48px;
  margin-top: 4px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  font-weight: 900;
}

.auth-switch-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px !important;
  font-size: 13px;
}

.auth-support-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.auth-support-actions button {
  border: 0;
  padding: 4px;
  color: #416150;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.auth-switch-row button {
  padding: 0;
  color: #d9f580;
  background: transparent;
  font-weight: 900;
}

body.auth-modal-open {
  overflow: hidden;
}

.auth-provider-status { margin: 0 !important; color: rgba(255,253,243,.7) !important; font-size: 12px; text-align: center; }
.auth-consents { display: grid; gap: 9px; margin: 4px 0 0; border: 0; padding: 0; }
.auth-consents[hidden] { display: none; }
.auth-form label[hidden], .auth-form fieldset[hidden] { display: none; }
.auth-consents label { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; font-weight: 700; line-height: 1.5; }
.auth-consents input { width: 16px; min-height: 16px; margin: 2px 0 0; accent-color: var(--sun); }
.auth-consents a, .account-legal a { color: #d9f580; font-weight: 900; }
.auth-message { padding: 9px 11px; border-radius: 6px; color: #e8f8dd !important; background: rgba(7,26,18,.32); font-size: 12px; }
.auth-message[data-type="error"] { color: #ffe2d6 !important; background: rgba(110,27,22,.36); }
.auth-summary-button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.account-plan { margin: 20px 0; padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.08); font-weight: 900; }
.account-actions { display: grid; gap: 10px; }
.account-danger { min-height: 44px; border: 1px solid rgba(255,201,184,.35); border-radius: 999px; color: #ffe2d6; background: rgba(110,27,22,.24); font-weight: 900; }
.account-legal { margin-top: 18px !important; text-align: center; font-size: 12px; }
.account-modal .auth-dialog, .checkout-modal .auth-dialog { width: min(500px, 100%); max-height: min(760px, calc(100svh - 32px)); overflow-y: auto; }
.account-secondary { border: 1px solid rgba(255,255,255,.2); color: #fffdf3; background: rgba(255,255,255,.08); }
.account-history { margin: 0 0 18px; color: rgba(255,253,243,.76); font-size: 12px; line-height: 1.5; }
.account-history h3 { margin: 0 0 8px; color: #fffdf3; font-size: 14px; }
.account-history ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.account-history li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.account-history li span { color: rgba(255,253,243,.68); }
.account-history a { color: #d9f580; font-weight: 900; }
.checkout-summary { display: grid; gap: 0; margin: 18px 0; }
.checkout-summary div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.checkout-summary dt { color: rgba(255,253,243,.7); }
.checkout-summary dd { margin: 0; text-align: right; font-weight: 900; }
.checkout-consents { display: grid; gap: 10px; }
.checkout-consents label { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: rgba(255,253,243,.82); font-size: 12px; line-height: 1.55; }
.checkout-consents input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--sun); }
.checkout-modal .auth-submit:disabled { opacity: .45; cursor: not-allowed; }
.privacy-hint { margin: 10px 0 0; color: var(--soft-ink); font-size: 12px; line-height: 1.6; }
.site-footer { padding: 34px max(20px, calc((100% - 1160px) / 2)); color: rgba(255,255,255,.7); background: var(--deep); font-size: 13px; line-height: 1.7; }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 28px; }
.site-footer strong { display: block; color: #fffdf3; font-size: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: #fffdf3; font-weight: 800; }
.legal-missing { color: #f0b5a5; font-weight: 900; }

.full-width {
  width: 100%;
}

.folder-status {
  margin: 10px 0 0;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.feature-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  margin: 0;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.hero-copy h1,
.workflow-section h2,
.album-heading h2,
.preview-toolbar h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  word-break: keep-all;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.hero-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-preview {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius);
  background: var(--deep);
  box-shadow: var(--shadow);
}

.hero-preview img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.paper-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  color: #fffdf3;
  background:
    linear-gradient(145deg, rgba(21, 48, 39, 0.76), rgba(84, 76, 55, 0.5)),
    rgba(15, 42, 34, 0.58);
  box-shadow: 0 18px 42px rgba(12, 28, 22, 0.24);
  backdrop-filter: blur(18px) saturate(1.1);
}

.paper-card p,
.paper-card h2 {
  margin: 0;
}

.paper-card p {
  color: rgba(237, 200, 95, 0.95);
  font-size: 12px;
  font-weight: 900;
}

.paper-card h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 30px;
}

.paper-card span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 253, 243, 0.82);
  line-height: 1.65;
}

.polished-hero {
  padding-bottom: 34px;
}

.feature-device {
  min-height: 610px;
}

.feature-device img {
  height: 610px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.mini-tags small {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffdf3;
  background: var(--deep);
  font-weight: 900;
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.feature-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.72);
}

.feature-stats dt,
.feature-stats dd {
  margin: 0;
}

.feature-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.feature-stats dd {
  margin-top: 4px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.feature-nav-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 28px;
}

.feature-nav-strip a {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.78);
  box-shadow: 0 14px 38px rgba(16, 34, 27, 0.06);
}

.feature-nav-strip span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
}

.feature-nav-strip strong {
  font-size: 18px;
}

.feature-detail,
.plan-matrix {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 76px 0;
  border-top: 1px solid rgba(23, 42, 34, 0.1);
}

.feature-detail.reverse {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.feature-detail.reverse .detail-copy {
  grid-column: 2;
}

.feature-detail.reverse .detail-visual,
.feature-detail.reverse .split-visual,
.feature-detail.reverse .season-board {
  grid-column: 1;
  grid-row: 1;
}

.detail-copy h2,
.matrix-heading h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.12;
  word-break: keep-all;
  text-wrap: balance;
}

.detail-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--soft-ink);
  font-size: 17px;
  line-height: 1.72;
}

.feature-checks {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-checks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
}

.feature-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sun);
}

.detail-visual,
.split-visual,
.season-board,
.atlas-sample-grid {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.diary-preview-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: var(--deep);
}

.diary-preview-card img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.diary-preview-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.92);
  box-shadow: 0 18px 42px rgba(12, 28, 22, 0.24);
}

.diary-preview-card p,
.diary-preview-card strong,
.diary-preview-card span {
  display: block;
  margin: 0;
}

.diary-preview-card p {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
}

.diary-preview-card strong {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.22;
}

.diary-preview-card span {
  margin-top: 10px;
  color: var(--soft-ink);
  line-height: 1.62;
}

.split-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--deep);
}

.split-visual img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.atlas-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: rgba(255, 248, 234, 0.72);
}

.atlas-sample-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.88);
}

.atlas-sample-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.atlas-sample-grid strong,
.atlas-sample-grid span {
  display: block;
  padding-inline: 14px;
}

.atlas-sample-grid strong {
  padding-top: 12px;
  font-size: 18px;
}

.atlas-sample-grid span {
  padding-block: 4px 14px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.season-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: rgba(15, 42, 34, 0.92);
}

.season-board article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: calc(var(--radius) - 2px);
}

.season-board img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.season-board span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffdf3;
  background: rgba(15, 42, 34, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.plan-matrix {
  padding: 76px 0;
  border-top: 1px solid rgba(23, 42, 34, 0.1);
}

.matrix-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

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

.matrix-grid article {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.82);
  box-shadow: 0 18px 50px rgba(16, 34, 27, 0.08);
}

.matrix-grid article.featured-plan {
  color: #fffdf3;
  background:
    linear-gradient(160deg, rgba(15, 42, 34, 0.96), rgba(53, 120, 78, 0.9)),
    var(--deep);
}

.matrix-grid p {
  margin: 0;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-plan p {
  color: var(--sun);
}

.matrix-grid h3 {
  margin: 10px 0 0;
  font-size: 25px;
}

.matrix-grid ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.matrix-grid li {
  position: relative;
  padding-left: 22px;
  color: var(--soft-ink);
  line-height: 1.5;
}

.featured-plan li {
  color: rgba(255, 253, 243, 0.82);
}

.matrix-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sun);
}

.matrix-price {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  margin-bottom: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 42, 34, 0.12);
}

.featured-plan .matrix-price {
  border-top-color: rgba(255, 253, 243, 0.18);
}

.matrix-price strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
}

.featured-plan .matrix-price strong {
  color: #fffdf3;
}

.matrix-price span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.featured-plan .matrix-price span {
  color: rgba(255, 253, 243, 0.72);
}

.matrix-pay-button {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  color: #fffdf3;
  background: var(--deep);
  font-weight: 900;
}

.sales-lock-notice {
  max-width: 860px;
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(185, 129, 31, .28);
  border-radius: 6px;
  color: #6e4b09;
  background: #fff3c9;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.sales-lock-notice[data-ready="true"] { color: #215a38; border-color: rgba(53,120,78,.3); background: #e6f2df; }
button[aria-disabled="true"] { cursor: not-allowed; opacity: .58; }

.matrix-payment-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.matrix-payment-actions .matrix-pay-button { margin-top: 0; }
.matrix-pay-button.secondary { border: 1px solid rgba(20,40,32,.22); color: var(--deep); background: transparent; }
.featured-plan .matrix-pay-button.secondary { border-color: rgba(255,255,255,.34); color: #fffdf3; background: rgba(255,255,255,.08); }

.featured-plan .matrix-pay-button {
  color: var(--ink);
  background: var(--sun);
}

.enhanced-workflow {
  padding-top: 24px;
}

.module-grid,
.workflow-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 40px 0 72px;
}

.module-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.82);
  box-shadow: 0 18px 50px rgba(16, 34, 27, 0.08);
}

.module-card.primary-module {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 2;
  min-height: 300px;
  padding: 28px;
  color: #fffdf3;
  background:
    linear-gradient(160deg, rgba(15, 42, 34, 0.96), rgba(53, 120, 78, 0.9)),
    var(--deep);
}

.module-card.primary-module .eyebrow,
.module-card.primary-module p {
  color: rgba(255, 253, 243, 0.78);
}

.module-card.primary-module h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
}

.module-card.primary-module a {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  font-weight: 900;
}

.module-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.module-card div:not(.paper-card) {
  padding: 20px;
}

.module-card h2 {
  margin: 8px 0 0;
  font-size: 24px;
}

.module-card p:not(.eyebrow) {
  color: var(--soft-ink);
  line-height: 1.65;
}

.workflow-section {
  padding: 10px 0 90px;
}

.workflow-section h2,
.preview-toolbar h2,
.album-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.8);
}

.workflow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--sun);
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.workflow-list p {
  color: var(--soft-ink);
  line-height: 1.6;
}

.writer-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 24px;
  width: min(1280px, calc(100% - 32px));
  margin: 24px auto 80px;
}

.writer-panel,
.diary-preview-area {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.82);
  box-shadow: 0 18px 50px rgba(16, 34, 27, 0.08);
}

.writer-panel {
  padding: 24px;
  align-self: start;
}

.writer-panel h1 {
  margin: 8px 0 22px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.15;
}

.control-block {
  margin-top: 18px;
}

.control-block.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
}

.control-help {
  margin: -2px 0 10px;
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.55;
}

.upload-drop {
  display: grid;
  gap: 6px;
  min-height: 110px;
  padding: 18px;
  border: 1px dashed rgba(53, 120, 78, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.72);
  cursor: pointer;
}

.upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-drop strong {
  font-size: 18px;
}

.upload-drop span {
  color: var(--soft-ink);
  line-height: 1.5;
}

.text-input,
.writer-panel textarea,
.writer-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 252, 245, 0.86);
}

.text-input,
.writer-panel select {
  min-height: 46px;
  padding: 0 12px;
}

.writer-panel textarea {
  resize: vertical;
  min-height: 128px;
  padding: 12px;
  line-height: 1.6;
}

.text-input:focus,
.writer-panel textarea:focus,
.writer-panel select:focus {
  outline: 3px solid rgba(237, 200, 95, 0.34);
  border-color: rgba(53, 120, 78, 0.38);
}

.auto-detect-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(150, 255, 178, 0.26);
  border-radius: var(--radius);
  color: #efffed;
  background:
    linear-gradient(145deg, rgba(42, 116, 72, 0.5), rgba(11, 46, 31, 0.36)),
    rgba(19, 70, 45, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 32px rgba(12, 35, 25, 0.16);
  backdrop-filter: blur(14px) saturate(1.18);
}

.auto-detect-card strong,
.auto-detect-card span {
  display: block;
}

.auto-detect-card strong {
  color: #dfff46;
  font-size: 15px;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(217, 255, 70, 0.5);
}

.auto-detect-card > div:first-child span {
  margin-top: 4px;
  color: rgba(236, 255, 232, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.detected-plant-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detected-plant-summary span {
  padding: 6px 10px;
  border: 1px solid rgba(190, 255, 114, 0.38);
  border-radius: 999px;
  color: #dfff46;
  background: rgba(9, 40, 27, 0.32);
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(223, 255, 70, 0.42);
}

.diary-preview-area {
  padding: 22px;
}

.preview-toolbar,
.album-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.preview-toolbar span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.diary-canvas {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.diary-canvas::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 15, 0.2) 38%, rgba(12, 18, 15, 0.48) 100%);
  pointer-events: none;
}

.diary-canvas > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ai-output-label {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #fffdf3;
  background: rgba(9,37,27,.58);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 900;
}

.photo-rights-confirm {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
  margin-top: 12px;
  color: #40584a;
  font-size: 12px;
  line-height: 1.55;
}

.photo-rights-confirm input { margin-top: 3px; }
.photo-rights-confirm a { color: var(--forest); font-weight: 800; }

.saved-diary-media,
.album-detail-media {
  position: relative;
}

.saved-diary-media > img { display: block; width: 100%; }

.saved-diary-ai-label,
.album-ai-label {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(225, 255, 163, 0.55);
  border-radius: 4px;
  background: rgba(20, 66, 45, 0.78);
  color: #e9ff8c;
  font-size: 11px;
  font-weight: 800;
}

.album-ai-label[hidden] { display: none; }

.plant-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.plant-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}

.plant-bubble-card {
  position: absolute;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: min(188px, 30vw);
  min-height: 62px;
  padding: 7px 9px 7px 7px;
  border: 1px solid rgba(189, 255, 181, 0.3);
  border-radius: var(--radius);
  color: #f7fff6;
  background:
    linear-gradient(145deg, rgba(63, 151, 95, 0.34), rgba(13, 67, 41, 0.22)),
    rgba(26, 95, 58, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(10, 32, 22, 0.18),
    0 0 18px rgba(129, 255, 112, 0.1);
  backdrop-filter: blur(12px) saturate(1.16);
  transform: translate(var(--card-x), var(--card-y));
}

.plant-bubble-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(230, 255, 117, 0.9);
  border-radius: 50%;
  background: rgba(30, 130, 74, 0.88);
  box-shadow:
    0 6px 14px rgba(12, 28, 22, 0.24),
    0 0 13px rgba(217, 255, 70, 0.42);
  transform: translate(-50%, -50%);
}

.plant-bubble-card img {
  width: 48px;
  height: 48px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
  opacity: 0.9;
  box-shadow: 0 0 0 1px rgba(223, 255, 70, 0.2);
}

.plant-bubble-card strong,
.plant-bubble-card span,
.plant-bubble-card em {
  display: block;
}

.plant-bubble-card strong {
  overflow: hidden;
  margin-top: 2px;
  color: #dfff46;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(223, 255, 70, 0.38);
  white-space: nowrap;
}

.plant-bubble-kicker {
  color: rgba(143, 255, 173, 0.94);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.plant-bubble-card em {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(239, 255, 231, 0.86);
  font-size: 10px;
  font-style: normal;
  line-height: 1.25;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.diary-paper {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 5vw, 42px);
  z-index: 3;
  width: auto;
  max-width: 720px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fffdf3;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.42),
    0 1px 2px rgba(0, 0, 0, 0.52);
}

.diary-paper p,
.diary-paper h3 {
  margin: 0;
}

.diary-paper p {
  color: rgba(238, 219, 140, 0.98);
  font-size: 12px;
  font-weight: 900;
}

.diary-paper h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.18;
}

.diary-paper span {
  display: block;
  max-width: 38em;
  margin-top: 12px;
  color: rgba(255, 253, 243, 0.9);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.68;
}

.preview-plants {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.preview-plants small {
  padding: 6px 10px;
  border: 1px solid rgba(190, 255, 114, 0.34);
  border-radius: 999px;
  color: #dfff46;
  background: rgba(10, 55, 33, 0.34);
  backdrop-filter: blur(8px);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(223, 255, 70, 0.42);
}

.plant-info-panel {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(143, 255, 173, 0.18);
  border-radius: var(--radius);
  color: #efffed;
  background:
    linear-gradient(145deg, rgba(38, 100, 66, 0.42), rgba(13, 51, 34, 0.32)),
    rgba(13, 58, 37, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 42px rgba(12, 35, 25, 0.1);
  backdrop-filter: blur(12px);
}

.plant-info-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.plant-info-heading h2,
.plant-info-heading p {
  margin: 0;
}

.plant-info-heading h2 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
}

.plant-info-heading > span {
  color: rgba(236, 255, 232, 0.72);
  font-size: 13px;
  font-weight: 900;
}

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

.plant-info-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(143, 255, 173, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(52, 126, 78, 0.34), rgba(11, 45, 30, 0.24)),
    rgba(15, 63, 39, 0.28);
}

.plant-info-card img {
  width: 96px;
  height: 96px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(223, 255, 70, 0.18);
}

.plant-info-card p,
.plant-info-card strong,
.plant-info-card span {
  display: block;
  margin: 0;
}

.plant-info-card p {
  color: #8fffad;
  font-size: 12px;
  font-weight: 900;
}

.plant-info-card strong {
  margin-top: 4px;
  color: #dfff46;
  font-size: 21px;
  text-shadow: 0 0 12px rgba(223, 255, 70, 0.38);
}

.plant-info-card span {
  margin-top: 6px;
  color: rgba(239, 255, 231, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.album-strip {
  margin-top: 28px;
}

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

.album-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.78);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.album-grid article:hover,
.album-grid article:focus-visible {
  border-color: rgba(53, 120, 78, 0.36);
  box-shadow: 0 18px 40px rgba(16, 34, 27, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.album-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.album-grid strong,
.album-grid span,
.album-grid p {
  display: block;
  padding-inline: 14px;
}

.album-grid strong {
  padding-top: 12px;
}

.album-grid span {
  padding-block: 6px 4px;
  color: var(--soft-ink);
  font-size: 13px;
}

.album-grid p {
  margin: 0;
  padding-block: 0 10px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.album-open-button {
  width: calc(100% - 28px);
  min-height: 36px;
  margin: 0 14px 14px;
  border: 1px solid rgba(53, 120, 78, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 248, 234, 0.88);
  font-size: 13px;
  font-weight: 900;
}

.album-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.album-detail-modal[hidden] {
  display: none;
}

.album-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.album-detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 14%, rgba(237, 200, 95, 0.22), transparent 34%),
    rgba(7, 20, 15, 0.64);
  backdrop-filter: blur(12px);
}

.album-detail-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 243, 0.24);
  border-radius: var(--radius);
  color: #fffdf3;
  background:
    linear-gradient(145deg, rgba(45, 92, 62, 0.92), rgba(13, 42, 31, 0.96)),
    var(--deep);
  box-shadow: 0 32px 90px rgba(6, 20, 15, 0.42);
}

.album-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 253, 243, 0.24);
  border-radius: 50%;
  color: #fffdf3;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  line-height: 1;
}

.album-detail-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.album-detail-body {
  overflow: auto;
  padding: 34px;
}

.album-detail-meta {
  margin: 0;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
}

.album-detail-body h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.14;
  word-break: keep-all;
}

.album-detail-text {
  margin: 18px 0 0;
  color: rgba(255, 253, 243, 0.86);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.album-detail-plants {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.album-detail-plant {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(143, 255, 173, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.album-detail-plant img {
  width: 70px;
  height: 70px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.album-detail-plant span,
.album-detail-plant strong,
.album-detail-plant p {
  display: block;
}

.album-detail-plant span {
  color: #d9f580;
  font-size: 11px;
  font-weight: 900;
}

.album-detail-plant strong {
  margin-top: 2px;
  color: #fffdf3;
  font-size: 17px;
}

.album-detail-plant p,
.album-detail-empty {
  margin: 4px 0 0;
  color: rgba(255, 253, 243, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.album-detail-delete {
  min-height: 42px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 243, 0.28);
  border-radius: 6px;
  color: #fffdf3;
  background: rgba(54, 17, 17, 0.36);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.album-detail-delete:hover,
.album-detail-delete:focus-visible {
  background: rgba(92, 24, 24, 0.54);
}

body.album-modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  max-width: min(460px, calc(100% - 32px));
  padding: 13px 18px;
  border-radius: 999px;
  color: #fffdf3;
  background: rgba(15, 42, 34, 0.92);
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .app-header {
    justify-content: space-between;
  }

  .header-nav {
    display: none;
  }

  .feature-hero,
  .feature-detail,
  .feature-detail.reverse,
  .writer-layout {
    grid-template-columns: 1fr;
  }

  .feature-detail.reverse .detail-copy,
  .feature-detail.reverse .detail-visual,
  .feature-detail.reverse .split-visual,
  .feature-detail.reverse .season-board {
    grid-column: auto;
    grid-row: auto;
  }

  .module-grid,
  .feature-nav-strip,
  .matrix-grid,
  .workflow-list,
  .album-grid {
    grid-template-columns: 1fr;
  }

  .module-card.primary-module {
    grid-column: span 1;
  }

  .album-detail-dialog {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .album-detail-image {
    height: 260px;
    min-height: 260px;
  }

  .album-detail-body {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .app-header {
    padding-inline: 12px;
    gap: 8px;
  }

  .brand {
    gap: 7px;
    font-size: 14px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .auth-summary {
    display: none;
  }

  .auth-link {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .header-action {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .feature-hero,
  .feature-nav-strip,
  .feature-detail,
  .plan-matrix,
  .module-grid,
  .workflow-section,
  .writer-layout {
    width: min(100% - 24px, 1160px);
  }

  .hero-preview,
  .hero-preview img {
    min-height: 460px;
    height: 460px;
  }

  .paper-card {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .feature-stats,
  .split-visual,
  .atlas-sample-grid,
  .season-board {
    grid-template-columns: 1fr;
  }

  .split-visual img {
    height: 280px;
  }

  .season-board article,
  .season-board img {
    height: 210px;
  }

  .control-block.two-col {
    grid-template-columns: 1fr;
  }

  .diary-preview-area,
  .writer-panel {
    padding: 16px;
  }

  .diary-paper {
    left: 12px;
    right: 12px;
    bottom: 16px;
    padding: 0;
  }

  .diary-paper h3 {
    overflow: hidden;
    font-size: 27px;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .diary-paper span {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .diary-paper .preview-plants {
    display: none;
  }

  .plant-bubble-card {
    display: none;
  }

  .plant-bubbles {
    z-index: 4;
  }

  .plant-bubble-card img {
    width: 40px;
    height: 40px;
  }

  .plant-bubble-card strong {
    font-size: 14px;
  }

  .plant-bubble-kicker {
    font-size: 10px;
  }

  .plant-bubble-card em {
    display: none;
  }

  .preview-toolbar,
  .album-heading,
  .plant-info-heading {
    align-items: start;
    flex-direction: column;
  }

  .plant-info-panel {
    padding: 16px;
  }

  .plant-info-grid {
    grid-template-columns: 1fr;
  }

  .plant-info-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .plant-info-card img {
    width: 72px;
    height: 72px;
  }
}
