/* flowerblower.com: world tree scene + spells. Builds on silence.css (same forest palette). */
/* landing-only colours, dark by default; the light set mirrors silence.css (the tree scene and its HUD stay dark there) */
:root {
  --hush-text: #ff7ec4; --discord-text: #c9cefc; --pink-soft: #ffd1ea; --egg: var(--petal); --awaken-hover: #fff4d6;
  --chip-text: #d9f5ea; --glass-soft: rgb(9 22 18 / .6); --glass-hover: rgb(14 34 28 / .8);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --hush-text: #b0156f; --discord-text: #4752c4; --pink-soft: #b0156f; --egg: #b0156f; --awaken-hover: #7a5a00;
    --chip-text: #1f3a2f; --glass-soft: rgb(255 255 255 / .7); --glass-hover: #fff;
  }
}
:root[data-theme="light"] {
  --hush-text: #b0156f; --discord-text: #4752c4; --pink-soft: #b0156f; --egg: #b0156f; --awaken-hover: #7a5a00;
  --chip-text: #1f3a2f; --glass-soft: rgb(255 255 255 / .7); --glass-hover: #fff;
}
.landing main { max-width: 52rem; }
.landing .brand { margin-top: .25rem; }
.landing .brand h1 { font-size: 1.7rem; }

.scene {
  position: relative; width: 100%; aspect-ratio: 1344 / 768; overflow: hidden; border-radius: 1.1rem;
  border: 1px solid var(--line); background: #0a1a17; touch-action: manipulation; user-select: none;
}
.scene > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage { object-fit: cover; image-rendering: pixelated; transition: opacity 2.4s ease; }
.stage.hidden { opacity: 0; }
.rustle { pointer-events: none; }
#fx { image-rendering: pixelated; image-rendering: crisp-edges; pointer-events: auto; }

/* soft breathing light shafts from the canopy gap */
.shafts { pointer-events: none; mix-blend-mode: screen; }
.shafts i {
  position: absolute; top: -10%; height: 90%; width: 14%;
  background: linear-gradient(180deg, rgb(160 255 240 / .22), transparent 80%);
  transform: skewX(-14deg); filter: blur(10px); animation: breathe 10s ease-in-out infinite;
}
.shafts i:nth-child(1) { left: 34%; animation-delay: -2s; }
.shafts i:nth-child(2) { left: 48%; width: 9%; animation-delay: -6s; }
.shafts i:nth-child(3) { left: 60%; width: 11%; animation-delay: -4s; }
@keyframes breathe { 0%, 100% { opacity: .25; } 50% { opacity: .7; } }

/* the glowing circle; flares on growth and at full bloom */
.glow {
  pointer-events: none; mix-blend-mode: screen; opacity: .35;
  background: radial-gradient(28% 9% at var(--cx, 49.7%) var(--cy, 84%), rgb(63 230 216 / .55), transparent 70%);
  transition: opacity 1.6s ease;
}
.glow.flare { opacity: 1; }

.char { position: absolute; inset: auto; height: auto; image-rendering: pixelated; cursor: pointer; animation: bob 2.4s steps(2) infinite; }
.char.peek { clip-path: inset(0 45% 0 0); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
.bubble {
  position: absolute; inset: auto; width: auto; height: auto; padding: .2rem .55rem; border-radius: .7rem;
  background: #f4fff9; color: #0b1a14; font-weight: 700; font-size: .9rem; transform: translate(-50%, -120%);
  transition: opacity .5s; pointer-events: none;
}



/* progress HUD docked on the tree image: one segment per paid subscriber, then Feed the tree */
.hud {
  inset: auto 0 0 0; height: auto; display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem;
  background: linear-gradient(180deg, transparent, rgb(4 12 10 / .88) 35%); z-index: 4;
}
.seg { display: flex; gap: .25rem; flex: 0 0 auto; }
.seg i { width: 1.6rem; height: .55rem; border-radius: .2rem; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .18); }
.seg i.on { background: linear-gradient(90deg, #ff5fae, #ffd1ea); border-color: #ff9fcd; box-shadow: 0 0 8px rgb(255 95 174 / .6); }
.hud-count { color: #d9f5ea; font-size: .85rem; flex: 1; text-shadow: 0 1px 2px #000; }
.feed {
  flex: 0 0 auto; padding: .5rem .85rem; border-radius: 999px; font-weight: 800; font-size: .9rem; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, var(--petal), var(--petal-deep)); box-shadow: 0 2px 10px rgb(255 95 174 / .45);
}
@media (max-width: 560px) {
  .hud { flex-wrap: wrap; gap: .4rem .6rem; padding: .45rem .55rem; }
  .seg i { width: 1.15rem; height: .45rem; }
  .hud-count { font-size: .78rem; }
  .feed { width: 100%; text-align: center; padding: .55rem; }
}

/* spells: square Dota-style frames */
.spells { gap: .75rem; }
.spell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .7rem; }
.spell {
  position: relative; display: grid; gap: .3rem; justify-items: center; text-align: center; padding: .8rem .6rem .9rem;
  border-radius: .9rem; background: var(--card); border: 1px solid var(--line);
}
.spell .frame {
  position: relative; width: 6rem; height: 6rem; border-radius: .35rem; overflow: hidden;
  border: 3px solid #3a2f22; outline: 1px solid #000;
  box-shadow: inset 0 0 0 2px #8a6a3d, inset 0 0 14px #000, 0 3px 8px #000a;
}
.spell .frame img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.spell b { font-size: .98rem; }
.spell small { color: var(--muted); font-size: .8rem; }
.spell.live { border-color: var(--petal); box-shadow: 0 0 0 1px rgb(255 95 174 / .25), 0 6px 18px rgb(255 95 174 / .12); }
.spell.live .frame { box-shadow: inset 0 0 0 2px #ffcf6e, inset 0 0 14px #000, 0 0 14px rgb(255 95 174 / .5); }
.spell .tag {
  position: absolute; top: .55rem; right: .55rem; padding: .05rem .4rem; border-radius: .35rem;
  background: #1fd18a; color: #04170f; font-size: .68rem; font-weight: 900; letter-spacing: .06em;
}
.spell.locked .frame img { filter: brightness(.32) saturate(.5) contrast(1.1); }
.spell.locked .lock { position: absolute; inset: auto .25rem .2rem auto; width: auto; height: auto; font-size: 1rem; font-style: normal; filter: drop-shadow(0 1px 2px #000); }
.runes { font-family: 'Noto Sans Runic', serif; letter-spacing: .05em; color: var(--dim); opacity: .8; }
.spell.locked b.runes { font-size: .95rem; }
.awaken {
  margin: 0; justify-self: center; padding: .4rem .9rem; border-radius: 999px; font-size: .9rem; text-align: center;
  background: rgb(63 230 216 / .08); border: 1px solid rgb(63 230 216 / .35); color: var(--accent-text);
}
.suggest-bar {
  width: 100%; display: flex; justify-content: center; align-items: baseline; gap: .6rem; padding: .95rem;
  border-radius: 1rem; background: var(--card); border: 1px dashed var(--glow); font-weight: 800; color: var(--fg);
}
.suggest-bar small { color: var(--muted); font-weight: 500; }

dialog { border: 1px solid var(--line); border-radius: 1rem; background: var(--card); color: var(--fg); width: min(28rem, 92vw); padding: 1rem; }
dialog::backdrop { background: rgb(0 0 0 / .6); }
dialog form { display: grid; gap: .7rem; }
dialog label { display: grid; gap: .3rem; font-weight: 600; }
dialog input, dialog textarea { font: inherit; padding: .6rem; border-radius: .6rem; border: 1px solid var(--line); background: var(--bg2); color: var(--fg); }
dialog .hp { position: absolute; left: -9999px; }
dialog .row > * { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  .shafts i, .char { animation: none; }
  .stage, .glow { transition: none; }
}

/* landing: the two main actions stack on phones */
@media (max-width: 560px) { .landing .ctas { grid-template-columns: 1fr; } }

/* discovery */
.found { margin: 0; justify-self: center; color: var(--accent-text); font-size: .92rem; text-align: center; }
.spell.live .frame { cursor: pointer; }
.egg-rune { margin: .2rem 0 0; font-size: 1.4rem; color: var(--pink-soft); opacity: 1; text-shadow: 0 0 10px rgb(255 95 174 / .6); }
.egg-gift { margin: 0; font-weight: 800; color: var(--egg); animation: eggpop 2.4s ease-out forwards; }
@keyframes eggpop { 0% { transform: scale(.6); opacity: 0; } 15% { transform: scale(1.1); opacity: 1; } 100% { opacity: .9; } }

/* ---------- colour pass: blend with the pixel-art forest ---------- */
/* water the tree: glowing cyan, like the summoning circle */
.feed {
  color: #03201d; background: linear-gradient(180deg, #7ff6ec, #3fe6d8 55%, #22c3b6);
  box-shadow: 0 0 0 1px rgb(127 246 236 / .6), 0 0 16px rgb(63 230 216 / .55), 0 0 34px rgb(63 230 216 / .25);
  text-shadow: none;
}
.feed:hover { box-shadow: 0 0 0 1px #b6fff8, 0 0 22px rgb(63 230 216 / .8), 0 0 46px rgb(63 230 216 / .35); }
.seg i.on { background: linear-gradient(90deg, #3fe6d8, #b6fff8); border-color: #7ff6ec; box-shadow: 0 0 8px rgb(63 230 216 / .7); }

/* the two main actions as dark translucent cards */
.card-cta {
  display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 1rem; text-decoration: none;
  background: var(--glass); backdrop-filter: blur(2px); transition: box-shadow .25s ease, border-color .25s ease;
}
.card-cta span { display: grid; gap: .15rem; }
.card-cta b { font-size: 1.12rem; }
.card-cta small { color: var(--soft); font-size: .86rem; } /* ~14:1 on the dark card: well above AA */
.cta-art { width: 3rem; height: 3rem; border-radius: .55rem; image-rendering: pixelated; flex: 0 0 auto; }
.cta-art.logo { width: 2.5rem; height: 2.5rem; margin: 0 .25rem; }
.card-cta.hush { border: 1px solid rgb(255 95 174 / .75); box-shadow: 0 0 10px rgb(255 95 174 / .25); }
.card-cta.hush b { color: var(--hush-text); }
.card-cta.hush:hover { border-color: var(--petal-text); box-shadow: 0 0 18px rgb(255 95 174 / .55), 0 0 38px rgb(255 95 174 / .2); }
.card-cta.discord { border: 1px solid rgb(88 101 242 / .8); box-shadow: 0 0 10px rgb(88 101 242 / .25); }
.card-cta.discord b { color: var(--discord-text); }
.card-cta.discord:hover { border-color: #8f9af8; box-shadow: 0 0 18px rgb(88 101 242 / .55), 0 0 38px rgb(88 101 242 / .2); }

/* spells: 3 per row on desktop (3 + 3), 2 on phones */
.spell-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .spell-grid { grid-template-columns: repeat(2, 1fr); } }

/* the AVAILABLE badge is longer than LIVE: keep it off the icon frame on phones */
@media (max-width: 560px) { .spell .tag { font-size: .56rem; top: .35rem; right: .35rem; padding: .02rem .3rem; } }


.hud .stripe-note { color: #cfe6dc; text-shadow: 0 1px 2px #000; }
@media (max-width: 560px) { .hud .stripe-note { width: 100%; text-align: center; } }

.unlock-line { margin: 0; color: var(--soft); font-size: 1rem; }

/* FAQ: collapsed by default */
.faq { display: grid; gap: .5rem; }
.faq details { border: 1px solid var(--line); border-radius: .8rem; background: var(--card); padding: .7rem .9rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .5rem 0 0; color: var(--soft); line-height: 1.5; }


/* "What is this?" as a tooltip: a pill above the tree, the explainer pops over it (Dota-style, like Hushling's) */
.about-tip { position: relative; justify-self: start; z-index: 10; }
.about-pill {
  padding: .5rem 1rem; border-radius: 999px; font-weight: 700; color: var(--accent-text);
  background: var(--glass); border: 1px solid rgb(63 230 216 / .55); box-shadow: 0 0 12px rgb(63 230 216 / .15);
}
.about-pill:hover { border-color: var(--accent); }
.about-box {
  position: absolute; top: calc(100% + .5rem); left: 0; width: min(36rem, calc(100vw - 2rem)); display: none; padding: .9rem 1rem;
  border-radius: .55rem; background: linear-gradient(180deg, #1b1712, #0d0b09); border: 1px solid #5a4630; box-shadow: 0 0 0 1px #000, 0 12px 30px #000c;
}
@media (hover: hover) { .about-tip:hover .about-box { display: block; } }
.about-tip.open .about-box, .about-tip:has(:focus-visible) .about-box { display: block; }
.about-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.about-box li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .5rem; align-items: start; }
.about-box li > span { font-size: 1.1rem; line-height: 1.35; }
.about-box li p { margin: 0; color: #efe6d8; font-size: .95rem; line-height: 1.45; }
.about-box li b { color: #fff; }
.about-box li.trust p { color: #c8bca9; font-size: .86rem; }

/* Dota-style hover cards on the landing (same look as the What is this? box and Hushling's ability tooltip) */
.dtip-anchor { position: relative; display: block; }
.feed-anchor { display: inline-block; flex: 0 0 auto; }
.dtip {
  position: absolute; z-index: 20; width: min(19rem, calc(100vw - 2rem)); display: none; gap: .45rem; padding: .8rem .9rem;
  border-radius: .55rem; background: linear-gradient(180deg, #1b1712, #0d0b09); border: 1px solid #5a4630;
  box-shadow: 0 0 0 1px #000, 0 12px 30px #000c; color: #d8cfc2; font-size: .85rem; line-height: 1.4; text-align: left; pointer-events: none;
}
.dtip-up { bottom: calc(100% + .5rem); left: 0; }
.feed-anchor .dtip-up { left: auto; right: 0; }
@media (hover: hover) { .dtip-anchor:hover > .dtip, .dtip-anchor:has(:focus-visible) > .dtip { display: grid; } }
.dtip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dtip-head b { color: #fff; font-size: 1.05rem; }
.dtip-head small { color: #9b8a72; font-size: .68rem; letter-spacing: .1em; font-weight: 800; }
.dtip-price { color: #fff; font-weight: 800; font-size: 1.25rem; }
.dtip-price small { font-size: .8rem; font-weight: 500; opacity: .75; }
.dtip-list { display: grid; gap: .25rem; padding: .4rem 0; border-block: 1px solid #3a2f22; color: #efe6d8; }
.dtip-note { color: #c8bca9; }
.dtip-lore { color: #a89a85; font-style: italic; }
.dtip-foot { color: #9b8a72; font-size: .8rem; }
.dtip-list:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 560px) { .feed-anchor { width: 100%; } }

/* clicking spells: cast flash + cooldown sweep on the live one, a shake on locked ones */
.spell.live { cursor: pointer; }
.spell.live .frame::after {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: conic-gradient(rgb(0 0 0 / .6) calc(var(--p, 0) * 360deg), transparent 0);
}
.spell.casting .frame { animation: castflash .5s ease-out; }
.spell.casting .frame::after { animation: sweep 1.2s linear; }
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes sweep { from { --p: 1; opacity: 1; } to { --p: 0; opacity: 1; } }
@keyframes castflash { 0% { box-shadow: inset 0 0 0 2px #fff, 0 0 30px #ff9fd2, 0 0 60px rgb(255 95 174 / .7); } 100% { } }
.shh {
  position: absolute; top: 2.2rem; left: 50%; transform: translateX(-50%); pointer-events: none; font-weight: 900; color: #ffd1ea;
  text-shadow: 0 0 10px rgb(255 95 174 / .8), 0 2px 4px #000; animation: shh 1.1s ease-out forwards;
}
@keyframes shh { from { opacity: 0; transform: translate(-50%, 10px) scale(.8); } 20% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -34px) scale(1.15); } }
.cast-go { font-size: .85rem; font-weight: 700; color: var(--petal-text); }
.spell.locked { cursor: pointer; } /* looks clickable: the click always answers (wiggle + Locked) */
.spell.refuse { animation: refuse .35s ease-in-out; }
.spell.refuse::after {
  content: 'Locked'; position: absolute; top: .5rem; left: 50%; transform: translateX(-50%); padding: .05rem .45rem; border-radius: .3rem;
  background: #3a1016; color: #ff8a95; font-size: .7rem; font-weight: 800; letter-spacing: .06em; animation: fadeout 1.2s forwards;
}
@keyframes refuse { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes fadeout { 70% { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spell.casting .frame, .spell.refuse, .shh { animation: none; } }
.ctas > .dtip-anchor > .card-cta { height: 100%; box-sizing: border-box; }
/* desktop has the Water hover card (it says Stripe); phones never see it, so they keep the note */
@media (hover: hover) { .hud .stripe-note { display: none; } }

/* live numbers under the tree */
.stats { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .3rem .6rem; color: var(--dim); font-size: .95rem; }
.stats b { color: var(--accent-text); font-size: 1.15rem; }
.stats i { font-style: normal; opacity: .5; }
.stats small { width: 100%; text-align: center; font-size: .78rem; opacity: .8; }
@media (max-width: 560px) { .stats i { display: none; } .stats { gap: .2rem .9rem; } }
/* locked spells: lore card on hover (tap on phones) */
.spell > .dtip { left: 50%; transform: translateX(-50%); width: min(17rem, calc(100vw - 2rem)); }
@media (hover: hover) { .spell:hover > .dtip { display: grid; } }
.spell.show-tip > .dtip { display: grid; }
/* the outer columns would push the card off screen: anchor it to that edge instead */
.spell-grid > .spell:nth-child(3n) > .dtip { left: auto; right: 0; transform: none; }
.spell-grid > .spell:nth-child(3n + 1) > .dtip { left: 0; transform: none; }
@media (max-width: 560px) {
  .spell-grid > .spell > .dtip { left: 0; right: auto; transform: none; }
  .spell-grid > .spell:nth-child(2n) > .dtip { left: auto; right: 0; }
}

/* suggest a spell: solid border like the other cards; on hover it lifts, glows and a light sweeps across */
.suggest-bar {
  position: relative; overflow: hidden; cursor: pointer; border: 1px solid rgb(63 230 216 / .45);
  background: var(--glass); box-shadow: 0 0 10px rgb(63 230 216 / .12);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.suggest-bar::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%); pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgb(127 246 236 / .16) 50%, transparent 70%);
}
.suggest-bar .bulb { display: inline-block; }
@media (hover: hover) {
  .suggest-bar:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 0 18px rgb(63 230 216 / .45), 0 0 38px rgb(63 230 216 / .15); }
  .suggest-bar:hover::after { animation: sweep-light .9s ease-out; }
  .suggest-bar:hover .bulb { animation: bulb 1s ease-in-out infinite; }
}
@keyframes sweep-light { to { transform: translateX(120%); } }
@keyframes bulb { 0%, 100% { transform: rotate(0) scale(1); filter: none; } 30% { transform: rotate(-12deg) scale(1.15); filter: drop-shadow(0 0 6px #ffe680); } 60% { transform: rotate(10deg) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .suggest-bar, .suggest-bar::after, .suggest-bar .bulb { animation: none !important; transition: none; } }

/* the Hush you! card's tooltip (same look as Hushling's) */
.dtip-desc { color: #efe6d8; }
.dtip-stats { display: flex; gap: .9rem; font-weight: 700; color: #fff; }
.spell.live > .dtip { width: min(20rem, calc(100vw - 2rem)); text-align: left; }

/* suggest dialog buttons: same family as the Suggest bar */
dialog .row { display: flex; gap: .6rem; }
.dlg-btn {
  padding: .8rem; border-radius: 1rem; font-weight: 700; color: var(--soft2); background: transparent; border: 1px solid var(--line);
  transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.dlg-btn.send { color: var(--accent-text); background: var(--glass); border-color: rgb(63 230 216 / .55); box-shadow: 0 0 10px rgb(63 230 216 / .15); }
@media (hover: hover) {
  .dlg-btn:hover { border-color: var(--axis); }
  .dlg-btn.send:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 0 18px rgb(63 230 216 / .45); }
}
dialog input:focus, dialog textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px rgb(127 246 236 / .4), 0 0 12px rgb(63 230 216 / .25); }

/* "You've found Hushling": the two words open lore cards */
.found .word { display: inline; position: relative; border-bottom: 1px dotted rgb(191 247 239 / .6); cursor: help; color: var(--soft); }
.found .word > .dtip { left: 50%; transform: translateX(-50%); width: min(19rem, calc(100vw - 2rem)); font-weight: 400; }
@media (hover: hover) { .found .word:hover > .dtip { display: grid; } }
.found .word.show-tip > .dtip { display: grid; }
.spirit { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .6rem; align-items: center; padding: .35rem 0; border-top: 1px solid #3a2f22; }
.spirit img { width: 3.2rem; height: 3.2rem; border-radius: .3rem; border: 2px solid #5a4630; image-rendering: pixelated; }
.spirit b { display: block; color: #fff; }
.spirit small { color: #c8bca9; font-size: .8rem; }
.spirit > i { font-style: normal; font-weight: 800; color: #1fd18a; }
.spirit.unknown img { filter: brightness(.8) saturate(.75); }
.spirit.unknown b, .spirit.unknown > i { color: #9b8a72; }

dialog input[type="file"] { padding: .5rem; font-size: .85rem; color: var(--soft2); }
dialog input[type="file"]::file-selector-button {
  margin-right: .6rem; padding: .35rem .7rem; border-radius: .6rem; font: inherit; font-weight: 700; cursor: pointer;
  color: var(--accent-text); background: var(--glass); border: 1px solid rgb(63 230 216 / .55);
}
dialog label small { font-weight: 400; }

/* the awaken line hides a gift: a faint shimmer, then it fades away for good once claimed */
button.awaken { font: inherit; cursor: pointer; position: relative; overflow: hidden; transition: opacity .8s ease, transform .8s ease; }
button.awaken::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%); pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgb(255 230 168 / .18) 50%, transparent 65%); animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (hover: hover) { button.awaken:hover { border-color: #ffe6a8; color: var(--awaken-hover); box-shadow: 0 0 14px rgb(255 214 110 / .3); } }
button.awaken.gone { opacity: 0; transform: translateY(-8px) scale(.96); }
.awaken-msg { margin: 0; justify-self: center; font-size: .85rem; color: var(--pink-soft); }
.awaken-gift { justify-self: center; }
@media (prefers-reduced-motion: reduce) { button.awaken::after { animation: none; } }

/* concept art & notes: a drop zone with file chips */
dialog .field { display: grid; gap: .35rem; }
.field-label { font-weight: 600; }
.drop {
  position: relative; display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: .8rem; cursor: pointer;
  background: var(--glass-soft); border: 1px solid rgb(63 230 216 / .35); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.drop input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.drop-icon { font-size: 1.6rem; transition: transform .25s ease; }
.drop b { color: var(--soft); }
.drop u { color: var(--accent); text-underline-offset: 2px; }
.drop small { display: block; margin-top: .1rem; color: var(--muted); font-size: .78rem; font-weight: 400; }
.drop:hover, .drop.over { border-color: var(--accent); box-shadow: 0 0 14px rgb(63 230 216 / .25); background: var(--glass-hover); }
.drop:hover .drop-icon, .drop.over .drop-icon { transform: rotate(-8deg) scale(1.12); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .25rem .3rem .25rem .6rem; border-radius: 999px; font-size: .8rem;
  background: rgb(63 230 216 / .1); border: 1px solid rgb(63 230 216 / .35); color: var(--chip-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip small { color: var(--muted); }
.chip button { border: 0; background: rgb(var(--haze-rgb) / .08); color: var(--soft2); width: 1.3rem; height: 1.3rem; border-radius: 50%; font-size: .7rem; cursor: pointer; }
.chip button:hover { background: rgb(255 95 174 / .35); }

/* the companion app is the main card under the tree; Discord sits below it */
.landing .main-ctas { grid-template-columns: 1fr; }
.main-ctas .card-cta.hush { padding: 1.05rem 1.2rem; }
.main-ctas .card-cta.hush b { font-size: 1.3rem; }
.main-ctas .card-cta.hush .cta-art { width: 3.6rem; height: 3.6rem; }

/* connection chips on the "What is this?" row: "Link" + logo until linked, logo + ✓ once linked (tap opens Connections) */
.pill-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-self: stretch; }
.pill-row .chips { margin-left: auto; }
.chips { display: inline-flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: .8rem; font-weight: 600; text-decoration: none; line-height: 1.2; min-height: 2rem; }
.chip.discord { border-color: rgb(88 101 242 / .7); } .chip.steam { border-color: rgb(102 192 244 / .7); }
.chip-ico { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.chip .dot { width: .5rem; height: .5rem; border-radius: 50%; background: #ffd166; box-shadow: 0 0 6px #ffd166; }
.chip.done { border-color: #3fe08a; color: var(--ok-text); } .chip .tick { font-weight: 800; }
.chip.done { display: none; } .chip.done.just { display: inline-flex; animation: chip-pop 2.6s ease forwards; }
@keyframes chip-pop { 0% { transform: scale(.7); opacity: 0; } 15% { transform: scale(1.12); opacity: 1; } 25%, 80% { transform: scale(1); opacity: 1; } 100% { opacity: 0; transform: scale(.9); } }
@media (hover: hover) { .chip:hover { border-color: var(--accent); } }
@media (prefers-reduced-motion: reduce) { .chip.just { animation: none; } }

/* footer Theme line: three quiet links, the current one bold */
.theme-line button { padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.theme-line button.on { color: var(--fg); font-weight: 700; text-decoration: none; }
