:root{font-family:Inter,system-ui,sans-serif;color:#20213a;background:#eaeef8}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0}button:focus-visible,input:focus-visible{outline:3px solid #fdc757}#app{max-width:520px;margin:auto;min-height:100vh;background:#f5f6fc;box-shadow:0 0 70px #26235d20;padding-bottom:100px}.hero{padding:25px 22px 32px;color:white;background:radial-gradient(circle at 90% 15%,#3987d7 0,transparent 40%),linear-gradient(135deg,#752ed4,#412dc8 55%,#5896e4);border-radius:0 0 30px 30px}.top{display:flex;justify-content:space-between;align-items:center;font-weight:800;letter-spacing:.1em}.top span{font-size:22px}.notice{background:#ffffff20;border:1px solid #ffffff35;padding:10px 13px;border-radius:12px;font-size:13px;margin:16px 0}.profile{display:flex;align-items:center;gap:12px;margin:24px 0 18px}.avatar{width:54px;height:54px;object-fit:cover;border-radius:50%;border:2px solid #fff}.profile small{opacity:.8}.profile strong{display:block;font-size:20px}.balances{display:flex;align-items:center;gap:8px}.round{width:44px;height:44px;background:#fff;color:#3c2ac5;font-size:24px;border-radius:50%;flex-shrink:0}.balance{flex:1;background:#3927ae83;padding:12px;text-align:center;border-radius:25px;font-weight:800}.content{padding:20px}.card{border-radius:24px;background:#fff;padding:22px;margin-bottom:15px;box-shadow:0 8px 30px #3a32650d}.profit{color:white;background:linear-gradient(120deg,#6c2ec1,#9c9fec);position:relative;overflow:hidden}.profit:after{content:'🪙';position:absolute;right:12px;top:24px;font-size:75px;opacity:.8}.eyebrow{font-size:13px;letter-spacing:.09em;text-transform:uppercase;opacity:.75}.value{font-size:36px;font-weight:850;margin:8px 0 18px;position:relative;z-index:1}.row{display:flex;gap:9px;flex-wrap:wrap}.btn{border-radius:14px;background:#fff;color:#4030b7;padding:13px 17px;font-weight:750}.primary{background:linear-gradient(110deg,#6c2fd1,#6a83ed);color:white}.gold{background:linear-gradient(110deg,#ffdb72,#ff9f36);color:#402268}.wide{width:100%;margin-top:15px}.muted{color:#7b7d90;font-size:14px;line-height:1.5}.profit .muted{color:#eee}.gift{background:linear-gradient(125deg,#8b57e6,#5724ac);color:white}.gift h2{margin:10px 0;font-size:24px}.art{float:right;font-size:65px}.invite{background:linear-gradient(120deg,#7a50db,#4d9cea);color:white}.invite h2{margin:10px 0}.bar{display:flex;justify-content:space-around;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);padding:12px 8px max(14px,env(safe-area-inset-bottom));background:#fffffff2;box-shadow:0 -6px 30px #2d23631c;z-index:5}.bar button{background:transparent;color:#87899a;font-size:11px;padding:4px}.bar button b{font-size:22px;display:block}.bar button.active{color:#632ed0;font-weight:800}h1{font-size:25px;margin:5px 0 20px}h2{font-size:19px}.back{background:transparent;padding:0 0 14px;color:#5332c9;font-weight:bold}.field{width:100%;border:1px solid #d7d9e9;background:white;border-radius:14px;padding:14px;margin:7px 0 14px;color:#24243b}.tabs{display:flex;gap:6px;overflow:auto;margin:15px 0}.tabs button{white-space:nowrap;padding:10px 12px;border-radius:12px;background:#eeeef5;color:#555}.tabs .selected{background:#5731cc;color:white}.result{background:#e1f5ec;border:1px dashed #71c9a2;border-radius:18px;padding:20px;text-align:center;color:#168d61}.result strong{font-size:28px;display:block}.line{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eee}.line:last-child{border:0}.pill{border-radius:30px;padding:5px 10px;background:#ece8fb;color:#5f36bd;font-size:12px}.disabled{opacity:.55}.admin{border:1px solid #ead5a0;background:#fff7e6}.footerlink{color:#7966a9;text-decoration:underline;background:none;margin:15px auto;display:block}.snow{letter-spacing:.4em;text-align:center;opacity:.8} .error{color:#af4242} @media(max-width:370px){.value{font-size:30px}.content{padding:15px}.card{padding:18px}}

/* Светло-салатовые карточки Santa Claus. */
.card{background:#eef9df;color:#253c22;box-shadow:0 8px 30px #568c3517;border:1px solid #d5edba}
.profit{background:linear-gradient(120deg,#c9f188,#e4f8c7);color:#214221}
.profit .muted{color:#466b40}
.gift{background:linear-gradient(125deg,#d5f3a1,#b9e77d);color:#244320}
.invite{background:linear-gradient(120deg,#dff7bb,#bce994);color:#244320}
.admin{background:#eef9df;border-color:#c4e5a4}
.card .muted{color:#5c7657}
.card .btn:not(.primary):not(.gold){color:#315c27}
.result{background:#e3f6cf;border-color:#a6d684;color:#327233}
.line{border-bottom-color:#d4e8c5}
.brand,.cover-title{background:linear-gradient(110deg,#fff3b0 0%,#ff7b91 24%,#ffda69 45%,#a1f4e4 68%,#d5afff 87%,#fff5bd 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 18px #fff4}
.santa-cover{position:relative;overflow:hidden;border-radius:24px;margin-bottom:18px;background:#071829;box-shadow:0 12px 26px #172b5340}
.santa-cover img{display:block;width:100%;height:auto}
.cover-title{position:absolute;top:3%;left:0;right:0;text-align:center;font-family:Georgia,serif;font-style:italic;font-size:clamp(24px,7vw,37px);font-weight:700;letter-spacing:.02em;margin:0;filter:drop-shadow(0 2px 3px #07122a)}
.cover-title span{font-family:system-ui,sans-serif;font-style:normal}
.hero{background:linear-gradient(90deg,rgba(2,22,15,.35),rgba(2,22,15,.1)),url('christmas-header.png') center center/cover no-repeat;box-shadow:0 10px 28px #113a272b}.hero .balance{background:rgba(4,34,24,.8);border:1px solid #c5e1a85c}.hero .notice{background:#0a291cbb;border-color:#d8edb94d}.hero .round{color:#1c6535;background:#f4ffdd}.header-sparkle{color:#ffe69a!important;font-size:27px!important}.team-summary{background:linear-gradient(125deg,#c3ee83,#e2f6c5);color:#25451f}.team-head,.team-total{display:flex;justify-content:space-between;align-items:center;gap:10px}.team-head strong{font-size:36px}.team-head h2{margin:0}.team-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.team-levels div{text-align:center;background:#ffffff88;border-radius:15px;padding:13px 5px;font-size:13px}.team-levels b{display:block;font-size:22px;margin-top:4px}.team-total{border-top:1px solid #9fc883;padding-top:14px;margin-top:16px;font-size:14px}.team-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.level-select{border:1px solid #cde4be;border-radius:12px;padding:9px;background:#fff;color:#315c27}
.card{background-image:linear-gradient(90deg,#eaf8d7 10%,#eaf8d7dd 63%,#eaf8d735),url('christmas-silver.png');background-position:center,right center;background-size:cover;background-repeat:no-repeat}.card:nth-of-type(even){background-image:linear-gradient(90deg,#e5f6cc 10%,#e5f6ccdf 63%,#e5f6cc35),url('christmas-red.png')}.profit{background-image:linear-gradient(90deg,#d3f3aa 0%,#d3f3aae0 58%,#d3f3aa38),url('christmas-silver.png')}.profit:after{content:none}.gift{background-image:linear-gradient(90deg,#d9f4ad 0%,#d9f4addd 60%,#d9f4ad35),url('christmas-red.png')}.invite{background-image:linear-gradient(90deg,#dff7bd 0%,#dff7bddd 60%,#dff7bd35),url('christmas-silver.png')}
.card.profit{background-image:linear-gradient(90deg,#d8f8a4 0%,#d8f8a4e8 42%,#d8f8a450 100%),url('profit-art.png');background-size:cover;background-position:center,right center}
.card.gift{background-image:linear-gradient(90deg,#dcf5b1 0%,#dcf5b1ef 43%,#dcf5b14a 100%),url('gift-art.png');background-size:cover;background-position:center,right center}
/* Более яркие праздничные карточки. */
.card{background-color:#d8f79f;background-image:linear-gradient(90deg,#e6ffba 0%,#e6ffbaf0 48%,#e6ffba60 100%),url('christmas-silver.png');background-position:center,right center;background-size:cover;border:1px solid #c0e879;box-shadow:0 8px 22px #63a93c2b,0 1px 5px #fff inset}
.card:nth-of-type(even){background-image:linear-gradient(90deg,#e4ffb4 0%,#e4ffb4e8 48%,#e4ffb445 100%),url('christmas-red.png')}
.card.profit{background-image:linear-gradient(90deg,#d8ff87 0%,#d8ff87ef 42%,#d8ff8715 100%),url('profit-art.png');background-position:center,right center}
.card.gift{background-image:linear-gradient(90deg,#e3ffad 0%,#e3ffadf0 42%,#e3ffad12 100%),url('gift-art.png');background-position:center,right center}
.card.invite{background-image:linear-gradient(90deg,#e5ffb9 0%,#e5ffb9ed 45%,#e5ffb92b 100%),url('christmas-silver.png')}
.card h1,.card h2,.card b,.card strong{color:#183f1d}.card .muted{color:#456c3e}.card .gold{background:linear-gradient(110deg,#ffe66a,#ffad24);color:#4a300a;box-shadow:0 4px 14px #d98a2450}.card .primary{background:linear-gradient(110deg,#228b4c,#53ab42);color:#fff}.result{background:#e4ffd1ed;color:#12693a}
/* Праздничный мобильный интерфейс */
#app{background:radial-gradient(circle at 8% 24%,#f0ffd0 0,transparent 26%),linear-gradient(180deg,#f6ffed,#e7f8e2 65%,#f7fff1)}
.hero{position:relative;border-radius:0 0 32px 32px;box-shadow:0 14px 28px #124d3045}
.hero:after{content:"";display:block;height:9px;margin:16px 2px -13px;background:radial-gradient(circle,#ffd467 0 3px,transparent 4px) 0 0/34px 9px,radial-gradient(circle,#ff6371 0 3px,transparent 4px) 17px 0/34px 9px;filter:drop-shadow(0 0 5px #ffca43)}
.hero .brand{font-size:clamp(20px,6vw,27px);letter-spacing:.055em;filter:drop-shadow(0 2px 3px #0008)}
.card{border-radius:24px;border:1px solid #b6e77a;box-shadow:0 8px 23px #438f422e,0 2px 0 #ffffffaa inset}
.card .btn:not(:disabled){box-shadow:0 4px 12px #43852b30}.bar{border-radius:24px 24px 0 0;background:#fafff5f5;box-shadow:0 -6px 25px #2d6a3526}.bar button.active{color:#25843d}
@media(max-width:520px){.hero{padding:20px 18px 28px}.content{padding:16px 14px}.card{padding:20px;margin-bottom:14px}.card h2{font-size:21px}.btn{min-height:46px}.bar button{min-width:48px}.value{font-size:clamp(27px,9vw,38px)}.gift,.invite{min-height:205px}.gift p,.invite p{max-width:67%}.team-levels div{font-size:12px}}
.card.invite,.card.team-summary{background-image:linear-gradient(90deg,#e5ffb8 0%,#e5ffb8ee 43%,#e5ffb815 100%),url('team-art.png');background-position:center,right center;background-size:cover}.card.team-summary .team-levels div{background:#f7ffe1dc}
/* Яркая новогодняя шапка и украшения для мобильного экрана. */
.hero{background:linear-gradient(90deg,#e7ffb9d9 0%,#e7ffb98f 57%,#e7ffb90a 100%),url('bright-header.png') right center/cover no-repeat;color:#173e20;isolation:isolate}
.hero .brand{font-family:Georgia,serif;font-style:italic;font-weight:800;text-transform:none;background:linear-gradient(90deg,#a61d36,#dc9b08,#196c3a,#9c2347);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 1px 1px #fff);animation:christmas-shine 5s ease-in-out infinite alternate}
.hero .profile small{opacity:1;color:#19492b}.hero .profile strong{color:#143b20;text-shadow:0 1px #fff8}
.hero .notice{background:#efffdfed;border-color:#7daf66;color:#245025}
.hero .balance{background:#e0ffa1ed;border:1px solid #a3d857;color:#144522;box-shadow:0 3px 14px #48913a40}
.hero .round{position:relative;background:radial-gradient(circle at 33% 23%,#fffed3 0%,#c6ff74 30%,#77c827 76%,#3c8b19 100%);color:#164c24;border:1px solid #a4dc49;box-shadow:inset -3px -4px 8px #48891b66,0 3px 9px #305b2266;z-index:1}
.hero .round:before{content:"";position:absolute;width:14px;height:5px;top:-4px;left:50%;transform:translateX(-50%);border-radius:3px 3px 0 0;background:linear-gradient(#fff1a1,#dba428);border:1px solid #a77b20}
.hero .round:after{content:"✦";position:absolute;top:1px;right:5px;font-size:10px;color:#fff9b7;animation:twinkle 2.4s ease-in-out infinite alternate}
.hero:after{animation:twinkle 2.4s ease-in-out infinite alternate}.header-sparkle{color:#b56d06!important;text-shadow:0 0 8px #fff,0 0 15px #fff669;animation:twinkle 2s ease-in-out infinite alternate}
.card{filter:saturate(1.13);border-color:#a8df60}.card.profit,.card.gift,.card.invite{filter:saturate(1.25)}
@keyframes twinkle{from{opacity:.65;filter:brightness(.95)}to{opacity:1;filter:brightness(1.3) drop-shadow(0 0 4px #ffed74)}}
@keyframes christmas-shine{from{background-position:0% 50%}to{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.hero .brand,.hero .round:after,.hero:after,.header-sparkle{animation:none}}
/* Единый ярко-салатовый тон для карточек во всех разделах. */
.card,.card:nth-of-type(even){background-color:#caff65;background-image:linear-gradient(90deg,#caff65 0%,#caff65ee 57%,#caff65a3 100%),url('christmas-silver.png');background-size:cover;background-position:center,right center;border-color:#a2df43;color:#193d1c}
.card:nth-of-type(even){background-image:linear-gradient(90deg,#caff65 0%,#caff65ee 57%,#caff65a3 100%),url('christmas-red.png')}
.card.profit{background-image:linear-gradient(90deg,#caff65 0%,#caff65e8 46%,#caff6533 100%),url('profit-art.png')}
.card.gift{background-image:linear-gradient(90deg,#caff65 0%,#caff65ef 46%,#caff6555 100%),url('gift-art.png')}
.card.invite,.card.team-summary{background-image:linear-gradient(90deg,#caff65 0%,#caff65ef 46%,#caff6555 100%),url('team-art.png')}
.card .result{background:#c5f96de8;border-color:#78be35;color:#164d24}
.card.team-summary .team-levels div{background:#ddff9eed;color:#193d1c}
.card .muted{color:#345d30}.card .line,.card .team-total{border-color:#8dcf4b}
/* Яркий общий цвет и чётко видимые новогодние украшения. */
.hero{background-image:linear-gradient(90deg,#caff65 0%,#caff65f2 40%,#caff6550 72%,#caff6508 100%),url('bright-header.png');background-position:center,right center;background-size:cover;color:#163d1d}
.hero .notice,.hero .balance{background:#d2ff83e8;border-color:#8acb32;color:#16451f}
.card,.card:nth-of-type(even){background-image:linear-gradient(90deg,#caff65 0%,#caff65f5 40%,#caff6580 65%,#caff6508 100%),url('christmas-silver.png');background-position:center,right center;background-size:cover}
.card:nth-of-type(even){background-image:linear-gradient(90deg,#caff65 0%,#caff65f5 40%,#caff6580 65%,#caff6508 100%),url('christmas-red.png')}
.card.profit{background-image:linear-gradient(90deg,#caff65 0%,#caff65f0 37%,#caff6550 65%,#caff6508 100%),url('profit-art.png')}
.card.gift{background-image:linear-gradient(90deg,#caff65 0%,#caff65f0 37%,#caff6550 65%,#caff6508 100%),url('gift-art.png')}
.card.invite,.card.team-summary{background-image:linear-gradient(90deg,#caff65 0%,#caff65f0 37%,#caff6550 65%,#caff6508 100%),url('team-art.png')}
.card p,.card label{position:relative;text-shadow:0 1px 2px #dfff9a,0 0 5px #dfff9a}
.support-link{color:inherit;text-decoration:none}.support-link:hover{text-decoration:underline}.support-link:focus-visible{outline:3px solid #336b21;outline-offset:4px;border-radius:5px}
.hero .brand{font-size:clamp(25px,7.3vw,36px);font-weight:900;letter-spacing:.015em;filter:drop-shadow(0 1px 1px #fff) drop-shadow(0 0 5px #fff68b)}
.market-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.market-heading h2{margin:0}.market-live{color:#236b2e;background:#e7ffbe;border-radius:20px;padding:6px 9px;font-size:11px;font-weight:800}.market-status{font-size:13px;color:#345d30;font-weight:650}.market-list{display:grid;gap:8px;margin:14px 0}.market-row{display:flex;align-items:center;gap:9px;border:1px solid #9cce5c;background:#f3ffe4ef;border-radius:16px;padding:12px 10px;color:#153d21}.market-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#235f32;color:white;font-weight:800;flex:none}.market-name{font-size:16px;font-weight:800;flex:1}.market-name small,.market-price small{display:block;font-size:11px;font-weight:500;color:#54754d}.market-price{text-align:right;font-weight:750}.market-change{border-radius:10px;padding:7px 8px;min-width:76px;text-align:center;font-size:13px}.market-change.up{color:#0e743d;background:#d0f5db}.market-change.down{color:#ad252b;background:#ffe0df}.market-change.flat{color:#58665a;background:#edf3e7}.market-refresh{margin-top:4px}.market-caption{font-size:12px}
/* Рыночные котировки: отдельные цвета активов и контрастные показатели. */
.market-intro{background-image:linear-gradient(120deg,#eaffcdee,#d4f6a7d9),url('christmas-silver.png')!important;background-position:center,right center!important}
.market-intro .market-heading h2{color:#173828;font-size:22px}.market-intro .market-live{background:#143b2b;color:#dcff95;letter-spacing:.04em}
.market-intro .market-status{color:#315b45}.market-intro .market-list{gap:10px}
.market-intro .market-row{background:#ffffffed;border:1px solid #d7e6d4;border-radius:16px;padding:13px 12px;box-shadow:0 4px 13px #24452b12}
.market-intro .market-name{color:#1f302a;letter-spacing:.01em}.market-intro .market-name small,.market-intro .market-price small{color:#74857a}
.market-intro .market-price{color:#24362c}.market-intro .market-icon{color:#fff;box-shadow:inset 0 1px 2px #ffffff80,0 2px 5px #112a1d22}
.market-intro .market-btc{background:#f7931a}.market-intro .market-eth{background:#6674b8}.market-intro .market-bnb{background:#e4b70a;color:#332900}.market-intro .market-sol{background:#5d44a8}.market-intro .market-xrp{background:#313d42}.market-intro .market-trx{background:#dc3c4f}.market-intro .market-doge{background:#b6973f}.market-intro .market-ada{background:#366cc8}
.market-intro .market-change.up{color:#096d3c;background:#d4f4df}.market-intro .market-change.down{color:#ab2630;background:#ffe1df}.market-intro .market-change.flat{color:#5a6b60;background:#eef2ed}
@media(min-width:700px){.market-intro .market-list{grid-template-columns:1fr 1fr}.market-intro .market-row{min-width:0}}
@media(max-width:360px){.market-intro .market-row{gap:6px;padding:10px 8px}.market-intro .market-change{min-width:68px;padding:6px}.market-intro .market-name{font-size:14px}}
.language-line select{max-width:58%;border:1px solid #9bcf5b;border-radius:12px;background:#f6ffe9;color:#183d22;padding:10px;font-size:14px}.language-line{align-items:center;gap:8px}[dir="rtl"] .market-row{direction:rtl}[dir="rtl"] .market-price,[dir="rtl"] .market-change{direction:ltr}
.hero-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0}.hero-actions .language-line{display:flex;align-items:center;gap:5px;border:0;padding:0;margin:0;flex:1;justify-content:flex-end}.hero-actions .language-line span{display:none}.hero-actions .language-line select{max-width:100%;width:auto;background:#f3ffd9;color:#174522;border:1px solid #84cc37;border-radius:14px;font-size:14px;font-weight:700;padding:10px}.install-button{border:1px solid #77bf28;border-radius:14px;padding:11px 13px;background:linear-gradient(135deg,#efffb8,#9ff23f);color:#194819;font-size:14px;font-weight:800;box-shadow:0 3px 9px #3c6f2744}.install-help{background:#f5ffe7;color:#1b4822;border:1px solid #95cf50;border-radius:16px;padding:12px 14px;margin:10px 0;font-size:14px;line-height:1.45}.install-help[hidden]{display:none}.install-help p{margin:0 0 10px}@media(max-width:360px){.hero-actions .language-line select{font-size:13px}.install-button{font-size:13px;padding:10px}}
/* Unified transaction history and festive navigation */
.bar{gap:4px}.bar button{flex:1;min-width:0;border-radius:14px;background:#b51e32;color:#fff;font-weight:700;padding:6px 2px;box-shadow:0 3px 8px #a41d2730}.bar button.active{color:#fff;background:#761126;box-shadow:inset 0 0 0 2px #ffd781,0 3px 8px #a41d2744}.bar button b{color:#fff}.history-filters{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.history-filter{border:1px solid #d86d70;border-radius:13px;background:#fff7ee;color:#8b2330;padding:10px 14px;font-weight:700;min-height:44px}.history-filter.selected{color:#fff;background:#b51e32;border-color:#b51e32}.history-empty{text-align:center;background:#f9fff0df;border-radius:18px;padding:20px 14px;margin-top:12px}.history-empty h2{margin:8px 0}.history-icon{font-size:27px;color:#b51e32}.history-shortcut{display:block;margin:12px auto 0}.plan-box{background:#f9fff1e8;border:1px solid #b7df7b;border-radius:18px;padding:14px;margin:8px 0}.plan-box h2{margin:0 0 7px}.plan-box p{font-size:14px;line-height:1.45}.notification-card h2{margin-top:0}.notification-card p{margin-bottom:0}@media(max-width:360px){.bar button{font-size:10px}.history-filter{padding:9px}}
.plan-options{display:grid;gap:8px}.plan-option{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #c3df9f;border-radius:14px;background:#fffef1eF}.plan-option:has(input:checked){border:2px solid #ad2034;background:#fff6ef}.plan-option input{accent-color:#b51e32;flex:none}.plan-option>span{flex:1;min-width:0}.plan-option strong,.plan-option small{display:block}.plan-option small{font-size:12px;color:#526d4c;margin-top:3px}.plan-option b{white-space:nowrap;color:#a51b30!important;font-size:14px}.plan-option b span{font-size:12px;font-weight:600}
/* Christmas navigation: one evergreen colour, gold decoration, legible labels. */
.bar{background:#e8f9d7f7;border-top:1px solid #b5db87;gap:5px;padding:10px 8px max(12px,env(safe-area-inset-bottom))}.bar button,.bar button.active{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;min-width:0;min-height:60px;padding:6px 2px;border:1px solid #0f5738;border-radius:14px;background:#145a3a;color:#fff;font-size:11px;font-weight:750;line-height:1.1;box-shadow:0 3px 8px #285c3530}.bar button svg{width:23px;height:23px;flex:none;color:#fff}.bar button span{max-width:100%;overflow-wrap:anywhere}.bar button.active{border-color:#ffd774;box-shadow:inset 0 0 0 2px #ffd774,0 3px 8px #285c3530}.bar button.active:after{content:'✦';position:absolute;top:1px;right:5px;font-size:10px;color:#ffdd7b}.bar button:focus-visible{outline:3px solid #8f4e02;outline-offset:2px}@media(max-width:360px){.bar{gap:3px;padding-left:5px;padding-right:5px}.bar button,.bar button.active{font-size:10px;min-height:58px}.bar button svg{width:21px;height:21px}}
.brand-block{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.hero .top .brand{display:inline-block;font-family:Georgia,serif;font-style:italic;font-size:clamp(31px,9vw,46px);line-height:1.08;letter-spacing:-.02em;background:linear-gradient(90deg,#93152c,#b04e00,#355d0a,#00675e,#3044aa,#8d207d,#a01c37,#a94e00);background-size:240% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 #fff) drop-shadow(0 1px 2px #fff9);animation:rainbow-wave 2.8s linear infinite}.hero .top .brand-subtitle{display:block;font-family:system-ui,sans-serif;font-style:normal;font-size:clamp(15px,4.2vw,19px);font-weight:800;letter-spacing:0;line-height:1.25;color:#153f28;text-shadow:0 1px 2px #efffd0}.hero .top .header-sparkle{align-self:flex-start}@keyframes rainbow-wave{from{background-position:100% 50%}to{background-position:0% 50%}}@media(prefers-reduced-motion:reduce){.hero .top .brand{animation:none}}@media(max-width:360px){.hero .top .brand{font-size:30px}.hero .top .brand-subtitle{font-size:15px}}
/* Светлые праздничные кнопки с радужным обрамлением. */
.bar button,.bar button.active{border:2px solid transparent;background:linear-gradient(115deg,#f2fff5,#e0f9ff,#fff1ec) padding-box,linear-gradient(110deg,#47bed4,#53ca90,#ef7b8a,#eacb67,#47bed4) border-box;background-size:100% 100%,300% 100%;color:#123c3e;box-shadow:0 3px 10px #47785a30;animation:button-border-wave 4s linear infinite}.bar button svg{color:#123c3e}.bar button.active{box-shadow:inset 0 0 0 1px #9b7512,0 3px 10px #47785a40}.bar button.active:after{color:#a65d00}.bar button:focus-visible{outline:3px solid #16577b;outline-offset:2px}.plan-option,.plan-option:has(input:checked){border:2px solid transparent;background:linear-gradient(110deg,#f8fff2,#e8fbff,#fff5ee) padding-box,linear-gradient(110deg,#55bfd1,#78cf8e,#ee8992,#e2c66a,#55bfd1) border-box;background-size:100% 100%,300% 100%;animation:button-border-wave 4s linear infinite}.plan-option:has(input:checked){box-shadow:inset 0 0 0 1px #a2771e}.plan-option b{color:#96313e!important}.plan-option input{accent-color:#17636d}@keyframes button-border-wave{from{background-position:0 0,0% 50%}to{background-position:0 0,150% 50%}}@media(prefers-reduced-motion:reduce){.bar button,.bar button.active,.plan-option,.plan-option:has(input:checked){animation:none}}
/* Новогодняя статистика: яркий лаймовый фон и ёлочные украшения. */
.card.market-intro{position:relative;overflow:hidden;background-color:#c9ff6d;background-image:linear-gradient(90deg,#caff70f7 0%,#caff70e5 45%,#caff7085 72%,#caff7020 100%),url('bright-header.png')!important;background-repeat:no-repeat!important;background-position:center,top right!important;background-size:100% 100%,auto 570px!important;border:1px solid #80cf20;box-shadow:0 10px 25px #459a3d38,inset 0 1px 1px #fff9}.market-intro .market-heading{position:relative;gap:8px}.market-intro .market-heading h2{color:#123d22;text-shadow:0 1px 2px #eaffbe;font-size:clamp(20px,5.3vw,24px)}.market-intro .market-live{background:#185f39;color:#f5ffcc;border:1px solid #e1fc87;box-shadow:0 0 12px #fff884a0;font-size:11px}.market-intro>p.muted,.market-intro .market-status{position:relative;color:#244c28;text-shadow:0 1px 2px #eaffbb;font-size:14px}.market-intro .market-status{display:inline-block;padding:6px 10px;border-radius:12px;background:#f2ffdacc;border:1px solid #d6f5a0}.market-intro .market-row{position:relative;background:#fcfff4f2;border:1px solid #e1f5c5;box-shadow:0 4px 13px #2d601c20,0 1px 0 #fff inset}.market-intro .market-refresh{background:#f9ffe9;color:#195438;border:1px solid #a8d461}.market-intro .market-caption{background:#f1ffd5dc;border-radius:12px;padding:9px 11px}.market-intro:after{content:'✦';position:absolute;top:10px;right:12px;color:#fff5ac;font-size:15px;pointer-events:none;text-shadow:0 0 8px #fff35a;animation:market-sparkle 2.5s ease-in-out infinite alternate}@keyframes market-sparkle{from{opacity:.55;transform:scale(.8)}to{opacity:1;transform:scale(1.2)}}@media(prefers-reduced-motion:reduce){.market-intro:after{animation:none}}
/* Панель в цвет карточек: синие значки и подписи. */
.bar button,.bar button.active{background:linear-gradient(135deg,#e4ffad,#bfff65 52%,#dcff9a) padding-box,linear-gradient(110deg,#47bed4,#53ca90,#ef7b8a,#eacb67,#47bed4) border-box;background-size:100% 100%,300% 100%;color:#153d9c;text-shadow:0 1px 0 #efffc2;box-shadow:0 3px 10px #47785a30}.bar button svg{color:#153d9c}.bar button.active{box-shadow:inset 0 0 0 1px #3a67bb,0 3px 10px #47785a40}.bar button.active:after{color:#2455aa}.profile-statistics{width:100%;background:transparent;color:inherit;text-align:start;cursor:pointer}.profile-statistics:hover{text-decoration:underline}.profile-statistics:focus-visible{outline:3px solid #2455aa;outline-offset:3px;border-radius:4px}
.market-intro>p.muted:not(.market-caption){background:#efffd9e8;border-radius:12px;padding:9px 11px;text-shadow:none}.market-intro .market-status{text-shadow:none}
