@font-face { font-family: "Lora"; src: url("../fonts/Lora.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  position: fixed; inset: 0; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; overscroll-behavior: none; background: #120c1c;
  font-family: "Lora", Georgia, "Times New Roman", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #3a2414;
}
body::before { content: ""; position: fixed; inset: -40px; background: url("../img/menu.jpg") center/cover; filter: blur(22px) brightness(0.45) saturate(1.2); }
#app { position: fixed; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; background: #0c0a14; box-shadow: 0 0 60px rgba(0,0,0,.7); }
.screen { position: absolute; inset: 0; display: none; overflow: hidden; }
.screen.active { display: flex; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; outline: none; }
svg { display: block; }
.fit { position: absolute; left: 0; top: 0; }

/* ---------- загрузка ---------- */
#scr-load { align-items: center; justify-content: center; background: radial-gradient(circle at 50% 35%, #3a2a5a, #120c1c 70%); }
.load-box { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 80%; max-width: 300px; }
.load-bar { width: 100%; height: 16px; border-radius: 9px; background: #1c1228; border: 2px solid #f0c44a; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,.6); }
#load-fill { height: 100%; width: 0; background: linear-gradient(180deg, #ffe89a, #e0902a); border-radius: 7px; transition: width .2s; }
#load-text { color: #f3e3bd; font-size: 14px; text-align: center; }

/* ---------- логотип ---------- */
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; filter: drop-shadow(0 1.5px 0 #5a2a0a) drop-shadow(0 -1px 0 #5a2a0a) drop-shadow(1.5px 0 0 #5a2a0a) drop-shadow(-1.5px 0 0 #5a2a0a) drop-shadow(0 4px 0 #2a1408) drop-shadow(0 8px 12px rgba(0,0,0,.55)); }
.logo span { font-weight: 700; background: linear-gradient(180deg, #fff6c8 10%, #ffd45a 48%, #e0862a 52%, #ffc24a 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .l0 { font-size: 26px; font-style: italic; letter-spacing: 8px; margin-bottom: 2px; background: linear-gradient(180deg, #fff, #ffd0d0); -webkit-background-clip: text; background-clip: text; }
.logo .l1 { font-size: 46px; letter-spacing: 1px; }
.logo .l2 { font-size: 58px; letter-spacing: 1px; margin-top: -4px; }
.logo.small .l1 { font-size: 40px; } .logo.small .l2 { font-size: 26px; margin-top: 2px; }

/* ---------- меню ---------- */
.menu-bg { position: absolute; inset: -4%; background: url("../img/menu.jpg") center 30%/cover; animation: bgdrift 26s ease-in-out infinite alternate; }
@keyframes bgdrift { from { transform: scale(1) translateY(0); } to { transform: scale(1.07) translateY(-1.5%); } }
.menu-glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,40,.35) 0%, rgba(20,10,40,0) 26%, rgba(10,20,10,0) 46%, rgba(14,24,12,.78) 100%); pointer-events: none; }
#fireflies { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ff { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff6b0; box-shadow: 0 0 10px 4px rgba(255,236,140,.7); animation: ff 7s ease-in-out infinite; opacity: 0; }
@keyframes ff { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: .95; } 50% { transform: translate(24px,-46px); opacity: .5; } 80% { opacity: .9; } 100% { transform: translate(-16px,-90px); opacity: 0; } }
.menu-col { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 26px 14px; }
.menu-hero { height: 112px; display: flex; align-items: flex-end; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); pointer-events: none; }
.menu-hero canvas { width: 150px; height: 150px; margin-bottom: -18px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.guest { display: none; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; background: linear-gradient(180deg, #5a2a1a, #3a1810); border: 2px solid #f0c44a; color: #ffe9b0; font-size: 12px; line-height: 1.2; max-width: 320px; box-shadow: 0 3px 8px rgba(0,0,0,.5); }
.guest.show { display: flex; } .guest svg { width: 22px; height: 22px; flex-shrink: 0; }
.menu-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 310px; }
.btn-row { display: flex; gap: 8px; width: 100%; }

/* деревянные таблички */
.btn.wood {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 16px;
  font-size: 18px; font-weight: 700; color: #fff3d0; text-shadow: 0 2px 0 #3a1c08, 0 0 6px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: repeating-linear-gradient(90deg, rgba(60,30,10,.16) 0 2px, transparent 2px 23px), linear-gradient(180deg, #c9894a 0%, #a5672f 45%, #8a4f22 100%);
  border: 3px solid #4a2610; border-radius: 9px; box-shadow: inset 0 2px 0 rgba(255,230,170,.55), inset 0 -4px 0 rgba(50,20,5,.38), 0 4px 0 #2a1408, 0 7px 12px rgba(0,0,0,.45);
  transition: transform .06s, box-shadow .06s;
}
.btn.wood::before, .btn.wood::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2b0, #b8862a 60%, #5a3a0a); box-shadow: 0 1px 1px rgba(0,0,0,.5); }
.btn.wood::before { left: 7px; } .btn.wood::after { right: 7px; }
.btn.wood:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255,230,170,.4), inset 0 -2px 0 rgba(50,20,5,.38), 0 1px 0 #2a1408, 0 2px 5px rgba(0,0,0,.45); }
.btn.wood svg { width: 26px; height: 26px; flex-shrink: 0; }
.btn.wood span { overflow: hidden; text-overflow: ellipsis; }
.btn.wood.big { min-height: 58px; font-size: 21px; background: repeating-linear-gradient(90deg, rgba(90,10,10,.16) 0 2px, transparent 2px 23px), linear-gradient(180deg, #e2564a 0%, #b8322a 50%, #8a1c1c 100%); border-color: #4a0c0c; }
.btn.wood.red { background: linear-gradient(180deg, #e2564a 0%, #b8322a 50%, #8a1c1c 100%); border-color: #4a0c0c; }
.btn.wood.half { font-size: 14px; padding: 6px 6px; gap: 5px; } .btn.wood.half svg { width: 20px; height: 20px; } .btn.wood.half::before, .btn.wood.half::after { display: none; }
.btn.wood[disabled] { filter: grayscale(.8) brightness(.8); }
.menu-foot { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 330px; justify-content: center; }
.menu-foot.in-panel { margin-top: 4px; }
.rbtn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 28%, #7a4a2a, #3a1c0c 75%); border: 2.5px solid #f0c44a; box-shadow: 0 3px 0 #1a0c04, 0 5px 9px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,220,150,.5); }
.rbtn svg { width: 26px; height: 26px; } .rbtn:active { transform: translateY(2px); }
.pbtn { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 22px; background: rgba(30,14,8,.72); border: 2px solid rgba(240,196,74,.8); color: #ffe9b0; font-size: 10.5px; line-height: 1.15; text-align: left; }
.pbtn svg { width: 22px; height: 22px; flex-shrink: 0; } .pbtn span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- вступление ---------- */
#scr-intro { background: #0c0812; }
.intro-img { position: absolute; left: 0; right: 0; top: 0; height: 70%; background: center/cover; transition: opacity .35s; }
.intro-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,18,0) 55%, #0c0812 100%); }
.intro-col { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 18px 22px 18px; gap: 14px; }
.intro-text { width: 100%; padding: 16px 18px; min-height: 148px; font-size: 17px; line-height: 1.4; color: #3a2414; background: linear-gradient(180deg, #f8ecc8, #e6cf9c); border: 3px solid #5a3818; border-radius: 8px; box-shadow: 0 0 0 3px #c9a05a, 0 8px 18px rgba(0,0,0,.6), inset 0 0 26px rgba(150,100,40,.35); }

.intro-btns { display: flex; gap: 8px; width: 100%; }
/* ---------- игра ---------- */
#scr-game { background: #0c0a14; }
#cv { position: absolute; left: 0; top: 0; touch-action: none; }
#game-ui { position: absolute; inset: 0; pointer-events: none; }
#game-ui > * { pointer-events: auto; }
.top-btns { position: absolute; top: 8px; right: 8px; display: flex; gap: 8px; transform-origin: 100% 0; }
.pad { position: absolute; right: 10px; bottom: 12px; width: 200px; height: 190px; transform-origin: 100% 100%; touch-action: none; pointer-events: none !important; }
.pad > * { pointer-events: auto; }
.abtn { position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; touch-action: none; background: radial-gradient(circle at 35% 28%, rgba(150,96,56,.92), rgba(58,28,12,.9) 75%); border: 3px solid #f0c44a; box-shadow: 0 4px 0 rgba(20,10,4,.8), 0 7px 12px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,220,150,.5); }
.abtn.on, .abtn:active { transform: translateY(3px) scale(.96); box-shadow: 0 1px 0 rgba(20,10,4,.8), inset 0 2px 8px rgba(0,0,0,.5); filter: brightness(1.25); }
.abtn svg { width: 56%; height: 56%; } .abtn canvas { width: 66%; height: 66%; }
.abtn i { position: absolute; right: -4px; bottom: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #2a1408; border: 2px solid #f0c44a; color: #fff3d0; font-style: normal; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; }
.abtn i:empty { display: none; }
.abtn.atk { width: 82px; height: 82px; right: 0; bottom: 8px; background: radial-gradient(circle at 35% 28%, rgba(232,96,80,.95), rgba(122,20,24,.92) 75%); }
.abtn.atk span { position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); padding: 2px 9px; border-radius: 9px; background: #2a1408; border: 2px solid #f0c44a; color: #fff3d0; font-size: 12px; font-weight: 700; white-space: nowrap; }
.abtn.atk span:empty { display: none; }
.abtn.atk.act { background: radial-gradient(circle at 35% 28%, rgba(120,210,140,.95), rgba(24,104,60,.92) 75%); animation: pulse 0.9s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 0 rgba(20,10,4,.8), 0 0 0 0 rgba(140,255,170,.7); } 50% { box-shadow: 0 4px 0 rgba(20,10,4,.8), 0 0 0 9px rgba(140,255,170,0); } }
.abtn.roll { width: 60px; height: 60px; right: 90px; bottom: 0; }
.abtn.item { width: 60px; height: 60px; right: 86px; bottom: 68px; }
.abtn.pot { width: 50px; height: 50px; right: 14px; bottom: 100px; }
.abtn.swap { width: 42px; height: 42px; right: 152px; bottom: 78px; }
.abtn.item.none { opacity: .45; } .abtn.item.none canvas { display: none; }
#joy { position: absolute; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; display: none; pointer-events: none !important; background: radial-gradient(circle, rgba(255,240,200,.1) 40%, rgba(255,240,200,.24) 100%); border: 3px solid rgba(240,196,74,.7); box-shadow: inset 0 0 14px rgba(0,0,0,.35); }
#joy-knob { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ffe9a0, #c98a2a 70%, #7a4a12); border: 2px solid #4a2a08; box-shadow: 0 3px 6px rgba(0,0,0,.5); }
#game-ui.talk .pad, #game-ui.talk #joy { display: none !important; }
/* разговор */
#dlg { position: absolute; left: 8px; bottom: 10px; transform-origin: 0 100%; display: none; align-items: flex-start; gap: 10px; padding: 12px 14px 14px; min-height: 104px;
  background: linear-gradient(180deg, #f8ecc8, #e6cf9c); border: 3px solid #5a3818; border-radius: 8px; box-shadow: 0 0 0 3px #c9a05a, 0 8px 18px rgba(0,0,0,.6), inset 0 0 26px rgba(150,100,40,.3); }
#dlg.show { display: flex; animation: pop .18s ease-out; }
#dlg-face { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; background: linear-gradient(180deg, #9ad0f0, #6aa8d8); border: 2.5px solid #5a3818; }
.dlg-body { flex: 1; min-width: 0; }
#dlg-name { font-size: 14px; font-weight: 700; color: #a02a22; margin-bottom: 3px; letter-spacing: .3px; }
#dlg-text { font-size: 15.5px; line-height: 1.34; min-height: 62px; color: #3a2414; }
.dlg-next { position: absolute; right: 8px; bottom: 5px; animation: bob 0.9s ease-in-out infinite; } .dlg-next svg { width: 18px; height: 18px; }

/* ---------- окна ---------- */
.overlay { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 50; background: rgba(12,6,20,.72); }
.overlay.show { display: flex; } .overlay.top { z-index: 60; }
.panel { position: relative; width: 320px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 30px 20px 18px; color: #3a2414;
  background: radial-gradient(circle at 50% 0%, #fbf1d2, #ecd7a6 70%, #dcc28c); border: 4px solid #5a3818; border-radius: 10px;
  box-shadow: 0 0 0 4px #b98a48, 0 0 0 7px #4a2a10, 0 16px 34px rgba(0,0,0,.7), inset 0 0 34px rgba(150,100,40,.35); animation: pop .22s cubic-bezier(.2,1.4,.5,1); }
.panel::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 12px; border-radius: 3px; opacity: .9;
  background: linear-gradient(135deg, #b8322a 25%, transparent 25%) -6px 0/12px 12px, linear-gradient(225deg, #b8322a 25%, transparent 25%) -6px 0/12px 12px, linear-gradient(315deg, #b8322a 25%, transparent 25%) 0 0/12px 12px, linear-gradient(45deg, #b8322a 25%, #f6e8c0 25%) 0 0/12px 12px; }
.panel.wide { width: 344px; }
@keyframes pop { from { opacity: 0; transform: scale(.86) translateY(14px); } to { opacity: 1; transform: none; } }
.panel h2 { font-size: 24px; font-weight: 700; color: #7a1a14; text-align: center; text-shadow: 0 1px 0 #fff3d0; line-height: 1.1; }
.xbtn { position: absolute; right: -6px; top: -6px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 28%, #7a4a2a, #3a1c0c 75%); border: 2.5px solid #f0c44a; box-shadow: 0 3px 6px rgba(0,0,0,.5); z-index: 2; }
.xbtn svg { width: 22px; height: 22px; }
.cf-text { font-size: 15px; line-height: 1.35; text-align: center; }
.list { width: 100%; overflow-y: auto; max-height: 330px; display: flex; flex-direction: column; gap: 6px; padding: 2px; scrollbar-width: none; }
.list::-webkit-scrollbar { display: none; }
.purse { display: flex; align-items: center; gap: 7px; padding: 4px 14px; border-radius: 16px; background: rgba(90,56,24,.16); border: 1.5px solid rgba(90,56,24,.5); font-size: 14px; }
.purse canvas, .purse svg { width: 24px; height: 24px; } .purse b { font-size: 17px; color: #1f7a3e; }
.stat-row { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 4px 8px; font-size: 15px; border-bottom: 1.5px dashed rgba(90,56,24,.4); }
.stat-row b { color: #7a1a14; } #end-stats { width: 100%; }
.pause-info { font-size: 14px; text-align: center; line-height: 1.3; }
/* «билет» результата */
.panel.ticket { padding-top: 14px; } .panel.ticket::before { display: none; }
.pic { width: 100%; height: 132px; border-radius: 6px; border: 3px solid #5a3818; background: center 38%/cover; box-shadow: inset 0 0 20px rgba(0,0,0,.5); }
.pic.fallen { background-image: url("../img/fallen.jpg"); } .pic.ending { background-image: url("../img/ending.jpg"); background-position: center 88%; }
/* вкладки сумки */
.tabs { display: flex; gap: 4px; width: 100%; margin-top: 2px; }
.tab { flex: 1; height: 40px; border-radius: 8px 8px 0 0; font-size: 15px; font-weight: 700; color: #6b4a2a; background: rgba(90,56,24,.14); border: 2px solid rgba(90,56,24,.45); border-bottom: none; }
.tab.on { background: linear-gradient(180deg, #b8322a, #8a1c1c); color: #fff3d0; border-color: #4a0c0c; text-shadow: 0 1px 0 #3a0808; }
.tab-body { min-height: 300px; max-height: 330px; }
.sec { font-size: 13px; font-weight: 700; color: #a02a22; letter-spacing: .6px; text-transform: uppercase; margin: 4px 2px 0; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 8px; background: rgba(255,250,230,.55); border: 1.5px solid rgba(90,56,24,.4); min-height: 54px; text-align: left; width: 100%; }
.row canvas.ic, .row svg { width: 38px; height: 38px; flex-shrink: 0; }
.row .tx { flex: 1; min-width: 0; } .row .tx b { display: block; font-size: 15px; color: #3a2414; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .row .tx span { display: block; font-size: 12px; line-height: 1.22; color: #6b4a2a; }
.row .rt { flex-shrink: 0; font-size: 14px; font-weight: 700; color: #7a1a14; text-align: right; }
.row.sel { background: linear-gradient(180deg, #fff2b0, #f0cf70); border-color: #a8741a; box-shadow: 0 0 0 2px rgba(240,196,74,.6); }
.row.done { opacity: .6; } .row.locked { filter: grayscale(.9); opacity: .55; }
.price { display: flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 8px; min-width: 70px; min-height: 40px; justify-content: center; font-size: 15px; font-weight: 700; color: #fff3d0; background: linear-gradient(180deg, #4fae5a, #1f7a3e); border: 2px solid #0f4a22; box-shadow: 0 2px 0 #0a3016; }
.price canvas { width: 20px !important; height: 20px !important; } .price.off { background: linear-gradient(180deg, #a8a096, #6e675e); border-color: #3a362f; box-shadow: 0 2px 0 #2a2620; font-size: 12px; }
.seals { display: flex; justify-content: center; gap: 14px; width: 100%; padding: 4px 0; } .seals canvas { width: 46px; height: 46px; } .seals canvas.off { filter: grayscale(1) brightness(.45); opacity: .5; }
.mapwrap { display: flex; flex-direction: column; align-items: center; gap: 6px; } .mapwrap canvas { border: 3px solid #5a3818; border-radius: 6px; image-rendering: pixelated; background: #1a1426; max-width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center; font-size: 11.5px; } .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; border: 1px solid #2a1408; }
/* рейтинг */
.lb-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(255,250,230,.55); border: 1.5px solid rgba(90,56,24,.4); }
.lb-medal { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #6b4a2a; }
.lb-medal.gold, .lb-medal.silver, .lb-medal.bronze { border-radius: 50%; color: #3a2008; font-size: 16px; border: 2px solid #5a3a0a; box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 2px 3px rgba(0,0,0,.35); }
.lb-medal.gold { background: radial-gradient(circle at 35% 28%, #fff6c0, #f0c44a 60%, #a8741a); } .lb-medal.silver { background: radial-gradient(circle at 35% 28%, #ffffff, #c4ccd6 60%, #6d7884); } .lb-medal.bronze { background: radial-gradient(circle at 35% 28%, #ffd9b0, #d08a4a 60%, #7a421a); }
.lb-avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(180deg, #b8322a, #7a1a14); color: #fff3d0; font-weight: 700; border: 2px solid #5a3818; }
.lb-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; }
.lb-score { flex-shrink: 0; font-size: 15px; font-weight: 700; color: #7a1a14; }
.lb-empty { text-align: center; padding: 22px 10px; font-size: 15px; color: #6b4a2a; }
.lb-row.top-1 { background: linear-gradient(90deg, #fff2b0, #f6dc8a); border-color: #a8741a; } .lb-row.top-2 { background: linear-gradient(90deg, #f4f6f8, #d9dfe6); border-color: #6d7884; } .lb-row.top-3 { background: linear-gradient(90deg, #ffe6cc, #f0c49a); border-color: #9a5a2a; }
.lb-row.me { box-shadow: 0 0 0 2.5px #b8322a; }
/* как играть */
.how-row { display: flex; gap: 10px; align-items: flex-start; padding: 7px 9px; border-radius: 8px; background: rgba(255,250,230,.55); border: 1.5px solid rgba(90,56,24,.4); }
.how-row svg { width: 32px; height: 32px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #7a4a2a, #3a1c0c 75%); }
.how-row p { font-size: 13.5px; line-height: 1.3; } .how-row b { color: #7a1a14; }
/* тост */
#toast { position: absolute; left: 50%; top: 74px; transform: translate(-50%, -16px); max-width: 88%; padding: 8px 16px; border-radius: 8px; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s;
  background: linear-gradient(180deg, #5a2a1a, #3a1810); border: 2px solid #f0c44a; color: #ffe9b0; font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; box-shadow: 0 6px 14px rgba(0,0,0,.55); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
