/* дополнения к дизайну v11: кабинет, корзина, почта, отзывы, админка — те же цвета */
.nav-user{display:flex;gap:16px;align-items:center}
.nav-user a{position:relative;color:#eac67e}
.nav-user b{position:absolute;top:-8px;right:-12px;background:#b56eff;color:#fff;border-radius:10px;font-size:11px;padding:0 6px;line-height:16px}
.flash{max-width:1152px;margin:16px auto 0;padding:12px 18px;border:1px solid #b77c40;border-radius:10px;background:#21142e;color:#ffda8b}
.center{text-align:center}
.tile input,.tile select,.tile textarea,.admin input,.admin select,.admin textarea,.auth input{width:100%;padding:11px 12px;border:1px solid #624b80;border-radius:6px;background:#0d0b16;color:#fff;font:inherit}
.tile label,.auth label{display:grid;gap:6px;margin:12px 0}
.btn.ghost{background:transparent;color:#f6d38b;border-color:#b98a46}
.btn.sm{padding:7px 14px;font-size:13px}
.btn[disabled]{opacity:.55;cursor:not-allowed}
button.link{background:none;border:0;color:#c4a6e2;cursor:pointer;text-decoration:underline}
.auth-box{max-width:460px;margin:0 auto}
.auth-box .btn{width:100%;margin-top:8px}
.oauth{display:grid;gap:10px}
.err{color:#ff8f8f}
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th,.tbl td{padding:10px 8px;border-bottom:1px solid #30253f;text-align:left;vertical-align:top}
.tbl th{color:#f5d58b;background:#251a35}
.tbl-wrap{overflow-x:auto}
.cart-total{font-size:22px}
.cart-total strong{color:#ffd17a;font:bold 30px Georgia}
.pay-opt{display:flex!important;grid-template-columns:none;gap:10px;align-items:center}
.pay-opt input{width:auto}
.alt-pay{display:flex;flex-wrap:wrap;gap:10px}
.cab-grid{grid-template-columns:1fr 2fr}
.discount-badge{padding:10px 14px;border:1px solid #b88a43;border-radius:10px;background:linear-gradient(140deg,#35151c,#160e21);color:#ffd17a}
code.keys{display:block;padding:10px;background:#0d0b16;border:1px solid #624b80;border-radius:6px;color:#a6e4a8;word-break:break-all}
.thread{max-width:820px;margin:0 auto}
.msg{max-width:80%;margin:10px 0;padding:10px 14px;border-radius:12px;border:1px solid #49345d;background:#15111f}
.msg.me{margin-left:auto;border-color:#b98a46;background:#21142e}
.msg small{color:#b9adc9}.msg p{margin:6px 0 0;white-space:normal}
.reviews-list{margin-bottom:20px}
.review .stars,.stars{color:#ffd17a;letter-spacing:2px}
.review p{color:#e3d9ee}
.admin-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;justify-content:center}
.admin-nav a{padding:9px 16px;border:1px solid #624b80;border-radius:8px;color:#d9cce9}
.admin-nav a.on{background:linear-gradient(#ffe49a,#d18b25);color:#241303;border-color:#ffe3a0}
.admin .tile{margin-bottom:16px}
.admin h3{color:#eac67e}
.row-form{display:flex;gap:10px;margin-bottom:14px}
.row-form input{max-width:320px}
.rev-edit label{max-width:720px}
.shop-buy input{width:110px}
@media(max-width:700px){nav>div{display:flex!important;gap:12px}nav>div>a{display:none}}
@media(max-width:767px){.cab-grid{grid-template-columns:1fr}.nav-user{gap:10px;font-size:13px}.msg{max-width:95%}.tbl{font-size:12px}}

/* логотип в шапке: в v11 без размера — ограничиваем высоту, иначе меню выталкивает кнопку */
.nav-logo{height:70px;width:auto;display:block}
@media(max-width:700px){.nav-logo{height:48px}}

/* карточка товара: крупный арт режима, галерея, пункты галочками (как карточки тарифов v11) */
.shop-art{position:relative;aspect-ratio:415/184;display:flex;align-items:flex-end;justify-content:flex-start}
.shop-art .shop-icon{margin:14px;font-size:44px;color:#ffdc88;text-shadow:0 0 24px #e9a23c,0 2px 6px #000}
.shop-thumbs button{width:110px;height:50px}
.shop-thumbs button.on{outline:2px solid #ffd17a;outline-offset:2px}
.shop-short{font-size:18px;color:#eac67e}
.shop-feat{list-style:none;padding:0}
.shop-feat li{padding:8px 0;border-bottom:1px solid #ffffff0b;margin:0}
.shop-feat li:before{content:'✓';color:#eac67e;margin-right:10px}
.shop-copy .shop-price{font:bold 40px Georgia}
.product-art{background-size:cover}
@media(max-width:767px){.shop-art{aspect-ratio:415/184}.shop-copy .shop-price{font-size:30px}}
.center-block{display:block;text-align:center}
.product-art{display:grid}
.product h3 a{color:inherit}
.fund-targets small,.fund-rewards small.fund-left{display:block}
.fund-rewards progress{width:100%;height:9px;accent-color:#e8a12c}
.fund-left{color:#ffda8b;font-size:12px;margin-top:6px}

/* «Твой персонаж»: плитки раскрывают описание */
#features .feature{font:inherit;color:inherit;cursor:pointer;padding:0;transition:transform .2s,box-shadow .2s,border-color .2s}
#features .feature:hover{transform:translateY(-3px);border-color:#b56eff;box-shadow:0 0 18px #9d43ff55}
#features .feature[aria-selected="true"]{border-color:#ffd17a;box-shadow:0 0 22px #e8a12c66}
#features .feature p{position:relative}
#features .feature p:after{content:' ▾';color:#e9bb66;font-size:12px}
#features .feature[aria-selected="true"] p:after{content:' ▴'}
.feat-panel{margin-top:16px;padding:24px;border:1px solid #b66cff;border-radius:14px;background:linear-gradient(120deg,#181027,#100c1c 75%);box-shadow:0 0 14px #9d43ff44,inset 0 0 12px #b66cff22;animation:featIn .35s ease}
@keyframes featIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.feat-head h3{font:bold clamp(24px,3vw,34px) Georgia;color:#ffd17a;margin:8px 0}
.feat-head p{color:#d9cce9;margin:0 0 16px}
.feat-badge{display:inline-block;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;padding:4px 10px;border-radius:20px;font-weight:800}
.feat-badge.on{background:#1f3b28;color:#a6e4a8;border:1px solid #4f9a5c}
.feat-badge.part{background:#3a2a12;color:#ffd17a;border:1px solid #b88a43}
.feat-badge.dev{background:#2a1a3d;color:#d8b7ff;border:1px solid #8a5bc4}
.feat-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.feat-cols h4{color:#eac67e;margin:0 0 8px;font-size:17px}
.feat-cols ul{list-style:none;padding:0;margin:0}
.feat-cols li{padding:6px 0 6px 22px;position:relative;color:#e3d9ee;line-height:1.45;border-bottom:1px solid #ffffff0b}
.feat-cols li:before{content:'✓';position:absolute;left:0;color:#f2d5ff;text-shadow:0 0 8px #c34aff;font-weight:bold}
@media(prefers-reduced-motion:reduce){.feat-panel{animation:none}}
@media(max-width:700px){.feat-panel{padding:16px}}

/* «как в магазинах»: полоса скидки и зачёркнутые цены */
.promo-bar{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;align-items:center;padding:9px 14px;background:linear-gradient(90deg,#7a1d0e,#c2410c 30%,#e8a12c 50%,#c2410c 70%,#7a1d0e);background-size:200% 100%;animation:promoMove 6s linear infinite;color:#fff;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 2px #0008}
.promo-bar:hover{filter:brightness(1.1)}
.promo-hot{background:#fff;color:#b91c1c;padding:3px 10px;border-radius:20px;text-shadow:none;letter-spacing:.5px;animation:promoPulse 1.4s ease-in-out infinite}
.promo-cta{text-decoration:underline}
@keyframes promoMove{to{background-position:200% 0}}
@keyframes promoPulse{50%{transform:scale(1.06)}}
.old-price{color:#9b8fae;font-size:.55em;font-weight:600;margin-right:6px;text-decoration-thickness:2px}
.sale-tag{display:inline-block;vertical-align:middle;background:#dc2626;color:#fff;font:800 13px system-ui,sans-serif;padding:3px 8px;border-radius:6px;margin-left:4px}
.bundle-note{padding:10px 14px;border:1px dashed #b88a43;border-radius:10px;color:#ffda8b;background:#1c142c}
@media(prefers-reduced-motion:reduce){.promo-bar,.promo-hot{animation:none}}
@media(max-width:700px){.promo-bar{font-size:12px;gap:4px 10px}}

/* карточка товара: отзывы внизу, отделены логотипом */
.logo-divider{display:flex;align-items:center;gap:20px;margin:48px 0 28px}
.logo-divider:before,.logo-divider:after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,#b66cff,#e8a12c,transparent)}
.logo-divider img{width:min(420px,70vw);height:auto;filter:drop-shadow(0 0 18px #9d43ff66)}
.shop-reviews{max-width:900px;margin:0 auto}
.shop-reviews h2{text-align:center}
.shop-reviews .review{padding:14px 18px;border:1px solid #49345d;border-radius:12px;background:#15111f;margin-bottom:12px}

/* золотая звезда-ценник «−50%» (как в магазинах) */
.promo-bar{display:none}
.promo-star{position:fixed;right:22px;top:112px;z-index:40;display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;animation:starSwing 3s ease-in-out infinite;transform-origin:50% 0}
.promo-star .star{width:128px;height:128px;display:grid;place-items:center;
  clip-path:polygon(50% 0%,59% 12%,73% 5%,76% 20%,91% 18%,88% 33%,100% 41%,90% 52%,99% 65%,85% 70%,86% 85%,71% 84%,64% 98%,52% 89%,39% 99%,33% 85%,18% 87%,17% 72%,3% 66%,11% 53%,0% 41%,13% 33%,9% 18%,25% 20%,28% 5%,41% 12%);
  background:radial-gradient(circle at 35% 30%,#fff6c4 0%,#ffd76a 30%,#e8a12c 62%,#a8650f 100%);
  filter:drop-shadow(0 0 14px #ffcf5a) drop-shadow(0 4px 6px #000a)}
.promo-star .star-in{display:flex;flex-direction:column;align-items:center;line-height:1;color:#7a1d0e;text-shadow:0 1px 0 #fff8}
.promo-star .star-in b{font:900 34px Georgia,serif;letter-spacing:-1px}
.promo-star .star-in small{font:900 11px system-ui,sans-serif;letter-spacing:1px;margin-top:3px}
.promo-star .star-tag{background:#dc2626;color:#fff;font:800 12px/1.25 system-ui,sans-serif;text-align:center;padding:5px 10px;border-radius:8px;box-shadow:0 4px 12px #000a;border:1px solid #fca5a5}
.promo-star:hover .star{filter:drop-shadow(0 0 22px #ffe08a) drop-shadow(0 4px 6px #000a);transform:scale(1.05)}
@keyframes starSwing{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@media(max-width:900px){.promo-star{top:auto;bottom:14px;right:12px}.promo-star .star{width:96px;height:96px}.promo-star .star-in b{font-size:26px}.promo-star .star-in small{font-size:9px}.promo-star .star-tag{font-size:11px}}
@media(prefers-reduced-motion:reduce){.promo-star{animation:none}}
/* звезда — только в витрине, в углу блока магазина */
.shop-page-list{position:relative}
.shop-page-list .promo-star{position:absolute;top:18px;right:24px;bottom:auto}
@media(max-width:900px){.shop-page-list .promo-star{position:absolute;top:8px;right:8px;bottom:auto}}
@media(max-width:600px){.shop-page-list .promo-star{position:static;margin:0 auto 18px;align-items:center}}
/* звезда на всех страницах — закреплена справа под шапкой; на телефоне — внизу справа */
.promo-star.promo-fixed{position:fixed;right:22px;top:112px;bottom:auto}
@media(max-width:900px){.promo-star.promo-fixed{top:auto;bottom:14px;right:12px}}
/* описание скидки при наведении на звезду */
.promo-star .star-tip{position:absolute;top:0;right:calc(100% + 12px);width:280px;padding:14px 16px;border:1px solid #e8a12c;border-radius:12px;
  background:linear-gradient(145deg,#2a1608,#140c1c);color:#f1e7d0;font:400 13px/1.5 system-ui,sans-serif;text-align:left;
  box-shadow:0 0 24px #e8a12c55,0 10px 30px #000c;opacity:0;visibility:hidden;transform:translateX(8px);transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none}
.promo-star .star-tip b{color:#ffd17a}
.promo-star .star-tip>b:first-child{display:block;font:bold 15px Georgia,serif;margin-bottom:6px}
.promo-star .star-tip em{display:block;margin-top:8px;font-style:normal;color:#fca5a5;font-weight:700}
.promo-star:hover .star-tip,.promo-star:focus .star-tip,.promo-star:focus-within .star-tip{opacity:1;visibility:visible;transform:none}
.promo-star:hover{animation-play-state:paused}
@media(max-width:900px){.promo-star .star-tip{top:auto;bottom:calc(100% + 10px);right:0;width:min(280px,86vw)}}
@media(max-width:600px){.shop-page-list .promo-star .star-tip{right:50%;transform:translateX(50%)}.shop-page-list .promo-star:hover .star-tip,.shop-page-list .promo-star:focus .star-tip{transform:translateX(50%)}}
.promo-star.tipped .star-tip{opacity:1;visibility:visible;transform:none}
/* качается только звезда, окно с описанием — ровно */
.promo-star{animation:none!important}
.promo-star .star{animation:starSwing 3s ease-in-out infinite;transform-origin:50% 50%}
.promo-star:hover .star{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.promo-star .star{animation:none}}
/* заголовок карточки: «MURLOK BOT» + анимированный герб «Скоро», название тарифа ниже */
.prod-title{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:0}
.prod-title .prod-name{flex-basis:100%}
.soon-badge{width:180px;height:auto;filter:drop-shadow(0 0 14px #9d43ff88);transition:opacity .35s}
.soon-badge.fade{opacity:0}
@media(max-width:767px){.soon-badge{width:120px}}
.prod-title{display:block}
.prod-title .prod-row{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.prod-title .prod-brand{white-space:nowrap}
.prod-title .prod-name{display:block}
.soon-badge{flex:0 1 180px;width:auto;max-width:180px;min-width:90px}
.logo-divider{margin:28px 0 18px}
.logo-divider img{width:min(300px,55vw)}
.shop-reviews{margin-top:40px}
.logo-divider img{width:min(420px,70vw)}

/* режимы: цвет метки статуса */
#modes .original-mode.mode-on .original-copy small{color:#a6e4a8}
#modes .original-mode.mode-part .original-copy small{color:#ffd17a}
#modes .original-mode.mode-dev .original-copy small{color:#c6a5ff}
#modes .original-mode.mode-dev{opacity:.82}
#modes .original-mode.mode-dev .original-art{filter:saturate(.7)}
.foot-logo img{width:min(260px,70vw);height:auto;filter:drop-shadow(0 0 14px #9d43ff55)}
.footer-note a{color:#e9bf79}
.soon-badge{height:auto;max-height:150px;object-fit:contain}
/* страница 404: картинка, кнопка «Вернуться на главную» — кусок-ссылка */
.e404{max-width:1100px;margin:24px auto;padding:0 16px}
.e404-pic{border-radius:14px;overflow:hidden;border:1px solid #9564c4;box-shadow:0 0 30px #8d40ce33}
.e404-pic>img,.e404 .row img{display:block;width:100%;height:auto}
.e404 .row{display:flex}.e404 .row>img,.e404 .row>a{flex:none;display:block;line-height:0}
.e404 .row a:hover img{filter:brightness(1.15)}
.e404-links{text-align:center;color:#b9adc9;margin:18px 0}
.e404-links a{color:#eac67e}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* 404 на прозрачном фоне — без рамки */
.e404-pic{border:0;box-shadow:none;border-radius:0;overflow:visible}
