/* app.css */
:root{--bg:#10110e;--surface:#191a16;--surface2:#22231d;--line:#34362e;--text:#f5f0e5;--muted:#aaa79c;--gold:#e7aa24;--gold2:#ffd66f;--coffee:#7e4b2b;--beer:#e6a918;--green:#5bb26d;--red:#d95d4f;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:14px;overscroll-behavior-y:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{max-width:780px;margin:0 auto;min-height:100vh;padding-bottom:calc(86px + var(--safe-bottom))}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:rgba(16,17,14,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.brand-button{display:flex;align-items:center;gap:9px;background:none;border:0;color:var(--text);padding:0;min-width:0;text-align:left}.brand-logo{width:52px;height:52px;object-fit:contain;border-radius:50%;display:block}.brand-copy{display:grid;line-height:1.05}.brand-copy strong{font-size:14px;letter-spacing:.06em}.brand-copy small{font-size:10px;color:var(--muted);margin-top:4px}.top-actions{display:flex;align-items:center;gap:6px}.icon-btn,.cart-chip{border:1px solid var(--line);background:#1b1c17;color:var(--text);height:42px;border-radius:13px}.icon-btn{min-width:42px;font-weight:900}.cart-chip{display:flex;align-items:center;gap:5px;padding:0 9px}.cart-chip b{display:grid;place-items:center;min-width:19px;height:19px;border-radius:10px;background:var(--gold);color:#15140e;font-size:11px}.cart-chip em{font-style:normal;font-size:11px;font-weight:900;white-space:nowrap}.view{padding:14px;min-height:calc(100vh - 150px)}.section{margin-bottom:24px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 1px 11px}.section-head h1,.section-head h2{margin:0;font-size:22px;line-height:1.1}.section-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.clean-media{width:100%;aspect-ratio:1/1;border-radius:24px;overflow:hidden;background:#22231e;border:1px solid var(--line)}.clean-media picture,.clean-media img{display:block;width:100%;height:100%}.clean-media img{object-fit:cover}.hero-copy{padding:13px 3px 0}.hero-copy h1{font-size:30px;line-height:1;margin:0 0 7px;letter-spacing:-.03em}.hero-copy p{margin:0;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.quick-card{min-height:70px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);padding:13px;text-align:left}.quick-card b{display:block;font-size:16px}.quick-card small{color:var(--muted);display:block;margin-top:4px}.event-grid,.promo-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,80%);gap:11px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.content-card{scroll-snap-align:start;border:1px solid var(--line);border-radius:22px;background:var(--surface);overflow:hidden}.content-card .content-media{aspect-ratio:1/1;background:#25261f}.content-card .content-media img{width:100%;height:100%;object-fit:cover;display:block}.content-card .content-copy{padding:13px}.content-card h3{margin:0 0 5px;font-size:18px}.content-card p{margin:0;color:var(--muted);line-height:1.4}.content-card .content-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.text-promo{border:1px solid #4a4123;background:#211e14;border-radius:18px;padding:14px}.text-promo h3{margin:0 0 5px}.text-promo p{margin:0;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-card{min-width:0;border:1px solid var(--line);border-radius:19px;background:var(--surface);overflow:hidden;content-visibility:auto;contain:layout paint style;contain-intrinsic-size:280px}.product-image{aspect-ratio:1/1;background:#22231e;overflow:hidden}.product-image picture,.product-image img{display:block;width:100%;height:100%}.product-image img{object-fit:cover}.product-body{padding:11px;display:flex;flex-direction:column;min-height:130px}.product-title{font-size:14px;line-height:1.2;margin:0;min-height:34px}.product-brand{margin-top:3px;color:var(--muted);font-size:10px}.variant-chips{display:flex;gap:5px;overflow-x:auto;padding:9px 0 7px}.variant-chip{flex:0 0 auto;border:1px solid var(--line);background:#11120f;color:var(--text);border-radius:999px;padding:6px 8px;font-size:10px}.variant-chip.active{background:var(--gold);border-color:var(--gold);color:#16140d;font-weight:900}.price-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}.price{font-weight:950;font-size:17px;color:var(--gold2)}.old-price{text-decoration:line-through;color:var(--muted);font-size:10px}.add-btn{width:39px;height:39px;border:0;border-radius:12px;background:var(--gold);color:#17150e;font-weight:1000;font-size:20px}.add-btn:disabled{opacity:.35}.filters{display:flex;gap:7px;overflow:auto;margin:-2px -14px 12px;padding:2px 14px}.filter-btn{flex:0 0 auto;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 11px;font-size:11px}.filter-btn.active{background:var(--gold);border-color:var(--gold);color:#17150e;font-weight:900}.load-more{display:block;margin:14px auto 0}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:14px;min-height:44px;padding:0 14px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.primary-btn{background:var(--gold);color:#17150e}.secondary-btn{background:#292a24;color:var(--text);border:1px solid var(--line)}.danger-btn{background:#3a1e19;color:#ffd8d3;border:1px solid #6b3028}.full{width:100%}.compact{min-height:38px;padding:0 11px;font-size:12px}.profile-card,.info-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:15px}.profile-head{display:flex;align-items:center;gap:12px}.avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#18160e;font-size:22px;font-weight:1000;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.profile-head h2{margin:0}.profile-head p{margin:3px 0 0;color:var(--muted)}.identity-list{display:grid;gap:7px;margin-top:12px}.identity-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--line);color:var(--muted)}.identity-row strong{color:var(--text)}.loyalty-vessels{display:grid;grid-template-columns:1fr 1fr;gap:10px}.vessel-card{border:1px solid var(--line);background:linear-gradient(180deg,#1d1e19,#161711);border-radius:22px;padding:13px;text-align:center;overflow:hidden}.vessel-card h3{margin:0 0 4px;font-size:16px}.vessel-card .subtitle{min-height:32px;color:var(--muted);font-size:11px;line-height:1.35}.vessel-wrap{height:205px;display:grid;place-items:center;margin:8px 0}.vessel{position:relative;width:104px;height:174px;border:4px solid rgba(245,240,229,.72);border-top-width:3px;border-radius:18px 18px 30px 30px;overflow:hidden;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 2px rgba(255,255,255,.08)}.vessel.coffee{clip-path:polygon(9% 0,91% 0,83% 100%,17% 100%);border-radius:11px 11px 26px 26px}.vessel.beer{height:160px;width:100px;border-radius:11px 11px 17px 17px;overflow:visible}.vessel.beer::after{content:"";position:absolute;right:-34px;top:31px;width:31px;height:79px;border:8px solid rgba(245,240,229,.72);border-left:0;border-radius:0 24px 24px 0}.vessel-inner{position:absolute;inset:5px;overflow:hidden;border-radius:11px 11px 23px 23px}.beer .vessel-inner{border-radius:5px 5px 10px 10px}.liquid{position:absolute;left:0;right:0;bottom:0;height:var(--fill,0%);transition:height .55s cubic-bezier(.2,.7,.2,1)}.coffee .liquid{background:linear-gradient(180deg,#9b623b,#5a301d)}.beer .liquid{background:linear-gradient(180deg,#ffd65c 0,#e9ab1f 18%,#c98408 100%)}.foam{position:absolute;left:0;right:0;top:-9px;height:15px;border-radius:50%;background:#fff2c9;opacity:.94}.vessel-card.ready{border-color:#b88621;box-shadow:0 0 0 1px rgba(231,170,36,.22),0 10px 35px rgba(231,170,36,.08)}.ready-chip{display:inline-flex;margin-top:6px;padding:5px 8px;border-radius:999px;background:#3b3115;color:#ffdf83;font-size:10px;font-weight:900}.progress-copy{font-weight:950;font-size:18px}.progress-copy small{display:block;font-size:10px;color:var(--muted);font-weight:600;margin-top:3px}.reward-grid{display:grid;gap:8px}.reward-card{border:1px dashed #9b7a2c;border-radius:16px;padding:12px;background:#201d13}.reward-card .top{display:flex;justify-content:space-between;gap:8px}.reward-card p{margin:5px 0 0;color:var(--muted);font-size:11px}.referral-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:15px}.ref-code{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#11120f;border:1px dashed #5c5a4e;border-radius:13px;padding:11px;margin:10px 0}.ref-code code{font-size:16px;font-weight:900;color:var(--gold2)}.ref-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ref-stat{background:#20211b;border-radius:13px;padding:10px;text-align:center}.ref-stat b{display:block;font-size:19px}.ref-stat small{color:var(--muted);font-size:9px}.code-entry{display:flex;gap:7px}.code-entry input,.auth-form input{min-width:0;flex:1;border:1px solid var(--line);background:#11120f;color:var(--text);border-radius:13px;min-height:44px;padding:0 12px;outline:0}.history-item{padding:12px 0;border-bottom:1px solid var(--line)}.history-item:last-child{border-bottom:0}.history-top{display:flex;justify-content:space-between;gap:10px}.history-meta{margin-top:4px;color:var(--muted);font-size:11px}.history-lines{margin-top:8px;display:grid;gap:4px}.history-line{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#d8d3c8}.event-row{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid var(--line)}.event-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#25261f}.event-row small{color:var(--muted)}.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:17px}.auth-card h2{margin-top:0}.auth-form{display:grid;gap:8px}.auth-row{display:flex;gap:7px}.split-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.empty{padding:22px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px}.note{font-size:11px;color:var(--muted);line-height:1.45}.status-good{color:#93dfa2}.status-warn{color:#ffd777}.bottom-nav{position:fixed;z-index:25;left:50%;bottom:0;transform:translateX(-50%);width:min(780px,100%);height:82px;padding:8px 10px var(--safe-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(14,15,13,.97);border-top:1px solid var(--line)}.nav-btn{position:relative;border:0;background:none;color:#8f8f87;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0}.nav-btn span{font-size:20px}.nav-btn small{font-size:10px;white-space:nowrap}.nav-btn.active{color:var(--gold2)}.nav-main span{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:var(--gold);color:#17150e;font-size:25px;margin-top:-22px;box-shadow:0 7px 25px rgba(231,170,36,.18)}.nav-main small{margin-top:-4px}.sheet-backdrop{position:fixed;z-index:40;inset:0;background:rgba(0,0,0,.64)}.sheet{position:fixed;z-index:41;left:50%;bottom:0;transform:translateX(-50%);width:min(780px,100%);max-height:88vh;overflow:auto;background:#191a16;border-radius:26px 26px 0 0;padding:8px 16px calc(18px + var(--safe-bottom));border:1px solid var(--line)}.sheet-handle{width:43px;height:5px;border-radius:99px;background:#55564e;margin:5px auto 14px}.hidden{display:none!important}.cart-line{display:grid;grid-template-columns:1fr auto;gap:9px;padding:11px 0;border-bottom:1px solid var(--line)}.cart-line h4{margin:0 0 3px}.cart-line p{margin:0;color:var(--muted);font-size:11px}.qty-control{display:flex;align-items:center;gap:7px}.qty-control button{width:32px;height:32px;border-radius:10px;background:#272822;border:1px solid var(--line);color:var(--text)}.cart-summary{display:flex;justify-content:space-between;font-size:20px;font-weight:950;padding:14px 0}.checkout-note{color:var(--muted);font-size:11px;text-align:center;margin-top:8px}.waiting-card{text-align:center;padding:28px 12px}.order-code{font-size:40px;font-weight:1000;letter-spacing:.04em;color:var(--gold2);margin:17px 0}.status-dot{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 11px;background:#28291f}.status-dot::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold)}.status-dot.done::before{background:var(--green)}.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.toast{position:fixed;z-index:60;left:50%;bottom:100px;transform:translateX(-50%);max-width:90%;background:#f3efe5;color:#17150f;padding:10px 13px;border-radius:13px;font-weight:800;box-shadow:0 12px 35px rgba(0,0,0,.4)}.error-box{background:#321b17;border:1px solid #6f3026;padding:14px;border-radius:18px;color:#ffd7d0}.skeleton{background:linear-gradient(90deg,#20211d,#2a2b24,#20211d);background-size:200% 100%;animation:shimmer 1.3s infinite}.page-skeleton{display:grid;gap:12px}.square-skeleton{aspect-ratio:1/1;border-radius:24px}.line-skeleton{height:24px;border-radius:9px}.line-skeleton.short{width:60%;height:14px}.catalog-sentinel{height:1px}.offline-badge{display:inline-flex;background:#3a241b;color:#ffd4be;border-radius:999px;padding:5px 8px;font-size:10px}@keyframes shimmer{to{background-position:-200% 0}}@media(min-width:660px){.view{padding:18px 22px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-grid{grid-template-columns:repeat(4,1fr)}.loyalty-vessels{grid-template-columns:1fr 1fr}.content-card{max-width:360px}.event-grid,.promo-grid{grid-auto-columns:360px}}@media(max-width:380px){.brand-copy{display:none}.loyalty-vessels{grid-template-columns:1fr}.vessel-wrap{height:185px}.cart-chip em{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.liquid{transition:none}.skeleton{animation:none}}

/* app-e2.css */
.brand-logo {
  width: 52px;
  height: 52px;
  padding: 3px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: contain;
  background: #111;
  box-shadow: 0 0 0 2px rgba(231, 170, 36, .14);
}

.event-grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  overflow: visible;
}

.event-grid .content-card {
  width: 100%;
  max-width: none;
}

.event-grid .content-media,
.loyalty-promo .content-media {
  aspect-ratio: 1 / 1;
}

.promo-grid {
  grid-auto-columns: minmax(270px, 88%);
}

.loyalty-promo {
  cursor: pointer;
}

.add-btn {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

.nav-main span {
  border: 2px solid #ffd66f;
  box-shadow: 0 0 0 3px rgba(231, 170, 36, .12), 0 7px 25px rgba(231, 170, 36, .18);
}

.catalog-group-title {
  grid-column: 1 / -1;
  margin: 18px 0 10px;
}

.catalog-group-title h2 {
  margin: 0;
  font-size: 20px;
}

.draft-grid {
  grid-template-columns: 1fr;
}

.draft-grid .product-card {
  border-color: rgba(231, 170, 36, .55);
  contain-intrinsic-size: 560px;
}

.draft-grid .product-title {
  min-height: 0;
  font-size: 18px;
}

.draft-grid .variant-chip {
  flex: 1 1 0;
  min-width: 54px;
  text-align: center;
}

.telegram-auth-card {
  text-align: center;
}

.telegram-auth-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #229ed9;
  color: white;
  font-size: 28px;
}

.no-price {
  min-height: 39px;
}

@media (min-width: 660px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .draft-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* app-e11.css */
.ref-label{font-size:11px;font-weight:900;color:var(--muted);margin-top:12px}
.ref-link{display:grid;gap:7px;margin:8px 0 10px}
.ref-link-text{min-width:0;overflow-wrap:anywhere;background:#11120f;border:1px dashed #5c5a4e;border-radius:13px;padding:11px;color:var(--gold2);font-size:11px;line-height:1.4}
.ref-list-title{font-size:13px;font-weight:900;margin:15px 0 7px}
.ref-list{display:grid;gap:6px}
.ref-person{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#20211b;border-radius:13px;padding:10px}
.ref-person b,.ref-person small{display:block}
.ref-person small{color:var(--muted);font-size:9px;margin-top:3px}
.ref-status{flex:0 0 auto;font-size:9px;padding:5px 7px;border-radius:999px;background:#363225;color:#ffd777}
.ref-status.done{background:#1f3925;color:#93dfa2}
.ref-empty{padding:13px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:13px;font-size:11px}
.referral-pending{display:flex;align-items:center;gap:12px}.referral-pending .note{margin:5px 0 0}.mini-loader{width:28px;height:28px;flex:0 0 28px;border:3px solid rgba(231,170,36,.25);border-top-color:var(--gold);border-radius:50%;animation:ref-spin .8s linear infinite}@keyframes ref-spin{to{transform:rotate(360deg)}}
.promo-carousel{grid-auto-columns:minmax(270px,88%);scroll-padding-inline:1px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.promo-carousel::-webkit-scrollbar{display:none}.promo-card{cursor:pointer}.promo-card .content-copy{min-height:112px}.promo-card .content-copy h3{line-height:1.18}.promo-card .content-copy p{font-size:12px;line-height:1.5}.carousel-actions{display:flex;gap:7px}.carousel-actions button{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:#25261f;color:var(--gold2);font-size:25px;line-height:1}.carousel-hint{margin-top:7px;color:var(--muted);font-size:10px;text-align:center}.reward-rule{margin-top:9px;padding:7px 8px;border-radius:11px;background:#242219;color:var(--muted);font-size:10px}.reward-rule b{color:var(--gold2)}.vessel-marks{position:absolute;z-index:3;inset:13px 7px 13px auto;width:12px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.vessel-marks i{display:block;width:8px;height:1px;background:rgba(255,255,255,.5)}.vessel.beer .vessel-marks{right:5px}.vessel.coffee .vessel-marks{right:11px}.vessel-card .vessel{filter:drop-shadow(0 8px 14px rgba(0,0,0,.28))}.vessel-card .liquid::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.18),transparent 35%,rgba(0,0,0,.12));pointer-events:none}
@media(min-width:660px){.promo-carousel{grid-auto-columns:360px}}

/* app-e32.css */
/* Twins Beer E32: unified adaptive Web / Mini App interface. */
:root{--tb-focus:#ffe6a1}
:focus-visible{outline:3px solid var(--tb-focus)!important;outline-offset:3px}
.vessel-card{position:relative;isolation:isolate;min-width:0;background:linear-gradient(145deg,#24251d,#141510);border-color:#55513c;box-shadow:0 12px 26px rgba(0,0,0,.18)}
.vessel-card .subtitle{min-height:42px;max-width:28ch;margin-inline:auto}
.vessel-card h3{letter-spacing:.015em}
.vessel-wrap{perspective:800px}
.vessel.beer{border-width:5px 5px 9px;border-color:rgba(255,245,218,.85);background:linear-gradient(100deg,rgba(255,255,255,.13),rgba(255,255,255,.035));box-shadow:inset 7px 0 12px rgba(255,255,255,.13),inset -6px 0 16px rgba(0,0,0,.25)}
.vessel.beer::after{border-color:rgba(255,245,218,.85)}
.vessel.coffee{height:178px;width:114px;border-width:6px;border-color:#e9d8b8;clip-path:polygon(10% 0,90% 0,81% 100%,19% 100%);background:linear-gradient(90deg,#f5eee0 0%,#e3d4ba 16%,#f8f0e0 52%,#cab793 100%)}
.vessel.coffee .vessel-inner{border-radius:2px 2px 22px 22px}
.vessel.coffee .liquid{background:linear-gradient(180deg,#bc8150,#6e3b22 80%,#4c2818);box-shadow:inset 10px 0 18px rgba(255,240,210,.25)}
.vessel.beer .liquid{background:linear-gradient(180deg,#ffdc5e,#eba51d 40%,#b86e08)}
.vessel-card .liquid{min-height:0;transition:height .8s cubic-bezier(.19,.8,.25,1)}
.vessel-card .progress-copy{font-size:16px;font-weight:900}
.vessel-card.ready .vessel{filter:drop-shadow(0 0 15px rgba(251,185,49,.45))}
.vessel-card.ready .ready-chip{font-size:12px;padding:7px 12px}
.reward-rule{font-size:12px;line-height:1.45}
@media(min-width:920px){
  body{background:radial-gradient(circle at 15% 12%,#3a301a 0,transparent 33%),radial-gradient(circle at 85% 62%,#1d281d 0,transparent 35%),#0d0e0c}
  .app-shell{width:min(100%,1020px);max-width:1020px;border-inline:1px solid #393629;background:linear-gradient(180deg,#181913,#10110e);box-shadow:0 30px 90px rgba(0,0,0,.32)}
  .view{padding:24px 34px 40px;max-width:980px;margin:auto}
  .topbar{padding:13px 32px}
  .bottom-nav{width:min(1020px,100%);height:76px;border:1px solid #4b4637;border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -10px 36px rgba(0,0,0,.27)}
  .loyalty-vessels{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:760px;margin:auto}
  .vessel-card{padding:22px}.vessel-wrap{height:240px}
  .section-head h1,.section-head h2{font-size:26px}
  .promo-carousel{grid-auto-columns:minmax(280px,370px)}
}
@media(max-width:460px){.loyalty-vessels{gap:8px}.vessel-card{padding:10px 7px}.vessel-card h3{font-size:13px}.vessel-card .subtitle{font-size:10px;min-height:55px}.vessel.beer{transform:scale(.88)}.vessel.coffee{transform:scale(.88)}}
@media(prefers-reduced-motion:reduce){.vessel-card .liquid{transition:none}}

/* app-e33.css */
/* Twins Beer E33 / Step 1: illustrated loyalty vessels with live fill */
.e33-vessel-card{background:radial-gradient(ellipse at 55% 27%,#332b1c 0%,#191a16 64%,#10110f);border:1px solid #635234;box-shadow:inset 0 1px 0 rgba(255,222,142,.12),0 16px 30px rgba(0,0,0,.2);padding:13px 10px 15px;min-width:0}
.e33-vessel-card .subtitle{color:#e7d3a9;font-size:12px;line-height:1.45;min-height:34px}
.e33-vessel-card h3{color:#ffdc91;letter-spacing:.01em}
.e33-vessel-graphic{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:clamp(205px,34vw,320px);margin:4px auto 10px;isolation:isolate}
.e33-vessel-body{position:relative;width:min(80%,310px);aspect-ratio:1/1;flex-shrink:0;max-height:100%}
.e33-vessel-shell{position:absolute;z-index:3;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 9px 8px rgba(0,0,0,.25))}
.e33-vessel-liquid-window{position:absolute;z-index:2;overflow:hidden;background:linear-gradient(90deg,rgba(250,239,207,.1),rgba(255,255,255,.025),rgba(255,255,255,.15));}
.e33-vessel-graphic.beer .e33-vessel-liquid-window{left:22%;top:20.5%;width:47.5%;height:62.2%;border-radius:4% 4% 9% 9%}
.e33-vessel-graphic.coffee .e33-vessel-liquid-window{left:30.7%;top:22.8%;width:39%;height:64.4%;clip-path:polygon(0 0,100% 0,92% 100%,8% 100%);border-radius:10px}
.e33-vessel-liquid{position:absolute;left:0;right:0;bottom:0;height:var(--fill-current,0%);background:linear-gradient(90deg,#c97b09 0%,#f9c22c 20%,#df8e08 64%,#934907 100%);box-shadow:inset 4px 0 9px rgba(255,251,170,.45),inset -5px 0 8px rgba(68,24,0,.28);transition:height .55s ease-out;overflow:visible}
.e33-vessel-graphic.coffee .e33-vessel-liquid{background:linear-gradient(90deg,#75401f,#c68b55 27%,#9d552c 67%,#442318);box-shadow:inset 5px 0 10px rgba(255,244,215,.24)}
.e33-vessel-graphic.beer .e33-vessel-liquid::after{content:'';position:absolute;inset:11px 10px 8px;background-image:radial-gradient(circle at 20% 30%,rgba(255,251,195,.9) 0 2px,transparent 3px),radial-gradient(circle at 70% 70%,rgba(255,242,173,.8) 0 1.5px,transparent 3px);background-size:38px 42px,29px 48px;pointer-events:none}
.e33-liquid-surface{position:absolute;top:-2px;left:0;right:0;height:8px;background:linear-gradient(0deg,#f5d786,#fff5d2);border-radius:50%;box-shadow:0 0 8px rgba(255,232,160,.5)}
.e33-vessel-graphic.coffee .e33-liquid-surface{height:5px;background:#dab18a}
.e33-vessel-graphic .e33-step-marks{position:absolute;z-index:4;left:0;top:21%;height:61%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;pointer-events:none}
.e33-mark{font-size:clamp(10px,1.5vw,13px);font-weight:900;color:#ecd7a7;text-shadow:0 2px 3px #1d1103;line-height:1;padding:3px 4px;background:#1a1813;border:1px solid #806b3c;border-radius:7px}
.e33-mark:first-child{background:#705319;color:#fff1bd;border-color:#fac45f}
.e33-vessel-card .progress-copy{font-size:clamp(14px,2vw,18px);font-variant-numeric:tabular-nums}
.e33-vessel-card .progress-copy small{font-size:12px;line-height:1.35}
.e33-vessel-card .reward-rule{color:#eed29a;font-size:13px;margin-top:7px}
.e33-reward-link{text-decoration:none;display:inline-block;background:#594019;border:1px solid #f7bd4f;color:#ffeaaf;font-size:12px!important;white-space:normal}
.e33-vessel-card.ready{box-shadow:0 0 0 1px rgba(255,201,78,.45),0 0 24px rgba(255,185,45,.2)}
@media(max-width:440px){.loyalty-vessels{grid-template-columns:1fr;gap:14px}.e33-vessel-graphic{height:275px}.e33-vessel-body{width:295px;max-width:84%}.e33-vessel-card{padding:16px}.e33-vessel-card .subtitle{min-height:0}}
@media(min-width:441px) and (max-width:760px){.e33-vessel-graphic{height:215px}.e33-vessel-body{width:95%}.e33-mark{font-size:9px;padding:2px}}
@media(prefers-reduced-motion:reduce){.e33-vessel-liquid{transition:none!important}}

/* The transparent cavity is softly lit glass/paper even at 0%; liquid uses the approved artwork's surface texture. */
.e33-vessel-liquid-window{background:linear-gradient(95deg,rgba(207,207,189,.24) 0%,rgba(238,236,220,.13) 28%,rgba(197,199,193,.16) 72%,rgba(255,251,228,.3) 100%);box-shadow:inset 12px 0 12px rgba(242,236,207,.12),inset -9px 0 15px rgba(16,18,19,.14)}
.e33-vessel-graphic.coffee .e33-vessel-liquid-window{background:linear-gradient(100deg,rgba(239,224,194,.41),rgba(215,188,150,.22) 55%,rgba(255,230,193,.35))}
.e33-vessel-graphic.beer .e33-vessel-liquid{background-image:linear-gradient(90deg,rgba(234,147,0,.3),rgba(255,215,87,.06),rgba(133,65,0,.15)),url('/assets/loyalty-beer-liquid.e33.webp');background-position:center;background-size:100% 100%;}
.e33-vessel-graphic.coffee .e33-vessel-liquid{background-image:linear-gradient(90deg,rgba(89,41,22,.32),rgba(238,180,116,.02),rgba(73,34,20,.27)),url('/assets/loyalty-coffee-liquid.e33.webp');background-size:100% 100%;background-position:center}
.e33-vessel-graphic.beer .e33-liquid-surface{top:-12px;height:22px;border-radius:42% 44% 36% 28%;background:radial-gradient(ellipse at 22% 60%,#fff8e9 0 26%,transparent 27%),radial-gradient(ellipse at 62% 40%,#fff8e6 0 35%,transparent 36%),linear-gradient(180deg,#fffdfa,#ffebc4 72%,#e6a947);box-shadow:0 -2px 10px rgba(255,241,195,.46),0 3px 3px rgba(255,251,231,.4);}
.e33-vessel-liquid-window::after{content:'';position:absolute;z-index:5;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,250,214,.28),transparent 18%,transparent 83%,rgba(255,249,219,.18));}

/* Stage 3: honest partial API failures, inline retries and cabinet cart state. */
.e33-cabinet-error{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(246,179,73,.55);background:#282117;color:#f8e7c8;border-radius:15px;padding:13px 14px;font-size:13px;line-height:1.45;margin:4px 0 12px;min-width:0}
.e33-cabinet-error[role="alert"]{border-color:#a78452}
.e33-cabinet-error .secondary-btn,.e33-cabinet-error .primary-btn{min-height:40px;white-space:normal}
.e33-cabinet-error.auth-card{display:block;padding:22px 20px}
.e33-cabinet-error.auth-card .note{margin:12px 0 16px}
.e33-cabinet-error.auth-card a{margin-top:12px}
.e33-cart-state{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.e33-cart-state span{font-size:14px;color:#ede8d5;font-variant-numeric:tabular-nums}
@media(max-width:360px){.e33-cabinet-error .secondary-btn,.e33-cart-state button{width:100%}}

/* E33 stage 4: shared adaptive app and desktop CRM polish. */
:root{color-scheme:dark}
*{box-sizing:border-box}
html{min-width:0;-webkit-text-size-adjust:100%}
body{overflow-x:clip}
#app,.view,.page-skeleton,.product-card,.card{min-width:0}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
:focus-visible{outline:3px solid #ffdc69!important;outline-offset:3px}
.brand-logo{object-fit:contain;flex:0 0 auto}
img{max-width:100%;height:auto}
.product-card img,.product-image img,.catalog-card img{object-fit:cover}
.view{overflow-wrap:anywhere}
@media(min-width:768px){
  .app-shell{width:min(100%,1020px);max-width:1020px;min-height:100dvh;margin-inline:auto;}
  .view{padding:clamp(20px,3vw,36px)!important;}
  .topbar{padding-inline:clamp(18px,3vw,36px)!important;}
  .loyalty-vessels{grid-template-columns:repeat(2,minmax(0,1fr));max-width:840px;gap:clamp(16px,3vw,30px)}
  .bottom-nav{left:50%;transform:translateX(-50%);max-width:1020px;width:100%}
  .sheet{max-width:min(640px,calc(100vw - 32px))}
}
@media(min-width:1180px){
  body{background:radial-gradient(circle at 14% 20%,#302817 0,transparent 32%),radial-gradient(circle at 90% 70%,#1d251a 0,transparent 32%),#0d0e0c}
  .app-shell{box-shadow:0 22px 80px rgba(0,0,0,.35);border-inline:1px solid #3b3829}
}
@media(max-width:767px){
 .app-shell{width:100%;min-width:0}
 .topbar{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
 .view{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
 .bottom-nav{padding-bottom:env(safe-area-inset-bottom);min-height:calc(65px + env(safe-area-inset-bottom))}
 .nav-btn{min-width:0;max-width:100%;}
 .nav-btn small{overflow-wrap:anywhere}
 .sheet{max-height:min(90dvh,900px);overflow-y:auto}
}
@media(max-width:359px){.brand-copy strong{font-size:clamp(12px,4vw,17px)}.top-actions{gap:5px}.cart-chip{padding-inline:7px}.nav-btn small{font-size:10px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* tb3-alcohol-r5.css */
/* TB3 R5: same five-button bottom navigation, longer central label only. */
.bottom-nav .nav-btn.nav-main small{font-size:9px;letter-spacing:0;white-space:nowrap;transform:scale(.91);transform-origin:center center}
@media(max-width:390px){.bottom-nav .nav-btn.nav-main small{transform:scale(.78)}}
@media(max-width:340px){.bottom-nav .nav-btn.nav-main small{transform:scale(.7)}}
/* Same product card geometry and spacing as the approved draft section. */

/* desktop-square-e33.css */
/* Twins Beer Desktop Square, additive web-only visual layer.
 * Mobile and Telegram Mini App are intentionally unchanged.
 */
@media (min-width: 960px) {
  :root { --tbds-cream: #fff5e7; --tbds-sun: #ffc932; --tbds-orange: #ff8549; --tbds-fresh: #c6f19b; }
  html {background:#130d0b}
  body {background: radial-gradient(ellipse at 1% 16%,#ac4c3050 0,transparent 35%),radial-gradient(ellipse at 98% 42%,#ffb54d32 0,transparent 33%),#100b0a!important; color:var(--tbds-cream)}
  .app-shell {width:min(1230px,calc(100% - 32px))!important;max-width:1230px!important;border:1px solid #805338!important;border-radius:24px 24px 0 0;margin:16px auto 0!important;background:linear-gradient(165deg,#281915,#1a110f 58%,#211511)!important;box-shadow:0 26px 100px #0009!important;overflow:visible}
  .app-shell .topbar {height:82px;padding:12px 35px!important;background:#2e1c16f0!important;border-bottom:1px solid #865338!important;border-radius:24px 24px 0 0}
  .app-shell .brand-copy strong {font-size:20px;letter-spacing:.075em;color:#fff5e7}
  .app-shell .brand-copy small {color:#edc6ad}
  .app-shell .cart-chip,.app-shell .icon-btn {border:1px solid #ac7950;color:#fff0dc;background:#38261d;border-radius:14px;min-height:44px}
  .app-shell .cart-chip b {background:var(--tbds-sun);color:#381a0b;border-radius:40px;padding:3px 7px}
  .app-shell .view {padding:25px 34px 140px!important;max-width:none!important;min-height:calc(100dvh - 150px)}
  .app-shell .section-head h1,.app-shell .section-head h2 {font-size:28px;color:#fff5e7}
  .app-shell .section-head p{color:#e1c2ab}
  .app-shell .bottom-nav{max-width:1170px!important;width:min(1170px,calc(100vw - 80px))!important;left:50%!important;transform:translateX(-50%)!important;bottom:10px!important;border-radius:22px!important;background:#1d1512fa!important;border:1px solid #9d653b!important;height:75px!important;box-shadow:0 15px 35px #0008!important}
  .app-shell .bottom-nav .nav-btn{color:#d3b69e}
  .app-shell .bottom-nav .nav-btn.active{color:#ffcc55}
  .app-shell .bottom-nav .nav-main span{background:linear-gradient(135deg,#ffe65c,#ff9c1d);color:#381804}
  .app-shell .section{margin-bottom:29px}
  .app-shell .content-card {max-width:none!important;width:100%;aspect-ratio:1/1;position:relative;isolation:isolate;background:linear-gradient(135deg,#4f2a1d,#201412);overflow:hidden;border-color:#9d693f;border-radius:22px}
  .app-shell .section > .content-card{max-width:360px!important;width:min(100%,360px)}
  .app-shell .content-card .content-media{position:absolute;inset:0;aspect-ratio:1/1!important;width:100%;height:100%}
  .app-shell .content-card .content-media picture,.app-shell .content-card .content-media img{display:block;width:100%;height:100%;object-fit:contain!important}
  .app-shell .content-card .content-copy {position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,#1b100ff5,#20130fe0 70%,transparent);padding:28px 17px 16px;z-index:2}
  .app-shell .content-card h3 {font-size:18px;color:#fff5df}
  .app-shell .content-card p{color:#f1d3bd;max-height:55px;overflow:hidden}
  .app-shell .event-grid,.app-shell .promo-grid{grid-auto-columns:minmax(225px,285px);gap:16px;scrollbar-color:#cb8950 #291a15}
  .app-shell .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .app-shell .product-card{position:relative;aspect-ratio:1/1;display:block;border:1px solid #a66b43;background:linear-gradient(135deg,#5b321e,#281912);border-radius:20px;content-visibility:visible;contain:none;overflow:hidden}
  .app-shell .product-card .product-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:1/1;display:block;background:linear-gradient(145deg,#77421e,#321b13)}
  .app-shell .product-card .product-image picture,.app-shell .product-card .product-image img{width:100%;height:100%;object-fit:contain!important}
  .app-shell .product-card .product-body{position:absolute;z-index:2;bottom:0;left:0;right:0;min-height:0;max-height:54%;overflow:hidden;padding:32px 12px 11px;background:linear-gradient(0deg,#1c100ff9 0,#22130fef 74%,transparent 100%)}
  .app-shell .product-card .product-title{font-size:14px;min-height:0;margin:0 0 2px;color:white}
  .app-shell .product-card .product-brand{color:#e4ba95}
  .app-shell .variant-chips{scrollbar-width:thin;padding:5px 0;flex-shrink:0}
  .app-shell .variant-chip{padding:5px 7px;font-size:10px}
  .app-shell .product-card .price-row{margin-top:auto;min-height:32px}
  .app-shell .clean-media{aspect-ratio:1/1;max-width:100%;background:#4c261a}
  .app-shell .clean-media img{object-fit:contain!important}
  .app-shell .filters{display:flex;flex-wrap:wrap}
  /* desktop-only landing: preserve original mobile sections, no alternate business state */
  .tbds-home{display:grid;gap:27px;margin-bottom:30px}
  #view.tbds-active > .section:first-of-type{display:none}
  .tbds-hero {display:grid;justify-items:center;gap:14px}
  .tbds-hero-copy{padding:0;text-align:center}
  .tbds-overline{text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.19em;color:#ffe99a}
  .tbds-hero h1{margin:0 0 6px;font-size:28px;line-height:1.15;letter-spacing:0;color:#fff6e9}
  .tbds-hero h1 span{display:block;color:#ffc732}
  .tbds-hero p{font-size:15px;color:#f5d8c4;line-height:1.5;margin:0}
  .tbds-hero-buttons{display:flex;flex-wrap:wrap;gap:11px}
  .tbds-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;border-radius:13px;font-size:14px;font-weight:900;background:linear-gradient(125deg,#ffe453,#ffad2e);border:1px solid #ffde7c;color:#3c190a;min-height:47px;cursor:pointer}
  .tbds-button.light{background:#fff0dc;border-color:#ffe0b9;color:#492416}
  .tbds-hero-image{aspect-ratio:1/1;width:calc((100% - 18px)/2);overflow:hidden;position:relative}
  .tbds-hero-image picture,.tbds-hero-image img{display:block;width:100%;height:100%;object-fit:contain!important}
  .tbds-title{display:flex;align-items:end;justify-content:space-between;margin:0 0 14px;gap:15px}
  .tbds-title h2{font-size:27px;letter-spacing:-.6px;color:#fff3e2;margin:0}
  .tbds-title p{margin:5px 0 0;color:#eac6a6;font-size:13px}
  .tbds-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:auto}
  .tbds-category{display:block;aspect-ratio:1/1;width:100%;position:relative;isolation:isolate;background:linear-gradient(135deg,#d87131,#71351f);border:1px solid #e0a55c;border-radius:24px;color:#fff6e9;overflow:hidden;text-align:left;cursor:pointer;padding:0;transition:transform .18s ease,border-color .2s ease}
  .tbds-category:hover{transform:translateY(-3px);border-color:#ffdf71}
  .tbds-category.coffee{background:linear-gradient(135deg,#cd8e3a,#71401d)}
  .tbds-category img{position:absolute;inset:0;height:100%;width:100%;object-fit:contain!important;opacity:.92}
  .tbds-category:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#26140feb 0%,#411f169c 24%,transparent 62%)}
  .tbds-category-label{position:absolute;left:22px;bottom:22px;z-index:2;max-width:calc(100% - 45px)}
  .tbds-category-label b{font-size:32px;display:block;line-height:1.05;letter-spacing:0;text-shadow:0 3px 7px #0008}
  .tbds-category-label small{display:block;color:#fff1df;font-size:14px;line-height:1.4;margin:7px 0 12px}
  .tbds-category-label em{display:inline-block;font-size:13px;font-style:normal;color:#451e10;background:#ffe2a5;padding:9px 13px;border-radius:12px;font-weight:900}
  .tbds-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
  .tbds-shortcut{aspect-ratio:1/1;border:1px solid #a57550;background:linear-gradient(145deg,#553123,#2b1b15);border-radius:19px;padding:18px;color:#fff0e0;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:10px;cursor:pointer}
  .tbds-shortcut:nth-child(2){background:linear-gradient(130deg,#684521,#322316)}.tbds-shortcut:nth-child(3){background:linear-gradient(130deg,#3b654a,#1b3025)}.tbds-shortcut:nth-child(4){background:linear-gradient(130deg,#6c4161,#331c2e)}
  .tbds-shortcut .symbol{width:51px;height:51px;border-radius:15px;background:#ffd45a;display:grid;place-items:center;font-size:27px}
  .tbds-shortcut:nth-child(3) .symbol{background:#b8f4ba}.tbds-shortcut:nth-child(4) .symbol{background:#e6bafd}
  .tbds-shortcut strong{display:block;font-size:17px}.tbds-shortcut small{font-size:12px;line-height:1.45;color:#f1d5c0}
  .tbds-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
  .tbds-featured-card{aspect-ratio:1/1;border:1px solid #936345;border-radius:20px;overflow:hidden;position:relative;background:linear-gradient(130deg,#754422,#261811);cursor:pointer;padding:0;text-align:left;color:#fff6ec}
  .tbds-featured-card img{height:100%;width:100%;object-fit:contain!important}
  .tbds-featured-card .caption{position:absolute;left:0;right:0;bottom:0;padding:23px 13px 11px;background:linear-gradient(0deg,#25140ff7,#27170fd6,transparent)}
  .tbds-featured-card .caption strong{font-size:14px;display:block}.tbds-featured-card .caption small{display:block;color:#e7bc8f;font-size:11px;margin-top:4px}
  .tbds-loading{padding:20px;text-align:center;color:#eac7ad;border:1px dashed #925733;border-radius:17px}
  .tbds-hero button:focus-visible,.tbds-home button:focus-visible{outline:3px solid #ffe692;outline-offset:3px}
  .app-shell .shashlik-section>.content-card{max-width:none!important;width:calc((100% - 18px)/2);margin-inline:auto;aspect-ratio:auto;overflow:visible;background:none;border:0;border-radius:0}
  .app-shell .shashlik-section .content-media{position:relative;inset:auto;height:auto;aspect-ratio:1/1!important;overflow:hidden}
  .app-shell .shashlik-section .content-copy{position:static;background:none;padding:16px 0}
  .app-shell .shashlik-section .content-copy p{max-height:none;overflow:visible;line-height:1.5}
  .app-shell .shashlik-section .content-actions{flex-wrap:wrap}
  .app-shell .shashlik-section .section-head{width:calc((100% - 18px)/2);margin-inline:auto}
}
@media(max-width:959px){.tbds-home{display:none!important}}
.app-shell .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto!important;gap:8px 16px}
.tbds-contacts{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;padding:0 0 6px;font-size:14px;line-height:1.4;letter-spacing:0}
.tbds-contacts a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.tbds-contacts a:hover{text-decoration:underline}
@media(max-width:959px){.tbds-contacts{font-size:12px;gap:6px 16px}.tbds-contacts a:first-child{flex-basis:100%}}

/* twins-v6-motion.css */
/* Twins Beer E34.5: approved split coffee / beer background, additive only. */
:root {--tw-motion-gold:#ffc658;--tw-motion-orange:#f7a43b}
body.tb-motion-on {background:#20100a!important}
.tb-motion-scene {position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate;
 background:url('/assets/twins-v6-background.webp') center center / cover no-repeat #301606}
.tb-motion-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,12,5,.10),rgba(19,7,3,.13) 50%,rgba(92,36,0,.06));pointer-events:none}
.tb-motion-bean,.tb-motion-bubble{position:absolute;top:0;will-change:transform,opacity;opacity:0;pointer-events:none}
.tb-motion-bean{width:35px;height:52px;background:url('/assets/twins-v6-bean.svg') center / contain no-repeat;
 filter:drop-shadow(0 5px 7px rgba(16,6,1,.53));animation:twinsBeanDrop var(--tw-duration) linear var(--tw-delay) infinite}
.tb-motion-bubble{width:var(--tw-size);height:var(--tw-size);border-radius:50%;border:1px solid rgba(255,227,154,.58);
 background:radial-gradient(circle at 30% 26%,rgba(255,255,236,.94) 0 8%,rgba(255,239,176,.54) 25%,rgba(255,177,38,.16) 58%,transparent 82%);
 box-shadow:inset -1px -2px 3px rgba(245,128,0,.32),0 0 10px rgba(251,176,34,.42);
 animation:twinsBubbleDrop var(--tw-duration) linear var(--tw-delay) infinite}
@keyframes twinsBeanDrop{0%{transform:translate3d(-10px,-22vh,0) rotate(0);opacity:0}8%{opacity:.9}85%{opacity:.84}100%{transform:translate3d(var(--tw-drift),108vh,0) rotate(var(--tw-rotate));opacity:0}}
@keyframes twinsBubbleDrop{0%{transform:translate3d(0,-18vh,0) scale(.6);opacity:0}10%{opacity:.85}85%{opacity:.72}100%{transform:translate3d(var(--tw-drift),108vh,0) scale(1.12);opacity:0}}
.tb-motion-pour{position:absolute;top:-10%;right:5%;width:4%;height:74%;opacity:.68;
 background:linear-gradient(90deg,transparent,rgba(255,211,80,.25) 35%,rgba(255,248,197,.32) 50%,rgba(255,137,28,.12) 73%,transparent);
 filter:blur(10px);transform:skewX(-13deg);animation:twinsPour 3.2s ease-in-out infinite alternate}
@keyframes twinsPour{from{opacity:.28;transform:translateY(-10px) skewX(-13deg)}to{opacity:.82;transform:translateY(14px) skewX(-12deg)}}
body.tb-motion-on #app.app-shell{position:relative;z-index:1}
/* Lighten the opaque body shell so decorative background remains visible while content stays legible. */
@media(min-width:960px){
 body.tb-motion-on .app-shell{background:rgba(31,16,10,.76)!important;backdrop-filter:blur(8px)}
 body.tb-motion-on .app-shell .topbar{background:rgba(41,21,12,.88)!important}
 body.tb-motion-on .app-shell .view{background:transparent!important}
 body.tb-motion-on .app-shell .bottom-nav{width:auto!important;min-width:470px!important;max-width:550px!important;height:68px!important;background:rgba(26,13,8,.91)!important;border-radius:24px!important}
 body.tb-motion-on .app-shell .bottom-nav .nav-btn{min-width:82px!important}
}
@media(max-width:959px){
 .tb-motion-scene{background-image:none; background:linear-gradient(90deg,rgba(43,16,8,.38),rgba(174,81,6,.2));}
 .tb-motion-scene::before,.tb-motion-scene::after{content:"";position:absolute;top:0;bottom:0;width:50%;background-image:url('/assets/twins-v6-background.webp');background-repeat:no-repeat;background-size:auto 100%;}
 .tb-motion-scene::before{left:0;background-position:left center;opacity:.86;}
 .tb-motion-scene::after{right:0;background-position:right center;opacity:.89;}
 body.tb-motion-on .app-shell{background:rgba(18,12,10,.58)!important;backdrop-filter:blur(5px)}
 body.tb-motion-on .view{background:transparent!important}
 body.tb-motion-on .topbar{background:rgba(21,13,10,.74)!important}
 .tb-motion-pour{opacity:.28;width:14%;}
}
body.tb-motion-paused .tb-motion-bean,body.tb-motion-paused .tb-motion-bubble,body.tb-motion-paused .tb-motion-pour{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.tb-motion-bean,.tb-motion-bubble,.tb-motion-pour{animation:none!important;display:none!important}}

/* twins-tb3-background-r3.css */
/* Twins Beer TB3 R3. Background only: restore photograph instantly, remove scene
   dark veil and the translucent full-page shell; leave every product card intact. */
html,body{min-height:100%;}
body{background:#301708 url('/assets/twins-tb3-desktop-poster.webp') center center/cover fixed no-repeat!important;}
body.tb-motion-on{background:#301708 url('/assets/twins-tb3-desktop-poster.webp') center center/cover fixed no-repeat!important;}
.tb-motion-scene{
 background:#301708 url('/assets/twins-tb3-desktop-poster.webp') center center/cover no-repeat!important;
 isolation:isolate;pointer-events:none!important;
}
.tb-motion-scene::after,.tb-motion-scene::before{display:none!important;content:none!important;}
.tb-motion-bean,.tb-motion-bubble,.tb-motion-pour{display:none!important;}
/* This removes ONLY the broad translucent shell/blur darkening the entire
   animated background. Existing header/cards/bottom navigation are untouched. */
#app.app-shell,body.tb-motion-on #app.app-shell,body.tb-motion-on .app-shell{
 background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.tb-motion-scene>.tb3-v63-frame{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;border:0;
 opacity:0;transition:opacity .85s ease;pointer-events:none!important;z-index:1;background:transparent;}
.tb-motion-scene.tb3-v63-ready>.tb3-v63-frame{opacity:1;}
@media(max-width:959px){
 html,body{background-color:#1b1512!important;}
 body,body.tb-motion-on{background:#1b1512 url('/assets/twins-mini-calm-right-20261012.webp') center center/cover fixed no-repeat!important;}
 .tb-motion-scene{background:#1b1512 url('/assets/twins-mini-calm-right-20261012.webp') center center/cover no-repeat!important;}
 /* Old mobile pseudo-photos made a visible 50/50 seam. Both are disabled above. */
}
@media(prefers-reduced-motion:reduce){.tb-motion-scene>.tb3-v63-frame{display:none!important;}}

/* TB3 R7.3 — approved mobile still image; avoid compositing a second beer glass.
   Keep the web V6.2 fully animated and leave layout/cards untouched. */
@media(max-width:959px){
  .tb-motion-scene > .tb3-v63-frame{display:none!important;opacity:0!important;}
}

/* twins-v6-home.css */
/* TWINS BEER E34.5 - pixel-directed V6 layout; website desktop HOME ONLY.
   No changes to API, orders, Telegram auth, CMS or mobile component geometry. */
@media (min-width:960px){
 body.tb-motion-on .app-shell{position:relative!important;z-index:1!important;width:min(1110px,calc(100% - 22px))!important;max-width:1110px!important;margin:0 auto!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;backdrop-filter:none!important}
 body.tb-motion-on .app-shell .topbar{background:rgba(34,17,9,.70)!important;backdrop-filter:blur(8px);height:86px!important;padding:10px 16px!important;border:0!important;border-radius:0!important}
 body.tb-motion-on .app-shell .brand-copy strong{color:#fff3dc;font-size:21px!important;letter-spacing:.06em}
 body.tb-motion-on .app-shell .brand-copy small{color:#ffca5b}
 body.tb-motion-on .app-shell .view{background:none!important;width:100%;max-width:none!important;padding:12px 16px 130px!important;min-height:calc(100vh - 110px)}
 body.tb-motion-on .app-shell .bottom-nav{width:auto!important;min-width:0!important;max-width:550px!important;height:68px!important;display:flex!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:15px!important;border-radius:24px!important;border:1px solid #e8b0587a!important;background:rgba(28,14,8,.92)!important;backdrop-filter:blur(14px)}
 body.tb-motion-on .app-shell .bottom-nav .nav-btn{min-width:82px!important;max-width:98px!important;color:#ffddb0!important}
 body.tb-motion-on .app-shell .bottom-nav .nav-btn.active{color:#ffc65b!important}
 body.tb-motion-on .app-shell .cart-chip,body.tb-motion-on .app-shell .icon-btn{background:rgba(37,19,11,.8)!important;border:1px solid #dca24877!important;color:#fff4df!important}
 body.tb-motion-on .app-shell .cart-chip b{background:#ffba38!important;color:#4b250b!important}
 .tbv6-home{display:flex;flex-direction:column;gap:0;isolation:isolate;margin:0 auto;max-width:1050px}
 #view.tbv6-active>section.section:first-of-type,#view.tbv6-active>.shashlik-section{display:none!important}
 .tbv6-hero{display:grid;grid-template-columns:.98fr 1.02fr;gap:16px;align-items:stretch}
 .tbv6-hero-photo{aspect-ratio:1/1;border:2px solid #e4a230;overflow:hidden;border-radius:26px;box-shadow:0 20px 48px #0c05017a;background:#2b190a;position:relative;min-width:0}
 .tbv6-hero-photo picture,.tbv6-hero-photo img{display:block;width:100%;height:100%;object-fit:cover!important;aspect-ratio:1/1}
 .tbv6-info{border-radius:26px;padding:24px 23px;min-width:0;position:relative;overflow:hidden;background:linear-gradient(125deg,#ffe9c4,#ffdfae 47%,#ffcb86);color:#512913;box-shadow:0 21px 50px #18070173,inset 0 1px #ffffff88;border:1px solid #fdd69d;display:flex;flex-direction:column;justify-content:space-between}
 .tbv6-info::before{content:"";pointer-events:none;position:absolute;right:-80px;top:-100px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#ffffff69,transparent 70%)}
 .tbv6-overline{font-size:11px;letter-spacing:2.4px;font-weight:900;color:#9d411b;position:relative}
 .tbv6-info h1{font-size:clamp(31px,3.05vw,42px);line-height:1.05;letter-spacing:-1.45px;margin:13px 0;color:#4b2115;position:relative;font-weight:900}
 .tbv6-info h1 strong{color:#d95d22;display:inline;font-weight:900}
 .tbv6-intro{font-size:13px;color:#70452f;line-height:1.55;margin:0 0 15px;position:relative}
 .tbv6-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .tbv6-infobox{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:9px;background:rgba(255,250,237,.65);border:1px solid rgba(173,89,37,.13);border-radius:13px;padding:11px 10px;min-width:0;color:#512d1c;text-decoration:none}
 .tbv6-infobox .emoji{font-size:19px;text-align:center}.tbv6-infobox strong{font-size:11px;display:block;line-height:1.3;overflow-wrap:anywhere}.tbv6-infobox small{display:block;font-size:10px;color:#906749;line-height:1.4;margin-top:2px}
 .tbv6-ctas{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:12px}
 .tbv6-btn{border:0;border-radius:14px;min-height:47px;font-size:13px;font-weight:900;padding:12px 10px;cursor:pointer;color:#4e2208;background:linear-gradient(120deg,#ffd356,#ff8e2b);box-shadow:0 9px 18px rgba(156,80,17,.10)}
 .tbv6-btn.secondary{background:#fffaed;border:1px solid #efac64;color:#512710}
 .tbv6-heading{display:flex;justify-content:space-between;gap:14px;align-items:end;margin:22px 0 12px;color:#fff6e7;text-shadow:0 2px 12px #170600}
 .tbv6-heading h2{font-size:22px;margin:0 0 4px}.tbv6-heading p{font-size:12px;margin:0;color:#f6d3a3}.tbv6-heading .link{border:0;background:transparent;font-size:12px;color:#ffd075;font-weight:900;cursor:pointer}
 .tbv6-categories{display:grid;grid-template-columns:1fr 1fr;gap:15px}
 .tbv6-category{display:grid;grid-template-columns:190px 1fr;gap:14px;align-items:center;min-width:0;min-height:220px;padding:12px;text-align:left;position:relative;border:1px solid rgba(255,191,82,.5);border-radius:22px;background:linear-gradient(140deg,rgba(65,30,18,.93),rgba(40,18,11,.89));box-shadow:0 16px 33px rgba(0,0,0,.32);cursor:pointer;color:#fff1df}
 .tbv6-category.beer{background:linear-gradient(125deg,rgba(255,209,132,.97),rgba(255,169,65,.97));color:#562b10;border-color:#ffe2a6}
 .tbv6-category img{width:190px;height:190px;object-fit:contain!important;aspect-ratio:1/1;border-radius:16px;border:1px solid rgba(255,204,105,.3);background:rgba(50,22,10,.08)}
 .tbv6-category .eyebrow{font-size:11px;letter-spacing:1.1px;font-weight:900;color:#efcb83}
 .tbv6-category.beer .eyebrow{color:#9f5423}
 .tbv6-category h3{font-size:29px;margin:10px 0 6px;line-height:1.1;color:inherit}
 .tbv6-category p{font-size:13px;line-height:1.45;margin:0;color:#f2ddc4}
 .tbv6-category.beer p{color:#6d3b1e}
 .tbv6-category .arrow{display:grid;place-items:center;position:absolute;bottom:13px;right:14px;width:38px;height:38px;border-radius:50%;background:#ffd18d;font-size:23px;color:#4d2409}
 .tbv6-category:focus-visible,.tbv6-btn:focus-visible{outline:3px solid #ffe490;outline-offset:3px}
 .tbv6-shashlik{margin-top:17px}
 .tbv6-shashlik .section-head{display:none!important}
 .tbv6-shashlik .content-card{width:100%!important;max-width:none!important;aspect-ratio:auto!important;display:grid!important;grid-template-columns:390px minmax(0,1fr)!important;gap:20px!important;align-items:center!important;padding:16px!important;background:linear-gradient(130deg,rgba(53,21,13,.92),rgba(80,31,14,.90))!important;border:1px solid rgba(255,183,64,.48)!important;border-radius:26px!important;box-shadow:0 17px 38px #1c07047d!important;overflow:hidden!important}
 .tbv6-shashlik .content-media{position:relative!important;inset:auto!important;width:390px!important;height:390px!important;aspect-ratio:1/1!important;max-width:none!important;border-radius:19px!important;overflow:hidden!important;background:transparent!important}
 .tbv6-shashlik .content-media picture,.tbv6-shashlik .content-media img{width:100%;height:100%;object-fit:contain!important;aspect-ratio:1/1!important;display:block}
 .tbv6-shashlik .content-copy{position:static!important;min-width:0!important;padding:12px 8px!important;background:none!important;overflow:visible!important;max-height:none!important}
 .tbv6-shashlik .content-copy h3{font-size:35px!important;color:#fff6e8!important;margin:0 0 12px!important}
 .tbv6-shashlik .content-copy p{color:#f4ddbc!important;font-size:15px!important;line-height:1.6!important;max-height:none!important;overflow:visible!important;margin:0 0 10px!important}
 .tbv6-shashlik .content-copy .content-actions{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}
 .tbv6-preorder{display:inline-flex;align-items:center;gap:8px;padding:11px 13px;margin-top:14px;border-radius:11px;font-size:12px;font-weight:900;background:linear-gradient(90deg,#c84812,#f17c1a);color:white}
 /* Keep original lower promotions and afisha, with the site's actual backend data. */
}
@media (min-width:960px) and (max-width:1100px){
 .tbv6-category{grid-template-columns:155px 1fr;min-height:195px}.tbv6-category img{width:155px;height:155px}
 .tbv6-shashlik .content-card{grid-template-columns:38% 1fr!important}.tbv6-shashlik .content-media{width:100%!important;height:auto!important}
}
@media (max-width:959px){.tbv6-home{display:none!important}}

/* twins-tb3-perf-r61.css */
/* Twins Beer TB3 R6.1: non-invasive transparent desktop header + instant poster. */
@media (min-width:960px) {
 body.tb-motion-on #app.app-shell > header.topbar,
 body.tb-motion-on #app.app-shell .topbar,
 body.tb-motion-on .app-shell .topbar {
   background:transparent!important;
   background-image:none!important;
   -webkit-backdrop-filter:none!important;
   backdrop-filter:none!important;
   box-shadow:none!important;
   border-color:transparent!important;
 }
}
/* Keep header controls and all existing layout/interaction untouched. */

/* tb3-r7-client.css */
/* TB3 R7: only a compact hours card, About page and existing dark-amber palette. */
.tb3-hours-status{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:72px;padding:14px 16px;border-radius:19px;background:rgba(27,25,20,.93);border:1px solid rgba(255,185,72,.35);color:#f8e7c9;text-align:left;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.15)}
.tb3-hours-status .tb3-indicator{display:flex;align-items:center;gap:10px;font-weight:750;font-size:15px}
.tb3-hours-status .tb3-dot{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#22834a;color:#fff;font-size:12px;flex-shrink:0}
.tb3-hours-status[data-state="closed"] .tb3-dot{background:#a03b37}.tb3-hours-status[data-state="closing_soon"] .tb3-dot{background:#cc8627}
.tb3-hours-status small{display:block;margin-top:6px;color:#e4bf96;font-size:12px;line-height:1.5}.tb3-hours-status .tb3-chevron{font-size:22px;color:#d9aa56}
.hero-copy .tb3-hours-status{margin:15px 0 18px}.tbv6-info .tb3-hours-status{margin:15px 0 12px}
.tb3-about-page{max-width:1050px;margin:0 auto;padding:16px 0 45px;color:#f9e6cf}.tb3-about-page h1{font-size:clamp(26px,5vw,38px);margin:15px 0 22px}.tb3-about-page h2{font-size:20px;margin:0 0 14px;color:#ffce75}.tb3-about-card{background:rgba(23,24,19,.95);border:1px solid rgba(245,181,65,.28);border-radius:20px;padding:20px;margin:0 0 15px;line-height:1.65}.tb3-about-card p{margin:0 0 10px}.tb3-about-page .tb3-hours-status{margin:0}.tb3-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tb3-week{display:grid;gap:9px}.tb3-week-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(255,208,121,.13);padding:7px 0}.tb3-week-row.today{color:#ffd274;font-weight:700}.tb3-social{display:flex;flex-wrap:wrap;gap:10px}.tb3-social a,.tb3-about-link{display:inline-flex;align-items:center;min-height:43px;padding:10px 14px;color:#f8dfb5;background:#2c271e;border:1px solid #68513a;border-radius:13px;text-decoration:none}.tb3-about-back{cursor:pointer;display:inline-block;padding:9px 0;border:0;background:none;color:#f5bd68;font-size:15px}.tb3-about-link:hover,.tb3-social a:hover{border-color:#e8ae54}
@media(max-width:720px){.tb3-about-grid{grid-template-columns:1fr}.tb3-about-card{padding:17px}.tb3-hours-status{margin-bottom:10px}}

/* tb3-r72-web-layout.css */
/* Twins Beer TB3 R7.2: spacious desktop feature grids + separated home blocks.
   Additive web-only override. Existing cards for other drinks and the mobile catalog
   keep their previously approved geometry. */
@media (min-width:960px) {
  /* Exactly three FULL-WIDTH large cards in each of the two priority sections. */
  body .app-shell .view .product-grid.draft-grid {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:clamp(16px,1.7vw,23px) !important;
    align-items:stretch;
    width:100% !important;
    max-width:none !important;
    margin-bottom:32px;
  }
  body .app-shell .view .product-grid.draft-grid > .product-card {
    display:flex !important;
    flex-direction:column !important;
    aspect-ratio:auto !important;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden !important;
    border-radius:22px;
    background:linear-gradient(160deg,rgba(49,27,18,.97),rgba(27,17,14,.97)) !important;
    box-shadow:0 14px 36px rgba(17,8,3,.35);
  }
  /* Square artwork, fully shown, never covered by the controls. */
  body .app-shell .view .product-grid.draft-grid .product-image {
    position:relative !important;
    inset:auto !important;
    display:block !important;
    flex:0 0 auto;
    width:100% !important;
    height:auto !important;
    aspect-ratio:1/1 !important;
    overflow:hidden !important;
    background:rgba(26,16,12,.35);
  }
  body .app-shell .view .product-grid.draft-grid .product-image picture,
  body .app-shell .view .product-grid.draft-grid .product-image img {
    position:static !important;
    display:block;
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center;
  }
  body .app-shell .view .product-grid.draft-grid .product-body {
    position:static !important;
    inset:auto !important;
    display:flex !important;
    flex-direction:column;
    flex:1 0 auto;
    min-height:160px !important;
    max-height:none !important;
    overflow:visible !important;
    padding:16px 17px 17px !important;
    background:linear-gradient(180deg,#301b13,#21130f) !important;
    color:#fff5e7;
  }
  body .app-shell .view .product-grid.draft-grid .product-title {
    font-size:20px !important;
    line-height:1.26;
    min-height:0 !important;
    margin:0 0 4px !important;
    overflow-wrap:break-word;
  }
  body .app-shell .view .product-grid.draft-grid .product-brand {
    font-size:13px !important;
    line-height:1.4;
    margin:2px 0 8px;
    color:#e8c4a2;
  }
  body .app-shell .view .product-grid.draft-grid .tb72-product-desc {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:12px;
    line-height:1.45;
    color:#dfb997;
    margin:2px 0 10px;
  }
  body .app-shell .view .product-grid.draft-grid .variant-chips {
    width:100%;
    min-height:40px;
    margin-top:auto;
    padding:8px 0 9px;
    overflow-x:auto;
  }
  body .app-shell .view .product-grid.draft-grid .variant-chip {
    flex:1 0 auto;
    min-width:0;
    padding:7px 4px;
    font-size:12px;
  }
  body .app-shell .view .product-grid.draft-grid .price-row {
    margin-top:auto;
    min-height:45px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  body .app-shell .view .product-grid.draft-grid .add-btn {
    width:45px;
    height:45px;
    flex:0 0 45px;
  }
  /* Explicit rhythm on desktop home. Two hero panels must not touch/overlap. */
  body .tbv6-hero {
    grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr) !important;
    gap:clamp(22px,2.3vw,30px) !important;
    margin-bottom:14px;
  }
  body .tbv6-hero-photo,
  body .tbv6-info {min-width:0;max-width:100%;}
  body .tbv6-home > .tbv6-heading {margin-top:27px !important;}
  body .tbv6-home > .tbv6-categories {margin-bottom:18px;}
  body .tbv6-home > .tbv6-shashlik {margin-top:23px !important;}
}
/* A small breathing space after the homepage image on phones, without changing
   the mobile catalog/product grid or the order of hero, status and categories. */
@media(max-width:959px){
  #view > section.section:first-of-type > .hero-copy{padding-top:18px;}
}

/* web-card-layout-20261012.css */
/* Loaded by the website only. The Telegram shell keeps its existing styles. */
#app #view .product-card,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  aspect-ratio: auto !important;
  height: auto !important;
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: #211810 !important;
}

#app #view .product-card .product-image,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) .content-media {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #171b18 !important;
}

#app #view .product-image picture,
#app #view .product-image img,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) .content-media picture,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) .content-media img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center;
}

#app #view .product-card .product-body,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) .content-copy {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  min-width: 0;
  min-height: 160px !important;
  max-height: none !important;
  padding: 16px !important;
  overflow: visible !important;
  background: #211810 !important;
}

#app #view .product-card .product-title,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) h3 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  letter-spacing: 0;
  min-height: 2.6em !important;
  margin: 0 0 8px !important;
  overflow-wrap: anywhere;
}

#app #view .product-body p,
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) .content-copy p {
  display: block !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 10px !important;
  overflow-wrap: anywhere;
}

#app #view .product-body .price-row {
  margin-top: auto !important;
  padding-top: 12px;
}
#app #view .content-card:not(.shashlik-section .content-card, .tbv6-shashlik .content-card) .content-copy .content-actions {
  margin-top: auto !important;
  padding-top: 12px;
  flex-wrap: wrap;
}

/* Coffee, beer and shashlik retain their previous homepage styles. */

@media (max-width: 659px) {
  #app #view .product-card .product-body { padding: 12px !important; }
  #app #view .product-card .product-title { font-size: 15px !important; }
}

/* web-ux-20261012.css */
.web-signin-section {
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:calc(100dvh - 235px);
  margin:0;
  padding:24px 0;
}
#app #view .web-signin {
  width:100%;
  max-width:440px;
  margin:0;
  padding:28px;
  border-radius:8px;
  border:1px solid #9b743c;
  background:#211b17;
  color:#fff1df;
  box-shadow:0 12px 35px #0005;
}
.web-signin h2 {margin:0 0 12px;font-size:24px;line-height:1.25;letter-spacing:0;}
.web-signin .note {font-size:13px;line-height:1.6;color:#dcc8ae;}
.web-signin .auth-form {gap:10px;margin-top:22px;}
.web-signin .signin-label {display:block;font-size:13px;font-weight:700;margin:0 0 2px;}
.web-signin input {width:100%;font-size:16px;min-height:48px;border-radius:8px;border-color:#786044;background:#171714;}
.web-signin input:focus-visible {outline:2px solid #ffd36d;outline-offset:2px;}
.web-signin button,.web-signin .signin-telegram {min-height:48px;border-radius:8px;font-size:14px;}
.web-signin .auth-row {margin-top:8px;}
.web-signin #loginCode {letter-spacing:0;font-variant-numeric:tabular-nums;}
.web-signin .signin-status {margin:4px 0 0;font-size:13px;line-height:1.5;color:#dcc8ae;}
.web-signin .signin-status[data-state="success"] {color:#b8e3bb;}
.web-signin .signin-status[data-state="error"] {color:#ffc1b9;}
.web-signin .signin-divider {display:flex;align-items:center;gap:12px;margin:20px 0;color:#c7b49b;font-size:12px;}
.web-signin .signin-divider::before,.web-signin .signin-divider::after {content:"";height:1px;flex:1;background:#65543f;}
.web-signin .signin-telegram {background:#29392e;border-color:#7b9b7e;color:#edf8ee;text-decoration:none;}
.web-signin .signin-telegram-note {margin:12px 0 0;}
.web-signin .signin-link-note {margin:14px 0 0;padding-top:14px;border-top:1px solid #65543f;font-size:11px;color:#b9a990;}
@media (min-width:960px) {
  .tbv6-heading {align-items:center;flex-wrap:wrap;}
  .tbv6-heading .tbv6-btn.menu {min-height:47px;padding:12px 18px;background:#b8dfb5;color:#1e3021;border:1px solid #d6ead2;border-radius:14px;font-size:13px;text-shadow:none;}
}
@media (max-width:479px) {
  .web-signin-section {min-height:calc(100dvh - 195px);padding:16px 0;}
  #app #view .web-signin {padding:22px 18px;}
  .web-signin .auth-row {flex-wrap:wrap;}
  .web-signin #verifyLoginCode {width:100%;}
}

/* web-background-dim-20261014.css */
/* Desktop website only. Keep the veil inside the background scene, below UI. */
@media (min-width: 960px) {
  body,
  body.tb-motion-on {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.3625), rgba(0, 0, 0, 0.3625)),
      url('/assets/twins-tb3-desktop-poster.webp') !important;
  }

  .tb-motion-scene::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    background: rgba(0, 0, 0, 0.3625) !important;
    z-index: 2;
    pointer-events: none !important;
  }
}

/* order-receipt.e34-4.css */
.order-lines{display:grid;gap:0;text-align:left;min-width:0}
.order-line{padding:12px 0;border-bottom:1px solid var(--line,#34362e);min-width:0}
.order-line details{min-width:0}
.order-line summary{display:list-item;cursor:pointer;padding-right:4px;overflow-wrap:anywhere;line-height:1.4}
.order-item-name{display:inline;font-weight:700}
.order-line details[open] .order-item-name{display:inline;overflow:visible;-webkit-line-clamp:unset}
.order-line details[open]>small{display:block;margin-top:6px;color:var(--muted,#aaa79c);overflow-wrap:anywhere}
.order-line details:not([open]) .order-item-name{display:-webkit-inline-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;vertical-align:top;max-width:calc(100% - 22px)}
.order-line-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:baseline;margin-top:7px;font-size:13px;line-height:1.4}
.order-line-meta>b{grid-column:1/-1;overflow-wrap:anywhere}
.order-line-meta>span{color:var(--muted,#aaa79c);overflow-wrap:anywhere}
.order-line-meta>strong{text-align:right;white-space:nowrap}
.order-totals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 16px;padding:16px 0;text-align:left}
.order-totals>b,.order-totals>strong:nth-child(even){text-align:right;white-space:nowrap}
.order-totals>span{color:var(--muted,#aaa79c)}
.order-receipt{min-width:0}
.order-receipt-head{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.order-receipt-head small{color:var(--muted,#aaa79c)}
.order-receipt>p{overflow-wrap:anywhere}
.order-action-status:empty{display:none}
.order-action-status{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.order-action-status[role=alert]{color:#ee7d77}
.order-payment-actions{display:flex;gap:8px;flex-wrap:wrap}
.order-payment-actions .btn{white-space:normal;min-height:44px;max-width:100%;line-height:1.35}
.order-history>summary{cursor:pointer;line-height:1.4;overflow-wrap:anywhere}
.order-history .history-top{display:flex;justify-content:space-between;gap:10px;min-width:0}
.order-history .history-top>b{overflow-wrap:anywhere}
.order-history .history-top>strong{white-space:nowrap}
.order-history .history-meta{margin-top:6px}
@media(max-width:600px){.order-payment-actions .btn{flex:1 1 100%;width:100%}.order-receipt h3{font-size:16px}}
