:root {
  --yellow: #ffe066;
  --yellow-deep: #ffd43b;
  --blue: #a5d8ff;
  --blue-deep: #74c0fc;
  --pink: #ffc9c9;
  --pink-deep: #ff9f9f;
  --green: #b2f2bb;
  --green-deep: #8ce99a;
  --orange: #ffcc80;
  --purple: #d0bfff;
  --cream: #faf8f3;
  --paper: #f7f5f0;
  --ink: #2d2a26;
  --ink-light: #5c5750;
  --shadow: rgba(45, 42, 38, 0.15);
  --shadow-deep: rgba(45, 42, 38, 0.25);
  --display: "Shrikhand", "ZCOOL KuaiLe", cursive;
  --body: "Zilla Slab", "Yozai", serif;
  --script: "Caveat", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 224, 102, 0.38), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(165, 216, 255, 0.44), transparent 34%),
    radial-gradient(circle at 76% 82%, rgba(255, 201, 201, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(45, 42, 38, 0.04) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(225deg, rgba(45, 42, 38, 0.035) 25%, transparent 25%) 0 0 / 34px 34px,
    var(--paper);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

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

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(1460px, 100%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 22px;
  background: rgba(250, 248, 243, 0.88);
  border-bottom: 2px dashed rgba(45, 42, 38, 0.18);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 3px 0 var(--shadow-deep);
  font-family: var(--display);
  font-weight: 400;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--ink-light);
  font-family: var(--script);
  font-size: 18px;
}

.nav-tabs,
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar,
.filter-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tabs button,
.filter-tabs button,
.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 3px 0 var(--shadow);
  white-space: nowrap;
}

.nav-tabs button:nth-child(1) {
  background: var(--yellow);
}

.nav-tabs button:nth-child(2) {
  background: var(--blue);
}

.nav-tabs button:nth-child(3) {
  background: var(--pink);
}

.nav-tabs button:nth-child(4) {
  background: var(--green);
}

.nav-tabs button:nth-child(5) {
  background: var(--orange);
}

.nav-tabs button:nth-child(6) {
  background: var(--purple);
}

.nav-tabs button:nth-child(7) {
  background: var(--blue);
}

.nav-tabs button:nth-child(8) {
  background: var(--green);
}

.nav-tabs button.active,
.filter-tabs button.active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--shadow-deep);
}

.sync-pill {
  background: #fff;
}

.sync-pill[data-sync-status="checking"],
.sync-pill[data-sync-status="syncing"] {
  background: #fff1a8;
}

.sync-pill[data-sync-status="ok"] {
  background: #b8f5c8;
}

.sync-pill[data-sync-status="error"] {
  background: #ffc1c7;
}

.sync-pill[data-sync-status="offline"] {
  background: #e8e1ff;
}

.nav-tabs svg,
.sync-pill svg,
button svg {
  width: 17px;
  height: 17px;
}

main {
  padding: 24px;
}

.page {
  display: none;
  animation: paperIn 180ms ease-out;
}

.page.active {
  display: block;
}

@keyframes paperIn {
  from {
    opacity: 0;
    transform: translateY(8px) rotate(-0.3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.signal-board,
.form-panel,
.mine-card,
.about-card,
.qr-card,
.playbook-track,
.recommendation,
.architecture,
.sync-table,
.rule-grid article,
.task-card,
.work-card,
.kanban-column,
.progress-summary article,
.metric-grid article,
.confirm-strip {
  position: relative;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  box-shadow: 2px 3px 15px var(--shadow), 0 1px 3px var(--shadow-deep);
}

.hero-copy::before,
.signal-board::before,
.form-panel::before,
.mine-card::before,
.about-card::before,
.qr-card::before,
.playbook-track::before,
.recommendation::before,
.architecture::before,
.sync-table::before,
.rule-grid article::before,
.task-card::before,
.work-card::before,
.kanban-column::before,
.confirm-strip::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #c92a2a);
  box-shadow: 0 2px 4px var(--shadow-deep), inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
}

.hero-copy {
  min-height: 370px;
  padding: clamp(28px, 5vw, 58px);
  transform: rotate(-0.7deg);
}

.hero-copy::after {
  content: "start small :)";
  position: absolute;
  right: 30px;
  bottom: 20px;
  color: var(--ink-light);
  font-family: var(--script);
  font-size: 27px;
  transform: rotate(-4deg);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ink-light);
  font-family: var(--script);
  font-size: 24px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.13;
}

.hero-title-line {
  white-space: nowrap;
}

.headline-emoji {
  display: inline-block;
  margin-left: 0.12em;
  font-size: 0.52em;
  line-height: 1;
  transform: rotate(-8deg);
  vertical-align: 0.18em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.18;
}

p {
  color: var(--ink-light);
  line-height: 1.72;
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink);
  font-size: 20px;
}

.hero-actions,
.confirm-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary,
.secondary,
.text-button,
.small-btn,
.reaction-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 3px 0 var(--shadow);
  font-weight: 700;
}

.primary {
  background: var(--pink);
}

.secondary {
  background: var(--blue);
}

.primary:disabled {
  cursor: not-allowed;
  background: #d7d2c9;
}

.text-button {
  min-height: 34px;
  padding: 0 10px;
  background: var(--green);
  text-decoration: none;
}

.primary:hover,
.secondary:hover,
.text-button:hover,
.small-btn:hover,
.reaction-row button:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--shadow-deep);
}

.signal-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.8deg);
}

.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.status-head > span {
  color: var(--ink-light);
  font-family: var(--script);
  font-size: 23px;
}

.wish-counter {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: end;
  gap: 5px;
  padding: 7px 11px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 3px 0 var(--shadow);
  transform: rotate(-0.8deg);
}

.wish-counter span {
  font-family: var(--script);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.wish-counter strong {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  line-height: 0.86;
}

.wish-counter strong.is-counting {
  animation: count-pop 0.72s ease-out both;
}

.wish-counter em {
  position: absolute;
  top: -18px;
  right: -9px;
  padding: 2px 8px;
  color: var(--ink);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 1px 2px 0 var(--shadow);
  font-family: var(--script);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  animation: wish-delta-up 1.1s ease-out forwards;
}

@keyframes count-pop {
  0% {
    transform: scale(0.86) rotate(-3deg);
  }
  45% {
    transform: scale(1.18) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes wish-delta-up {
  0% {
    opacity: 0;
    transform: translateY(8px) rotate(-6deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-24px) rotate(4deg);
  }
}

.metric-grid,
.progress-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid article,
.progress-summary article {
  min-height: 92px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  transform: rotate(-1deg);
}

.metric-grid article:nth-child(2),
.progress-summary article:nth-child(2) {
  background: var(--green);
  transform: rotate(1deg);
}

.metric-grid article:nth-child(3),
.progress-summary article:nth-child(3) {
  background: var(--orange);
  transform: rotate(-0.5deg);
}

.metric-grid small,
.progress-summary small {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-light);
}

.metric-grid strong,
.progress-summary strong {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.mini-feed {
  display: grid;
  gap: 10px;
}

.mini-feed div {
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(45, 42, 38, 0.25);
}

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

.wish-item {
  position: relative;
  display: grid;
  gap: 8px;
  grid-template-rows: auto 1fr;
  height: clamp(124px, 14vw, 152px);
  padding: 16px 15px 14px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 2px 3px 0 rgba(45, 42, 38, 0.22);
  transform: rotate(-1.1deg);
  animation: wish-card-in 0.42s ease both;
}

.wish-item:nth-child(2) {
  animation-delay: 0.04s;
}

.wish-item:nth-child(3) {
  animation-delay: 0.08s;
}

.wish-item:nth-child(4) {
  animation-delay: 0.12s;
}

.wish-item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 52px;
  height: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px dashed rgba(45, 42, 38, 0.24);
  transform: translateX(-50%) rotate(2deg);
}

.wish-item:nth-child(2n) {
  background: rgba(255, 244, 183, 0.88);
  transform: rotate(1deg);
}

.wish-item:nth-child(3n) {
  background: rgba(255, 205, 220, 0.84);
  transform: rotate(-0.3deg);
}

.wish-item:nth-child(4n) {
  background: rgba(199, 242, 210, 0.86);
  transform: rotate(1.3deg);
}

.wish-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wish-line span {
  padding: 3px 8px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--script);
  font-size: 16px;
  line-height: 1;
}

.wish-line b {
  font-family: var(--script);
  font-size: 20px;
  line-height: 1;
}

.wish-item p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: var(--ink-light);
  font-size: 17px;
  line-height: 1.45;
  word-break: break-word;
}

@keyframes wish-card-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}

.panel {
  padding: 0;
}

.section-title,
.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-title span {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
}

.panel-note {
  margin: -4px 0 14px;
  color: var(--ink-light);
}

.mine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.mine-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 180px;
  height: 100%;
  padding: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 15px var(--shadow), 0 1px 3px var(--shadow-deep);
  transform: rotate(-0.35deg);
}

.mine-card:nth-child(2) {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(0.35deg);
}

.mine-card:nth-child(3) {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  transform: rotate(-0.2deg);
}

.mine-card:nth-child(4) {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  transform: rotate(0.45deg);
}

.mine-card:nth-child(5) {
  background: linear-gradient(135deg, var(--orange), #ffd79c);
}

.mine-wide {
  grid-column: 1 / -1;
}

.mine-wish-panel {
  min-height: 0;
}

.player-card-body {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.player-card-body h3,
.player-card-body p,
.active-wish-note p,
.mine-item h3,
.mine-item p,
.empty-state p {
  margin: 0;
}

.player-avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 3px 0 var(--shadow);
  font-family: var(--display);
  font-size: 26px;
}

.player-card-fields,
.my-stat-grid {
  display: grid;
  gap: 10px;
}

.player-profile-card .player-card-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.player-card-fields span {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(45, 42, 38, 0.32);
}

.player-card-fields b,
.active-wish-note b {
  color: var(--ink-light);
  font-size: 14px;
}

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

.my-stat-grid article {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  box-shadow: 1px 2px 0 var(--shadow);
}

.my-stat-grid strong {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.my-stat-grid span {
  color: var(--ink-light);
  font-weight: 800;
}

.active-wish-note {
  display: grid;
  gap: 6px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.68);
  border: 2px dashed rgba(45, 42, 38, 0.36);
}

#myProgressStats {
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
}

#myProgressStats .my-stat-grid {
  align-self: center;
}

.player-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed rgba(45, 42, 38, 0.44);
  box-shadow: 2px 3px 0 var(--shadow);
}

.player-link-card h3,
.player-link-card p {
  margin: 6px 0 0;
}

.player-link-card .primary,
.player-link-card .small-btn {
  flex: 0 0 auto;
}

.mine-list {
  display: grid;
  gap: 12px;
}

.wish-track-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.mine-card:not(.mine-wide) .wish-track-list {
  grid-template-columns: 1fr;
}

.mine-wish-panel .wish-track-list {
  max-height: clamp(360px, 54vh, 640px);
  overflow-y: auto;
  padding-right: 6px;
}

.mine-wish-panel .mine-item {
  gap: 8px;
  padding: 12px;
}

.mine-wish-panel .mine-item h3 {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 800;
  line-height: 1.42;
}

.mine-wish-panel .mine-item p {
  font-size: 14px;
  line-height: 1.5;
}

.mine-wish-panel .task-actions {
  gap: 8px;
}

.mine-wish-panel .small-btn {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 14px;
}

.mine-item {
  display: grid;
  gap: 9px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.mine-item.is-active {
  outline: 3px solid rgba(255, 224, 102, 0.85);
  background: rgba(255, 255, 255, 0.86);
}

.submission-link-row {
  display: grid;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(45, 42, 38, 0.32);
  font-weight: 800;
}

.submission-link-row select {
  min-height: 38px;
}

.mine-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mine-item-head small {
  color: var(--ink-light);
  font-weight: 800;
}

.tag.green {
  background: var(--green);
}

.tag.muted {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-light);
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 2px dashed rgba(45, 42, 38, 0.4);
}

.empty-state.compact {
  padding: 14px;
}

.empty-state svg {
  width: 34px;
  height: 34px;
}

.home-task-list {
  display: grid;
  gap: 12px;
}

.home-task-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.home-task-item:nth-child(2n) {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.4deg);
}

.home-task-item:nth-child(3n) {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  transform: rotate(-0.5deg);
}

.home-task-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
}

.home-task-item p {
  margin: 0;
  color: var(--ink-light);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 15px var(--shadow);
}

.timeline div:nth-child(2n) {
  background: var(--purple);
  transform: rotate(0.6deg);
}

.timeline b {
  font-family: var(--script);
  color: var(--ink);
  font-size: 22px;
}

.timeline span {
  color: var(--ink-light);
}

.home-work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-work-item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 116px;
  padding: 15px 13px 13px;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
  transform: rotate(-0.8deg);
}

.home-work-item:nth-child(2n) {
  background: var(--purple);
  transform: rotate(0.8deg);
}

.home-work-item:nth-child(3n) {
  background: var(--green);
}

.work-pin {
  justify-self: start;
  padding: 3px 8px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--script);
  font-size: 16px;
  line-height: 1;
}

.home-work-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.home-work-item p {
  margin: 0;
  color: var(--ink-light);
}

.page-head {
  margin-bottom: 22px;
}

.page-head p:not(.eyebrow) {
  max-width: 760px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.about-card,
.qr-card {
  padding: 24px;
}

.about-card {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(-0.5deg);
}

.qr-card {
  display: grid;
  gap: 12px;
  align-content: start;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.7deg);
}

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

.about-points article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.about-points article:nth-child(2) {
  background: var(--pink);
  transform: rotate(0.6deg);
}

.about-points article:nth-child(3) {
  background: var(--green);
  transform: rotate(-0.5deg);
}

.about-points b,
.owner-badge {
  font-family: var(--script);
  font-size: 22px;
}

.about-points p,
.qr-card p {
  margin-bottom: 0;
  color: var(--ink-light);
}

.owner-badge {
  justify-self: start;
  padding: 4px 10px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(220px, 100%);
  aspect-ratio: 1;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px dashed var(--ink);
  border-radius: 8px;
}

.qr-placeholder svg {
  width: 72px;
  height: 72px;
  stroke-width: 1.8px;
}

.qr-placeholder span {
  font-family: var(--script);
  font-size: 24px;
}

.qr-note {
  font-size: 15px;
}

.about-poster {
  display: grid;
  gap: 20px;
}

.about-hero-card,
.about-list-card,
.about-feature-card,
.about-community-panel,
.about-owner-panel,
.owner-strip,
.about-welcome {
  position: relative;
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 15px var(--shadow), 0 1px 3px var(--shadow-deep);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.about-community-panel,
.about-owner-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  align-content: start;
}

.about-community-panel {
  grid-template-rows: auto auto auto 1fr;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(-0.3deg);
}

.about-owner-panel {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.3deg);
}

.split-head {
  display: grid;
  gap: 8px;
}

.split-head h3 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.6vw, 52px);
}

.split-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink-light);
  font-size: 19px;
}

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

.about-mini-groups > div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.about-mini-groups > div:nth-child(2) {
  background: var(--green);
  transform: rotate(0.4deg);
}

.about-mini-groups h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.about-mini-groups h4 svg {
  width: 24px;
  height: 24px;
}

.about-mini-groups ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-mini-groups li {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(45, 42, 38, 0.38);
}

.about-feature-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.about-feature-grid.compact span {
  min-height: 42px;
  font-size: 15px;
}

.community-join-block {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(158px, 0.82fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.price-stamp.community-price {
  justify-items: start;
  min-width: 0;
  padding: 16px 18px;
  transform: rotate(-0.7deg);
}

.price-stamp.community-price span {
  font-size: 23px;
}

.price-stamp.community-price strong {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 0.95;
}

.price-stamp.community-price small {
  color: var(--ink-light);
  font-size: 17px;
  font-weight: 800;
}

.personal-qr-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 2px dashed rgba(45, 42, 38, 0.54);
  box-shadow: 2px 3px 0 var(--shadow);
  transform: rotate(0.5deg);
}

.personal-qr-image {
  width: min(118px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 1px 2px 0 rgba(45, 42, 38, 0.16);
}

.qr-placeholder.small {
  width: 100px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.86);
}

.qr-placeholder.small svg {
  width: 34px;
  height: 34px;
}

.qr-placeholder.small span {
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

.personal-qr-card p {
  margin: 0;
  color: var(--ink);
  font-family: var(--script);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.personal-qr-card > span {
  padding: 2px 8px;
  color: var(--ink-light);
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(45, 42, 38, 0.32);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.about-owner-panel .owner-doing {
  grid-template-columns: 1fr;
}

.about-owner-panel .owner-doing article {
  padding: 12px 14px;
}

.about-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(-0.4deg);
}

.about-hero-card h3 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 56px);
}

.about-hero-card p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-light);
  font-size: 20px;
}

.price-stamp {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 170px;
  padding: 18px 20px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
  transform: rotate(1.5deg);
}

.price-stamp span {
  color: var(--ink-light);
  font-family: var(--script);
  font-size: 22px;
  font-weight: 700;
}

.price-stamp strong {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

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

.about-list-card {
  padding: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.about-list-card:nth-child(2) {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  transform: rotate(0.4deg);
}

.about-list-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.about-list-card li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 2px solid var(--ink);
  box-shadow: 1px 2px 0 var(--shadow);
}

.about-list-card li:nth-child(2n) {
  background: var(--pink);
  transform: rotate(-0.4deg);
}

.about-feature-card {
  padding: 22px;
  background: linear-gradient(135deg, var(--orange), #ffd79c);
}

.about-feature-card h3 {
  text-align: center;
}

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

.about-feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 3px 0 var(--shadow);
  font-weight: 800;
}

.about-feature-grid svg {
  width: 20px;
  height: 20px;
  color: var(--yellow);
}

.owner-strip {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.owner-profile-head h3,
.owner-intro p,
.owner-doing p,
.owner-close {
  margin: 0;
}

.owner-profile-head {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.owner-avatar-stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 188px;
  height: 188px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 36%, rgba(255, 224, 102, 0.82), rgba(255, 224, 102, 0) 48%),
    radial-gradient(circle at 82% 28%, rgba(199, 242, 210, 0.72), rgba(199, 242, 210, 0) 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 205, 220, 0.36));
  border-radius: 26px;
  box-shadow: 0 10px 18px rgba(45, 42, 38, 0.12);
  transform: rotate(-0.8deg);
}

.owner-avatar-stage::after {
  content: "";
  position: absolute;
  inset: auto 22px 16px auto;
  width: 88px;
  height: 14px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  filter: blur(8px);
}

.owner-avatar {
  position: absolute;
  bottom: -2px;
  left: 50%;
  z-index: 1;
  display: block;
  width: 255px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(45, 42, 38, 0.18));
  transform: translateX(-50%);
}

.owner-title-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 4px 0;
}

.owner-profile-head h3 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 52px);
}

.owner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-tags span {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 1px 2px 0 rgba(45, 42, 38, 0.16);
  font-family: var(--script);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.owner-tags span:nth-child(2) {
  background: var(--green);
}

.owner-tags span:nth-child(3) {
  background: var(--yellow);
}

.owner-intro {
  display: grid;
  gap: 10px;
}

.owner-intro p,
.owner-doing p,
.owner-close {
  color: var(--ink-light);
}

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

.owner-doing article {
  padding: 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.owner-doing article:nth-child(2) {
  background: var(--pink);
  transform: rotate(0.4deg);
}

.owner-doing article:nth-child(3) {
  background: var(--green);
  transform: rotate(-0.4deg);
}

.owner-doing b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--script);
  font-size: 23px;
}

.owner-close {
  padding: 14px 16px;
  background: var(--blue);
  border: 2px dashed var(--ink);
}

.owner-close p {
  margin: 0;
}

.owner-close p + p {
  margin-top: 8px;
}

.owner-close span {
  color: var(--ink);
  font-weight: 800;
}

.about-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  text-align: center;
}

.about-welcome svg {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

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

.playbook-track {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.playbook-track:nth-child(1) {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(-0.4deg);
}

.playbook-track:nth-child(2) {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.4deg);
}

.track-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.track-head svg {
  width: 36px;
  height: 36px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.76);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.track-head span {
  color: var(--ink-light);
  font-family: var(--script);
  font-size: 20px;
  font-weight: 700;
}

.track-head h3 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.12;
}

.playbook-track article {
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.playbook-track article:nth-of-type(2) {
  background: var(--pink);
  transform: rotate(0.4deg);
}

.playbook-track article:nth-of-type(3) {
  background: var(--green);
  transform: rotate(-0.4deg);
}

.playbook-track b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--script);
  font-size: 21px;
}

.playbook-track p {
  margin-bottom: 0;
  color: var(--ink-light);
  font-size: 15px;
  line-height: 1.45;
}

.rule-grid,
.card-grid,
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rule-grid article {
  min-height: 190px;
  padding: 22px;
}

.rule-grid article:nth-child(2n),
.task-card:nth-child(2n),
.work-card:nth-child(2n) {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.7deg);
}

.rule-grid article:nth-child(3n),
.task-card:nth-child(3n),
.work-card:nth-child(3n) {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  transform: rotate(-0.8deg);
}

.rule-grid article:nth-child(4n),
.task-card:nth-child(4n),
.work-card:nth-child(4n) {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

.rule-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--ink);
  stroke-width: 2.4px;
}

.confirm-strip {
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px;
  background: var(--orange);
  transform: rotate(-0.4deg);
}

.confirm-strip label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.confirm-strip > span {
  flex: 1 1 360px;
  font-weight: 700;
}

.form-panel {
  padding: 24px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

.submit-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.54);
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--shadow);
}

.progress-label {
  flex: 0 0 auto;
  font-family: var(--script);
  font-size: 20px;
  font-weight: 700;
}

.progress-summary.compact {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-summary.compact article {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 4px 8px 4px 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.progress-summary.compact article::before {
  content: none;
}

.progress-summary.compact small {
  order: 2;
  margin: 0;
  color: var(--ink-light);
}

.progress-summary.compact strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  box-shadow: 1px 2px 0 var(--shadow);
}

.progress-summary.compact article:nth-child(2) strong {
  background: var(--green);
}

.progress-summary.compact article:nth-child(3) strong {
  background: var(--orange);
}

.progress-summary.compact article:nth-child(4) strong {
  background: var(--pink);
}

.compact-copy {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  font-size: 15px;
}

.progress-mini-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.progress-chip {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 2px dashed rgba(45, 42, 38, 0.36);
  border-radius: 6px;
}

.progress-chip:nth-child(2n) {
  background: rgba(255, 244, 183, 0.86);
  transform: rotate(0.4deg);
}

.progress-chip span {
  justify-self: start;
  padding: 2px 8px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--script);
  font-size: 15px;
  line-height: 1;
}

.progress-chip b {
  font-size: 16px;
  line-height: 1.25;
}

.progress-chip small {
  color: var(--ink-light);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.file-upload {
  align-content: start;
}

.file-upload input[type="file"] {
  min-height: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border-style: dashed;
  cursor: pointer;
}

.file-upload span {
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.form-submit-cell {
  display: flex;
  align-items: end;
}

.form-submit-cell .primary {
  width: 100%;
  min-height: 48px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid var(--ink);
  border-radius: 4px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(255, 224, 102, 0.52);
}

.recommendation {
  margin-top: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #ffe7a8, #ffc6d2 58%, #b9f5cc);
}

.wish-encouragement {
  display: grid;
  gap: 16px;
}

.encouragement-hero {
  display: grid;
  gap: 10px;
  min-height: 210px;
  align-content: center;
  padding: clamp(24px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.76);
  border: 2px solid var(--ink);
  box-shadow: 3px 5px 0 var(--shadow);
  transform: rotate(-0.35deg);
}

.encouragement-hero span {
  justify-self: start;
  padding: 4px 12px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--script);
  font-size: 22px;
  font-weight: 700;
}

.encouragement-hero h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
}

.encouragement-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--ink-light);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.45;
}

.encouragement-hero small {
  max-width: 640px;
  color: var(--ink-light);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.encouragement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.work-encouragement-panel {
  background: linear-gradient(135deg, #b2f2bb, #a5d8ff 58%, #ffe7a8);
}

.work-encouragement-hero {
  transform: rotate(0.25deg);
}

.work-encouragement-hero span {
  background: var(--green);
}

.task-card,
.work-card {
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 22px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(-0.5deg);
}

.task-card::after,
.work-card::after,
.hero-copy .tape {
  content: "";
}

.task-card h3,
.work-card h3 {
  padding-right: 26px;
}

.task-top,
.work-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-family: var(--script);
  font-size: 20px;
  font-weight: 700;
}

.tag.blue,
.tag.coral,
.tag.amber,
.tag.plum {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.prompt-box,
.question-format {
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  border: 1px dashed rgba(45, 42, 38, 0.35);
  line-height: 1.65;
}

.task-actions,
.reaction-row,
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.kanban-column {
  min-height: 360px;
  padding: 18px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  transform: rotate(-0.4deg);
}

.kanban-column:nth-child(2) {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  transform: rotate(0.5deg);
}

.kanban-column:nth-child(3) {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
}

.kanban-column h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.progress-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.68);
  border: 2px solid var(--ink);
}

.progress-item span,
.work-meta,
.comment-meta {
  color: var(--ink-light);
  font-size: 15px;
}

.work-card {
  align-content: start;
}

.work-body {
  display: grid;
  gap: 12px;
}

.work-body b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

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

.work-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 1px 2px 0 var(--shadow);
}

.comment-list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.comment {
  padding: 10px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(45, 42, 38, 0.28);
}

.comment-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.comment-form textarea {
  min-height: 74px;
}

.comment-actions {
  justify-content: space-between;
}

.comment-actions select {
  width: 150px;
  min-height: 36px;
}

.architecture {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  background: var(--orange);
}

.architecture div {
  width: min(520px, 100%);
  padding: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  font-weight: 800;
}

.architecture svg {
  color: var(--ink);
}

.sync-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.sync-table div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--ink);
}

.sync-table span {
  color: var(--ink-light);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 3px 15px var(--shadow);
}

.toast.show {
  display: block;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .hero-band,
  .home-grid,
  .mine-grid,
  .about-split,
  .about-mini-groups,
  .about-layout,
  .about-points,
  .about-columns,
  .about-feature-grid,
  .about-hero-card,
  .owner-doing,
  .rule-grid,
  .card-grid,
  .works-grid,
  .kanban,
  .progress-mini-list,
  .sync-table {
    grid-template-columns: 1fr;
  }

  .signal-board,
  .hero-copy,
  .mine-card,
  .about-card,
  .qr-card,
  .about-community-panel,
  .about-owner-panel,
  .playbook-track,
  .recommendation,
  .task-card,
  .work-card,
  .kanban-column {
    transform: none;
  }
}

@media (max-width: 720px) {
  main {
    padding: 14px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .hero-copy {
    min-height: auto;
    padding: 28px 20px;
  }

  .hero-copy::after {
    display: none;
  }

  h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .form-grid,
  .metric-grid,
  .wish-list,
  .playbook-tracks,
  .wish-track-list,
  .player-profile-card .player-card-fields,
  .home-work-list,
  .progress-mini-list,
  .progress-summary {
    grid-template-columns: 1fr;
  }

  .row-head,
  .section-title,
  .player-link-card,
  .confirm-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .submit-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-copy {
    width: 100%;
  }

  .price-stamp {
    justify-self: start;
  }

  .owner-profile-head {
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .owner-avatar-stage {
    min-height: 126px;
    height: 126px;
    border-radius: 20px;
  }

  .owner-avatar-stage::after {
    right: 18px;
    bottom: 12px;
  }

  .owner-avatar {
    bottom: -2px;
    width: 168px;
    transform: translateX(-50%);
  }

  .owner-title-card {
    justify-items: start;
    gap: 8px;
  }

  .owner-profile-head h3 {
    font-size: 30px;
  }

  .owner-tags {
    gap: 6px;
  }

  .owner-tags span {
    padding: 4px 8px;
    font-size: 16px;
  }

  .owner-strip {
    grid-template-columns: 1fr;
  }

  .about-welcome {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .community-join-block {
    grid-template-columns: 1fr;
  }

  .qr-placeholder.small {
    width: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
