/* Happy Just Crafting — the members' app (/app). Phone first; same colours and fonts as the website. */
:root {
    --coral: #C9614A; --coral-dark: #9E4634; --cream: #FDF8F4; --ink: #393B3F; --text: #5F5C5C; --line: #EFE6DF;
    --hand: Caveat, "Segoe Print", cursive; --serif: Fraunces, Georgia, serif;
    --rainbow: linear-gradient(90deg, #C0392B, #E67E22, #D4AC0D, #3F7A4C, #2A7A87, #2E4A9E, #6B4FA0);
    --tabs: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--text); font: 16px/1.55 "Noto Sans", system-ui, -apple-system, sans-serif;
       padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); }
a { color: var(--coral-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: Montserrat, system-ui, sans-serif; color: var(--ink); line-height: 1.2; margin: 0 0 .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: #8A8585; font-size: .9rem; }
.small { font-size: .8rem; }
.center { text-align: center; }
.hand { font: 700 1.6rem/1.1 var(--hand); color: var(--coral-dark); margin: 0 0 .2rem; }

/* Top bar, the "viewing as" bar, the tabs */
.preview-bar { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; padding: .55rem 16px; font-size: .9rem; display: flex; gap: .6rem; align-items: center; }
.preview-bar a { color: #fff; font-weight: 700; }
.preview-bar .preview-change { margin-left: auto; font-weight: 600; opacity: .85; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 4px solid transparent;
           border-image: var(--rainbow) 1; }
.app-logo img { width: 190px; }
.app-staff-link { font: 700 .8rem/1 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; padding: .45rem .8rem; border-radius: 999px; border: 2px solid var(--coral); }
.app-main { max-width: 680px; margin: 0 auto; padding: 20px 16px 32px; }
.app-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; background: #fff; border-top: 1px solid var(--line);
            padding-bottom: env(safe-area-inset-bottom); }
.app-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; height: var(--tabs);
              font: 600 .75rem/1 Montserrat, sans-serif; color: #8A8585; text-decoration: none; }
.app-tabs svg { width: 24px; height: 24px; fill: currentColor; }
.app-tabs a.is-on { color: var(--coral); }
.app-notice { background: #EAF4EF; color: #1A5444; padding: .7rem 1rem; border-radius: 12px; margin: 0 0 1rem; }

/* Blocks */
.page-title { font-size: 1.6rem; text-transform: uppercase; letter-spacing: 1px; }
.hello h1 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.2rem; }
.section-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin: 1.6rem 0 .8rem; }
.section-title::after { content: ""; display: block; width: 40px; height: 3px; margin-top: .4rem; background: var(--rainbow); border-radius: 3px; }
.lead { margin: 0 0 1rem; }
.card { background: #fff; border-radius: 16px; padding: 16px; margin: 0 0 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.buttons { display: flex; gap: .6rem; flex-wrap: wrap; margin: .8rem 0 0; }
.btn { display: inline-block; padding: .7em 1.6em; border-radius: 999px; border: 2px solid var(--coral); background: var(--coral); color: #fff;
       font: 700 .85rem/1.2 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--coral-dark); }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--coral-dark); text-decoration: underline; cursor: pointer; }

/* Spaces */
.space-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.space-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink);
              border-bottom: 5px solid var(--space); box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.space-card-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--space); }
.space-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* a tall photo can't stretch the card */
.space-card-text { padding: 10px 12px 12px; }
.space-card-text strong { display: block; font: 700 .85rem/1.25 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.space-card-text small { color: #8A8585; }
.space-card-in { font: 700 1.1rem/1 var(--hand); color: var(--space); font-style: normal; }
.space-head { display: flex; gap: 14px; align-items: center; margin-bottom: .8rem; }
.space-head-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 6px 6px 0 var(--space); flex: none; }
.space-head h1 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .5px; margin: 0; }

/* Sharing */
.share { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 1rem; }
.share textarea, .form input:not([type=checkbox]) { width: 100%; border: 1px solid #E2D8D0; border-radius: 12px; padding: .7rem .9rem; font: inherit; color: var(--ink); background: #fff; }
.share textarea:focus, .form input:focus { outline: 2px solid var(--coral); border-color: var(--coral); }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .6rem; }
.share-photo { font-size: .9rem; color: var(--coral-dark); cursor: pointer; }
.share-photo input { position: absolute; left: -9999px; }
.post { background: #fff; border-radius: 16px; padding: 14px; margin: 0 0 .8rem; }
.post.is-hidden { opacity: .55; }
.post header { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; margin-bottom: .4rem; }
.post header strong { color: var(--ink); }
.post p { margin: 0 0 .6rem; }
.post > img { border-radius: 12px; margin-top: .4rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post footer { display: flex; gap: 1rem; margin-top: .6rem; font-size: .85rem; }
.post .tag { font-size: .75rem; background: var(--ink); color: #fff; border-radius: 999px; padding: 0 .5rem; }
.leave { text-align: center; margin-top: 1.5rem; font-size: .9rem; }
.error { color: #B3261E; font-size: .9rem; margin: .2rem 0 .6rem; }

/* Forms */
.form { display: flex; flex-direction: column; gap: .35rem; }
.form label { font: 600 .9rem/1.4 Montserrat, sans-serif; color: var(--ink); margin-top: .5rem; }
.form label.check { font: 400 .9rem/1.4 "Noto Sans", sans-serif; display: flex; gap: .5rem; align-items: center; }
.form .btn { margin-top: 1rem; align-self: flex-start; }
.signout { margin-top: 2rem; }
nav[role=navigation] { margin: 1rem 0; font-size: .9rem; }

/* Staff: View the app as… */
.viewas-link { display: block; text-decoration: none; color: var(--ink); border-left: 5px solid var(--coral); }
.viewas-link strong, .viewas-link small { display: block; }
.viewas-list { display: flex; flex-direction: column; }
.viewas-opt { display: flex; gap: .9rem; align-items: center; width: 100%; text-align: left; border: 0; font: inherit; color: var(--ink); cursor: pointer; margin-bottom: .6rem; }
.viewas-opt strong { display: block; font: 700 .9rem/1.3 Montserrat, sans-serif; }
.viewas-opt small { display: block; font-size: .82rem; }
.viewas-opt.is-on { box-shadow: 0 0 0 2px var(--space, var(--coral)); }
.viewas-pic { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: var(--space); box-shadow: 0 0 0 3px var(--space); }
.viewas-ico { width: 48px; text-align: center; font-size: 1.6rem; flex: none; }
.viewas-stop { margin-top: .6rem; align-self: center; }
body.no-tabs { padding-bottom: 0; }

/* A cabin's areas: real photos shaped like the website's cabin cards (arch, circle, pebble, the
   cabin's colour set behind, a little off-kilter), two to a row like the library app's areas. */
.areas { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
.area { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); }
.area-shape { position: relative; display: block; width: 74%; aspect-ratio: 1; margin: 4px auto 14px; transition: transform .25s; }
.area-shape::before { content: ""; position: absolute; inset: 8px -8px -8px 8px; background: var(--space); opacity: .85; }
.area-shape img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.area-0 .area-shape, .area-0 .area-shape::before, .area-0 .area-shape img { border-radius: 999px 999px 14px 14px; }            /* arch */
.area-1 .area-shape, .area-1 .area-shape::before, .area-1 .area-shape img { border-radius: 50%; }                                /* circle */
.area-2 .area-shape, .area-2 .area-shape::before, .area-2 .area-shape img { border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; } /* pebble */
.areas li:nth-child(odd) .area-shape { transform: rotate(-2deg); }
.areas li:nth-child(even) .area-shape { transform: rotate(2deg); }
.area:hover .area-shape, .area:focus-visible .area-shape { transform: rotate(0) translateY(-4px); }
.area strong { font: 700 .82rem/1.25 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .6px; }
.area strong::after { content: ""; display: block; width: 28px; height: 3px; margin: .45rem auto 0; background: var(--space); border-radius: 3px; }
.area small { font: 700 1.15rem/1.15 var(--hand); color: var(--space); margin-top: .35rem; }
.back-link { display: inline-block; margin-bottom: .8rem; font-weight: 600; text-decoration: none; }
.area-head { display: flex; gap: 16px; align-items: center; margin-bottom: 1.2rem; }
.area-head .area-shape { width: 76px; margin: 0 8px 8px 0; flex: none; transform: rotate(-2deg); }
.area-head h1 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.area-line { font: 700 1.25rem/1.1 var(--hand); color: var(--space); margin: .2rem 0 0; }
.area-empty { text-align: center; padding: 1.6rem 1rem; }
.feed-pages { justify-content: center; }

/* Comments and the feed's cabin choices */
.post { border-left: 4px solid var(--space, var(--line)); }
.post footer form, .comment form.inline { display: inline; }
button.link.muted-link { color: #8A8585; font-size: .85rem; }
.comment button.link { font-size: .8rem; margin-left: .3rem; }
.comments { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.comment { margin: 0 0 .45rem; font-size: .92rem; }
.comment strong { color: var(--ink); }
.comment-form { display: flex; gap: .5rem; margin-top: .5rem; }
.comment-form input { flex: 1; min-width: 0; border: 1px solid #E2D8D0; border-radius: 999px; padding: .5rem .9rem; font: inherit; }
.comment-form input:focus { outline: 2px solid var(--space, var(--coral)); }
.btn-small { padding: .45em 1.1em; font-size: .75rem; }
.comment-join { margin: .6rem 0 0; }
.feed-choose summary { cursor: pointer; font: 700 .9rem/1.4 Montserrat, sans-serif; color: var(--ink); }
.feed-dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; background: var(--space); }

/* Nooks: the smaller crafts inside a cabin, as round real photos */
.nooks { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 0 .4rem; scrollbar-width: none; }
.nook { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; text-decoration: none; color: var(--ink);
    font: 600 .75rem/1.2 Montserrat, sans-serif; text-align: center; }
.nook-photo { display: block; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--space);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px transparent; transition: box-shadow .2s; }
.nook-photo img { width: 100%; height: 100%; object-fit: cover; }
.nook.is-on .nook-photo { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--space); }
.nook.is-on span:last-child { color: var(--space); }
.nook-note { font-size: .9rem; margin: 0 0 .4rem; }
.area-nook { color: var(--space); }
.share-nook { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; font: 600 .85rem/1 Montserrat, sans-serif; color: var(--ink); }
.share-nook select { flex: 1; border: 1px solid #E2D8D0; border-radius: 999px; padding: .45rem .8rem; font: 400 .9rem/1.2 "Noto Sans", sans-serif; background: #fff; }
.post-nook { font-size: .75rem; font-weight: 600; text-decoration: none; color: #fff; background: var(--space, var(--coral)); border-radius: 999px; padding: .05rem .55rem; }

/* Following: nooks and makers */
.nook-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .8rem; margin: 0 0 .6rem;
    padding: .6rem .8rem; border-radius: 12px; background: color-mix(in srgb, var(--space) 10%, #fff); }
.nook-bar p { margin: 0; font-size: .88rem; flex: 1 1 200px; }
.nook-bar form { margin: 0; }
.feed-tabs { display: flex; gap: .4rem; margin: 0 0 .9rem; }
.feed-tabs a { padding: .4rem 1rem; border-radius: 999px; border: 2px solid var(--coral); font: 700 .78rem/1 Montserrat, sans-serif;
    text-transform: uppercase; letter-spacing: .5px; text-decoration: none; color: var(--coral-dark); }
.feed-tabs a.is-on { background: var(--coral); color: #fff; }
a.post-author { font-weight: 700; color: var(--ink); text-decoration: none; }
a.post-author:hover { text-decoration: underline; }
.person-head { display: flex; gap: 14px; align-items: center; margin-bottom: .8rem; }
.person-head h1 { font-size: 1.35rem; margin: 0; }
.person-initial { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--coral); color: #fff;
    font: 700 1.6rem/1 Montserrat, sans-serif; box-shadow: 5px 5px 0 #E8B4A6; }
.person-follow { margin: 0 0 .6rem; }
.person-cabins { display: flex; flex-wrap: wrap; gap: .5rem; }
.person-cabins a { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem .25rem .25rem; border-radius: 999px; background: #fff;
    border: 2px solid var(--space); text-decoration: none; color: var(--ink); font-size: .85rem; font-weight: 600; }
.person-cabins img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.follow-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: #fff; border-radius: 12px; padding: .55rem .8rem; margin-bottom: .4rem; }
.follow-row a { color: var(--ink); text-decoration: none; font-weight: 600; }
.follow-row form { margin: 0; }

/* Profile photos */
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; vertical-align: middle; }
.avatar-letter { display: inline-grid; place-items: center; background: var(--coral); color: #fff; font-family: Montserrat, sans-serif; font-weight: 700; }
.post header { align-items: center; }
.post-avatar { line-height: 0; }
.profile-preview { position: relative; margin-bottom: 2.2rem; }
.profile-cover, .person-cover { height: 120px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #F3E3D8, #E8CDBF); }
.profile-cover img, .person-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar { position: absolute; left: 14px; bottom: -32px; border: 4px solid #fff; border-radius: 50%; line-height: 0; }
.person-cover { height: 150px; margin: -4px 0 0; }
.person-head { margin-top: -44px; padding-left: 12px; align-items: flex-start; }
.person-avatar { border: 4px solid var(--cream); border-radius: 50%; line-height: 0; flex: none; }
.person-head div { padding-top: 50px; min-width: 0; }   /* name and counts sit below the cover, beside the photo */
.person-follow form { margin: 0; }

/* Messages */
.app-tabs a { position: relative; }
.tab-badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--coral);
    color: #fff; font: 700 .7rem/18px Montserrat, sans-serif; }
.thread { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 12px 14px; margin-bottom: .6rem; }
.thread-text { flex: 1; min-width: 0; }
.thread-text strong, .thread-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread.is-unread strong { color: var(--coral-dark); }
.thread-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.badge { background: var(--coral); color: #fff; border-radius: 999px; padding: 0 .5rem; font: 700 .72rem/1.5 Montserrat, sans-serif; }
.convo-head { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-bottom: 1rem; }
.convo { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.bubble { max-width: 80%; align-self: flex-start; background: #fff; border-radius: 16px 16px 16px 4px; padding: .6rem .85rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.bubble.mine { align-self: flex-end; background: var(--coral); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble p { margin: 0; }
.bubble small { display: block; font-size: .72rem; opacity: .7; margin-top: .2rem; }
.convo-send { display: flex; gap: .5rem; align-items: flex-end; position: sticky; bottom: calc(var(--tabs) + 8px); background: var(--cream); padding: 6px 0; }
.convo-send textarea { flex: 1; border: 1px solid #E2D8D0; border-radius: 16px; padding: .6rem .85rem; font: inherit; resize: vertical; }

/* Block and report */
.block-form { margin: .8rem 0 0; }
.report { margin-top: .3rem; font-size: .75rem; }
.report summary { cursor: pointer; color: #8A8585; list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report form { display: flex; gap: .4rem; margin-top: .4rem; }
.report input { flex: 1; min-width: 0; border: 1px solid #E2D8D0; border-radius: 999px; padding: .35rem .7rem; font: inherit; }
.reported { color: var(--coral-dark); font-weight: 600; }

/* Bio */
.form textarea { width: 100%; border: 1px solid #E2D8D0; border-radius: 12px; padding: .7rem .9rem; font: inherit; color: var(--ink); resize: vertical; }
.person-town { margin: .1rem 0 .15rem; font: 700 1.1rem/1.1 var(--hand); color: var(--coral-dark); }
.person-bio .hand { font-size: 1.4rem; margin-bottom: .3rem; }
.person-bio .prose { line-height: 1.6; }

/* Members' own words: each line they type is a paragraph, with breathing room between */
.prose p { margin: 0 0 .85em; }
.prose p:last-child { margin-bottom: 0; }
.post .prose { margin: 0 0 .6rem; }
.bubble .prose p { margin-bottom: .5em; }
.bubble .prose p:last-child { margin-bottom: 0; }

/* Galleries */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: .8rem; }
.gallery-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--line); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-buy-tag { position: absolute; left: 6px; bottom: 6px; background: rgba(255,255,255,.92); color: var(--coral-dark); border-radius: 999px;
    padding: .1rem .5rem; font: 700 .68rem/1.4 Montserrat, sans-serif; }
.gallery-big { margin: 0 0 1rem; background: #fff; border-radius: 16px; overflow: hidden; }
.gallery-big img { width: 100%; max-height: 75vh; object-fit: contain; background: #F4EDE6; }
.gallery-big figcaption { padding: 12px 14px 14px; }
.gallery-by { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); text-decoration: none; margin-bottom: .5rem; }
.gallery-buy { text-align: center; }
.gallery-buy .btn { margin-bottom: .5rem; }
.form select { width: 100%; border: 1px solid #E2D8D0; border-radius: 12px; padding: .65rem .8rem; font: inherit; background: #fff; color: var(--ink); }
.space-tagline { font: 700 1.2rem/1.15 var(--hand); color: var(--space); margin: .15rem 0 .2rem; }

/* Events */
.event { display: flex; gap: 14px; align-items: flex-start; }
.event-date { flex: none; width: 56px; text-align: center; border-radius: 12px; padding: .35rem 0; background: color-mix(in srgb, var(--space, var(--coral)) 14%, #fff); color: var(--space, var(--coral-dark)); }
.event-date strong { display: block; font: 800 1.5rem/1 Montserrat, sans-serif; }
.event-date span { font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.event-body { flex: 1; min-width: 0; }
.event-body h3 { font-size: 1.05rem; margin: .1rem 0 .2rem; }
.event-kind { margin: 0; font: 700 1.05rem/1 var(--hand); color: var(--space, var(--coral-dark)); }
.event-photo { border-radius: 12px; margin: .5rem 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Artlings */
.artling-bar { background: #3A8DBF; color: #fff; padding: .55rem 16px; font-size: .9rem; display: flex; gap: .5rem; align-items: center; }
.artling-bar span { margin-left: auto; font: 700 1.05rem/1 var(--hand); }
body.is-artling .app-tabs a.is-on { color: #3A8DBF; }
.artling-row { display: flex; align-items: center; gap: 12px; }
.artling-info { flex: 1; min-width: 0; }
.artling-info strong, .artling-info small { display: block; }
.artling-row form { margin: 0; }
.artling-born { display: flex; gap: .5rem; }
.artling-born select { flex: 1; border: 1px solid #E2D8D0; border-radius: 12px; padding: .6rem .7rem; font: inherit; background: #fff; }
.consent { margin-top: .8rem; padding: .8rem; border-radius: 12px; background: #EEF5FA; }
.consent .check { align-items: flex-start; }
.artling-remove { margin-top: 1.5rem; font-size: .9rem; }
.artling-remove summary { cursor: pointer; color: #8A8585; }
.artlings-link { border-left-color: #3A8DBF; }

/* Patterns */
.pattern-app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.pattern-app-card { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.pattern-app-card span { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px 12px 12px; overflow: hidden; background: var(--line); margin-bottom: .45rem; }
.pattern-app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pattern-app-card strong { display: block; font: 700 .8rem/1.25 Montserrat, sans-serif; text-transform: uppercase; }
.pattern-app-card small { font: 700 1.05rem/1.1 var(--hand); color: var(--coral-dark); }
.pattern-app-photo { border-radius: 16px; margin-bottom: 1rem; max-height: 60vh; width: 100%; object-fit: cover; }
.pattern-downloads { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pattern-downloads p { flex-basis: 100%; margin: .2rem 0 0; }
.pattern-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.pattern-facts li { display: flex; gap: .6rem; font-size: .92rem; }
.pattern-facts span { min-width: 7em; color: #8A8585; }
.pattern-list { border-top: 1px solid var(--line); padding: .55rem 0; }
.pattern-list summary { cursor: pointer; font: 700 .8rem/1.4 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); }
.pattern-list ul { margin: .45rem 0 0; padding-left: 1.2rem; font-size: .92rem; }
.pattern-app-body h2, .pattern-app-body h3 { font-size: 1rem; margin-top: 1rem; }

/* Sparkles and the leaderboard */
.sparkles-card { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; text-decoration: none; color: var(--ink);
    border: 1px solid #F3D98B; box-shadow: 0 2px 14px rgba(233,185,73,.25); }
.sparkles-points { font: 700 1rem/1.2 Montserrat, sans-serif; }
.sparkles-points strong { font-size: 1.6rem; color: var(--coral-dark); }

/* Glitter: Sparkles shimmer, twinkle and burst (calm for people who prefer less motion) */
.glitter { position: relative; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(circle at 12% 30%, rgba(255,255,255,.9) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 22%, rgba(245,197,66,.9) 0 1.2px, transparent 2.5px),
        radial-gradient(circle at 40% 80%, rgba(247,168,196,.9) 0 1px, transparent 2px),
        radial-gradient(circle at 90% 70%, rgba(159,216,210,.9) 0 1.2px, transparent 2.5px),
        radial-gradient(circle at 60% 45%, rgba(255,255,255,.8) 0 .8px, transparent 1.8px),
        linear-gradient(120deg, #FFF6E3, #FDEAF2 45%, #E6F5F3 80%, #FFF3D6);
    background-size: 46px 38px, 58px 44px, 40px 52px, 64px 48px, 30px 30px, 300% 300%;
    animation: glitter-drift 9s ease-in-out infinite; }
.glitter > * { position: relative; z-index: 1; }
.glitter-text { background: linear-gradient(100deg, #C9861A 0%, #F5C542 20%, #FFF4C7 30%, #E2679A 45%, #C9861A 60%, #F5C542 80%, #FFF4C7 90%, #C9861A 100%);
    background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: glitter-shine 3.2s linear infinite; }
.glints { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glints i { position: absolute; width: 14px; height: 14px; background: radial-gradient(circle, #fff 0 18%, rgba(255,236,170,.9) 30%, transparent 62%);
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: glint 2.6s ease-in-out infinite; opacity: 0; }
.glints i:nth-child(1) { top: 12%; left: 8%; } .glints i:nth-child(2) { top: 18%; left: 62%; animation-delay: .6s; width: 10px; height: 10px; }
.glints i:nth-child(3) { top: 64%; left: 30%; animation-delay: 1.2s; } .glints i:nth-child(4) { top: 58%; left: 88%; animation-delay: 1.8s; width: 18px; height: 18px; }
.glints i:nth-child(5) { top: 40%; left: 46%; animation-delay: 2.2s; width: 8px; height: 8px; }
@keyframes glitter-drift { 0%, 100% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0% 50%; } 50% { background-position: 12px -8px, -10px 6px, 8px 10px, -6px -12px, 5px 5px, 100% 50%; } }
@keyframes glitter-shine { to { background-position: -250% 0; } }
@keyframes glint { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 70% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.app-notice.is-sparkly { position: relative; overflow: visible; color: #6B4A08; font-weight: 600;
    background: linear-gradient(110deg, #FFF3CF, #FDE3EE 50%, #E1F4F1); border: 1px solid #F3D98B; animation: notice-pop .5s ease-out; }
.glitter-bit { position: absolute; top: 50%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 6px rgba(255,255,255,.9);
    animation: glitter-burst 1.4s ease-out forwards; }
@keyframes glitter-burst { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }
@keyframes notice-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .glitter, .glitter-text, .glints i, .app-notice.is-sparkly { animation: none; } .glints i { opacity: .7; } }
.sparkles-rank { align-self: center; justify-self: end; font: 700 1.35rem/1 var(--hand); color: var(--coral-dark); }
.sparkles-next { font-size: .85rem; color: #8A8585; }
.sparkles-link { justify-self: end; font-size: .85rem; font-weight: 600; color: var(--coral-dark); }
.board-cabin select { width: 100%; border: 1px solid #E2D8D0; border-radius: 999px; padding: .5rem .9rem; font: inherit; background: #fff; margin-bottom: .9rem; }
.board { list-style: none; margin: 0 0 1rem; padding: 0; }
.board li { display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 14px; padding: .55rem .8rem; margin-bottom: .45rem; }
.board li.is-me { outline: 2px solid var(--coral); }
.board-place { width: 1.8rem; text-align: center; font: 800 1.05rem/1 Montserrat, sans-serif; color: var(--coral-dark); }
.board li:nth-child(1) .board-place { color: #C99415; } .board li:nth-child(2) .board-place { color: #8A8A8A; } .board li:nth-child(3) .board-place { color: #A86A3A; }
.board-name { flex: 1; min-width: 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.board-name small { display: block; font: 700 .95rem/1.1 var(--hand); color: var(--coral-dark); }
.board-points { font: 800 1rem/1 Montserrat, sans-serif; }
.board-mine { text-align: center; }
.sparkle-log { list-style: none; padding: 0; margin: 0 0 1rem; }
.sparkle-log li { display: flex; justify-content: space-between; gap: .6rem; padding: .45rem .1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.sparkle-log strong { color: var(--coral-dark); }
.sparkle-how summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.sparkle-how ul { padding-left: 1.1rem; }
.person-sparkles { margin: .1rem 0; font-size: .92rem; }
.person-sparkles strong { color: var(--coral-dark); }

/* Merit patches: a real photo framed like an embroidered camp patch */
.patch { --size: 76px; position: relative; display: inline-block; width: var(--size); height: var(--size); border-radius: 50%; flex: none;
    border: calc(var(--size) * .09) solid var(--patch); box-shadow: 0 2px 0 rgba(0,0,0,.18), inset 0 0 0 2px rgba(255,255,255,.35); overflow: hidden; background: var(--patch); }
.patch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.patch::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.85); pointer-events: none; } /* the stitches */
.patch.is-locked { filter: grayscale(1); opacity: .35; }
.jacket { display: flex; flex-wrap: wrap; gap: 14px 12px; padding: 16px; margin-bottom: .6rem; border-radius: 18px;
    background: linear-gradient(135deg, #5B6E83, #43566B); box-shadow: inset 0 0 0 3px rgba(255,255,255,.08); } /* a denim jacket */
.jacket figure { margin: 0; width: 72px; text-align: center; }
.jacket figcaption { font: 600 .68rem/1.2 Montserrat, sans-serif; color: #fff; margin-top: .3rem; }
.patch-list { display: grid; gap: .6rem; }
.patch-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 10px 14px; }
.patch-item strong { display: block; color: var(--ink); }
.patch-item small { color: #8A8585; }
.patch-item.is-earned small { font: 700 1.05rem/1 var(--hand); color: var(--coral-dark); }
.patch-notice { display: block; margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 14px; text-decoration: none; color: var(--ink);
    background: linear-gradient(120deg, #FFF3D9, #FDE7EC); border: 1px solid #F3D9B1; font-weight: 600; }
.patch-notice .hand { font-size: 1.3rem; margin-right: .3rem; }

/* Challenges and Creative Quests */
.challenge-card { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 10px; }
.challenge-card img { width: 78px; height: 78px; border-radius: 14px; object-fit: cover; flex: none; }
.challenge-text { min-width: 0; }
.challenge-text strong, .challenge-text small { display: block; }
.challenge-kicker { font: 700 1.1rem/1 var(--hand); color: var(--coral-dark); }
.challenge-text small { color: #8A8585; margin-top: .2rem; }
.challenge-photo { width: 100%; max-height: 46vh; object-fit: cover; border-radius: 16px; margin-bottom: .8rem; }
.challenge-mine { font-weight: 600; }
.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.entry { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.entry img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.entry figcaption { display: flex; justify-content: space-between; align-items: center; padding: .4rem .6rem; font-size: .85rem; font-weight: 600; }
.entry form { margin: 0; }
.love { border: 0; background: none; font: 700 .95rem/1 Montserrat, sans-serif; color: #B8AFA8; cursor: pointer; padding: .2rem .3rem; }
.love.is-on { color: #C9614A; }

/* Monthly goals */
.goal strong { display: block; color: var(--ink); }
.goal-kind { margin: 0 0 .15rem; font: 700 1.05rem/1 var(--hand); color: var(--coral-dark); }
.goal-desc { margin: .2rem 0 0; }
.goal-bar { height: 12px; border-radius: 999px; background: #F1E8E1; overflow: hidden; margin: .6rem 0 .35rem; }
.goal-bar span { display: block; height: 100%; border-radius: 999px; background: var(--rainbow); transition: width .6s; }
.goal-count { margin: 0; font-size: .85rem; color: #6E6A6A; }
.goal-part { margin: .35rem 0 0; font-size: .85rem; color: var(--ink); }
.goal-team { margin: .5rem 0 0; font: 700 .8rem/1.2 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.goal-winner { margin: .45rem 0 0; font-size: .88rem; }
.goal-winner .hand { font-size: 1.15rem; color: #C99415; }
.goal-board { list-style: none; margin: .6rem 0 0; padding: 0; font-size: .85rem; }
.goal-board li { display: flex; align-items: center; gap: .5rem; padding: .3rem .5rem; border-radius: 10px; border-left: 4px solid var(--space, #EADFD6); margin-bottom: .25rem; background: #FBF7F3; }
.goal-board li.is-mine { outline: 2px solid var(--coral); background: #fff; }
.goal-board .board-place { width: 1.4rem; font-size: .9rem; }
.goal-board-name { flex: 1; }
.goal-board-done { font-weight: 700; }

/* Hearts on children's art */
.art-love-form { margin: .5rem 0; }
.art-love { display: inline-flex; align-items: center; gap: .4rem; border: 2px solid #F3B6C9; background: #fff; color: #B23A68; border-radius: 999px;
    padding: .45rem 1rem; font: 700 .9rem/1 Montserrat, sans-serif; cursor: pointer; }
.art-love.is-on { background: linear-gradient(110deg, #FDE3EE, #FFF3CF); border-color: #E2679A; }
.art-love-heart { color: #E2679A; font-size: 1.15rem; }
.art-love-count { background: #FDE3EE; border-radius: 999px; padding: .15rem .5rem; font-size: .8rem; }
.art-love-total { margin: .4rem 0; font-weight: 600; color: #B23A68; }
.gallery-hearts { position: absolute; right: 5px; bottom: 5px; background: rgba(255,255,255,.92); color: #B23A68; border-radius: 999px; padding: .1rem .45rem; font: 700 .72rem/1.4 Montserrat, sans-serif; }
.group-tabs { flex-wrap: wrap; }

/* Memberships */
.membership-now { margin-bottom: 1.2rem; }
.membership-name { margin: .1rem 0 .4rem; font-size: 1.5rem; }
.membership-plans { display: grid; gap: 12px; margin-bottom: 1.2rem; }
.membership-plan { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.membership-plan img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.membership-plan h2 { margin: 0; font-size: 1.1rem; }
.membership-plan.is-mine { outline: 2px solid var(--coral); }
.membership-plan .btn + .btn { margin-top: 8px; } .membership-plan form .btn-small { margin-top: 6px; }
.membership-price { margin: .2rem 0; } .membership-price strong { font-size: 1.4rem; color: var(--coral-dark); }
.family-row { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .4rem; }

/* Paying and billing, inside the page */
.pay-box { scroll-margin-top: 80px; }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.billing .payments { width: 100%; border-collapse: collapse; font-size: .88rem; margin: .4rem 0 .8rem; }
.billing .payments th, .billing .payments td { text-align: left; padding: .35rem .3rem; border-bottom: 1px solid #F1E8E1; }
.billing .payments th { font: 700 .72rem/1.2 Montserrat, sans-serif; text-transform: uppercase; color: #8A8585; }

/* Crews */
.crew-link { display: block; text-decoration: none; color: var(--ink); }
.crew-name { margin: .1rem 0 .7rem; font-size: 1.3rem; }
.crew-members { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.crew-members a, .crew-open { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.crew-seat { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed #E2D8D0; }
.crew-code { margin: .8rem 0 0; }
.crew-code strong { font: 800 1.2rem/1 Montserrat, sans-serif; letter-spacing: 3px; color: var(--coral-dark); }
.goal-rules { margin-top: .45rem; font-size: .85rem; }
.goal-rules summary { cursor: pointer; font-weight: 700; color: var(--coral-dark); }
.goal-rules ul { margin: .35rem 0 0; padding-left: 1.1rem; color: #6E6A6A; }
.goal.is-reached { background: linear-gradient(120deg, #FFF8EC, #EEF6F0); }
.goal-count .hand { font-size: 1.2rem; color: var(--coral-dark); }

/* Craft Bingo */
.bingo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: .8rem 0; }
.bingo form { margin: 0; }
.bingo-4 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bingo-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bingo-4 .bingo-cell { font-size: .78rem; }
.bingo-3 .bingo-cell { font-size: .9rem; padding: 8px; }
.bingo-cell { width: 100%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: 3px; border-radius: 10px; border: 1px solid #EADFD6; background: #fff; color: var(--ink); font: 600 .62rem/1.15 "Noto Sans", sans-serif;
    cursor: pointer; overflow: hidden; hyphens: auto; }
.bingo-cell.is-marked { background: #FBE3DA; border-color: var(--coral); color: var(--coral-dark); box-shadow: inset 0 0 0 2px var(--coral); }
.bingo-cell.in-line { background: linear-gradient(135deg, #FFE9B8, #FBD3C6); }
.bingo-cell.is-free { background: var(--coral); color: #fff; border-color: var(--coral); }
.bingo-cell.is-free .hand { color: #fff; font-size: 1rem; }
.bingo-cell:disabled { cursor: default; }
a.bingo-cell { text-decoration: none; color: var(--ink); }
.bingo-proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: .6rem; }
.bingo-score { text-align: center; font-weight: 700; }
.bingo-score .hand { color: var(--coral-dark); font-size: 1.2rem; }
.bingo-card { display: block; text-decoration: none; color: var(--ink); border-left: 5px solid #C99415; }
.bingo-card strong, .bingo-card small { display: block; }
@media (min-width: 480px) { .bingo-cell { font-size: .72rem; } }

/* The Playhouse's own section on Home (staff and parents): a wide photo banner, apart from the cards */
.playhouse-home { margin: 0 0 1.4rem; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #FFF6E8, #F3ECFA 55%, #E8F4F0); }
.playhouse-home .section-title { margin-top: 0; color: var(--space); }
.playhouse-banner { position: relative; display: block; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: var(--space); text-decoration: none; }
.playhouse-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.playhouse-banner span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.playhouse-banner strong { display: block; font: 700 .95rem/1.25 Montserrat, sans-serif; }
.playhouse-banner small { font: 700 1.15rem/1 var(--hand); }
.playhouse-home p { margin: .6rem 0 0; }
.playhouse-link small { font: 700 1.05rem/1.1 var(--hand); color: var(--space); }

/* Campfire Stories (the whole campground's stories; adults only) */
.app-stories-hero { position: relative; margin: -20px -16px 1.2rem; padding: 90px 16px 18px; background: #3b2418 center 30% / cover no-repeat; color: #fff; }
.app-stories-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40,20,12,.85) 0%, rgba(40,20,12,.35) 55%, rgba(40,20,12,0) 80%); }
.app-stories-hero > * { position: relative; }
.app-stories-hero .hand { color: #FFE9E3; font-size: 1.3rem; }
.app-stories-hero h1 { color: #fff; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 .2rem; }
.app-stories-hero p:last-child { font: italic 400 .95rem/1.45 var(--serif); margin: 0; }
.app-story-card, .app-campfire { display: flex; gap: 14px; text-decoration: none; color: inherit; align-items: flex-start; }
.app-story-card img, .app-campfire img { width: 38%; max-width: 220px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; flex: none; }
.app-story-card.is-small img { width: 30%; }
.app-story-card-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.app-story-card-body strong { font: 500 1.1rem/1.25 var(--serif); color: var(--ink); }
.app-story-teaser { font: italic 400 .9rem/1.45 var(--serif); color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.app-story-date { font: 600 .7rem/1.3 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--coral-dark); }
.app-story-tag { background: var(--coral); color: #fff; border-radius: 999px; padding: .05rem .5rem; text-transform: none; letter-spacing: 0; font-size: .72rem; }
.campfire-new { display: inline-block; background: linear-gradient(110deg, #E67E22, #D4AC0D); color: #fff; border-radius: 999px; padding: .1rem .55rem; margin-right: .3rem;
    letter-spacing: .5px; box-shadow: 0 0 0 3px rgba(230,126,34,.18); animation: campfire-glow 2.4s ease-in-out infinite; }
@keyframes campfire-glow { 50% { box-shadow: 0 0 0 6px rgba(230,126,34,.08); } }
@media (prefers-reduced-motion: reduce) { .campfire-new { animation: none; } }
@media (max-width: 420px) { .app-story-card, .app-campfire { flex-direction: column; } .app-story-card img, .app-campfire img { width: 100%; max-width: none; } }
/* One story: the same look as the website (photo on a rainbow edge, soft serif title, italic summary). */
.app-story-photo { position: relative; margin: 0 8px 1.2rem 0; }
.app-story-photo::before { content: ""; position: absolute; inset: 7px -7px -7px 7px; border-radius: 16px; opacity: .9;
    background: linear-gradient(135deg, #C0392B, #E67E22, #D4AC0D, #3F7A4C, #2A7A87, #2E4A9E, #6B4FA0); }
.app-story-photo img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.app-story h1 { font: 500 1.6rem/1.2 var(--serif); text-transform: none; color: var(--ink); margin: 0 0 .4rem; }
.app-story-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font: 500 .78rem/1.4 Montserrat, sans-serif; color: #8A8585; margin: 0 0 .7rem; }
.app-story-intro { font: italic 400 1.02rem/1.55 var(--serif); color: #555; margin: 0 0 1rem; }
.app-story-body { line-height: 1.7; }
.app-story-body h2, .app-story-body h3 { margin-top: 1.4em; }
.app-story-body img { border-radius: 12px; margin: 1em 0; }
.app-story-hearts { margin: 1.4rem 0 1rem; }
.app-fire .section-title { margin-top: 0; }
/* A maker's page: Sparkles and followers on one full-width line under the photo. */
.person-stats { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding: .7rem 14px; margin: 0 0 1rem;
    background: #fff; border-radius: 14px; font-size: .88rem; color: #8A8585; }
.person-stats .person-sparkles { margin: 0; color: var(--text); }
/* Tell your story */
.tell-story { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; border: 2px dashed rgba(201,97,74,.45); background: #FFFDFB; }
.tell-story strong { font: 700 1.35rem/1.1 var(--hand); color: var(--coral-dark); }
.right { text-align: right; }
.my-story { display: flex; flex-direction: column; gap: .2rem; }
.my-story strong { font: 500 1.1rem/1.25 var(--serif); color: var(--ink); }
.my-story-status { align-self: flex-start; font: 600 .72rem/1 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .5px; padding: .3rem .6rem; border-radius: 999px; background: #F4E9DA; color: #8A6A2F; }
.my-story-status.is-out { background: linear-gradient(110deg, #E67E22, #D4AC0D); color: #fff; }
.my-story-status.is-no { background: #EFE6DF; color: #8A8585; }
.my-story-note { margin: .4rem 0 0; font: italic 400 .95rem/1.45 var(--serif); }
.campfire-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; }
.campfire-send { font-weight: 700; text-decoration: none; }
.shop-home-card { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: inherit; }
.shop-home-card strong { font: 500 1.1rem/1.25 var(--serif); color: var(--ink); }
/* The shop card's edge: the logo's rainbow, running top to bottom (like the Bingo card's gold edge). */
.shop-home-card { position: relative; overflow: hidden; padding-left: 21px; }
.shop-home-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, #C0392B, #E67E22, #D4AC0D, #3F7A4C, #2A7A87, #2E4A9E, #6B4FA0); }
/* Tips & Tutorials */
.tut { padding: 0 0 14px; overflow: hidden; }
.tut-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #1d1d1d; cursor: pointer; }
.tut-play img { width: 100%; height: 100%; object-fit: cover; }
.tut-play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(201,97,74,.92);
    color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.tut-tag { position: absolute; top: 10px; left: 10px; background: var(--coral); color: #fff; border-radius: 999px; padding: 2px 10px; font: 700 .72rem/1.5 Montserrat, sans-serif; }
.tut-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.tut-title { font: 500 1.1rem/1.3 var(--serif); text-transform: none; margin: 12px 16px 2px; }
.tut-by { margin: 0 16px; }
.tut-note { margin: 8px 16px 0; font: italic 400 .95rem/1.5 var(--serif); }
.tut-made { margin: 10px 16px 0; font-weight: 700; }
.tut-made a { text-decoration: none; }
.tut-tip { display: flex; gap: 12px; align-items: flex-start; }
.tut-tip img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.tut-tip strong { color: var(--ink); }
.tut-tip p { margin: .25rem 0 0; }
.tut-suggest summary { cursor: pointer; font-weight: 700; color: var(--coral-dark); }
/* Tall Tales */
.tales-intro { border: 2px dashed rgba(201,97,74,.4); }
.tales-intro .page-title { margin-bottom: .3rem; }
.tale-card { display: flex; gap: 14px; text-decoration: none; color: inherit; align-items: flex-start; }
.tale-card img { width: 34%; max-width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; flex: none; }
.tale-card.is-small img { width: 22%; }
.tale-card-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.tale-card-body strong { font: 500 1.1rem/1.25 var(--serif); color: var(--ink); }
.tale-claim { font: italic 400 .92rem/1.45 var(--serif); color: var(--text); }
.tale-claim.is-big { font-size: 1.05rem; margin: 0 0 12px; }
.tale-verdict { align-self: flex-start; font: 700 .74rem/1 Montserrat, sans-serif; padding: .35rem .65rem; border-radius: 999px; background: #F4E9DA; color: #8A6A2F; }
.tale-verdict.is-real { background: #EAF4EF; color: #2F6B4A; }
.tale-verdict.is-ai { background: #EFE7F7; color: #5B3E86; }
.tale-verdict.is-partly { background: #FFF3CF; color: #8A6A2F; }
.tale-verdict.is-big { display: inline-block; font-size: 1rem; padding: .55rem 1rem; margin: 10px 0 0; }
.tale h1 { font: 500 1.6rem/1.2 var(--serif); text-transform: none; margin: 0 0 .4rem; }
.tale-play { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
    background: linear-gradient(135deg, #3b2418, #6B4FA0); }
.tale-play.is-tall { aspect-ratio: 9 / 14; max-width: 380px; margin: 0 auto; }
.tale-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.tale-play-btn { position: relative; width: 66px; height: 66px; border-radius: 50%; background: rgba(201,97,74,.94); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.tale-play-note { position: absolute; bottom: 10px; left: 0; right: 0; color: #fff; font: 600 .8rem Montserrat, sans-serif; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tale-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.tale-frame.is-tall { aspect-ratio: 9 / 16; max-width: 380px; margin: 0 auto; }
.tale-source { margin: 6px 0 0; text-align: center; }
.tale-guess { margin-top: 16px; text-align: center; }
.tale-guess-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tale-bars p { display: grid; grid-template-columns: 70px 1fr 44px; gap: 8px; align-items: center; margin: 0 0 6px; text-align: left; font-size: .9rem; }
.tale-bar { height: 12px; background: #F1E8E2; border-radius: 999px; overflow: hidden; }
.tale-bar i { display: block; height: 100%; background: #3F7A4C; border-radius: 999px; }
.tale-bar.is-ai i { background: #6B4FA0; }
.tale-body { margin-top: 16px; }
.tale-home-card { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: inherit; border-left: 5px solid #6B4FA0; }
.tale-home-card strong { font: 500 1.1rem/1.25 var(--serif); color: var(--ink); }
.tut-play { background: linear-gradient(135deg, #3b2418, #2A7A87); }
.tut-play.is-fb { background: linear-gradient(135deg, #3b2418, #2E4A9E); }
.tut-play.is-tall { aspect-ratio: 9 / 14; max-width: 380px; margin: 0 auto; }
.tut-frame.is-tall { aspect-ratio: 9 / 16; max-width: 380px; margin: 0 auto; }
.tut-site { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #fff; font: 600 .8rem Montserrat, sans-serif; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
/* My project holds */
.hold { padding: 0; overflow: hidden; }
.hold .tut-play { border-radius: 0; }
.hold-body { padding: 14px 16px; }
.hold-body strong { font: 500 1.1rem/1.25 var(--serif); color: var(--ink); }
.hold.is-made { opacity: .85; }
.hold-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.hold-share { display: flex; gap: 6px; align-items: center; }
.hold-share select { padding: .4rem .6rem; border-radius: 10px; border: 1px solid #E2D8D0; font: inherit; max-width: 170px; }
.hold-it { margin: 6px 16px 0; }
.hold-it .link { font-weight: 700; }
.hold-privacy { display: inline-block; margin: 4px 0 2px; font: 600 .72rem/1.4 Montserrat, sans-serif; color: #8A8585; }
.hold-privacy.is-shared { color: #2F6B4A; }
.hold-body .hold-it { margin: 6px 0 0; }

/* Help & how-to (the Camp guide) */
.help-search { display: flex; gap: .5rem; margin: 0 0 1.2rem; }
.help-search input { flex: 1; min-width: 0; padding: .7em 1em; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.help-search .btn { padding: .7em 1.2em; }
.help-topic { display: block; text-decoration: none; color: var(--ink); border-left: 4px solid var(--coral); }
.help-topic strong { display: block; font-family: Montserrat, sans-serif; margin-bottom: .2rem; }
.help-topic small { display: block; line-height: 1.45; }
.help-body { line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.help-body h2 { font: 700 1.05rem/1.3 Montserrat, sans-serif; color: var(--coral-dark); margin: 1.4rem 0 .5rem; }
.help-body h2:first-child, .help-body h3:first-child { margin-top: 0; }
.help-body h3 { font: 700 .95rem/1.3 Montserrat, sans-serif; margin: 1.1rem 0 .4rem; }
.help-body ul, .help-body ol { padding-left: 1.3rem; }
.help-body li { margin: .25rem 0; }
.help-body blockquote { margin: 1rem 0; padding: .7rem 1rem; background: var(--cream); border-left: 4px solid #D4AC0D; border-radius: 8px; }
.help-body blockquote p { margin: 0; }
.help-body table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .8rem 0; }
.help-body th, .help-body td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.help-body th { font-family: Montserrat, sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text); }
.help-next { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; font-size: .92rem; }
.help-more p { margin: .3rem 0; }
.help-body th, .help-body td { overflow-wrap: normal; }
@media (max-width: 640px) {
    /* Phones: each table row becomes a little stacked block (the first cell as its heading). */
    .help-body thead { display: none; }
    .help-body table, .help-body tbody, .help-body tr, .help-body td { display: block; width: 100%; }
    .help-body tr { border-bottom: 1px solid var(--line); padding: .55rem 0; }
    .help-body td { border: 0; padding: .1rem 0; }
    .help-body td:first-child { font-weight: 700; color: var(--coral-dark); }
}
