:root {
  --dark: #21232a;
  --dark-2: #22242b;
  --dark-3: #2e3038;
  --line-dark: #393c45;
  --dash: #383b44;
  --theme: #00c497;
  --theme-hover: #00ad85;
  --yellow: #ffff00;
  --page-bg: #f6f7f9;
  --text: #212529;
  --heading: #22242b;
  --body-text: #585d6a;
  --muted: #8c92a5;
  --border: #e5e5f0;
  --mono: "Roboto Mono", monospace;
  --sans: Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 24px; color: var(--text); background: #fff; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: 960px; margin: 0 auto; padding: 0 15px; }

/* textured dark background (stands in for header-bg.jpg) */
.dark-bg {
  background-color: var(--dark);
  background-image:
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.18) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  background-position: 0 0, 2px 3px;
}


/* ---------- Header ---------- */
.main-header { padding: 20px 0; }
.header-row { display: flex; align-items: center; }
.header-row > .col { flex: 1; display: flex; align-items: center; }
.header-row > .col.center { justify-content: center; }
.header-row > .col.right { justify-content: flex-end; }
.tm-btn { display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-dark { background: transparent; color: #fff; font-size: 12px; font-weight: 500; line-height: 20px; padding: 7.2px 14px 7.2px 10px; border: 1px solid var(--line-dark); border-radius: 12px; margin-right: 8px; transition: background .2s; }
.btn-outline-dark:hover { background: var(--dark-3); }
.btn-outline-dark svg { width: 20px; height: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; height: 28px; }
.logo-text { font-family: var(--mono); font-weight: 700; font-size: 21px; letter-spacing: .5px; color: #fff; }
.logo-text span { color: var(--theme); }
.go-premium { display: inline-block; background: var(--yellow); color: #000; font-family: var(--mono); font-size: 14px; font-weight: 500; line-height: 21px; padding: 8px 15px; border: 1px solid var(--line-dark); border-radius: 25px; }
.go-premium:hover { background: #f0f000; }

/* ---------- Email box section ---------- */
.section-top { padding: 20px 0; }
.temp-emailbox { max-width: 556px; margin: 0 auto; padding: 30px 0; border: 2px dashed var(--dash); border-radius: 10px; text-align: center; }
.temp-emailbox h2 { margin: 0 0 25px; color: #fff; font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 20px; }
.email-form { display: flex; justify-content: center; align-items: center; gap: 10px; }
.input-warp { position: relative; width: 400px; height: 60px; padding: 4px; background: rgba(255,255,255,.04); border-radius: 30px; display: flex; align-items: center; }
.input-warp input { flex: 1; min-width: 0; height: 52px; padding: 10px 15px; background: transparent; border: 0; outline: 0; color: #fff; font-family: var(--sans); font-size: 20px; line-height: 30px; }
.btn-rds { width: 52px; height: 52px; flex: 0 0 52px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .2s, transform .1s; }
.btn-rds:active { transform: scale(.95); }
.btn-qr { background: rgba(255,255,255,.15); }
.btn-qr:hover { background: rgba(255,255,255,.25); }
.bg-theme { background: var(--theme); }
.bg-theme:hover { background: var(--theme-hover); }
.temp-emailbox-text { max-width: 600px; margin: 30px auto 0; text-align: center; }
.temp-emailbox-text p { margin: 0; color: #7a7c80; font-family: var(--mono); font-size: 14px; font-weight: 500; line-height: 21px; }
.loading-dots { display: none; position: absolute; left: 20px; color: #7a7c80; font-size: 18px; }
.input-warp.is-loading input { color: transparent; }
.input-warp.is-loading .loading-dots { display: block; }

/* ---------- Action buttons ---------- */
.section-btns { padding: 25px 0; background: #fff; box-shadow: 0 2px 4px rgba(34,36,43,.16); position: relative; z-index: 2; }
.btns-row { display: flex; justify-content: center; flex-wrap: wrap; }
.btn-gray { position: relative; width: 160px; margin: 0 9px; padding: 13px 15px 13px 60px; background: #f6f7f9; color: var(--heading); font-family: var(--mono); font-size: 16px; font-weight: 500; line-height: 24px; text-align: left; border: 1px solid transparent; border-radius: 25px; box-shadow: 0 2px 4px rgba(34,36,43,.16); transition: border-color .2s, box-shadow .2s; }
.btn-gray:hover { border-color: var(--border); box-shadow: 0 4px 10px rgba(34,36,43,.18); }
.btn-gray svg { position: absolute; left: 24px; top: 13px; width: 24px; height: 24px; }

/* ---------- Main / inbox ---------- */
main { background: var(--page-bg); padding: 20px 0 40px; }

.inbox-wrap { margin: 0 15px; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.inbox-header { display: flex; align-items: center; height: 65px; background: var(--dark-2); color: #fff; border-radius: 10px 10px 0 0; }
.inbox-header .col-h { flex: 1; padding-left: 25px; font-family: var(--mono); font-size: 16px; font-weight: 700; text-transform: uppercase; }
.inbox-header .col-h.small-h { flex: 0 0 120px; text-align: right; padding-right: 25px; }
.inbox-empty { height: 335px; display: flex; align-items: center; justify-content: center; text-align: center; }
.inbox-empty p { margin: 0; font-family: var(--mono); }
.empty-title { margin-top: 16px !important; font-size: 20px; color: var(--body-text); }
.empty-sub { font-size: 16px; color: var(--muted); margin-top: 6px !important; }
.emptyInboxRotation { transform-origin: 46px 43.5px; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mail-list li { display: flex; align-items: center; min-height: 72px; border-bottom: 1px solid var(--border); }
.mail-list li > div { flex: 1; padding: 12px 25px; min-width: 0; }
.mail-list .from b { display: block; color: var(--heading); font-weight: 500; }
.mail-list .from small { color: var(--muted); }
.mail-list .subj { color: var(--body-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-list .view { flex: 0 0 120px; text-align: right; }
.mail-list .view a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: #f6f7f9; align-items: center; justify-content: center; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--theme); margin-right: 8px; }

.mid-intro-text { margin: 0 15px; text-align: center; }
.mid-intro-text h1 { margin: 20px 0 8px; padding-bottom: 20px; color: var(--heading); font-family: var(--mono); font-size: 28px; font-weight: 700; line-height: 33.6px; }
.mid-intro-text p { margin: 0 0 20px; color: var(--body-text); }
.mid-intro-text p strong { color: var(--heading); }

/* ---------- Popular articles ---------- */
.section-articles { padding-top: 30px; margin-top: 0; border-top: 1px solid var(--border); }
.p-header { text-align: center; padding: 20px 0 15px; }
.p-header h3 { margin: 15px 0 5px; color: var(--heading); font-family: var(--mono); font-size: 28px; font-weight: 700; line-height: 33.6px; }
.article-list li { padding: 18px 15px; }
.inner-text-box { position: relative; min-height: 172px; padding: 24px 190px 24px 24px; background: #fff; border-radius: 15px; box-shadow: 0 2px 4px rgba(0,0,0,.1); transition: box-shadow .2s; }
.inner-text-box:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.inner-text-box figure { position: absolute; top: 24px; right: 24px; width: 124px; height: 124px; margin: 0; border-radius: 10px; overflow: hidden; background: #f6f7f9; }
.inner-text-box a { display: block; margin-bottom: 14px; color: var(--heading); font-size: 16px; font-weight: 500; }
.inner-text-box a:hover { color: var(--theme); }
.inner-text-box p { margin: 0; color: var(--muted); font-size: 14px; line-height: 21px; }

/* ---------- Bottom SEO text ---------- */
.bottom-seo-text { margin: 0 15px; padding-top: 15px; }
.bottom-seo-text h2 { margin: 14px 0 8px; padding-bottom: 8px; color: var(--heading); font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 24px; }
.bottom-seo-text p { margin: 0 0 20px; color: var(--body-text); }
.bottom-seo-text ul { margin: 0 0 20px; padding-left: 16px; list-style: disc; color: var(--body-text); }
.bottom-seo-text li { margin-bottom: 10px; }
.bottom-seo-text strong { color: var(--heading); }

/* ---------- Footer ---------- */
.page-footer { background: var(--dark-2); padding: 10px 0 80px; }
.page-footer .container { max-width: 1140px; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; padding: 10px 0 14px; }
.footer-nav li { padding: 0 12px; }
.footer-nav a { display: block; padding: 5px 0; color: #a7a7aa; font-family: var(--mono); font-size: 14px; letter-spacing: .3px; line-height: 24px; text-transform: uppercase; }
.footer-nav a:hover { color: #fff; }
.copyright-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 30px; border-top: 1px solid #383b44; }
.copyright-box small { flex: 1; color: #64656a; font-size: 12px; line-height: 18px; white-space: nowrap; }
.copyright-box small a:hover { color: #a7a7aa; }
.footer-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.btn-group { display: flex; gap: 10px; }
.btn-dark { height: 47px; min-width: 52px; padding: 8px 10px; background: #2e3038; color: #fff; border-radius: 8px; font-size: 14px; justify-content: center; transition: background .2s; }
.btn-dark.wide { padding: 8px 14px 8px 10px; }
.btn-dark:hover { background: #3a3d47; }
.btn-dark svg { width: 30px; height: 30px; flex: 0 0 30px; }
.lang-wrap { flex: 1; display: flex; justify-content: flex-end; }
.lang-select { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 1px 30px 1px 8px; background: #464851; color: #fff; font-size: 14px; border: 1px solid transparent; border-radius: 12px; position: relative; }
.lang-select::after { content: ""; position: absolute; right: 11px; top: 13px; width: 5px; height: 5px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); }
.lang-select .flag { width: 18px; height: 18px; border-radius: 50%; overflow: hidden; display: inline-block; }
@media (max-width: 1100px) {
  .copyright-box { flex-direction: column; }
  .copyright-box small { order: 2; }
  .lang-wrap { order: 3; justify-content: center; }
}

/* ---------- Toast + QR modal ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: var(--dark-2); color: #fff; font-family: var(--mono); font-size: 14px; padding: 12px 22px; border-radius: 25px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 150; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 15px; padding: 30px; text-align: center; width: 320px; position: relative; }
.modal-box h4 { margin: 0 0 18px; font-family: var(--mono); color: var(--heading); }
.modal-box img { width: 200px; height: 200px; }
.modal-box p { margin: 14px 0 0; color: var(--body-text); font-size: 14px; word-break: break-all; }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 24px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hidden-md-down { display: none !important; }
}
@media (max-width: 767px) {
  .hidden-xs-sm { display: none !important; }
  .header-row > .col.left-col { display: none; }
  .header-row > .col.center { justify-content: flex-start; }
  .temp-emailbox { margin: 0; border: 0; padding: 10px 0 20px; }
  .input-warp { width: 100%; }
  .input-warp input { font-size: 17px; }
  .temp-emailbox-text { margin-top: 10px; }
  .btn-gray { width: calc(50% - 12px); margin: 6px; padding-left: 52px; }
  .btn-gray svg { left: 18px; }
  .inbox-wrap, .mid-intro-text, .bottom-seo-text { margin: 0; }
  .inbox-header { justify-content: center; }
  .inbox-header .col-h { display: none; }
  .inbox-header .mobile-h { display: block !important; font-family: var(--mono); font-weight: 700; font-size: 18px; }
  .mail-list .subj { display: none; }
  .inner-text-box { padding: 20px; }
  .inner-text-box figure { display: none; }
  .article-list li { padding: 10px 0; }
  .mid-intro-text h1, .p-header h3 { font-size: 22px; line-height: 28px; }
}

/* ---------- Inbox rows (live data) ---------- */
.mail-list li { cursor: pointer; transition: background .15s; }
.mail-list li:hover { background: #fafbfc; }
.mail-list li.is-read .dot { visibility: hidden; }
.mail-list li.is-read .from b { font-weight: 400; }
.mail-list .from b { display: inline; }
.mail-list .from small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-list .att { margin-left: 6px; color: var(--muted); font-size: 13px; }

/* ---------- Message view ---------- */
.msg-view { display: none; }
.msg-view.open { display: block; }
.msg-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 25px; border-bottom: 1px solid var(--border); }
.msg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #f6f7f9; color: var(--heading); font-family: var(--mono); font-size: 14px; font-weight: 500; border: 1px solid transparent; border-radius: 20px; box-shadow: 0 2px 4px rgba(34,36,43,.12); }
.msg-btn:hover { border-color: var(--border); }
.msg-head { padding: 20px 25px; border-bottom: 1px solid var(--border); }
.msg-head h2 { margin: 0 0 12px; color: var(--heading); font-family: var(--mono); font-size: 20px; line-height: 28px; word-break: break-word; }
.msg-meta { color: var(--body-text); font-size: 14px; line-height: 22px; }
.msg-meta b { color: var(--heading); font-weight: 500; }
.msg-body iframe { display: block; width: 100%; min-height: 380px; border: 0; }
.msg-body pre { margin: 0; padding: 20px 25px; white-space: pre-wrap; word-break: break-word; font-family: var(--sans); color: var(--body-text); }
.msg-atts { padding: 16px 25px 22px; border-top: 1px solid var(--border); }
.msg-atts h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 14px; color: var(--heading); }
.msg-atts a { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 8px 0; padding: 6px 12px; background: #f6f7f9; border-radius: 8px; font-size: 14px; color: var(--heading); }
.msg-atts a:hover { color: var(--theme); }

/* ---------- Change dialog ---------- */
.modal-box.form-box { width: 420px; max-width: calc(100% - 32px); text-align: left; }
.form-box label { display: block; margin: 0 0 6px; font-family: var(--mono); font-size: 13px; color: var(--body-text); }
.form-box .field-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.form-box input, .form-box select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; color: var(--heading); background: #fff; }
.form-box input:focus, .form-box select:focus { outline: 2px solid var(--theme); outline-offset: -1px; }
.form-box .at { font-family: var(--mono); color: var(--muted); }
.form-box .form-error { min-height: 20px; margin: -6px 0 10px; color: #d93025; font-size: 13px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.btn-primary { padding: 10px 22px; background: var(--theme); color: #fff; font-family: var(--mono); font-weight: 500; border: 0; border-radius: 22px; }
.btn-primary:hover { background: var(--theme-hover); }
.btn-light { padding: 10px 22px; background: #f6f7f9; color: var(--heading); font-family: var(--mono); font-weight: 500; border: 0; border-radius: 22px; }

/* ---------- Content pages (/page/..., /blog/...) ---------- */
.content-page { max-width: 930px; margin: 0 auto; padding: 30px 15px 20px; }
.content-page h1 { margin: 10px 0 24px; color: var(--heading); font-family: var(--mono); font-size: 28px; line-height: 34px; }
.content-page .page-body { padding: 28px; background: #fff; border-radius: 15px; box-shadow: 0 2px 4px rgba(0,0,0,.1); color: var(--body-text); }
.content-page .page-body h2, .content-page .page-body h3 { color: var(--heading); font-family: var(--mono); }
.content-page .page-body a { color: var(--theme); }
.content-page .page-body img { max-width: 100%; height: auto; }
.inner-text-box figure img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .msg-bar, .msg-head, .msg-atts { padding-left: 15px; padding-right: 15px; }
  .content-page .page-body { padding: 18px; }
}

/* ---------- Language menu ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; right: 0; bottom: 46px; min-width: 170px; padding: 6px; background: #2e3038; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 20; }
.lang-menu li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: #e5e7eb; font-size: 14px; border-radius: 8px; }
.lang-menu li a:hover { background: #3a3d47; }

/* ---------- Ads ---------- */
.ad-space:empty { height: 20px; }
.ad-space:not(:empty) { margin: 0 15px 20px; text-align: center; }
.ad-unit { margin: 0 15px 20px; min-height: 90px; text-align: center; overflow: hidden; }
.content-page .ad-unit { margin: 0 0 20px; }

/* ---------- Premium popup / page ---------- */
.premium-page { padding: 40px 0 60px; }
.pm-modal { align-items: flex-start; overflow-y: auto; padding: 30px 16px; }
.pm-card { position: relative; width: 430px; max-width: 100%; margin: 0 auto; padding: 48px 44px 26px; background: #21232a; color: #fff; border-radius: 10px; font-family: var(--sans); text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.premium-page .pm-card { border: 1px solid #33363f; }
.pm-login { position: absolute; top: 12px; left: 14px; padding: 4px 13px; background: var(--yellow); color: #000; border: 0; border-radius: 16px; font-size: 14px; line-height: 20px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-close { position: absolute; top: 6px; right: 12px; background: none; border: 0; color: #8c8f99; font-size: 30px; line-height: 30px; padding: 0; }
.pm-close:hover { color: #fff; }
.pm-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.pm-logo > svg { width: 32px; height: 24px; }
.pm-logo-text { position: relative; font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: .5px; color: #fff; line-height: 18px; }
.pm-logo-text > span { color: var(--theme); }
.pm-crown { position: absolute; top: -10px; right: -18px; }
.pm-logo-text small { position: absolute; right: -4px; bottom: -13px; font-family: var(--sans); font-size: 11px; font-weight: 400; font-style: italic; color: #c9cbd1; letter-spacing: 0; }
.pm-price { margin-bottom: 24px; font-size: 64px; line-height: 64px; font-weight: 400; color: #fff; }
.pm-price sup { font-size: 30px; vertical-align: 28px; margin-right: 6px; }
.pm-price small { font-size: 22px; color: #fff; }
.pm-plans { display: flex; gap: 18px; justify-content: center; margin-bottom: 30px; }
.pm-plan-col { flex: 1; max-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pm-plan { width: 100%; padding: 7px 10px; background: var(--theme); color: #fff; border: 2px solid var(--theme); border-radius: 6px; font-size: 15px; font-weight: 700; }
.pm-plan:hover { background: var(--theme-hover); }
.pm-plan.active { border-color: #fff; }
.pm-save { color: var(--yellow); font-size: 13px; }
.pm-features { margin: 0 0 30px; text-align: left; }
.pm-features li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 20px; letter-spacing: .2px; }
.pm-features svg { flex: 0 0 16px; margin-top: 2px; color: var(--theme); }
.pm-form { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pm-form label { font-size: 16px; color: #fff; }
.pm-form input { width: 100%; max-width: 288px; height: 40px; padding: 0 12px; background: #e8e8e8; border: 0; border-radius: 0; color: #22242b; font: inherit; font-size: 15px; text-align: center; }
.pm-form input[readonly] { background: #cfd0d4; }
.pm-form input:focus { outline: 2px solid var(--theme); }
.pm-error { min-height: 18px; color: #ff8a8d; font-size: 13px; }
.pm-subscribe { width: 100%; max-width: 288px; height: 48px; background: var(--theme); color: #fff; border: 0; border-radius: 5px; font-size: 16px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.pm-subscribe:hover { background: var(--theme-hover); }
.pm-subscribe:disabled { opacity: .6; }
.pm-note { margin: 22px 0 0; font-size: 14px; color: #fff; }
.pm-demo { margin: 10px 0 0; font-size: 13px; color: var(--yellow); }
.pm-links { margin: 26px 0 0; font-size: 14px; color: #fff; }
.pm-links a:hover { color: var(--theme); }
.pm-active { margin: -10px 0 22px; color: #9be8d4; font-size: 14px; }
.pm-success { margin: 0 0 14px; color: var(--theme); font-size: 18px; font-weight: 500; }
.pm-msg { color: #c9cbd1; }
.pm-back { margin-top: 16px; background: none; border: 0; color: #a7a7aa; font-size: 14px; }
.pm-back:hover { color: #fff; }
.pm-view[data-view="login"] .pm-form label { align-self: center; font-size: 14px; color: #c9cbd1; }
.pm-demo-desc { margin: 0 0 10px; color: #c9cbd1; }
@media (max-width: 480px) {
  .pm-card { padding: 48px 20px 22px; }
  .pm-price { font-size: 52px; line-height: 52px; }
}

/* ---------- Auth + account ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto 40px; }
.auth-hint { text-align: center; color: var(--body-text); }
.auth-form { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: #fff; border-radius: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auth-form h3 { margin: 0 0 4px; font-family: var(--mono); color: var(--heading); }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--body-text); }
.auth-form input { height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-family: var(--sans); font-size: 15px; color: var(--heading); }
.auth-form input:focus { outline: 2px solid var(--theme); outline-offset: -1px; }
.auth-form .form-error { min-height: 18px; color: #d93025; font-size: 13px; }
.auth-form .btn-primary { padding: 12px; font-size: 15px; }
.auth-switch { text-align: center; color: var(--theme); font-size: 14px; }
.account-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.account-row span { width: 120px; flex: 0 0 120px; color: var(--muted); }
.account-row b { font-weight: 500; color: var(--heading); }
.account-box h3 { margin: 26px 0 10px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 12px; background: #eef0f4; color: var(--body-text); font-size: 13px; font-weight: 500; }
.pill.on { background: #dcf7ef; color: #00865f; }
.pay-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 14px; }
.pay-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); }
.pay-table .mono { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hint-text { color: var(--muted); }
@media (max-width: 767px) {
  .premium-hero h1 { font-size: 24px; line-height: 30px; }
  .plans, .premium-status, .premium-msg { margin-left: 0; margin-right: 0; }
  .pay-table .mono { display: none; }
}
.acc-pass { align-items: stretch; margin: 20px 0 0; padding: 18px; background: #f6f7f9; border-radius: 12px; }
.acc-pass label { color: var(--heading); font-size: 14px; }
.acc-pass input { max-width: none; background: #fff; border: 1px solid var(--border); border-radius: 10px; text-align: left; }
.acc-pass .form-error { min-height: 18px; color: #d93025; font-size: 13px; }
