@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #29263f;
  --muted: #858398;
  --soft-muted: #a6a3b4;
  --purple: #8c78ed;
  --purple-dark: #6d5bd0;
  --yellow: #ffdf71;
  --coral: #ff9d8e;
  --mint: #91ddbd;
  --blue: #9ac4fa;
  --line: #eeeef3;
  --paper: #f8f8fb;
  --white: #fff;
  --shadow: 0 16px 45px rgba(45, 40, 77, .07);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 14px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(140,120,237,.35); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; }
.sidebar { width: 248px; height: 100vh; position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; flex-direction: column; background: #29263f; color: #fff; padding: 25px 17px 17px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 11px 28px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: var(--yellow); color: #29263f; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 900; transform: rotate(-5deg); box-shadow: 0 5px 0 rgba(255,255,255,.1); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; line-height: 1; letter-spacing: -.7px; }
.brand-copy strong span, .footer-brand span { color: var(--yellow); }
.brand-copy small { color: #b7b4c8; font-size: 10px; letter-spacing: .2px; }
.sidebar-label { color: #8e8aa5; font-size: 9px; font-weight: 800; letter-spacing: 1.35px; padding: 13px 12px 8px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-link { width: 100%; border: 0; color: #c5c2d3; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; background: transparent; text-align: left; font-size: 12px; font-weight: 600; transition: .2s ease; }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active { background: #403b5c; color: var(--yellow); box-shadow: inset 3px 0 var(--yellow); }
.nav-icon { width: 17px; display: inline-flex; justify-content: center; font-size: 16px; color: inherit; }
.nav-tag { margin-left: auto; padding: 3px 6px; border-radius: 5px; color: #302b47; background: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .4px; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; }
.sidebar-note { background: #36324f; border: 1px solid rgba(255,255,255,.06); border-radius: 13px; padding: 13px 13px 12px; position: relative; }
.sidebar-note strong { display: block; font-size: 11px; margin-bottom: 4px; }
.sidebar-note p { color: #aaa7bd; font-size: 10px; margin: 0; }
.note-spark { position: absolute; right: 12px; top: 10px; color: var(--yellow); font-size: 16px; }
.sidebar-foot { padding: 16px 7px 0; color: #807d97; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.sidebar-foot span { float: right; color: #77748d; font-weight: 500; }

.main-content { min-height: 100vh; margin-left: 248px; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 12; height: 65px; padding: 0 43px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid #eeedf3; }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #aaa7b6; font-size: 11px; }
.breadcrumb b { color: #d1cfda; font-weight: 500; }
.breadcrumb strong { color: #4a465f; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 8px; color: #8d8a9e; font-size: 10px; }
.online-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #67c99a; box-shadow: 0 0 0 4px #e6f7ee; margin-right: 3px; }
.avatar-button { width: 33px; height: 33px; margin-left: 13px; border: 1px solid #eeedf3; border-radius: 11px; background: #faf9fe; font-size: 16px; transition: .2s; }
.avatar-button:hover { transform: rotate(-12deg); background: #fff6d9; }
.mobile-menu { display: none; border: 0; background: transparent; color: var(--ink); font-size: 21px; }
.page-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 35px 43px 55px; flex: 1; }
.view { display: none; animation: pageIn .28s ease both; }
.view.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

/* Home */
.hero-card { min-height: 330px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; position: relative; border-radius: 25px; background: #e9e5ff; padding: 39px 42px; }
.hero-copy { position: relative; z-index: 2; max-width: 550px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 7px; color: #8b7cda; font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.eyebrow { padding: 7px 10px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7); border-radius: 20px; }
.eyebrow-dot { width: 6px; height: 6px; background: #ff9a87; border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero-card h1 { margin: 19px 0 12px; color: #29263f; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(35px, 4vw, 48px); line-height: 1.12; letter-spacing: -2px; font-weight: 900; }
.hero-card h1 span { color: #806ce0; }
.hero-card p { max-width: 440px; margin-bottom: 20px; color: #69657f; font-size: 12px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.btn { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; border-radius: 11px; font-size: 11px; font-weight: 800; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary { color: #29263f; background: var(--yellow); box-shadow: 0 5px 0 #e9c65d; }
.btn-primary:hover:not(:disabled) { background: #ffe894; box-shadow: 0 7px 0 #e9c65d; }
.btn-ghost { color: #5e568d; background: rgba(255,255,255,.6); border-color: rgba(255,255,255,.9); }
.btn-secondary { background: #eae6ff; color: #6555bc; }
.btn-light { background: #fff; color: #6658b5; box-shadow: 0 6px 18px rgba(40,34,71,.09); }
.btn-outline { color: #6c5bc2; background: transparent; border-color: #d9d2ff; }
.btn-wide { width: 100%; }
.hero-proof { display: flex; align-items: center; gap: 9px; margin-top: 23px; color: #8a85a2; font-size: 9px; }
.proof-faces { font-size: 15px; letter-spacing: -4px; padding-right: 5px; }
.hero-art { min-height: 250px; position: relative; display: grid; place-items: center; }
.hero-mascot { width: 159px; height: 159px; position: relative; display: flex; align-items: center; justify-content: center; gap: 17px; border-radius: 42% 58% 50% 50% / 45% 42% 58% 55%; background: var(--yellow); color: #38334f; box-shadow: 0 15px 0 #e7c45f, 0 30px 38px rgba(82,69,147,.15); transform: rotate(-9deg); z-index: 2; animation: mascotFloat 4s ease-in-out infinite; }
.mascot-eyes { position: absolute; top: 57px; font-size: 12px; letter-spacing: 16px; margin-left: 15px; }
.mascot-smile { position: absolute; top: 76px; font-size: 27px; font-weight: 900; transform: rotate(180deg); }
.mascot-star { position: absolute; top: 21px; right: 26px; font-size: 20px; color: #ff9584; }
@keyframes mascotFloat { 0%,100% { transform: translateY(0) rotate(-9deg); } 50% { transform: translateY(-10px) rotate(-5deg); } }
.art-orbit { position: absolute; border: 1px dashed rgba(130,111,218,.35); border-radius: 50%; transform: rotate(-23deg); }
.orbit-one { width: 235px; height: 173px; }
.orbit-two { width: 292px; height: 225px; transform: rotate(48deg); }
.art-spark { position: absolute; color: #ff967f; z-index: 3; }
.spark-one { top: 26px; right: 26%; font-size: 28px; }
.spark-two { bottom: 18px; left: 18%; font-size: 21px; color: #8a78e8; }
.decision-bubble { position: absolute; z-index: 4; padding: 9px 13px; border: 2px solid rgba(255,255,255,.9); border-radius: 10px 10px 10px 2px; background: #fff; color: #625b7e; box-shadow: 0 8px 20px rgba(50,43,91,.1); font-size: 10px; font-weight: 800; transform: rotate(-5deg); }
.bubble-top { top: 28px; left: 11%; }
.bubble-side { top: 83px; right: 0; background: #ffb5a7; color: #66414a; transform: rotate(7deg); }
.bubble-bottom { bottom: 21px; right: 13%; background: #8b78ed; color: #fff; border-radius: 10px 10px 2px 10px; transform: rotate(5deg); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin: 36px 0 17px; }
.section-heading h2 { margin: 6px 0 5px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; letter-spacing: -.7px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.heading-doodle { font-size: 28px; color: #a28ff7; padding: 0 9px 5px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.category-card { min-height: 147px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 17px; border: 1px solid transparent; border-radius: 17px; text-align: left; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.food-card { background: #fff0d9; color: #715130; }
.watch-card { background: #e9e5ff; color: #51468c; }
.activity-card { background: #dff5e9; color: #3d745b; }
.friends-card { background: #ffe5e9; color: #874e62; }
.category-emoji { font-size: 25px; margin-bottom: 13px; }
.category-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 900; }
.category-desc { margin-top: 5px; font-size: 9px; opacity: .75; }
.category-arrow { position: absolute; right: 14px; bottom: 14px; font-size: 15px; opacity: .6; }
.tools-heading { margin-top: 37px; align-items: center; }
.text-button, .subtle-button { padding: 5px 0; border: 0; color: #7867d0; background: transparent; font-size: 10px; font-weight: 800; }
.text-button span { font-size: 15px; margin-left: 4px; }
.quick-tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.quick-tool { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid #eeeef4; border-radius: 14px; background: #fff; text-align: left; transition: .18s; }
.quick-tool:hover { transform: translateY(-2px); border-color: #dcd6ff; box-shadow: 0 10px 25px rgba(45,40,77,.05); }
.quick-tool-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; font-size: 18px; }
.quick-tool-icon.lavender { background: #eeeaff; color: #806de1; }
.quick-tool-icon.yellow { background: #fff4d5; color: #9b7920; }
.quick-tool-icon.pink { background: #ffe9ed; color: #d26c83; }
.quick-tool-icon.mint { background: #e2f7ed; color: #428f6d; }
.quick-tool strong, .quick-tool small { display: block; }
.quick-tool strong { font-size: 11px; }
.quick-tool small { margin-top: 4px; color: #9895a8; font-size: 9px; }
.quick-arrow { margin-left: auto; color: #aaa5c4; font-size: 16px; }
.bottom-callout { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 23px; padding: 14px 17px; border-radius: 14px; background: #fff8dd; overflow: hidden; }
.callout-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #ffedab; font-size: 17px; }
.bottom-callout strong { font-size: 10px; }
.bottom-callout p { margin: 4px 0 0; color: #8b805e; font-size: 9px; }
.callout-spark { position: absolute; right: 19px; top: -6px; color: #ebc75c; font-size: 40px; opacity: .6; }

/* Shared tool page styles */
.page-intro { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 25px; }
.page-intro h1 { margin: 7px 0 7px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 34px; line-height: 1.2; letter-spacing: -1.5px; }
.page-intro h1 span { color: #8572e4; }
.page-intro p { max-width: 600px; margin: 0; color: #89869a; font-size: 11px; line-height: 1.7; }
.intro-sticker { width: 61px; height: 61px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; background: #fff0d8; font-size: 29px; transform: rotate(6deg); }
.panel { border: 1px solid #efedf4; border-radius: 19px; background: #fff; box-shadow: 0 8px 28px rgba(48,43,78,.035); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-step { color: #9a8ae5; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.panel-head h3 { margin: 5px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; letter-spacing: -.3px; }
.panel-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: #f4f1ff; font-size: 18px; }
.field-label { display: block; margin-bottom: 8px; color: #625e77; font-size: 10px; font-weight: 800; }
.choice-textarea { width: 100%; padding: 13px 14px; border: 1px solid #e9e7f0; border-radius: 11px; background: #fbfbfd; color: #4c4962; font-size: 11px; line-height: 1.9; resize: vertical; min-height: 150px; transition: border .2s, box-shadow .2s; }
.choice-textarea:focus, .text-input:focus { outline: 0; border-color: #a89af1; box-shadow: 0 0 0 3px rgba(140,120,237,.1); }
.textarea-meta { display: flex; align-items: center; justify-content: space-between; margin: 7px 1px 16px; color: #a09daf; font-size: 9px; }
.subtle-button { color: #9186c6; font-size: 9px; }
.preset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 13px 0 18px; }
.preset-row .field-label { width: 100%; margin-bottom: 1px; }
.chip-button, .filter-chip { border: 1px solid #eceaf3; border-radius: 20px; padding: 6px 9px; background: #fff; color: #716d82; font-size: 9px; font-weight: 700; transition: .2s; }
.chip-button:hover, .filter-chip:hover { border-color: #b9adfa; color: #7664d0; }
.micro-note { margin: 11px 0 0; color: #aaa7b5; text-align: center; font-size: 9px; }

/* Picker */
.tool-layout { display: grid; grid-template-columns: .93fr 1.07fr; gap: 17px; }
.input-panel { padding: 24px; }
.result-panel { position: relative; min-height: 445px; padding: 30px 24px 23px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #eae6ff; border-color: #eae6ff; text-align: center; }
.result-overline { color: #8f82c8; font-size: 8px; font-weight: 900; letter-spacing: 1.5px; }
.picker-result-icon { margin: 23px 0 9px; font-size: 43px; filter: drop-shadow(0 8px 5px rgba(85,68,161,.1)); }
.picker-result { max-width: 100%; color: #35304f; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(25px,3vw,37px); line-height: 1.2; font-weight: 900; letter-spacing: -1px; overflow-wrap: anywhere; }
.result-caption { max-width: 330px; margin: 11px auto 19px; color: #817b9d; font-size: 10px; line-height: 1.6; }
.result-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.8); border-radius: 11px; background: rgba(255,255,255,.55); color: #7165b7; font-size: 17px; }
.result-history { width: 100%; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(122,109,194,.16); text-align: left; }
.result-history > span { color: #938ab8; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.result-history div { margin-top: 7px; color: #766e99; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.result-decor { position: absolute; color: #b9adff; opacity: .8; }
.decor-a { top: 25px; right: 27px; font-size: 30px; }
.decor-b { bottom: 104px; left: 25px; font-size: 20px; }
.result-pop { animation: pop .38s ease; }
@keyframes pop { 0% { transform: scale(.985); } 55% { transform: scale(1.012); } 100% { transform: scale(1); } }

/* Wheel */
.wheel-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 17px; align-items: stretch; }
.wheel-stage-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 535px; padding: 28px 20px 23px; background: #f0edff; border-color: #ebe6ff; position: relative; overflow: hidden; }
.wheel-wrap { width: min(100%, 390px); aspect-ratio: 1; position: relative; border: 8px solid #fff; border-radius: 50%; box-shadow: 0 15px 30px rgba(68,57,128,.15); background: #fff; }
#wheelCanvas { width: 100%; height: 100%; display: block; border-radius: 50%; transform: rotate(0deg); transition: transform 4.8s cubic-bezier(.13,.68,.12,1); }
.wheel-pointer { position: absolute; top: 19px; left: 50%; z-index: 3; width: 0; height: 0; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 25px solid #4b416f; filter: drop-shadow(0 3px 1px rgba(42,34,74,.2)); }
.wheel-center { width: 55px; height: 55px; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; border: 5px solid #fff; border-radius: 50%; background: #29263f; color: var(--yellow); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 900; transform: translate(-50%,-50%); box-shadow: 0 3px 8px rgba(39,34,70,.2); }
.wheel-spin-button { margin-top: 24px; min-width: 180px; }
.wheel-result-line { min-height: 18px; margin-top: 15px; color: #777092; font-size: 10px; text-align: center; }
.wheel-result-line strong { color: #5e4fbd; }
.wheel-options-panel { padding: 24px; }
.wheel-textarea { min-height: 190px; }
.wheel-tip { display: flex; gap: 10px; margin-top: 22px; padding: 12px; border-radius: 11px; background: #fff7df; color: #8d7945; }
.wheel-tip span { font-size: 17px; }
.wheel-tip p { margin: 0; font-size: 9px; line-height: 1.65; }

/* Recommendation */
.recommend-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; margin: 3px 0 15px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.filter-chip.active { border-color: #8d7ae8; background: #8d7ae8; color: #fff; }
.recommend-counter { color: #9e9bad; font-size: 9px; padding-bottom: 8px; }
.recommend-feature { min-height: 255px; display: grid; grid-template-columns: 225px 1fr; align-items: center; padding: 26px 32px; position: relative; overflow: hidden; background: #fff0da; border-color: #ffedd2; }
.recommend-feature-art { width: 172px; height: 172px; display: grid; place-items: center; justify-self: center; border-radius: 38% 62% 53% 47% / 48% 43% 57% 52%; background: rgba(255,255,255,.7); font-size: 83px; box-shadow: 0 13px 28px rgba(160,116,48,.09); transform: rotate(-6deg); }
.recommend-feature-copy { position: relative; z-index: 2; padding: 9px 0; }
.recommend-feature-copy h2 { margin: 10px 0 8px; color: #41364c; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; letter-spacing: -.9px; }
.recommend-feature-copy p { max-width: 480px; margin: 0 0 18px; color: #88775f; font-size: 11px; line-height: 1.75; }
.recommend-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-confetti { position: absolute; color: #eab95b; opacity: .45; }
.confetti-one { top: 17px; right: 27px; font-size: 35px; }
.confetti-two { bottom: 15px; left: 40%; font-size: 22px; }
.recommend-bottom { display: flex; align-items: center; justify-content: space-between; margin: 27px 0 12px; }
.recommend-bottom h3 { margin: 4px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; }
.mini-suggestion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-suggestion { min-height: 93px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 13px; border: 1px solid #eeedf3; border-radius: 13px; background: #fff; }
.mini-suggestion span { font-size: 20px; }
.mini-suggestion strong { font-size: 10px; }
.mini-suggestion small { color: #aaa6b5; font-size: 8px; }

/* Group */
.group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.group-panel { padding: 23px; }
.panel-description { margin: -11px 0 18px; color: #9591a3; font-size: 10px; line-height: 1.7; }
.group-panel .choice-textarea { min-height: 120px; }
.group-winner { margin-top: 18px; min-height: 91px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 13px; background: #f0edff; text-align: center; }
.group-winner span { color: #9588d1; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.group-winner strong { color: #5e51b5; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; }
.winner-pop { animation: pop .35s ease; }
.vote-panel .choice-textarea { min-height: 93px; }
.vote-name-label { margin-top: 12px; }
.text-input { width: 100%; height: 39px; padding: 0 12px; border: 1px solid #e9e7f0; border-radius: 10px; background: #fbfbfd; color: #4c4962; font-size: 10px; }
.vote-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 12px; }
.vote-option { min-width: 0; padding: 9px 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; border: 1px solid #eae7f4; border-radius: 9px; background: #fff; color: #5f5a75; text-align: left; font-size: 9px; }
.vote-option:hover { border-color: #9d8fed; background: #faf8ff; }
.vote-option span { overflow-wrap: anywhere; }
.vote-option small { color: #9387d3; font-size: 8px; font-weight: 800; }
.empty-vote { grid-column: 1/-1; color: #aaa6b6; font-size: 9px; }
.vote-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #f0eef4; color: #aaa6b5; font-size: 8px; }
.local-warning { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #fff8e2; color: #927b42; }
.local-warning span { font-size: 15px; }
.local-warning p { margin: 0; font-size: 9px; line-height: 1.65; }

/* Yes/no and coin */
.centered-intro { justify-content: center; text-align: center; }
.centered-intro p { margin: 0 auto; }
.decision-tool, .coin-tool { width: min(560px, 100%); min-height: 370px; margin: 0 auto; padding: 32px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #f0edff; border-color: #e8e3ff; }
.decision-big-icon { margin-bottom: 11px; font-size: 38px; }
.decision-question { color: #807995; font-size: 11px; }
.decision-answer { margin: 13px 0 6px; color: #5749b0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(38px,7vw,58px); line-height: 1.1; font-weight: 900; letter-spacing: -2px; }
.decision-tool p, .coin-tool > p { color: #918ba8; font-size: 10px; }
.decision-tool .btn { margin-top: 13px; }
.decision-footnote { margin-top: 23px; color: #aaa4bc; font-size: 8px; }
.answer-pop { animation: pop .38s ease; }
.coin-tool { background: #fff3d8; border-color: #ffedca; }
.coin-scene { height: 170px; display: grid; place-items: center; perspective: 700px; }
.coin { width: 116px; height: 116px; position: relative; transform-style: preserve-3d; }
.coin-face { width: 116px; height: 116px; position: absolute; inset: 0; display: grid; place-items: center; border: 8px double #d6a943; border-radius: 50%; background: linear-gradient(145deg,#ffe995,#ffc947); color: #946c1d; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; font-weight: 900; box-shadow: 0 9px 0 #d8a83e, 0 18px 22px rgba(126,91,29,.16); backface-visibility: hidden; }
.coin-tails { transform: rotateY(180deg); background: linear-gradient(145deg,#e4dbff,#a899f0); border-color: #8f80d5; color: #594b9c; box-shadow: 0 9px 0 #8c7fd0, 0 18px 22px rgba(91,76,153,.16); }
.coin.flip-heads { animation: coinHeads 1.1s ease-out forwards; }
.coin.flip-tails { animation: coinTails 1.1s ease-out forwards; }
@keyframes coinHeads { from { transform: rotateY(0) rotateX(0); } to { transform: rotateY(1800deg) rotateX(20deg); } }
@keyframes coinTails { from { transform: rotateY(180deg) rotateX(0); } to { transform: rotateY(1980deg) rotateX(20deg); } }
.coin-answer { margin: 6px 0 5px; color: #6d58b6; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 27px; font-weight: 900; }
.coin-tool .btn { margin: 9px 0 21px; }
.coin-score { width: min(330px,100%); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid rgba(178,142,58,.18); color: #a18b5c; font-size: 8px; font-weight: 900; letter-spacing: .5px; }
.coin-score strong { margin-left: 5px; color: #705d36; font-size: 12px; }
.coin-score .subtle-button { color: #a18b5c; }

/* Quiz */
.quiz-layout { max-width: 700px; margin: 0 auto; padding: 26px 30px 24px; }
.quiz-topline { display: flex; justify-content: space-between; color: #9a91c9; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.quiz-score-label { color: #aaa6b4; }
.quiz-score-label strong { margin-left: 5px; color: #6a5cc4; font-size: 12px; }
.quiz-progress { height: 5px; margin: 12px 0 23px; border-radius: 8px; background: #f0eef7; overflow: hidden; }
.quiz-progress span { width: 20%; height: 100%; display: block; border-radius: inherit; background: #9a88ed; transition: width .3s; }
.quiz-question-number { color: #c1b9eb; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 900; }
.quiz-layout h2 { max-width: 580px; margin: 8px 0 19px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; line-height: 1.35; letter-spacing: -.6px; }
.quiz-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quiz-answer { min-height: 52px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border: 1px solid #eeedf3; border-radius: 11px; background: #fff; color: #5d596f; text-align: left; font-size: 10px; font-weight: 700; transition: .18s; }
.quiz-answer:hover:not(:disabled) { border-color: #b8acf8; background: #faf9ff; }
.answer-letter { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: #f3f0ff; color: #8978d9; font-size: 9px; font-weight: 900; }
.quiz-answer.correct { border-color: #81d7aa; background: #ebfbf1; color: #34865a; }
.quiz-answer.correct .answer-letter { background: #c8f0d9; color: #26774b; }
.quiz-answer.incorrect { border-color: #f1a3a3; background: #fff0f0; color: #b65e5e; }
.quiz-answer.incorrect .answer-letter { background: #ffdddd; color: #b65e5e; }
.quiz-feedback { min-height: 32px; padding-top: 12px; color: #928ca4; font-size: 9px; line-height: 1.5; }
.quiz-feedback.good { color: #34865a; }
.quiz-feedback.bad { color: #b65e5e; }
.quiz-controls { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #f1eff5; }
.quiz-controls .btn { min-height: 37px; }
.quiz-finish-emoji { grid-column: 1/-1; padding: 12px; font-size: 45px; text-align: center; }
.quiz-answers > p { grid-column: 1/-1; color: #89859b; font-size: 11px; text-align: center; }

/* Footer, toast, modal */
.site-footer { display: flex; align-items: center; gap: 17px; min-height: 59px; margin: 0 43px; padding: 12px 0; border-top: 1px solid #eae9f0; color: #aaa7b5; font-size: 9px; }
.footer-brand { color: #38334f; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 900; letter-spacing: -.5px; }
.footer-brand span { color: #8674e6; }
.footer-links { display: flex; gap: 13px; margin-left: auto; }
.footer-links a:hover { color: #7866d2; }
.copyright { padding-left: 10px; border-left: 1px solid #e4e2eb; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; max-width: calc(100% - 30px); padding: 11px 17px; border-radius: 11px; background: #29263f; color: #fff; font-size: 10px; font-weight: 700; box-shadow: 0 12px 35px rgba(30,26,54,.2); opacity: 0; pointer-events: none; transform: translate(-50%,15px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(30,27,50,.48); backdrop-filter: blur(4px); }
.modal-backdrop.open { display: flex; }
.info-modal { width: min(470px,100%); position: relative; padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 20px 70px rgba(25,20,50,.2); }
.modal-close { width: 30px; height: 30px; position: absolute; top: 17px; right: 17px; border: 0; border-radius: 9px; background: #f2f0f8; color: #6e6881; font-size: 20px; }
.info-modal h2 { margin: 8px 0 13px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; }
.info-modal p { color: #817d91; font-size: 11px; line-height: 1.8; }

@media (max-width: 1120px) {
  .sidebar { width: 220px; }
  .main-content { margin-left: 220px; }
  .topbar { padding: 0 28px; }
  .page-wrap { padding-right: 28px; padding-left: 28px; }
  .site-footer { margin-right: 28px; margin-left: 28px; }
  .hero-card { padding: 34px 31px; }
  .hero-art { transform: scale(.9); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .sidebar { width: 250px; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 15px 0 40px rgba(31,26,54,.13); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: 10px; }
  .topbar { height: 59px; padding: 0 20px; justify-content: flex-start; }
  .breadcrumb { flex: 1; }
  .topbar-right { margin-left: auto; }
  .topbar-status { display: none; }
  .page-wrap { padding: 25px 20px 42px; }
  .hero-card { grid-template-columns: 1.1fr .9fr; min-height: 300px; padding: 28px 25px; }
  .hero-card h1 { font-size: 39px; }
  .hero-art { transform: scale(.76); margin: -20px -24px; }
  .tool-layout, .wheel-layout { grid-template-columns: 1fr; }
  .result-panel { min-height: 350px; }
  .wheel-stage-panel { min-height: 500px; }
  .wheel-wrap { width: min(80vw,350px); }
  .site-footer { margin: 0 20px; }
}
@media (max-width: 600px) {
  .page-wrap { padding: 20px 14px 35px; }
  .topbar { padding: 0 13px; }
  .breadcrumb { gap: 7px; font-size: 10px; }
  .avatar-button { margin-left: 5px; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; padding: 25px 22px 12px; }
  .hero-card h1 { margin-top: 15px; font-size: 39px; }
  .hero-card p { max-width: 100%; }
  .hero-art { min-height: 205px; margin: 0; transform: scale(.78); transform-origin: top center; }
  .hero-proof { margin-top: 18px; }
  .section-heading { margin-top: 28px; }
  .section-heading h2 { font-size: 18px; }
  .category-grid { gap: 9px; }
  .category-card { min-height: 133px; padding: 13px; }
  .category-title { font-size: 10px; }
  .category-desc { font-size: 8px; }
  .quick-tools-grid { grid-template-columns: 1fr; }
  .quick-tool { padding: 11px 12px; }
  .bottom-callout { align-items: flex-start; }
  .callout-spark { right: 9px; top: -9px; }
  .page-intro { margin-bottom: 19px; }
  .page-intro h1 { font-size: 29px; }
  .page-intro p { max-width: 290px; font-size: 10px; }
  .intro-sticker { width: 48px; height: 48px; border-radius: 14px; font-size: 23px; }
  .input-panel, .wheel-options-panel, .group-panel { padding: 18px; }
  .result-panel { min-height: 335px; padding: 25px 18px 19px; }
  .wheel-stage-panel { min-height: 430px; padding: 22px 12px; }
  .wheel-wrap { width: min(84vw,310px); }
  .recommend-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .recommend-counter { padding: 0; }
  .recommend-feature { grid-template-columns: 1fr; padding: 20px; text-align: center; }
  .recommend-feature-art { width: 115px; height: 115px; margin-bottom: 14px; font-size: 56px; }
  .recommend-feature-copy h2 { font-size: 22px; }
  .recommend-actions { justify-content: center; }
  .mini-suggestion-grid { grid-template-columns: repeat(2,1fr); }
  .recommend-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .group-grid { grid-template-columns: 1fr; }
  .decision-tool, .coin-tool { min-height: 350px; padding: 25px 17px; }
  .quiz-layout { padding: 21px 17px; }
  .quiz-layout h2 { font-size: 19px; }
  .quiz-answers { grid-template-columns: 1fr; }
  .site-footer { margin: 0 14px; flex-wrap: wrap; gap: 9px 13px; padding: 13px 0; }
  .footer-links { margin-left: 0; }
  .copyright { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
