/* Mabbo login / register page (/auth/login, /auth/register), 2026-10-21. Same hotel look as the maintenance page
   and the CMS: the autumn pixel hotel behind a Leet-style top bar (logo in the middle, dark button boxes on both
   sides), two avatars on a floor tile, dark rounded boxes and green Habbo buttons. The login/register box sits on
   the right of the scene; news and community rules are below. Only this page loads this file (the auth layout is
   shared with /auth/beta, so everything here is scoped to body.h-auth + .mgr).
   Markup: app/views/auth/login.php. Undo: C:\Mabbo\giris-sayfa-yedek-*\GERI-AL.bat */
:root {
    --mgr-bg: #141617;
    --mgr-card: #1d2022;
    --mgr-card-2: #24282b;
    --mgr-field: #121415;
    --mgr-line: rgba(255, 255, 255, .08);
    --mgr-text: #f2f3f4;
    --mgr-muted: #999fa5;
    --mgr-gold: #f2b51e;
    --mgr-green: #3fbf4a;
}

html { min-width: 0; background: var(--mgr-bg); color-scheme: dark; }
body.h-auth { overflow-x: hidden; overflow-y: auto; min-height: 100vh; background: var(--mgr-bg); color: var(--mgr-text); font: 14px/1.5 Ubuntu, Arial, sans-serif; }
.mgr { display: block; color: var(--mgr-text); }
.mgr img { image-rendering: pixelated; }
.mgr a { color: inherit; }
.mgr :where(button, input) { font: inherit; color: inherit; }
.mgr [x-cloak] { display: none !important; }

/* ---------------------------------------------------------------- scene: picture, leaves */
/* the picture has a fixed height, so it never moves or rescales when the login box changes height
   (register steps, error messages); the scene's own bottom edge fades into the page colour */
.mgr-scene { position: relative; overflow: hidden; padding-bottom: 34px; }
.mgr-scene::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(20, 22, 23, 0), var(--mgr-bg)); pointer-events: none; }
.mgr-scene__bg { position: absolute; top: 0; left: 0; right: 0; height: 940px; background:
    linear-gradient(180deg, rgba(12, 20, 36, .7) 0%, rgba(12, 20, 36, .34) 28%, rgba(20, 14, 30, .55) 72%, var(--mgr-bg) 100%),
    linear-gradient(90deg, rgba(14, 10, 22, .8) 0%, rgba(20, 14, 30, .35) 48%, rgba(20, 14, 30, .25) 100%),
    url('/public/images/theme/bg-header-automne.webp') center 35% / cover no-repeat; image-rendering: pixelated; }
.mgr-leaves { position: absolute; inset: 0; pointer-events: none; }
.mgr-leaves i { position: absolute; top: -12px; width: 7px; height: 7px; background: #e8792b; box-shadow: 7px 0 0 #c9541c, 0 7px 0 #f2a03c; opacity: .85; animation: mgr-fall 16s linear infinite; }
.mgr-leaves i:nth-child(1) { left: 8%; animation-delay: -1s; }
.mgr-leaves i:nth-child(2) { left: 24%; animation-delay: -6s; animation-duration: 19s; background: #d9a32b; }
.mgr-leaves i:nth-child(3) { left: 41%; animation-delay: -10s; animation-duration: 14s; }
.mgr-leaves i:nth-child(4) { left: 55%; animation-delay: -3s; animation-duration: 21s; background: #b8401c; }
.mgr-leaves i:nth-child(5) { left: 70%; animation-delay: -8s; animation-duration: 17s; }
.mgr-leaves i:nth-child(6) { left: 86%; animation-delay: -12s; animation-duration: 20s; background: #d9a32b; }
.mgr-leaves i:nth-child(7) { left: 33%; animation-delay: -14s; animation-duration: 23s; transform: scale(.7); }
@keyframes mgr-fall { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(18px, 150px) rotate(90deg); } 50% { transform: translate(-6px, 300px) rotate(180deg); } 75% { transform: translate(14px, 450px) rotate(270deg); } 100% { transform: translate(0, 600px) rotate(360deg); } }

/* ---------------------------------------------------------------- top bar */
.mgr-top { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 12px 20px; }
.mgr-top__center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mgr-logo img { display: block; height: 50px; image-rendering: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .35)) drop-shadow(0 0 14px rgba(0, 0, 0, .4)); transition: transform .2s ease; }
.mgr-logo:hover img { transform: scale(1.04); }
.mgr-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(10, 14, 20, .84); box-shadow: 0 3px 10px rgba(0, 0, 0, .35); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; }
.mgr-pill b { color: #8fe07c; }
.mgr-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--mgr-green); animation: mgr-ping 1.8s infinite; }
@keyframes mgr-ping { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 74, .7); } 70% { box-shadow: 0 0 0 7px rgba(63, 191, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 74, 0); } }

.mgr-box { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 5px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 11px; background: rgba(13, 17, 24, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px -8px rgba(0, 0, 0, .6); }
.mgr-box--left { justify-self: start; }
.mgr-box--right { justify-self: end; }
.mgr-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 0 rgba(0, 0, 0, .35); color: #e8eef5; font: 700 13.5px Poppins, Arial, sans-serif; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .12s ease; }
.mgr a.mgr-btn { color: #e8eef5; }
.mgr-btn:hover { border-color: rgba(255, 255, 255, .32); background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .09)); color: #fff; transform: translateY(-1px); }
.mgr-btn img { width: 20px; height: 20px; object-fit: contain; image-rendering: auto; }
.mgr-btn img.is-half { width: 24px; height: 24px; }
.mgr-btn--discord img { filter: brightness(0) invert(1); }
.mgr-btn--discord { border-color: rgba(160, 170, 255, .45); background: linear-gradient(180deg, rgba(110, 124, 255, .75), rgba(78, 88, 220, .75)); color: #fff; }
.mgr-btn--discord:hover { border-color: rgba(190, 196, 255, .7); background: linear-gradient(180deg, rgba(126, 140, 255, .9), rgba(88, 101, 242, .9)); }

/* radio, inside the left box */
.mgr-radio { display: flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 4px 0 8px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; background: rgba(0, 0, 0, .22); }
.mgr-radio__icon { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 7px; background: rgba(242, 181, 30, .16); color: #ffd76a; }
.mgr-radio__icon svg, .mgr-radio__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mgr-radio__copy { display: flex; flex-direction: column; min-width: 0; max-width: 150px; line-height: 1.2; }
.mgr-radio__copy b { font: 700 12px Poppins, Arial, sans-serif; }
.mgr-radio__copy small { overflow: hidden; color: var(--mgr-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mgr-radio__btn { display: grid; place-items: center; flex: 0 0 30px; height: 30px; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 7px; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); cursor: pointer; }
.mgr-radio__btn:not(:disabled):hover { border-color: rgba(255, 255, 255, .3); }
.mgr-radio__btn:disabled { opacity: .45; cursor: default; }
.mgr-radio__btn:first-of-type svg path { fill: currentColor; stroke: none; }
.mgr-radio.is-playing .mgr-radio__icon { background: rgba(63, 191, 74, .2); color: #8fe07c; animation: mgr-beat 1s ease-in-out infinite; }
@keyframes mgr-beat { 50% { transform: scale(1.08); } }
.mgr-radio__player { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------------------------------------------------------------- hero: welcome + login box */
.mgr-hero { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: 34px; max-width: 1180px; margin: 0 auto; padding: 22px 20px 0; }
.mgr-welcome { display: flex; flex-direction: column; min-width: 0; padding-top: 18px; }
.mgr-stage { position: relative; width: 300px; height: 232px; margin-left: -8px; }
.mgr-avatar { position: absolute; bottom: 44px; z-index: 2; width: 104px; height: 176px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .25)); }
.mgr-avatar--host { left: 52px; }
.mgr-avatar--guest { left: 128px; bottom: 34px; z-index: 3; }
.mgr-tile { position: absolute; left: 34px; bottom: 6px; width: 212px; height: 106px; filter: drop-shadow(0 10px 0 #5a3412) drop-shadow(0 16px 12px rgba(0, 0, 0, .45)); }
.mgr-tile i { position: absolute; inset: 0; background: #3b230d; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.mgr-tile i::after { content: ''; position: absolute; inset: 3px 6px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 13px, rgba(0, 0, 0, .05) 13px 26px), linear-gradient(180deg, #f0cf8e, #d9a95a); }
.mgr-bubble { position: absolute; left: 8px; top: 0; z-index: 4; padding: 7px 12px; border: 2px solid #1a1a1a; border-radius: 9px; background: #fff; color: #1a1a1a; font: 700 13px/1.2 Ubuntu, Arial, sans-serif; white-space: nowrap; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); animation: mgr-pop .5s .3s both cubic-bezier(.2, 1.6, .5, 1); }
.mgr-bubble::after { content: ''; position: absolute; left: 78px; bottom: -9px; width: 12px; height: 12px; border-right: 2px solid #1a1a1a; border-bottom: 2px solid #1a1a1a; background: #fff; transform: rotate(45deg) skew(8deg, 8deg); }
@keyframes mgr-pop { from { opacity: 0; transform: translateY(8px) scale(.6); } to { opacity: 1; transform: none; } }

.mgr-welcome__copy { max-width: 600px; margin-top: 8px; text-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 0 18px rgba(0, 0, 0, .35); }
.mgr-welcome h1 { margin: 0; color: #fff; font: 700 clamp(2.1rem, 4.2vw, 3.3rem)/1.05 Ubuntu, Arial, sans-serif; letter-spacing: -.03em; }
.mgr-welcome h1 span { display: block; color: #ffd76a; }
.mgr-welcome p { margin: 14px 0 0; max-width: 520px; color: rgba(255, 255, 255, .9); font-size: 15px; }
.mgr-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; text-shadow: none; }
.mgr-perks li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 11px; background: rgba(13, 17, 24, .72); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.mgr-perks img { flex: 0 0 auto; width: 30px; height: 30px; object-fit: contain; }
.mgr-perks img.is-2x { width: 26px; height: 32px; }
.mgr-perks span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mgr-perks b { font-size: 13.5px; }
.mgr-perks small { overflow: hidden; color: var(--mgr-muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- login / register box */
.mgr-auth { position: relative; display: flex; flex-direction: column; min-height: 530px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(29, 32, 34, .96); box-shadow: 0 22px 50px -16px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06); scroll-margin-top: 12px; }
.mgr-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 6px 6px 0; gap: 6px; border-bottom: 1px solid var(--mgr-line); background: rgba(0, 0, 0, .25); }
.mgr-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 10px; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--mgr-muted); font: 700 14px Poppins, Arial, sans-serif; cursor: pointer; transition: color .15s ease, background .15s ease; }
.mgr-tabs button:hover { color: var(--mgr-text); background: rgba(255, 255, 255, .04); }
.mgr-tabs button.is-active { border-color: var(--mgr-line); background: var(--mgr-card); color: #fff; }
.mgr-tabs button.is-active::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #7be36b, #3fbf4a); }
.mgr-tabs img { width: 26px; height: 26px; object-fit: contain; opacity: .7; transition: opacity .15s ease; }
.mgr-tabs img.is-2x { width: 20px; height: 26px; }
.mgr-tabs button.is-active img { opacity: 1; }
.mgr-auth__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 16px; }
.mgr-form { display: flex; flex: 1; flex-direction: column; }
.mgr-form > form { margin-bottom: 14px; }
.mgr-form h2 { margin: 0; font: 700 20px/1.2 Poppins, Arial, sans-serif; letter-spacing: -.01em; }
.mgr-sub { margin: 4px 0 16px; color: var(--mgr-muted); font-size: 13px; }

.mgr-msg { margin-bottom: 12px; padding: 9px 11px; border-radius: 9px; font-size: 13px; }
.mgr-msg--err { border: 1px solid rgba(255, 110, 110, .35); background: rgba(220, 60, 60, .14); color: #ffc4c4; }
.mgr-msg--ok { border: 1px solid rgba(123, 227, 107, .35); background: rgba(63, 191, 74, .14); color: #c9f5c0; }

.mgr-field { display: block; margin-bottom: 12px; }
.mgr-field > span:first-child { display: block; margin-bottom: 5px; color: #c4c9ce; font-size: 12px; font-weight: 500; }
.mgr-field > span:first-child em { color: var(--mgr-muted); font-style: normal; font-weight: 400; }
.mgr-input { position: relative; display: block; }
.mgr-input svg { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: #7d848b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .15s ease; }
.mgr-input input { display: block; width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px; background: var(--mgr-field); color: var(--mgr-text); font-size: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.mgr-input input::placeholder { color: #6b7178; }
.mgr-input input:focus { border-color: rgba(123, 227, 107, .6); box-shadow: 0 0 0 3px rgba(63, 191, 74, .18); }
.mgr-input:focus-within svg { stroke: #8fe07c; }
.mgr-input input:-webkit-autofill { -webkit-text-fill-color: var(--mgr-text); box-shadow: 0 0 0 40px var(--mgr-field) inset; caret-color: var(--mgr-text); }
.mgr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mgr-pair .mgr-field { margin-bottom: 0; }
.mgr-hint { display: block; margin-top: 5px; color: var(--mgr-muted); font-size: 11.5px; }
.mgr-hint.ok { color: #8fe07c; }
.mgr-hint.bad { color: #ff9a9a; }
.mgr-pair + .mgr-field { margin-top: 12px; }
.mgr-field > span:first-child em.ok { color: #8fe07c; }
.mgr-field > span:first-child em.bad { color: #ff9a9a; }

/* register in two steps, so the box keeps the login box's height */
.mgr-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 14px; padding: 0; list-style: none; }
.mgr-steps li { position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0 0 7px; color: var(--mgr-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.mgr-steps li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.mgr-steps i { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .08); font: 800 11px Poppins, Arial, sans-serif; font-style: normal; }
.mgr-steps li.is-active { color: #fff; }
.mgr-steps li.is-active i { background: var(--mgr-green); color: #fff; }
.mgr-steps li.is-active::after { background: linear-gradient(90deg, #7be36b, #3fbf4a); }
.mgr-steps li.is-done { color: #8fe07c; }
.mgr-steps li.is-done i { background: rgba(63, 191, 74, .2); color: #8fe07c; }
.mgr-steps li.is-done::after { background: rgba(63, 191, 74, .45); }
.mgr-next-note { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding: 9px 11px; border-radius: 9px; background: rgba(57, 181, 237, .1); color: #bfe3f5; font-size: 12.5px; }
.mgr-next-note img { flex: 0 0 auto; width: 18px; height: 18px; }
.mgr-legal-note { margin: -6px 0 12px; color: var(--mgr-muted); font-size: 11.5px; line-height: 1.45; }
.mgr-legal-note a { color: #c4c9ce; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }
.mgr-legal-note a:hover { color: #fff; }
.mgr-actions { display: flex; gap: 8px; }
.mgr-actions .mgr-green { flex: 1; min-width: 0; }
.mgr-back { flex: 0 0 auto; height: 46px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); color: #e8eef5; font: 700 13.5px Poppins, Arial, sans-serif; cursor: pointer; }
.mgr-back:hover:not(:disabled) { border-color: rgba(255, 255, 255, .3); }
.mgr-back:disabled { opacity: .5; cursor: default; }

.mgr-captcha { display: flex; align-items: center; gap: 6px; }
.mgr-captcha__img { flex: 0 0 auto; width: 142px; height: 44px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px; background: #fff; cursor: pointer; image-rendering: auto !important; }
.mgr-captcha .mgr-input { flex: 1; min-width: 0; }
.mgr-captcha .mgr-input input { text-transform: uppercase; letter-spacing: .08em; }
.mgr-captcha .mgr-input input::placeholder { text-transform: none; letter-spacing: 0; }
.mgr-captcha__refresh { flex: 0 0 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); font-size: 20px; cursor: pointer; }
.mgr-captcha__refresh:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)); }

.mgr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 12px; }
.mgr-row > a { color: var(--mgr-muted); font-size: 12.5px; text-decoration: none; }
.mgr-row > a:hover { color: var(--mgr-text); text-decoration: underline; }
.mgr-check { display: inline-flex; align-items: center; gap: 8px; color: #c4c9ce; font-size: 13px; cursor: pointer; }
.mgr-check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--mgr-green); }
.mgr-check--terms { display: flex; align-items: flex-start; margin: 2px 0 14px; line-height: 1.35; }
.mgr-check--terms input { margin-top: 1px; }
.mgr-check a { color: #ffd76a; font-weight: 700; text-decoration: none; }
.mgr-check a:hover { text-decoration: underline; }

.mgr-green { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border: 2px solid #155d26; border-radius: 10px; background: linear-gradient(180deg, #7be36b 0%, #3fbf4a 50%, #2c9a37 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 3px 0 #145a24; color: #fff; font: 800 15px Poppins, Arial, sans-serif; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); white-space: nowrap; cursor: pointer; transition: filter .12s ease, transform .12s ease; }
.mgr-green:hover { filter: brightness(1.07); transform: translateY(-1px); }
.mgr-green:active { transform: translateY(2px); }
.mgr-green:disabled { border-color: #2f4a33; background: linear-gradient(180deg, #4e6a50, #3b553d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); color: #d7f5d0; cursor: default; filter: none; transform: none; }
.mgr-green--wide { width: 100%; }
.mgr-switch { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--mgr-line); color: var(--mgr-muted); font-size: 13px; text-align: center; }
.mgr-switch a { color: #8fe07c; font-weight: 700; text-decoration: none; }
.mgr-switch a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- news + rules */
.mgr-lower { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 1180px; margin: 10px auto 0; padding: 0 20px; }
.mgr-card { overflow: hidden; border: 1px solid var(--mgr-line); border-radius: 14px; background: var(--mgr-card); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .75); scroll-margin-top: 16px; transition: box-shadow .3s ease, border-color .3s ease; }
.mgr-card.is-focus { border-color: rgba(242, 181, 30, .6); box-shadow: 0 0 0 3px rgba(242, 181, 30, .25), 0 14px 34px -14px rgba(0, 0, 0, .75); }
.mgr-card__head { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 16px; border-bottom: 1px solid var(--mgr-line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)); }
.mgr-card__head img { flex: 0 0 auto; width: 26px; height: 26px; object-fit: contain; }
.mgr-card__head img.is-half { width: 30px; height: 30px; image-rendering: auto; }
.mgr-card__head h2 { flex: 1; margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.mgr-card__head small { color: var(--mgr-muted); font-size: 12px; }
.mgr-card__head--gold { background: linear-gradient(180deg, rgba(242, 181, 30, .2), rgba(242, 181, 30, .03)); }
.mgr-card__body { padding: 16px; }

.mgr-reader { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
.mgr-reader__article { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: start; gap: 16px; min-width: 0; }
.mgr-reader__text { min-width: 0; }
.mgr-reader__cover { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--mgr-line); border-radius: 10px; background: var(--mgr-card-2); image-rendering: auto !important; }
.mgr-reader__meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--mgr-muted); font-size: 11.5px; }
.mgr-reader__meta span { padding: 2px 8px; border-radius: 6px; background: rgba(242, 181, 30, .16); color: #ffd76a; font-weight: 700; }
.mgr-reader__article h3 { margin: 8px 0 6px; font: 700 18px/1.25 Poppins, Arial, sans-serif; }
.mgr-reader__article p { max-height: 9.2em; margin: 0; overflow: auto; color: #cfd3d6; font-size: 13.5px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.mgr-reader__list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mgr-reader__list button { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; padding: 7px; border: 1px solid var(--mgr-line); border-radius: 10px; background: var(--mgr-card-2); text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.mgr-reader__list button:hover { border-color: rgba(255, 255, 255, .2); }
.mgr-reader__list button.is-active { border-color: rgba(242, 181, 30, .55); background: rgba(242, 181, 30, .08); }
.mgr-reader__list img { width: 72px; height: 48px; object-fit: cover; border-radius: 7px; image-rendering: auto !important; }
.mgr-reader__list button > span { display: flex; flex-direction: column; min-width: 0; }
.mgr-reader__list strong { overflow: hidden; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mgr-reader__list small { overflow: hidden; margin-top: 2px; color: var(--mgr-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mgr-news__loading { margin: 0; color: var(--mgr-muted); }

.mgr-rules__lead { margin: 0 0 12px; padding: 9px 11px; border-radius: 9px; background: rgba(242, 181, 30, .09); color: #e9d9a8; font-size: 12.5px; }
.mgr-rules__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: mgr-rule; }
.mgr-rules__list li { position: relative; padding: 9px 11px 10px 46px; border: 1px solid var(--mgr-line); border-radius: 10px; background: var(--mgr-card-2); counter-increment: mgr-rule; }
.mgr-rules__list li::before { content: counter(mgr-rule, decimal-leading-zero); position: absolute; left: 9px; top: 9px; display: grid; place-items: center; width: 28px; height: 24px; border-radius: 6px; background: rgba(63, 191, 74, .16); color: #8fe07c; font: 800 11.5px Poppins, Arial, sans-serif; }
.mgr-rules__list b { font-size: 13.5px; }
.mgr-rules__list p { margin: 1px 0 0; color: var(--mgr-muted); font-size: 12.5px; line-height: 1.45; }

/* ---------------------------------------------------------------- footer */
.mgr-foot { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 30px auto 0; padding: 18px 20px 26px; border-top: 1px solid var(--mgr-line); color: var(--mgr-muted); font-size: 12.5px; }
.mgr-foot__logo { height: 26px; image-rendering: auto !important; opacity: .85; }
.mgr-foot p { flex: 1; margin: 0; }
.mgr-foot strong { color: var(--mgr-text); }
.mgr-foot p span { color: #ff6b81; }
.mgr-foot nav { display: flex; gap: 14px; }
.mgr-foot nav a { color: var(--mgr-text); font-weight: 700; text-decoration: none; }
.mgr-foot nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- PIN step, loading screen */
.mabbo-login-pin-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 10, 14, .72); backdrop-filter: blur(6px); }
.mabbo-login-pin-box { width: 100%; max-width: 380px; padding: 26px 24px 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: var(--mgr-card); color: var(--mgr-text); box-shadow: 0 28px 80px rgba(0, 0, 0, .5); text-align: center; }
.mabbo-login-pin-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px; background: rgba(57, 181, 237, .14); }
.mabbo-login-pin-icon img { width: 36px; height: 36px; }
.mabbo-login-pin-eyebrow { color: #ffd76a; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.mabbo-login-pin-box h2 { margin: 8px 0; font: 700 19px Poppins, Arial, sans-serif; }
.mabbo-login-pin-box p { margin: 0 0 16px; padding: 9px 11px; border-radius: 9px; background: rgba(242, 181, 30, .09); color: #e9d9a8; font-size: 12.5px; text-align: left; }
.mabbo-login-pin-box label { display: block; margin-bottom: 6px; color: #c4c9ce; font-size: 12px; font-weight: 500; text-align: left; }
.mabbo-login-pin-box input { display: block; width: 100%; height: 52px; padding: 0 0 0 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px; background: var(--mgr-field); color: var(--mgr-text); font-size: 25px; letter-spacing: 12px; text-align: center; outline: none; }
.mabbo-login-pin-box input:focus { border-color: rgba(123, 227, 107, .6); box-shadow: 0 0 0 3px rgba(63, 191, 74, .18); }
.mabbo-login-pin-error { margin-top: 10px; padding: 8px 10px; border: 1px solid rgba(255, 110, 110, .35); border-radius: 9px; background: rgba(220, 60, 60, .14); color: #ffc4c4; font-size: 12.5px; }
.mabbo-login-pin-submit { display: block; width: 100%; height: 46px; margin-top: 14px; border: 2px solid #155d26; border-radius: 10px; background: linear-gradient(180deg, #7be36b 0%, #3fbf4a 50%, #2c9a37 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 3px 0 #145a24; color: #fff; font: 800 15px Poppins, Arial, sans-serif; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); cursor: pointer; }
.mabbo-login-pin-cancel { display: block; width: 100%; margin-top: 8px; padding: 8px; border: 0; background: none; color: var(--mgr-muted); font-size: 13px; cursor: pointer; }
.mabbo-login-pin-cancel:hover { color: var(--mgr-text); }
.mabbo-login-pin-box small { display: block; margin-top: 2px; color: var(--mgr-muted); font-size: 11.5px; }
.mabbo-login-pin-box button:disabled { opacity: .6; cursor: wait; }

.auth-route-loading { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--mgr-bg); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.auth-route-loading.is-visible { opacity: 1; pointer-events: auto; }
.auth-route-loading__inner { color: var(--mgr-text); font: 600 13px Ubuntu, Arial, sans-serif; text-align: center; }
.auth-route-loading img { display: block; height: 60px; margin: 0 auto 16px; }
.auth-route-loading__spinner { width: 30px; height: 30px; margin: 0 auto 10px; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--mgr-green); border-radius: 50%; animation: mgr-spin .8s linear infinite; }
.auth-route-loading p { margin: 0; }
@keyframes mgr-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- tablets and phones */
@media (max-width: 1100px) {
    .mgr-radio__copy { max-width: 96px; }
}
@media (max-width: 960px) {
    .mgr-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .mgr-welcome { flex-direction: row; align-items: flex-end; gap: 10px; padding-top: 0; }
    .mgr-stage { flex: 0 0 220px; width: 220px; height: 200px; margin: 0; }
    .mgr-avatar--host { left: 24px; }
    .mgr-avatar--guest { left: 96px; }
    .mgr-tile { left: 14px; width: 190px; height: 95px; }
    .mgr-bubble { display: none; }
    .mgr-perks { display: none; }
    .mgr-auth { width: 100%; max-width: 560px; justify-self: center; }
    .mgr-reader { grid-template-columns: minmax(0, 1fr); }
    .mgr-rules__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .mgr-top { gap: 8px; padding: 10px 12px; }
    .mgr-logo img { height: 38px; }
    .mgr-btn { width: 40px; padding: 0; justify-content: center; }
    .mgr-btn span { display: none; }
    .mgr-radio { padding: 0 4px; }
    .mgr-radio__copy, .mgr-radio__icon, .mgr-radio__volume { display: none; }
    .mgr-hero { padding: 6px 12px 0; }
    .mgr-welcome { gap: 4px; }
    .mgr-stage { flex: 0 0 120px; width: 120px; height: 140px; }
    .mgr-avatar { width: 64px; height: 110px; bottom: 28px; }
    .mgr-avatar--host { left: 6px; }
    .mgr-avatar--guest { left: 50px; bottom: 22px; }
    .mgr-tile { left: 4px; bottom: 6px; width: 112px; height: 56px; }
    .mgr-welcome h1 { font-size: 1.75rem; }
    .mgr-welcome p { margin-top: 8px; font-size: 13px; }
    .mgr-auth__body { padding: 16px 14px 14px; }
    .mgr-scene { padding-bottom: 20px; }
    .mgr-lower { padding: 0 12px; gap: 14px; }
    .mgr-reader__article { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .mgr-rules__list { grid-template-columns: minmax(0, 1fr); }
    .mgr-foot { flex-wrap: wrap; padding: 16px 12px 22px; }
}
@media (max-width: 420px) {
    .mgr-stage { display: none; }
    .mgr-welcome p { display: none; }
    .mgr-auth { min-height: 0; }
    .mgr-pair { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .mgr-leaves { display: none; }
    .mgr-pill i, .mgr-bubble, .mgr-radio.is-playing .mgr-radio__icon { animation: none; }
}
