.region-save-state{margin:8px 0 0;padding:4px 0;border:0;background:transparent;color:var(--muted);font-size:12px;min-height:28px}.region-save-state:disabled{cursor:default;opacity:1}.region-save-state:not(:disabled){color:#bc401a;text-decoration:underline}
html[data-maple-ambient^="ambient-"] body{background:#cddcd7}html[data-maple-ambient^="ambient-"] .maple-bg{z-index:0;background-size:cover;background-position:center;background-repeat:no-repeat}html[data-maple-ambient^="ambient-"] .app-shell,html[data-maple-ambient^="hero-"] .app-shell{position:relative;z-index:1}html[data-maple-ambient^="ambient-"] .maple-bg::after{background:linear-gradient(180deg,rgba(246,249,247,.06),rgba(246,249,247,.16))}html[data-maple-ambient="ambient-sage"]{--maple:#358573;--maple2:#64a897;--maple-dark:#296456;--cream:#f0f7f3;--line:#dbe7de}html[data-maple-ambient="ambient-sage"] .maple-bg{background-image:url('/assets/maple-v4/ambient/sage.png')}html[data-maple-ambient="ambient-blue"]{--maple:#388db0;--maple2:#74baca;--maple-dark:#2a6485;--cream:#f1f8fb;--line:#d9e7f0}html[data-maple-ambient="ambient-blue"] .maple-bg{background-image:url('/assets/maple-v4/ambient/blue.png')}html[data-maple-ambient="ambient-rose"]{--maple:#b96d83;--maple2:#d8989f;--maple-dark:#885065;--cream:#fff4f7;--line:#efdee5}html[data-maple-ambient="ambient-rose"] .maple-bg{background-image:url('/assets/maple-v4/ambient/rose.png')}html[data-maple-ambient="ambient-purple"]{--maple:#8173b0;--maple2:#a599cc;--maple-dark:#5d5286;--cream:#f6f3fd;--line:#e1dcee}html[data-maple-ambient="ambient-purple"] .maple-bg{background-image:url('/assets/maple-v4/ambient/purple.png')}html[data-maple-ambient^="ambient-"] .white-card{background:rgba(255,255,255,.83);backdrop-filter:blur(12px)}
.ambient-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ambient-options button{border:2px solid transparent;border-radius:16px;background:#f7f8f6;overflow:hidden;padding:0 0 12px;min-height:44px;color:var(--text)}.ambient-options button[aria-pressed="true"]{border-color:var(--maple)}.ambient-options img,.ambient-original{display:block;width:100%;height:140px;object-fit:cover;margin-bottom:10px}.ambient-original{display:grid;place-items:center;background:linear-gradient(135deg,#ffeed4,#e6c8ae);font-size:40px}.ambient-sheet{padding-bottom:max(24px,var(--maple-device-bottom,0px),env(safe-area-inset-bottom))}.real-gift-image{object-fit:contain;width:58px!important;height:58px!important}
.gift-receipt{position:fixed;inset:0;display:grid;place-items:center;overflow:hidden;padding:calc(max(env(safe-area-inset-top),var(--maple-device-top,0px)) + var(--maple-content-top,48px)) 22px max(24px,env(safe-area-inset-bottom));isolation:isolate}.gift-receipt.hidden{display:none}.gift-receipt-backdrop{position:absolute;inset:0;background:radial-gradient(ellipse at center,#5f425ee8,#171d35f5);backdrop-filter:blur(15px)}.gift-receipt-card{position:relative;z-index:2;max-width:360px;width:100%;text-align:center;color:#fff;padding:26px 20px;border-radius:28px;background:#ffffff12;border:1px solid #ffffff38;box-shadow:0 25px 90px #06081b66;animation:gift-arrive .65s ease both}.gift-receipt-card img{display:block;width:150px;height:150px;object-fit:contain;margin:24px auto;filter:drop-shadow(0 0 25px #ffcfde66)}.gift-receipt-card h2{font-size:26px}.gift-receipt-card small{display:block;color:#f4d7e3}.gift-receipt-card button{border:1px solid #ffffff44;background:#ffffff20;color:#fff;border-radius:14px;min-height:44px;padding:8px 24px;margin-top:20px}.gift-receipt-card .gift-receipt-close{position:absolute;top:12px;right:12px;width:44px;margin:0;padding:0;font-size:24px}.gift-particle{position:absolute;z-index:1;top:-10%;left:var(--particle-x);font-size:25px;font-style:normal;animation:gift-fall 3.2s var(--particle-delay) ease-in infinite;pointer-events:none}@keyframes gift-arrive{from{opacity:0;transform:scale(.75)}to{opacity:1;transform:scale(1)}}@keyframes gift-fall{to{transform:translateY(115dvh) rotate(var(--particle-turn));opacity:.2}}@media(prefers-reduced-motion:reduce){.gift-particle{display:none}.gift-receipt-card{animation:none}}

html[data-maple-ambient^="hero-"]{--text:#f2f2fa;--muted:#c1bccf;--paper:#242337;--cream:#252639;--line:#57516c}html[data-maple-ambient^="hero-"] body{background:#11141b}html[data-maple-ambient^="hero-"] .maple-bg{z-index:0;background-size:cover;background-position:center;background-repeat:no-repeat}html[data-maple-ambient^="hero-"] .maple-bg::after{background:linear-gradient(180deg,#10101922,#10101933 55%,#10101955)}html[data-maple-ambient^="hero-"] .white-card,html[data-maple-ambient^="hero-"] .list-head{background:#1d20204d;backdrop-filter:blur(8px);border:1px solid #ffffff20;color:var(--text)}html[data-maple-ambient^="hero-"] .white-card input,html[data-maple-ambient^="hero-"] .white-card select{background:#181b2999;color:var(--text);border-color:#ffffff30}html[data-maple-ambient^="hero-"] .teacher-info,html[data-maple-ambient^="hero-"] .card-back{color:#30251f}html[data-maple-ambient^="hero-"] .modal .bottom-sheet,html[data-maple-ambient^="hero-"] .detail-sheet{color:#30251f;--text:#30251f;--muted:#8b7769;--paper:#fffdfa;--cream:#fff8f1;--line:#efe1d5}html[data-maple-ambient="hero-purple"]{--maple:#a78de0;--maple2:#c9abea;--maple-dark:#7154ad}html[data-maple-ambient="hero-purple"] .maple-bg{background-image:url('/assets/maple-v4/ambient/hero-purple.png')}html[data-maple-ambient="hero-black"]{--maple:#a996c7;--maple2:#c3b4dd;--maple-dark:#725f98}html[data-maple-ambient="hero-black"] .maple-bg{background-image:url('/assets/maple-v4/ambient/hero-black.png')}html[data-maple-ambient="hero-green"]{--maple:#78bba4;--maple2:#a6d6b5;--maple-dark:#407e66}html[data-maple-ambient="hero-green"] .maple-bg{background-image:url('/assets/maple-v4/ambient/hero-green.png')}
html[data-maple-ambient^="hero-"] .hero-card{background:#1d20204d;border-color:#ffffff20}html[data-maple-ambient^="hero-"] .brand-block p{color:#dad3e5}html[data-maple-ambient^="hero-"] .local-preview{background:#13172877;border-color:#ffffff22}html[data-maple-ambient^="hero-"] .my-btn{background:#13172899;color:#f5f2fb}html[data-maple-ambient^="hero-"] .recharge-btn{background:linear-gradient(135deg,var(--maple),var(--maple-dark))}html[data-maple-ambient^="hero-"] .project-item{color:#30251f}html[data-maple-ambient^="hero-"] .project-item.active{color:white}html[data-maple-ambient^="hero-"] .white-card .section-title small,html[data-maple-ambient^="hero-"] .group-info p{color:#d0c6dc}html[data-maple-ambient^="hero-"] .maple-bg,html[data-maple-ambient^="ambient-"] .maple-bg{background-attachment:scroll}
