@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #244b43;
  --ink-strong: #173c34;
  --muted: #61746a;
  --faint: #66765f;
  --paper: #f7f9f6;
  --white: #fff;
  --line: #e1e8e0;
  --lime: #d8edaf;
  --lime-hover: #c9e496;
  --soft-green: #edf3e9;
  --orange: #d77f54;
  --soft-orange: #fff0e5;
  --shadow: 0 12px 36px rgba(24, 57, 42, .055);
  --card-shadow: 0 18px 42px rgba(26, 54, 38, .14);
  --radius: 22px;
  --mobile-nav-height: 68px;
  font-family: Inter, "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(.sheet[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button { -webkit-appearance: none; appearance: none; }
button:disabled { cursor: default; opacity: .4; }
a { color: inherit; text-underline-offset: 3px; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
button, input, a, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid #4e89a2; }
::selection { background: #d4e8bd; color: var(--ink-strong); }
.icon { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.shell { width: min(calc(100% - 64px), 1248px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 16px; padding: 10px 18px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; padding-block: 15px; }
.brand { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; white-space: nowrap; line-height: 1; }
.brand-word { font-size: 1.7rem; font-weight: 750; letter-spacing: -1.7px; }
.brand-dot { display: inline-block; width: .4em; height: .4em; margin-inline: .055em; vertical-align: .01em; color: #71a8d3; letter-spacing: 0; line-height: 0; }
.brand .brand-dot img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; }
.brand strong { font-size: 2.35rem; font-weight: 820; letter-spacing: -1.9px; color: var(--ink-strong); }
.brand img, .brand > svg { width: auto; max-width: 190px; max-height: 48px; }
.desktop-nav { display: flex; align-items: center; gap: 8px; padding: 5px; background: #eef2ed; border: 1px solid #e9eee6; border-radius: 18px; }
.nav-item { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 17px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font-size: .875rem; font-weight: 550; white-space: nowrap; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.nav-item.active { background: var(--white); color: var(--ink-strong); font-weight: 700; box-shadow: 0 2px 7px #2a4b3520; }
.nav-item .icon { width: 1.125rem; height: 1.125rem; }
.nav-item:hover:not(.active) { color: var(--ink); background: #e4ece1; }
.saved-count { min-width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 5px; background: var(--lime); border-radius: 20px; color: var(--ink); font-size: .75rem; font-weight: 750; line-height: 1; }
.filter-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 86px; min-height: 44px; padding: 9px 15px; border: 1px solid #d6e0d3; background: transparent; border-radius: 14px; font-size: .875rem; font-weight: 600; transition: border-color .18s ease, background .18s ease; }
.filter-trigger:hover { border-color: #aabc9f; background: #f0f5eb; }
.filter-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 12px; color: var(--white); background: var(--ink); font-size: .75rem; }
.mobile-nav { display: none; }

/* Main discovery layout */
.swipe-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); align-items: start; gap: 42px; padding-top: 18px; padding-bottom: 12px; }
.intro-panel { max-width: 290px; padding-top: 61px; }
.eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: 1.45px; line-height: 1.65; color: #66765f; }
.intro-panel h1 { margin: 19px 0 21px; font-size: clamp(2.6rem, 4.2vw, 3.5rem); line-height: 1.35; font-weight: 700; letter-spacing: -2.3px; color: var(--ink-strong); }
.intro-panel h1 span { color: var(--orange); }
.intro-panel > p { margin: 0; font-size: 1rem; line-height: 1.95; color: var(--muted); }
.mood-section { margin-top: 42px; }
.mood-section h2 { margin: 0 0 15px; color: #66765f; font-size: .875rem; font-weight: 600; }
.mood-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; max-width: 272px; }
.mood-shortcuts button { display: inline-flex; align-items: center; gap: 8px; min-height: 41px; padding: 8px 12px; border: 1px solid #dce6d6; border-radius: 11px; background: transparent; font-size: .875rem; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.mood-shortcuts button .icon { width: 17px; height: 17px; color: #778e64; }
.mood-shortcuts button:hover { background: #eaf2e1; border-color: #c8dab6; transform: translateY(-1px); }
.intro-foot { display: flex; align-items: center; gap: 10px; margin-top: 39px; font-size: .8125rem; color: var(--faint); }
.tiny-line { display: inline-block; width: 23px; height: 1px; background: #b7c8ac; }
.deck-column { width: 100%; min-width: 0; }
.mobile-intro { display: none; }
.category-strip { display: flex; align-items: center; gap: 7px; min-height: 37px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: 8px; margin-bottom: 11px; padding: 2px 1px; }
.category-strip::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; min-height: 34px; padding: 6px 13px; border: 1px solid #dfe6d9; border-radius: 30px; background: transparent; color: #66765f; font-size: .875rem; line-height: 1.4; white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.category-chip.active { color: var(--white); background: var(--ink); border-color: var(--ink); font-weight: 650; }
.category-chip:hover:not(.active) { color: var(--ink); background: #eaf0e4; border-color: #c5d6b8; }
.category-chip span { margin-left: 5px; font-size: .75rem; opacity: .7; }
.deck-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; margin-bottom: 10px; padding-inline: 2px; font-size: .8125rem; color: var(--faint); }
.deck-status .text-button { min-height: 26px; font-size: .8125rem; color: #66765f; }
.deck-status > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-status .text-button { flex-shrink: 0; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 2px; border: 0; background: transparent; color: #66765f; font-size: .875rem; line-height: 1.6; text-decoration: none; }
.text-button:hover { color: var(--ink-strong); text-decoration: underline; }
.deck { position: relative; isolation: isolate; height: clamp(410px, calc(100svh - 278px), 570px); margin-bottom: 0; }
.activity-card { position: absolute; inset: 0; overflow: hidden; border-radius: 25px; background: #dfe8dc; box-shadow: var(--card-shadow); color: var(--white); -webkit-user-select: none; user-select: none; }
.front-card { z-index: 3; cursor: grab; touch-action: pan-y; transition: transform .24s cubic-bezier(.2,.8,.2,1), opacity .22s ease, box-shadow .22s ease; transform-origin: 50% 70%; will-change: transform; }
.front-card.is-dragging { cursor: grabbing; transition: none !important; }
.back-card { z-index: 1; transform: translateY(12px) scale(.95); opacity: .68; pointer-events: none; box-shadow: 0 9px 22px #274b3620; }
.back-card:nth-child(2) { z-index: 2; transform: translateY(6px) scale(.975); opacity: .82; }
.back-card a, .back-card button { visibility: hidden; }
.card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; -webkit-user-drag: none; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-user-drag: none; }
.card-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9, 28, 18, .1) 0%, rgba(9, 28, 18, 0) 35%, rgba(9, 28, 18, .22) 57%, rgba(9, 28, 18, .84) 100%); }
.card-topline { position: absolute; z-index: 2; top: 19px; left: 20px; right: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.category-badge { display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 50px); min-height: 29px; padding: 5px 11px; border: 1px solid rgba(255,255,255,.5); border-radius: 30px; color: var(--ink-strong); background: rgba(255,255,255,.92); font-size: .8125rem; font-weight: 600; line-height: 1.4; backdrop-filter: blur(8px); }
.card-more { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--white); background: rgba(20,38,25,.2); backdrop-filter: blur(10px); }
.card-more:hover { background: rgba(20,38,25,.48); }
.card-more .icon { width: 18px; height: 18px; }
.card-copy { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 47px; }
.card-copy h2 { margin: 0; font-size: 2.1rem; line-height: 1.3; font-weight: 650; letter-spacing: -.8px; text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.12); }
.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.meta-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 29px; padding: 4px 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.96); font-size: .875rem; line-height: 1.4; backdrop-filter: blur(8px); }
.meta-pill .icon { width: 14px; height: 14px; stroke-width: 1.8; }
.card-credit { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 16px; display: flex; align-items: center; gap: 5px; max-width: calc(100% - 54px); padding: 0; border: 0; background: none; color: rgba(255,255,255,.67); font-size: .75rem; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.card-credit a { color: inherit; text-decoration-color: rgba(255,255,255,.35); overflow: hidden; text-overflow: ellipsis; }
.card-credit:hover { color: white; }
.card-credit .icon { width: 13px; height: 13px; }
.swipe-stamp { position: absolute; z-index: 5; top: 86px; display: block; padding: 5px 13px; border: 3px solid currentColor; border-radius: 10px; font-size: 1.75rem; font-weight: 800; letter-spacing: 1px; opacity: 0; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.15); }
.swipe-stamp.yes { right: 24px; color: #66765f; transform: rotate(12deg); }
.swipe-stamp.no { left: 24px; color: #ffd3b8; transform: rotate(-12deg); }
.card-exit-left { animation: card-left .25s ease-in forwards; pointer-events: none; }
.card-exit-right { animation: card-right .25s ease-in forwards; pointer-events: none; }
@keyframes card-left { to { transform: translate(-130%, 35px) rotate(-18deg); opacity: 0; } }
@keyframes card-right { to { transform: translate(130%, 35px) rotate(18deg); opacity: 0; } }
.loading-card, .empty-deck { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; height: 100%; padding: 34px; border: 1px solid #dce6d3; border-radius: 25px; background: #edf3e5; text-align: center; }
.loading-card p, .empty-deck p { max-width: 285px; margin: 0; color: #66765f; font-size: 1rem; line-height: 1.8; }
.empty-deck h2 { margin: 0; font-size: 1.55rem; line-height: 1.5; }
.empty-deck .icon { width: 32px; height: 32px; color: #81a26b; }
.empty-deck button { margin-top: 10px; }
.loader { width: 28px; height: 28px; border: 2px solid #c9dbbc; border-top-color: #739c58; border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.swipe-actions { display: flex; align-items: center; justify-content: center; gap: 19px; min-height: 92px; margin-top: 18px; }
.round-action { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: 0 0 auto; width: 76px; height: 76px; padding: 8px; border: 1px solid #dce7d7; border-radius: 50%; box-shadow: 0 5px 16px rgba(37,76,42,.04); transition: background .17s ease, border-color .17s ease, transform .17s ease, box-shadow .17s ease; }
.round-action .icon { width: 25px; height: 25px; }
.round-action span { font-size: .875rem; line-height: 1.3; font-weight: 600; }
.round-action:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 19px rgba(37,76,42,.08); }
.round-action:active:not(:disabled) { transform: scale(.96); }
.skip-action { background: var(--white); color: #66765f; }
.skip-action:hover { border-color: #b4c7a5; background: #fbfdf9; }
.like-action { width: 84px; height: 84px; color: #375831; background: var(--lime); border-color: #cee5a4; }
.like-action .icon { width: 28px; height: 28px; fill: rgba(55,88,49,.08); }
.like-action:hover { background: var(--lime-hover); }
.undo-action { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; width: 55px; min-height: 64px; padding: 3px; border: 0; border-radius: 10px; background: transparent; color: #66765f; }
.undo-action .icon { width: 21px; height: 21px; }
.undo-action span { font-size: .875rem; line-height: 1.4; }
.undo-action:hover:not(:disabled) { color: var(--ink); background: #edf3e7; }

/* Desktop pocket and small suggestions */
.side-panel { width: 100%; max-width: 258px; padding-top: 62px; justify-self: end; }
.pocket-preview { padding: 20px; border: 1px solid #e1e8dc; border-radius: 19px; background: #f0f4ec; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.section-heading h2 { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 650; }
.section-heading > span { color: #66765f; font-size: .75rem; white-space: nowrap; }
.section-heading .pocket-number { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 2px 6px; border-radius: 50%; background: #e2ead8; color: #66765f; font-weight: 650; font-size: .8125rem; }
.pocket-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 125px; padding: 13px 4px 23px; text-align: center; }
.pocket-empty .icon { width: 32px; height: 32px; color: #b0c49c; stroke-width: 1.4; margin-bottom: 12px; }
.pocket-empty p { margin: 0; color: #66765f; font-size: .875rem; line-height: 1.8; }
.pocket-empty strong { font-weight: 600; color: #66765f; }
.pocket-preview .secondary-button { width: 100%; margin-top: 16px; min-height: 40px; font-size: .875rem; background: #f9fbf6; }
.pocket-preview .secondary-button:disabled { opacity: .48; }
.mini-card { display: flex; align-items: center; gap: 11px; width: 100%; padding: 0; border: 0; border-radius: 12px; background: transparent; text-align: left; text-decoration: none; }
.mini-card + .mini-card { margin-top: 14px; }
.mini-card:hover .mini-copy h3, .mini-card:hover .mini-copy strong { color: #66765f; }
.mini-image { flex: 0 0 61px; width: 61px; height: 67px; overflow: hidden; border-radius: 10px; background: #e1e9d9; object-fit: cover; }
.mini-image img { width: 100%; height: 100%; object-fit: cover; }
.mini-copy { min-width: 0; }
.mini-copy h3, .mini-copy strong { display: block; margin: 0 0 5px; font-size: .9375rem; font-weight: 600; line-height: 1.5; transition: color .18s ease; }
.mini-copy p, .mini-copy span { display: block; margin: 0; color: #66765f; font-size: .75rem; line-height: 1.5; }
.inspiration-section { margin-top: 31px; padding: 0 3px; }
.inspiration-section .section-heading { margin-bottom: 18px; }
.inspiration-section .mini-image { width: 65px; flex-basis: 65px; height: 70px; }
.local-note { margin: 24px 0 0; text-align: center; font-size: .75rem; color: #66765f; }

/* Explore and saved collections */
.catalog-view, .saved-view { padding: 25px 0 44px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 0 0 28px; }
.page-heading h1 { margin: 11px 0 8px; font-size: 2.4rem; line-height: 1.3; font-weight: 650; letter-spacing: -1.4px; color: var(--ink-strong); }
.page-heading p { margin: 0; color: var(--muted); font-size: 1rem; }
.catalog-search { display: flex; align-items: center; gap: 11px; width: 340px; min-height: 48px; padding: 0 15px; border: 1px solid #dce5d5; border-radius: 13px; background: var(--white); color: #66765f; }
.catalog-search input, .area-input input { min-width: 0; width: 100%; padding: 12px 0; border: 0; background: transparent; color: var(--ink); font-size: 1rem; outline: none; }
.catalog-search input::placeholder, .area-input input::placeholder { color: #66765f; opacity: 1; }
.catalog-search:focus-within, .area-input:focus-within { border-color: #8eab77; box-shadow: 0 0 0 3px #d8e8c988; }
.explore-categories { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 21px; }
.explore-categories .category-chip { min-height: 38px; padding-inline: 16px; }
.list-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 34px; margin: 0 0 17px; color: var(--muted); font-size: .875rem; }
.activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; }
.grid-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e0e7db; border-radius: 19px; background: var(--white); box-shadow: 0 3px 12px rgba(26,59,35,.025); transition: transform .2s ease, box-shadow .2s ease; }
.grid-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26,59,35,.065); }
.grid-photo { display: block; position: relative; width: 100%; height: 210px; padding: 0; border: 0; border-radius: 0; background: #e9eee3; overflow: hidden; object-fit: cover; }
.grid-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.grid-card:hover .grid-photo img { transform: scale(1.025); }
.save-toggle { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.93); color: #66765f; box-shadow: 0 2px 9px #213d3410; backdrop-filter: blur(8px); transition: transform .18s ease, background .18s ease; }
.save-toggle .icon { width: 18px; height: 18px; }
.save-toggle:hover { transform: scale(1.07); }
.save-toggle.is-saved { background: var(--lime); border-color: var(--lime); color: #395d31; }
.save-toggle.is-saved .icon { fill: currentColor; }
.grid-card-body { padding: 17px 18px 18px; }
.grid-card-category { display: block; margin: 0 0 6px; color: #66765f; font-size: .8125rem; line-height: 1.5; }
.grid-card-body h2 { margin: 0; font-size: 1.2rem; font-weight: 650; line-height: 1.45; letter-spacing: -.35px; }
.grid-card-body h2 button, .grid-card-body h2 a { padding: 0; border: 0; background: transparent; text-align: left; text-decoration: none; font: inherit; }
.grid-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; margin-top: 10px; color: #66765f; font-size: .8125rem; line-height: 1.5; }
.grid-card-meta .icon { width: 13px; height: 13px; margin-right: 3px; }
.grid-card-meta > span { display: inline-flex; align-items: center; }
.grid-card-meta > span + span::before { content: none; }
.empty-list { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; padding: 45px 24px; border: 1px dashed #cbdcc0; border-radius: 20px; text-align: center; background: #f1f6eb; }
.empty-list .icon { width: 40px; height: 40px; color: #a2bc87; margin-bottom: 15px; }
.empty-list h2 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 650; }
.empty-list p { max-width: 400px; margin: 0 0 22px; font-size: 1rem; color: var(--muted); line-height: 1.8; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 33px; }
.load-more-wrap .secondary-button { padding-inline: 30px; }
.storage-note { margin: 31px 0 0; text-align: center; color: #66765f; font-size: .8125rem; line-height: 1.7; }
.error-state { min-height: 60svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.error-state h1 { margin: 0 0 10px; font-size: 1.8rem; }
.error-state p { margin: 0 0 24px; color: var(--muted); }

/* Shared controls and footer */
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 12px; font-size: 1rem; line-height: 1.4; font-weight: 600; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.primary-button { color: #375a31; background: var(--lime); border-color: #d2e8a9; }
.primary-button:hover:not(:disabled) { background: var(--lime-hover); border-color: #c0da96; }
.secondary-button { color: #66765f; background: var(--white); border-color: #d8e3ce; }
.secondary-button:hover:not(:disabled) { background: #f0f5e9; border-color: #bfd2ab; }
.primary-button:active:not(:disabled), .secondary-button:active:not(:disabled) { transform: translateY(1px); }
.primary-button .icon, .secondary-button .icon { width: 18px; height: 18px; }
.full-width { width: 100%; }
.site-footer { display: flex; align-items: center; justify-content: center; gap: 22px; padding-block: 28px 27px; color: #66765f; font-size: .8125rem; line-height: 1.6; }
.site-footer a, .site-footer button { font-size: inherit; color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer button:hover { color: #5c7b4d; text-decoration: underline; }

/* Picku stays blue; the host only positions its original artwork. */
.picku-launcher { position: fixed; z-index: 20; right: 26px; bottom: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; padding: 0; border: 0; background: transparent; filter: drop-shadow(0 4px 6px rgba(45,80,103,.12)); transition: transform .18s ease; }
.picku-launcher:hover { transform: translateY(-4px); }
.picku-avatar { display: block; width: 74px; height: 74px; }
.picku-avatar > .go-picku-avatar, .picku-large > .go-picku-avatar { width: 100%; height: 100%; }
.picku-avatar > svg, .picku-avatar > img, .picku-avatar > canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.picku-label { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; min-height: 24px; margin-top: -5px; padding: 1px 9px; border: 1px solid #dae6db; border-radius: 20px; background: #fff; color: #66765f; font-size: .8125rem; line-height: 1.6; font-weight: 650; box-shadow: 0 3px 9px rgba(32,65,41,.03); }

/* Dialogs */
.sheet { position: fixed; inset: 0; width: min(calc(100% - 48px), 560px); max-width: none; max-height: min(850px, calc(100svh - 48px)); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 26px; background: var(--white); color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 30px 100px rgba(13,38,25,.2); }
.sheet[open] { display: block; animation: sheet-in .22s ease-out; }
.sheet::backdrop { background: rgba(21,48,38,.32); backdrop-filter: blur(7px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(15px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 27px 28px 23px; }
.sheet-header h2 { margin: 7px 0 0; font-size: 1.6rem; font-weight: 650; line-height: 1.4; letter-spacing: -.65px; color: var(--ink-strong); }
.sheet-header > h2 { margin-top: 2px; }
.sheet-header .eyebrow { font-size: .75rem; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 38px; height: 38px; padding: 0; border: 1px solid #e0e7d9; border-radius: 50%; color: #819574; background: #fafcf8; }
.icon-button:hover { background: #eaf2e1; color: var(--ink); border-color: #ceddc0; }
.icon-button .icon { width: 19px; height: 19px; }
.sheet-body { padding: 0 28px 28px; }
.sheet-body fieldset { margin: 0 0 23px; padding: 0; border: 0; min-inline-size: 0; }
.sheet-body legend { margin-bottom: 11px; padding: 0; font-size: 1rem; font-weight: 650; line-height: 1.5; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group button { min-height: 40px; padding: 8px 14px; border: 1px solid #dfe7d7; border-radius: 11px; background: #fafcf8; color: #66765f; font-size: .875rem; line-height: 1.5; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.choice-group button:hover { background: #f0f6e8; border-color: #c7d9b4; }
.choice-group button.active, .choice-group button.selected, .choice-group button[aria-pressed="true"], .choice-group button[aria-selected="true"] { background: #e9f3d9; color: #446336; border-color: #bfd69c; font-weight: 650; }
.location-label { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; margin-bottom: 10px; font-size: 1rem; font-weight: 650; }
.location-label span { font-size: .8125rem; font-weight: 400; color: #66765f; }
.area-input { display: flex; align-items: center; gap: 10px; padding-inline: 13px; border: 1px solid #dce6d3; border-radius: 11px; color: #66765f; background: #fbfdf9; }
.area-input .icon { width: 18px; height: 18px; }
.field-note { margin: 8px 0 0; color: #66765f; font-size: .8125rem; line-height: 1.7; }
.sheet-footer { position: sticky; z-index: 2; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 28px; border-top: 1px solid #e4ebdc; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.sheet-footer > .text-button { min-width: 48px; }
.sheet-footer .primary-button { min-width: 200px; }
.detail-sheet { width: min(calc(100% - 48px), 620px); }
.detail-image { position: relative; width: 100%; height: 315px; overflow: hidden; background: #edf1e8; }
.detail-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-topbar { position: absolute; z-index: 3; top: 16px; right: 16px; left: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-topbar .icon-button { background: rgba(255,255,255,.94); color: #59774a; border-color: rgba(255,255,255,.8); backdrop-filter: blur(8px); }
.detail-body { padding: 25px 29px 29px; }
.detail-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #66765f; font-size: .875rem; line-height: 1.5; }
.detail-body h2, #detail-title { margin: 0 0 15px; font-size: 1.9rem; line-height: 1.35; font-weight: 650; letter-spacing: -.8px; color: var(--ink-strong); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 19px; }
.detail-tags .meta-pill { border-color: #e2ead9; color: #66765f; background: #f2f7ec; backdrop-filter: none; }
.detail-description { margin: 0 0 21px; color: #66765f; font-size: 1.0625rem; line-height: 1.9; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.detail-actions .primary-button, .detail-actions .secondary-button { flex: 1 1 auto; }
.detail-actions .icon-button { width: 46px; height: 46px; border-radius: 12px; }
.detail-note { margin: 20px 0 0; padding: 12px 14px; border-left: 3px solid #c9dfad; border-radius: 9px; background: #f5f8f0; color: #66765f; font-size: .8125rem; line-height: 1.8; }
.photo-attribution { margin-top: 24px; padding-top: 19px; border-top: 1px solid #e4ebdc; color: #66765f; font-size: .8125rem; line-height: 1.8; overflow-wrap: anywhere; }
.photo-attribution p { margin: 5px 0 9px; }
.photo-attribution h3, .photo-attribution summary { margin: 0 0 7px; color: #66765f; font-size: .875rem; font-weight: 650; }
.photo-attribution a { color: #66765f; }
.credit-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 15px; margin-top: 9px; }
.credit-links a, .credit-links button { font-size: .8125rem; }
.credit-copy { max-width: 100%; overflow-wrap: anywhere; font-size: .75rem; line-height: 1.75; }
button.credit-copy { padding: 6px 0; border: 0; color: #66765f; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.credit-copy:not(button) { padding: 12px; border: 1px solid #e4ebdc; border-radius: 9px; background: #f7faf3; white-space: pre-wrap; }
.decision-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 10px; border-radius: 8px; color: #935d36; background: var(--soft-orange); font-size: .8125rem; font-weight: 650; line-height: 1.5; }
.decision-nudge { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 42px; margin-top: 12px; padding: 8px 12px; border: 1px solid #cadfba; border-radius: 12px; background: #edf5e3; color: var(--ink); font-size: .875rem; }
.decision-nudge:hover { background: #e1efcf; }
.decision-nudge .icon { width: 17px; height: 17px; }
.decision-sheet { width: min(calc(100% - 48px), 580px); }
.decision-intro { margin: -8px 0 18px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.decision-list { display: grid; gap: 13px; }
.decision-option { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: #fafcf8; }
.decision-preview { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
.decision-preview > img { flex: 0 0 85px; width: 85px; height: 98px; border-radius: 11px; object-fit: cover; }
.decision-preview > span { display: grid; min-width: 0; gap: 3px; }
.decision-category { color: var(--muted); font-size: .75rem; }
.decision-preview strong { color: var(--ink-strong); font-size: 1.0625rem; line-height: 1.45; }
.decision-reason { color: var(--ink); font-size: .875rem; line-height: 1.5; }
.decision-meta { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.decision-choose { min-height: 42px; padding: 10px 12px; white-space: nowrap; font-size: .875rem; }
.decision-empty { padding: 18px 0; text-align: center; }
.decision-empty h3 { margin: 0 0 12px; font-size: 1.125rem; }
.decision-empty p { color: var(--muted); }
@media (max-width: 760px) {
  .decision-nudge { width: calc(100% - 56px); font-size: .8125rem; padding-inline: 8px; }
  .decision-option { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 12px; }
  .decision-preview > img { flex-basis: 74px; width: 74px; height: 82px; }
  .decision-choose { width: 100%; min-height: 39px; }
  .decision-sheet .sheet-body { padding-bottom: 18px; }
}
.picku-welcome { display: flex; align-items: center; justify-content: center; gap: 22px; margin: -8px 0 24px; }
.picku-large { flex: 0 0 145px; width: 145px; height: 145px; }
.picku-large > svg, .picku-large > img, .picku-large > canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.picku-welcome p { margin: 0; color: #66765f; font-size: 1.0625rem; line-height: 1.9; }
.picku-moods { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; margin-bottom: 19px; }
.picku-moods button { min-height: 123px; padding: 16px; border: 1px solid #dce7d1; border-radius: 15px; background: #f8fbf4; text-align: left; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.picku-moods button:hover { background: #eef6e3; border-color: #bad29b; transform: translateY(-2px); }
.picku-moods .icon { display: block; width: 23px; height: 23px; margin-bottom: 12px; color: #91aa74; }
.picku-moods strong { display: block; margin: 0 0 3px; color: #527246; font-size: 1rem; line-height: 1.5; font-weight: 650; }
.picku-moods span { display: block; color: #66765f; font-size: .875rem; line-height: 1.5; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; width: max-content; max-width: min(520px, calc(100% - 32px)); padding: 12px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: #2d513d; color: white; box-shadow: 0 8px 30px #153c2b24; font-size: .9375rem; line-height: 1.6; text-align: center; transform: translateX(-50%); animation: toast-in .18s ease-out; }
@keyframes toast-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.noscript-message { margin: 24px; padding: 25px; border: 1px solid #d5e2c9; border-radius: 14px; background: #f0f7e8; text-align: center; }

/* Source and licensing pages share the same calm typography. */
.common-content { max-width: 1040px; margin-inline: auto; padding-block: 28px 70px; }
.common-content > h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.35; font-weight: 650; letter-spacing: -1px; }
.common-content > p { max-width: 760px; margin: 0 0 20px; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px; margin-top: 30px; }
.credit-entry { min-width: 0; padding: 21px; border: 1px solid #dfe8d7; border-radius: 17px; background: #fff; overflow-wrap: anywhere; }
.credit-entry img { display: block; width: 100%; height: 185px; object-fit: contain; border-radius: 10px; background: #f0f4ea; margin-bottom: 17px; }
.credit-entry h2 { margin: 0 0 9px; font-size: 1.125rem; line-height: 1.6; font-weight: 650; }
.credit-entry p { margin: 6px 0; color: #66765f; font-size: .8125rem; line-height: 1.8; }
.credit-entry a { color: #66765f; font-size: .8125rem; }

@media (min-width: 1600px) {
  .shell { width: min(calc(100% - 100px), 1350px); }
  .swipe-layout { gap: 65px; }
  .intro-panel { padding-top: 77px; max-width: 320px; }
  .intro-panel h1 { font-size: 3.8rem; }
  .side-panel { padding-top: 76px; }
}

@media (max-width: 1199px) {
  .shell { width: calc(100% - 48px); }
  .swipe-layout { grid-template-columns: minmax(0,1fr) minmax(0,400px) minmax(0,1fr); gap: 26px; }
  .intro-panel { padding-top: 55px; }
  .intro-panel h1 { font-size: 2.65rem; letter-spacing: -1.8px; }
  .intro-panel .eyebrow { font-size: .75rem; letter-spacing: .7px; }
  .intro-panel > p { font-size: 1rem; }
  .mood-section { margin-top: 30px; }
  .mood-shortcuts { gap: 7px; }
  .mood-shortcuts button { gap: 7px; padding: 8px 9px; }
  .intro-foot { margin-top: 27px; font-size: .75rem; }
  .side-panel { padding-top: 58px; }
  .pocket-preview { padding: 16px; }
  .mini-image { width: 53px; flex-basis: 53px; height: 60px; }
  .mini-copy h3, .mini-copy strong { font-size: .875rem; }
  .inspiration-section .mini-image { width: 55px; flex-basis: 55px; height: 61px; }
  .inspiration-section .section-heading > span { display: none; }
  .activity-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
  .picku-launcher { right: 16px; bottom: 19px; width: 76px; }
  .picku-avatar { width: 66px; height: 66px; }
}

@media (max-width: 950px) and (min-width: 761px) {
  .swipe-layout { grid-template-columns: minmax(0,420px) minmax(190px,240px); justify-content: center; gap: 36px; }
  .intro-panel { display: none; }
  .mobile-intro { display: block; margin-bottom: 20px; }
  .mobile-intro h1 { margin: 0 0 5px; font-size: 1.75rem; font-weight: 650; letter-spacing: -.8px; }
  .mobile-intro p { margin: 0; font-size: 1rem; color: var(--muted); }
  .side-panel { padding-top: 135px; }
  .desktop-nav { gap: 2px; }
  .nav-item { padding-inline: 12px; }
  .deck { height: clamp(390px, calc(100svh - 330px), 530px); }
  .page-heading { gap: 20px; }
  .page-heading h1 { font-size: 2.1rem; }
  .catalog-search { width: 300px; }
  .activity-grid { gap: 17px; }
  .grid-photo { height: 185px; }
}

@media (max-width: 760px) {
  :root { --mobile-nav-height: 68px; }
  body { padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px) + 12px); }
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 64px; padding-block: 10px; gap: 12px; }
  .brand { gap: 7px; }
  .brand-word { font-size: 1.45rem; letter-spacing: -1.4px; }
  .brand strong { font-size: 2rem; letter-spacing: -1.5px; }
  .brand img, .brand > svg { max-height: 40px; max-width: 158px; }
  .desktop-nav { display: none; }
  .filter-trigger { min-height: 39px; min-width: 77px; padding: 7px 11px; gap: 7px; border-radius: 12px; font-size: .875rem; }
  .filter-trigger .icon { width: 18px; height: 18px; }
  .swipe-layout { display: block; padding-top: 0; padding-bottom: 0; }
  .intro-panel, .side-panel { display: none; }
  .deck-column { max-width: 440px; margin-inline: auto; }
  .mobile-intro { display: block; margin-bottom: 13px; padding-inline: 2px; }
  .mobile-intro h1 { margin: 0 0 3px; font-size: 1.65rem; line-height: 1.35; font-weight: 650; letter-spacing: -.8px; color: var(--ink-strong); }
  .mobile-intro p { margin: 0; font-size: .875rem; line-height: 1.5; color: #66765f; }
  .category-strip { gap: 6px; min-height: 34px; margin-bottom: 7px; padding: 1px 1px; }
  .category-chip { min-height: 32px; padding: 6px 11px; font-size: .875rem; line-height: 1.35; }
  .deck-status { min-height: 23px; margin-bottom: 8px; font-size: .75rem; }
  .deck-status .text-button { min-height: 23px; padding: 1px; font-size: .75rem; }
  .deck { height: clamp(300px, calc(100svh - 444px), 480px); }
  .activity-card { border-radius: 21px; box-shadow: 0 11px 27px rgba(26,54,38,.13); }
  .back-card { transform: translateY(9px) scale(.955); }
  .back-card:nth-child(2) { transform: translateY(5px) scale(.98); }
  .card-topline { top: 15px; left: 17px; right: 15px; }
  .category-badge { min-height: 27px; padding: 4px 9px; font-size: .75rem; }
  .card-more { width: 32px; height: 32px; }
  .card-copy { left: 21px; right: 21px; bottom: 40px; }
  .card-copy h2 { font-size: 1.7rem; line-height: 1.3; letter-spacing: -.6px; }
  .card-tags { gap: 6px; margin-top: 11px; }
  .meta-pill { min-height: 27px; padding: 4px 7px; font-size: .875rem; line-height: 1.3; border-radius: 7px; }
  .card-credit { left: 21px; right: 21px; bottom: 13px; max-width: calc(100% - 42px); font-size: .75rem; line-height: 1.4; }
  .swipe-stamp { top: 70px; font-size: 1.45rem; border-width: 2px; }
  .loading-card, .empty-deck { border-radius: 21px; padding: 28px; }
  .swipe-actions { width: calc(100% - 56px); min-height: 74px; margin-top: 14px; gap: 13px; }
  .round-action { width: 60px; height: 60px; gap: 1px; padding: 6px; }
  .round-action .icon { width: 21px; height: 21px; }
  .round-action span { font-size: .875rem; font-weight: 550; }
  .like-action { width: 68px; height: 68px; }
  .like-action .icon { width: 24px; height: 24px; }
  .undo-action { width: 42px; min-height: 58px; padding: 1px; gap: 5px; }
  .undo-action .icon { width: 19px; height: 19px; }
  .undo-action span { font-size: .875rem; white-space: nowrap; }
  .mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; min-height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px)); padding: 7px 17px calc(7px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e2eadc; background: rgba(255,255,255,.96); box-shadow: 0 -3px 20px rgba(39,71,39,.025); backdrop-filter: blur(18px); }
  .mobile-nav .nav-item { flex-direction: column; gap: 4px; min-height: 52px; padding: 5px 7px; border-radius: 13px; font-size: .875rem; line-height: 1.25; color: #66765f; }
  .mobile-nav .nav-item .icon { width: 21px; height: 21px; stroke-width: 1.65; }
  .mobile-nav .nav-item.active { color: #51743f; background: #f0f6e7; box-shadow: none; font-weight: 600; }
  .mobile-nav .saved-count { position: absolute; top: 1px; left: calc(50% + 10px); height: 17px; min-width: 17px; font-size: .75rem; border: 2px solid white; }
  .picku-launcher { right: 11px; bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px) + 10px); width: 62px; filter: drop-shadow(0 3px 4px rgba(45,80,103,.1)); }
  .picku-avatar { width: 57px; height: 57px; }
  .picku-label { min-width: 54px; min-height: 22px; padding: 1px 7px; margin-top: -5px; font-size: .8125rem; }
  .site-footer { gap: 17px; padding-block: 22px 15px; font-size: .75rem; }
  .catalog-view, .saved-view { padding: 14px 0 24px; }
  .page-heading { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 22px; }
  .page-heading .eyebrow { font-size: .75rem; letter-spacing: .9px; }
  .page-heading h1 { margin-top: 8px; margin-bottom: 7px; font-size: 1.85rem; line-height: 1.35; letter-spacing: -1px; }
  .page-heading p { font-size: 1rem; line-height: 1.7; }
  .catalog-search { width: 100%; min-height: 47px; border-radius: 12px; }
  .explore-categories { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; gap: 7px; margin-bottom: 14px; padding-block: 2px; }
  .explore-categories::-webkit-scrollbar { display: none; }
  .explore-categories .category-chip { padding-inline: 12px; min-height: 34px; }
  .list-summary { min-height: 27px; margin-bottom: 13px; font-size: .8125rem; }
  .list-summary .text-button { font-size: .875rem; }
  .activity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .grid-card { border-radius: 15px; }
  .grid-photo { height: clamp(150px, 45vw, 220px); }
  .grid-card-body { padding: 13px 12px 14px; }
  .grid-card-body h2 { font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.2px; }
  .grid-card-meta { gap: 5px 8px; margin-top: 8px; font-size: .75rem; line-height: 1.5; }
  .grid-card-meta > span + span::before { margin-right: 4px; }
  .save-toggle { top: 9px; right: 9px; width: 33px; height: 33px; }
  .save-toggle .icon { width: 17px; height: 17px; }
  .saved-view .page-heading > .primary-button { align-self: flex-start; min-height: 42px; padding: 9px 15px; font-size: .875rem; }
  .empty-list { min-height: 330px; padding: 35px 21px; }
  .empty-list h2 { font-size: 1.4rem; }
  .empty-list p { font-size: 1rem; }
  .load-more-wrap { margin-top: 25px; }
  .storage-note { padding-inline: 25px; margin-top: 24px; font-size: .8125rem; }
  .sheet { inset: auto 0 0; width: 100%; max-height: calc(100svh - 20px); margin: 0; border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 60px rgba(13,38,25,.17); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .sheet[open] { animation: mobile-sheet-in .22s ease-out; }
  .sheet::before { content: ""; display: block; position: relative; z-index: 5; width: 37px; height: 4px; margin: 10px auto -1px; border-radius: 10px; background: #d4ddcc; }
  @keyframes mobile-sheet-in { from { opacity: .5; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
  .sheet-header { gap: 14px; padding: 19px 21px 22px; }
  .sheet-header h2 { font-size: 1.45rem; line-height: 1.5; margin-top: 5px; letter-spacing: -.5px; }
  .sheet-body { padding: 0 21px 23px; }
  .sheet-body fieldset { margin-bottom: 22px; }
  .sheet-body legend { font-size: 1rem; margin-bottom: 10px; }
  .choice-group { gap: 7px; }
  .choice-group button { min-height: 40px; padding: 8px 12px; font-size: .875rem; border-radius: 10px; }
  .location-label { font-size: 1rem; margin-top: 23px; }
  .area-input input { min-height: 47px; font-size: 1rem; }
  .sheet-footer { gap: 12px; padding: 15px 21px; margin-bottom: calc(-1 * env(safe-area-inset-bottom, 0px)); padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px)); }
  .sheet-footer .primary-button { flex: 1 1 auto; min-width: 0; min-height: 46px; font-size: 1rem; }
  .sheet-footer > .text-button { min-width: 46px; }
  .detail-sheet { width: 100%; }
  .detail-sheet::before { position: absolute; top: 0; left: calc(50% - 18.5px); background: rgba(255,255,255,.8); }
  .detail-image { height: min(39svh, 320px); min-height: 225px; }
  .detail-topbar { top: 16px; right: 15px; left: 15px; }
  .detail-body { padding: 23px 22px 28px; }
  .detail-body h2, #detail-title { font-size: 1.65rem; margin-bottom: 13px; }
  .detail-kicker { font-size: .875rem; }
  .detail-tags { gap: 6px; margin-bottom: 16px; }
  .detail-description { font-size: 1rem; line-height: 1.9; }
  .detail-actions { gap: 8px; }
  .detail-actions .primary-button, .detail-actions .secondary-button { min-height: 44px; padding: 10px 12px; font-size: .9375rem; }
  .detail-actions .icon-button { width: 44px; height: 44px; }
  .detail-note { font-size: .8125rem; padding: 11px 12px; }
  .photo-attribution { font-size: .8125rem; }
  .picku-welcome { gap: 16px; margin: -11px 0 22px; }
  .picku-large { flex-basis: 127px; width: 127px; height: 127px; }
  .picku-welcome p { font-size: 1rem; }
  .picku-moods { gap: 10px; }
  .picku-moods button { min-height: 120px; padding: 15px 13px; border-radius: 13px; }
  .picku-moods strong { font-size: 1rem; }
  .picku-moods span { font-size: .875rem; }
  .toast { bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px) + 14px); padding: 11px 16px; font-size: .9375rem; max-width: calc(100% - 40px); border-radius: 11px; }
  .common-content { padding-block: 20px 38px; }
  .common-content > h1 { font-size: 1.9rem; }
  .credit-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
  .credit-entry { padding: 18px; border-radius: 14px; }
  .credit-entry img { height: 200px; }
}

@media (max-width: 760px) and (max-height: 760px) {
  .mobile-intro { margin-bottom: 10px; }
  .mobile-intro h1 { font-size: 1.5rem; line-height: 1.35; margin-bottom: 0; }
  .mobile-intro p { display: none; }
  .deck { height: clamp(270px, calc(100svh - 403px), 400px); }
  .card-copy h2 { font-size: 1.5rem; }
  .card-tags { margin-top: 9px; }
  .swipe-actions { min-height: 69px; margin-top: 12px; }
}

@media (max-width: 359px) {
  .shell { width: calc(100% - 24px); }
  .swipe-actions { width: calc(100% - 48px); gap: 8px; }
  .undo-action { width: 38px; }
  .round-action { width: 56px; height: 56px; }
  .like-action { width: 63px; height: 63px; }
  .picku-launcher { width: 56px; right: 7px; }
  .picku-avatar { width: 51px; height: 51px; }
  .card-copy { left: 18px; right: 18px; }
  .card-copy h2 { font-size: 1.5rem; }
  .meta-pill { padding-inline: 6px; font-size: .875rem; }
  .grid-card-body { padding-inline: 10px; }
  .activity-grid { gap: 12px 10px; }
  .choice-group button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .front-card { will-change: auto; }
  .picku-launcher:hover, .grid-card:hover, .grid-card:hover .grid-photo img, .mood-shortcuts button:hover, .picku-moods button:hover { transform: none; }
}
