:root {
  --ink: #21103d;
  --ink-deep: #18082f;
  --ink-soft: #2d174e;
  --paper: #ffffff;
  --muted: #ddd8e5;
  --line: rgba(255, 255, 255, 0.34);
  --line-soft: rgba(255, 255, 255, 0.15);
  --pink: #f14e90;
  --green: #51d321;
  --star: #f3c947;
  --shadow: 0 20px 60px rgba(8, 2, 17, 0.35);
  color-scheme: dark;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--ink);
}

body {
  min-height: 100vh;
  color: #fff;
}

[hidden] { display: none !important; }

button,
input { font: inherit; }

button { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
[contenteditable="true"]:focus-visible {
  outline: 2px solid #a873ff;
  outline-offset: 3px;
}

button { cursor: pointer; }
button:disabled { cursor: default; }

.icon,
[data-icon] > svg {
  display: block;
  width: 22px;
  height: 22px;
}

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

/* Authentication screens */
.auth-page {
  display: grid;
  min-height: 100vh;
  padding: 55px 20px;
  place-items: center;
  background: var(--ink);
}

.auth-card {
  position: relative;
  display: flex;
  width: min(556px, calc(100vw - 32px));
  min-height: 873px;
  padding: 65px 40px 48px;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 62px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  box-shadow: inset 0 2px 9px rgba(255,255,255,.12), 0 16px 34px rgba(10, 2, 24, .18);
}

.auth-logo {
  width: auto;
  height: 152px;
  margin: 0 0 78px;
  object-fit: contain;
}

.auth-form {
  display: grid;
  width: 100%;
  gap: 20px;
}

.auth-form input:not(.sr-only) {
  width: 100%;
  height: 60px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 20px;
  background: rgba(17, 5, 35, .13);
  color: #fff;
  text-align: center;
}

.auth-form input::placeholder { color: rgba(255,255,255,.94); opacity: 1; }

.auth-primary,
.auth-secondary {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  font-weight: 800;
  text-decoration: none;
}

.auth-primary {
  margin-top: 60px;
  background: #fff;
  color: var(--ink);
}

.auth-secondary {
  background: #9d9d9d;
  color: #fff;
}

.auth-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-weight: 700;
  line-height: 1.1;
}

.auth-card .auth-link:first-of-type { margin-top: 25px; }
.auth-card .auth-link + .auth-link { margin-top: 24px; }

.form-message {
  min-height: 20px;
  margin: 20px 0 0;
  color: #ff4d6d;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.form-message:empty { visibility: hidden; }

.signup-card {
  padding-top: 35px;
}

.signup-card .auth-form { gap: 15px; }
.signup-card .auth-primary { margin-top: 60px; }

.profile-upload {
  position: relative;
  display: grid;
  width: 200px;
  height: 200px;
  margin: 0 auto 5px;
  place-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
}

.profile-upload img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recovery-card {
  justify-content: flex-start;
  text-align: center;
}

.recovery-card .auth-logo { margin-bottom: 42px; }
.recovery-card h1 { margin: 0; font-size: 25px; }
.recovery-card p { margin: 30px 0 0; line-height: 1.45; }
.recovery-card .auth-primary { margin-top: 84px; }
.recovery-card .auth-secondary { margin-top: 20px; }
/* App layout */
.app-shell {
  display: grid;
  grid-template-columns: 378px minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  gap: 20px;
  background: var(--ink);
}

.sidebar,
.main-panel,
.create-board {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--ink);
}

.sidebar,
.main-panel {
  min-height: calc(100vh - 40px);
  overflow: hidden;
}

.sidebar {
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  padding: 20px;
}

.brand-row {
  display: flex;
  height: 68px;
  align-items: center;
}

.brand,
.mobile-brand {
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
}

.brand img,
.mobile-brand img { width: auto; height: 43px; }

.me-row,
.identity,
.sidebar-actions,
.artist,
.profile-heading,
.profile-count,
.map-activity-title,
.stat-row,
.comment-header,
.detail-header,
.create-board-header,
.create-header-actions {
  display: flex;
  align-items: center;
}

.me-row { min-height: 86px; justify-content: space-between; }
.identity { min-width: 0; gap: 14px; }

button.identity {
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
}

.avatar {
  display: inline-block;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--avatar, #eee);
  background-position: center;
  background-size: cover;
}

.sidebar-actions { gap: 7px; }

.icon-button,
.dialog-close {
  display: inline-grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.icon-button:hover,
.dialog-close:hover { background: rgba(255,255,255,.08); }

.sidebar-rule { height: 1px; margin-bottom: 11px; background: var(--line-soft); }
.sidebar-label { margin: 0 0 11px; font-size: 13px; }
.artist-list { display: grid; max-height: calc(100vh - 260px); padding-right: 4px; gap: 10px; overflow-y: auto; scrollbar-width: thin; }

.artist {
  width: 100%;
  min-height: 67px;
  padding: 10px;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
}

.artist:hover { background: rgba(255,255,255,.06); }
.artist.is-selected { background: rgba(255,255,255,.09); }
.artist-copy { min-width: 0; flex: 1; }
.artist-copy strong,
.artist-copy small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.artist-copy strong { font-size: 14px; }
.artist-copy small { margin-top: 4px; color: rgba(255,255,255,.63); font-size: 11px; }

.activity-skeleton {
  pointer-events: none;
  opacity: 0;
  animation: skeleton-enter .28s ease forwards;
  animation-delay: var(--delay, 0ms);
}

.activity-skeleton-avatar,
.activity-skeleton-line {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.13);
}

.activity-skeleton-avatar::after,
.activity-skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.22) 46%, transparent 78%);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}

.activity-skeleton-line {
  display: block;
  height: 12px;
  border-radius: 999px;
}

.activity-skeleton-line.is-title { width: 82%; }
.activity-skeleton-line.is-meta { width: 54%; margin-top: 10px; opacity: .72; }

.chevron {
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.main-panel { display: flex; min-width: 0; flex-direction: column; }

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 89px;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.segmented {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: transparent;
}

.segment,
.create-button,
.outline-button {
  display: inline-flex;
  height: 39px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.segment {
  padding: 0 16px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}
.segment:first-child { min-width: 0; }
.segment:last-child { flex: 0 0 auto; }
.segment.is-active { background: #fff; color: var(--ink); }
.create-button {
  min-width: 0;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}
.main-panel[data-view="activities"] .create-button { display: none; }
.topbar .icon { width: 18px; height: 18px; }
.mobile-brand { display: none; }

.view { display: none; min-height: 0; padding: 0 20px 20px; flex: 1; overflow: auto; }
.view.is-active { display: block; }

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

.art-card,
.profile-art {
  position: relative;
  min-width: 0;
  aspect-ratio: 314 / 275;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.art-card:hover,
.profile-art:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6,0,14,.18); }

.artwork-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card-header {
  position: absolute;
  z-index: 1;
  top: 15px;
  right: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.author-link {
  color: var(--ink);
}

.author-link .avatar { width: 47px; height: 47px; }
.card-actions { display: flex; gap: 3px; }

.card-action,
.like-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.card-action.is-active,
.profile-count.is-active { color: var(--star); }
.card-action.is-liked,
.like-toggle.is-liked,
.stat.is-liked { color: var(--pink); }
.card-action.is-self { opacity: .35; }

.art-title {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 15px;
  left: 15px;
  overflow: hidden;
  color: #6e6577;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-heading { min-height: 58px; margin-bottom: 10px; padding: 0 10px; justify-content: space-between; }
.profile-heading h1 { margin: 0; font-size: 15px; }
.profile-identity { color: #fff; }
.profile-actions { display: flex; align-items: center; gap: 10px; }
.profile-count {
  min-width: 96px;
  height: 40px;
  padding: 0 10px;
  justify-content: flex-end;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #fff;
}
.profile-count.is-self { pointer-events: none; }
.profile-create-button { min-width: 218px; }
.profile-art .like-toggle { position: absolute; z-index: 1; top: 15px; right: 15px; }
.main-panel[data-view="profile"] .topbar { display: none; }
.main-panel[data-view="profile"] #profile-view { padding-top: 20px; }

#activities-view { padding: 0; overflow: hidden; }
.map-canvas {
  position: relative;
  width: 100%;
  height: calc(100vh - 129px);
  min-height: 560px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #e5e9e6;
}

.activity-map { position: absolute; inset: 0; background: #e5e9e6; }
.activity-map.leaflet-container { font-family: inherit; }
.activity-map .leaflet-control-attribution { color: #4c4653; font-size: 9px; }
.activity-map .leaflet-control-attribution a { color: #4d3a74; }

.activity-loading {
  position: absolute;
  z-index: 660;
  top: 18px;
  left: 50%;
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  background: rgba(33,16,61,.88);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  transform: translateX(-50%);
  box-shadow: 0 12px 30px rgba(22,15,29,.26);
  backdrop-filter: blur(10px);
}

.activity-loading-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: activity-spin .8s linear infinite;
}

.map-activity-card {
  position: absolute;
  z-index: 600;
  top: 18px;
  left: 18px;
  width: 410px;
  min-height: 260px;
  max-height: calc(100% - 96px);
  padding: 20px;
  overflow-y: auto;
  border-radius: 4px;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 5px 15px rgba(25,35,44,.18);
}
.category-pill { display: inline-flex; margin-left: 8px; padding: 2px 10px; border-radius: 3px; background: var(--realm-color, var(--pink)); color: #fff; font-size: 11px; }
.activity-avatar { background-color: var(--realm-color, #eee); }
.activity-list-item { --avatar: color-mix(in srgb, var(--realm-color) 24%, white); }
.activity-list-item .category-pill { vertical-align: 1px; }
.activity-detail-head { display: flex; align-items: center; gap: 12px; }
.activity-detail-title { display: flex; min-width: 0; align-items: center; }
.activity-detail-title > strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.activity-detail-meta { display: flex; margin: 12px 0 18px 59px; flex-wrap: wrap; gap: 8px 14px; color: #51465b; font-size: 11px; }
.activity-detail-meta span,
.activity-detail-meta a { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
.activity-detail-meta .icon { width: 15px; height: 15px; }
.activity-detail-description { padding-top: 14px; border-top: 1px solid #d7d2dc; }
.activity-detail-description > strong { font-size: 12px; }
.activity-detail-description p { margin: 12px 0 0; color: #3d3545; font-size: 12px; line-height: 1.55; white-space: pre-line; }
.location-search-button {
  position: absolute;
  z-index: 650;
  bottom: 18px;
  left: 50%;
  display: inline-flex;
  height: 39px;
  padding: 0 20px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(22,15,29,.2);
}
.location-search-button .icon { width: 19px; height: 19px; }
.activity-marker { border: 0; background: transparent; }
.activity-marker-pin {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: var(--marker-color);
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(19,12,24,.35);
  transition: transform .16s ease;
}
.activity-marker-pin > span { position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.activity-marker.is-selected .activity-marker-pin { transform: rotate(-45deg) scale(1.22); }

@keyframes activity-spin {
  to { transform: rotate(360deg); }
}

@keyframes skeleton-shimmer {
  to { transform: translateX(100%); }
}

@keyframes skeleton-enter {
  to { opacity: 1; }
}

.mobile-nav { display: none; }

/* Feed detail */
dialog {
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(10,3,20,.72); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; z-index: 4; top: 15px; right: 15px; }
.art-dialog { width: min(658px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.art-detail-inner { padding: 30px; }
.detail-header { min-height: 58px; padding-right: 45px; justify-content: space-between; }
.art-dialog .author-link { color: #fff; }
.owner-actions { display: flex; gap: 12px; }
.owner-actions button { padding: 4px; border: 0; background: transparent; font-size: 13px; }
.detail-title-row { min-height: 40px; padding: 4px 0 10px; }
.detail-title-input { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.08); color: #fff; }
.detail-artwork { position: relative; width: 100%; aspect-ratio: 598 / 549; overflow: hidden; border-radius: 10px; background: #fff; }
.detail-artwork img { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: contain; }
.detail-artwork img.is-active { display: block; }
.detail-pagination { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 10px; }
.detail-pagination button { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: transparent; }
.detail-pagination button.is-active { background: #fff; }
.stat-row { min-height: 49px; gap: 13px; border-bottom: 1px solid var(--line-soft); }
.stat { display: inline-flex; padding: 0; align-items: center; gap: 7px; border: 0; background: transparent; }
.comments { display: grid; max-height: 270px; overflow: auto; }
.comment { padding: 10px; border-bottom: 1px solid var(--line-soft); }
.comment-header { min-height: 38px; justify-content: space-between; }
.comment .avatar { width: 38px; height: 38px; }
.comment-body { margin: 10px 0 0; font-size: 14px; }
.comment-body[contenteditable="true"] { padding: 8px; border: 1px solid var(--line); border-radius: 7px; }
.comment-form { position: relative; margin-top: 10px; }
.comment-form input { width: 100%; height: 47px; padding: 0 56px 0 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; }
.comment-form button { position: absolute; top: 7px; right: 8px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; background: transparent; }

/* Create feed */
.create-page { min-height: 100vh; padding: 20px; background: var(--ink); }
.create-board { min-height: calc(100vh - 40px); padding: 20px; }
.create-board-header { min-height: 89px; justify-content: space-between; gap: 20px; }
.create-board-header .identity { font-size: 18px; }
.create-header-actions { gap: 12px; }
.create-title { width: 210px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.08); color: #fff; }
.outline-button { height: 42px; border: 1px solid #fff; background: transparent; color: #fff; }
.image-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upload-card,
.upload-add { position: relative; aspect-ratio: 1.65 / 1; overflow: hidden; border-radius: 13px; }
.upload-card { background: #fff; }
.upload-card > img { width: 100%; height: 100%; object-fit: contain; }
.upload-add { display: grid; place-items: center; border: 1px solid #fff; background: transparent; }
.upload-add svg { width: 66px; height: 66px; }
.upload-remove { position: absolute; top: 16px; right: 16px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--ink); }
.original-badge,
.thumbnail-badge { position: absolute; z-index: 1; top: 16px; left: 16px; display: inline-flex; min-width: 120px; height: 24px; padding: 0 10px; align-items: center; justify-content: center; gap: 5px; border-radius: 5px; color: #fff; font-size: 13px; font-weight: 800; }
.original-badge svg { width: 16px; height: 16px; }
.original-badge.is-original { background: var(--green); }
.original-badge.is-duplicate { background: var(--pink); }
.thumbnail-badge { top: auto; bottom: 16px; min-width: auto; background: var(--ink); }

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 150ms ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { background: #ffdee9; }

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 300px minmax(0, 1fr); }
  .segmented { min-width: 0; }
  .create-button { width: 44px; min-width: 44px; padding: 0; }
  .create-button > span:last-child { display: none; }
  .art-grid,
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .auth-page { padding: 16px; }
  .auth-card { min-height: calc(100vh - 32px); padding: 36px 24px; border-radius: 40px; }
  .auth-logo { width: auto; height: 120px; margin-bottom: 48px; }
  .signup-card .auth-primary { margin-top: 30px; }
  .recovery-card .auth-primary { margin-top: 60px; }

  .app-shell { display: block; padding: 0; }
  .sidebar { display: none; }
  .main-panel { min-height: 100vh; padding-bottom: 78px; border: 0; border-radius: 0; }
  .topbar { position: sticky; top: 0; min-height: 72px; padding: 10px 14px; background: rgba(33,16,61,.95); backdrop-filter: blur(12px); }
  .mobile-brand { display: grid; }
  .segmented { min-width: 0; flex: 1; justify-content: flex-end; background: transparent; }
  .segment { display: none; min-width: 0 !important; flex: 0 1 auto !important; }
  .segment.is-active { display: inline-flex; }
  .segment svg { display: none; }
  .create-button { display: none; }
  .view { padding: 0 12px 16px; overflow: visible; }
  .art-grid,
  .profile-grid { grid-template-columns: 1fr; gap: 12px; }
  .art-card,
  .profile-art { aspect-ratio: 1.08 / 1; }
  .main-panel[data-view="profile"] .topbar { display: flex; }
  .main-panel[data-view="profile"] #profile-view { padding-top: 0; }
  .profile-heading { min-height: 118px; padding: 10px; flex-wrap: wrap; }
  .profile-actions { width: 100%; justify-content: flex-end; }
  .profile-create-button { min-width: 0; padding: 0 16px; }
  .map-canvas { height: calc(100vh - 150px); min-height: 520px; }
  .map-activity-card { top: 12px; left: 12px; width: calc(100% - 24px); min-height: 0; max-height: 46%; padding: 16px; }
  .activity-detail-meta { margin-left: 0; }
  .location-search-button { bottom: 14px; max-width: calc(100% - 32px); }

  .mobile-nav { position: fixed; z-index: 10; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: repeat(4, 1fr); height: 62px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(35,17,64,.96); box-shadow: 0 12px 30px rgba(4,0,10,.34); backdrop-filter: blur(18px); }
  .mobile-nav button { display: grid; padding: 0; place-items: center; align-content: center; gap: 3px; border: 0; background: transparent; color: rgba(255,255,255,.58); }
  .mobile-nav button.is-active { color: #fff; }
  .mobile-nav small { font-size: 10px; }

  .create-page { padding: 0; }
  .create-board { min-height: 100vh; padding: 14px; border: 0; border-radius: 0; }
  .create-board-header { align-items: flex-start; flex-direction: column; }
  .create-header-actions { width: 100%; }
  .create-title { min-width: 0; flex: 1; }
  .outline-button { padding: 0 12px; }
  .image-upload-grid { grid-template-columns: 1fr; }
  .upload-card,
  .upload-add { aspect-ratio: 1.35 / 1; }
  .art-detail-inner { padding: 22px; }
}

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