:root {
    --bg-out: #e8eef6;
    --paper: #ffffff;
    --ink: #0b1f3a;
    --ink-soft: #3d5a80;
    --blue: #1565c0;
    --blue-deep: #0d47a1;
    --yellow: #f9a825;
    --line: #00a86b;
    --line-deep: #007a4d;
    --side: 16px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    color: var(--ink);
    font-family: "Kanit", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 20% 10%, rgba(249,168,37,.18), transparent 32%),
        radial-gradient(circle at 90% 0%, rgba(21,101,192,.14), transparent 28%),
        linear-gradient(180deg, #d7e3f4 0%, var(--bg-out) 40%, #f4f7fb 100%);
    overflow-x: hidden;
    overscroll-behavior-y: contain;
}
.main-container {
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) padding-box,
        linear-gradient(165deg, #42a5f5, #7e57c2, #ef5350, #ffca28, #66bb6a, #26c6da, #42a5f5) border-box;
    border: 3px solid transparent;
    border-radius: 0;
    box-shadow:
        inset 0 0 0 5px #ffffff,
        inset 0 0 0 7px rgba(249,168,37,.45),
        0 0 0 1px rgba(13,71,161,.08),
        0 18px 48px rgba(11,31,58,.16);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    padding-top: var(--safe-t);
    padding-bottom: calc(14px + var(--safe-b));
    isolation: isolate;
}

/* ขอบซ้าย–ขวา: ลูกบอล 3D เรียงสวย */
.main-container::before,
.main-container::after {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    width: 14px;
    z-index: 4;
    pointer-events: none;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.55), transparent 18%, transparent 82%, rgba(255,255,255,.35)),
        radial-gradient(circle at 50% 8px, #fff 0 1.5px, #ef5350 2px 5.5px, transparent 6px),
        radial-gradient(circle at 50% 32px, #fff 0 1.5px, #42a5f5 2px 5.5px, transparent 6px),
        radial-gradient(circle at 50% 56px, #fff 0 1.5px, #66bb6a 2px 5.5px, transparent 6px),
        radial-gradient(circle at 50% 80px, #fff 0 1.5px, #ffca28 2px 5.5px, transparent 6px),
        radial-gradient(circle at 50% 104px, #fff 0 1.5px, #ab47bc 2px 5.5px, transparent 6px),
        radial-gradient(circle at 50% 128px, #fff 0 1.5px, #26c6da 2px 5.5px, transparent 6px),
        linear-gradient(180deg, #e3f2fd, #fff8e1);
    background-size: 14px 100%, 14px 144px, 14px 144px, 14px 144px, 14px 144px, 14px 144px, 14px 144px, 14px 100%;
    background-repeat: no-repeat, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y, no-repeat;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.7),
        0 0 0 1px rgba(21,101,192,.12),
        0 4px 12px rgba(11,31,58,.1);
    opacity: 1;
}
.main-container::before { left: 5px; }
.main-container::after { right: 5px; }

/* มุม: อัญมณีลอตโต้ */
.edge-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}
.edge-corners span {
    position: absolute;
    border-radius: 50%;
    display: block;
    box-shadow:
        inset 0 -3px 0 rgba(0,0,0,.16),
        inset 0 3px 0 rgba(255,255,255,.45),
        0 4px 10px rgba(0,0,0,.14);
}
.edge-corners .c1 { width: 22px; height: 22px; top: 10px; left: 10px; background: radial-gradient(circle at 35% 30%, #ff8a80, #e53935 55%, #b71c1c); }
.edge-corners .c2 { width: 18px; height: 18px; top: 12px; right: 12px; background: radial-gradient(circle at 35% 30%, #90caf9, #1e88e5 55%, #0d47a1); }
.edge-corners .c3 { width: 20px; height: 20px; bottom: 12px; left: 11px; background: radial-gradient(circle at 35% 30%, #ffe082, #fbc02d 55%, #f57f17); }
.edge-corners .c4 { width: 18px; height: 18px; bottom: 14px; right: 11px; background: radial-gradient(circle at 35% 30%, #ce93d8, #8e24aa 55%, #4a148c); }
.edge-corners .c5 { width: 11px; height: 11px; top: 34px; left: 28px; background: radial-gradient(circle at 35% 30%, #a5d6a7, #43a047); }
.edge-corners .c6 { width: 11px; height: 11px; top: 34px; right: 28px; background: radial-gradient(circle at 35% 30%, #80deea, #00acc1); }
.edge-corners .c7 { width: 10px; height: 10px; bottom: 36px; left: 30px; background: radial-gradient(circle at 35% 30%, #90caf9, #1976d2); }
.edge-corners .c8 { width: 10px; height: 10px; bottom: 36px; right: 30px; background: radial-gradient(circle at 35% 30%, #ef9a9a, #e53935); }

@media (hover: hover) and (pointer: fine) {
    .edge-corners .c1, .edge-corners .c3 { animation: corner-float 3.2s ease-in-out infinite; }
    .edge-corners .c2, .edge-corners .c4 { animation: corner-float 3.6s ease-in-out infinite .4s; }
}
@keyframes corner-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .edge-corners span { animation: none !important; }
}

/* แถบขอบบน–ล่าง: ริบบิ้นทอง + ลูกบอล */
.edge-strip {
    height: 16px;
    margin: 0 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    position: relative;
    background:
        radial-gradient(circle at 12px 50%, #fff 0 1.2px, #ef5350 1.5px 4.5px, transparent 5px),
        radial-gradient(circle at 34px 50%, #fff 0 1.2px, #42a5f5 1.5px 4.5px, transparent 5px),
        radial-gradient(circle at 56px 50%, #fff 0 1.2px, #66bb6a 1.5px 4.5px, transparent 5px),
        radial-gradient(circle at 78px 50%, #fff 0 1.2px, #ffca28 1.5px 4.5px, transparent 5px),
        radial-gradient(circle at 100px 50%, #fff 0 1.2px, #ab47bc 1.5px 4.5px, transparent 5px),
        radial-gradient(circle at 122px 50%, #fff 0 1.2px, #26c6da 1.5px 4.5px, transparent 5px),
        linear-gradient(180deg, #fff8e1, #ffe082 45%, #ffca28 55%, #fff8e1);
    background-size: 132px 16px, 132px 16px, 132px 16px, 132px 16px, 132px 16px, 132px 16px, 100% 100%;
    background-repeat: repeat-x;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.75),
        inset 0 -1px 0 rgba(183,120,0,.25),
        0 2px 8px rgba(249,168,37,.25);
    pointer-events: none;
}
.edge-strip.bottom {
    margin-top: auto;
    margin-bottom: 6px;
}

/* Euro Lotto header */
.euro-header {
    margin: 12px calc(var(--side) + 10px) 0;
    padding: 18px 16px 16px;
    border-radius: 20px;
    background: linear-gradient(145deg, #0d47a1 0%, #1565c0 55%, #1976d2 100%);
    color: #fff;
    text-align: center;
    box-shadow:
        0 10px 28px rgba(13,71,161,.28),
        inset 0 1px 0 rgba(255,255,255,.28);
    border: 2px solid rgba(255,224,130,.45);
    position: relative;
}
.euro-header::before,
.euro-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        inset 0 -2px 0 rgba(0,0,0,.15),
        inset 0 2px 0 rgba(255,255,255,.5),
        0 2px 6px rgba(0,0,0,.2);
}
.euro-header::before { left: 12px; background: radial-gradient(circle at 35% 30%, #fff59d, #ffca28 60%, #f57f17); }
.euro-header::after { right: 12px; background: radial-gradient(circle at 35% 30%, #fff59d, #ffca28 60%, #f57f17); }
.euro-header .brand {
    font-size: clamp(26px, 8vw, 34px);
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.15;
}
.euro-header .brand span { color: var(--yellow); }
.euro-header .sub {
    margin-top: 6px;
    font-size: 13px;
    opacity: .95;
    font-weight: 500;
}
.euro-header .domain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,202,40,.85);
    border-radius: 999px;
    padding: 8px 16px;
    min-height: 40px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #ffe082 !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    animation: domain-pulse 1.6s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255,202,40,.35);
}
.euro-header .domain:active { opacity: .88; }
@keyframes domain-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,202,40,.2); background: rgba(255,255,255,.18); }
    50% { box-shadow: 0 0 0 4px rgba(255,202,40,.22); background: rgba(255,255,255,.28); }
}

.big-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px calc(var(--side) + 10px) 4px;
}
.big-numbers .num {
    --ball: 52px;
    width: var(--ball);
    height: var(--ball);
    border-radius: 50%;
    display: block;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,.18),
        inset 0 3px 0 rgba(255,255,255,.28),
        0 6px 14px rgba(0,0,0,.16);
}
.big-numbers .num::before,
.big-numbers .num::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 14px;
    z-index: 2;
    pointer-events: none;
}
.big-numbers .num::before {
    top: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.28), transparent);
}
.big-numbers .num::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.28), transparent);
}
.big-numbers .reel {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lotto-spin 1.15s linear infinite;
}
.big-numbers .reel i {
    font-style: normal;
    width: var(--ball);
    height: var(--ball);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 var(--ball);
}
.big-numbers .n1 .reel { animation-duration: .9s; animation-direction: reverse; }
.big-numbers .n2 .reel { animation-duration: 1.2s; }
.big-numbers .n3 .reel { animation-duration: 1s; animation-direction: reverse; }
.big-numbers .n4 .reel { animation-duration: 1.3s; color: #5d4037; }
.big-numbers .n5 .reel { animation-duration: .95s; animation-direction: reverse; }
.big-numbers .n6 .reel { animation-duration: 1.45s; font-size: 18px; }
@keyframes lotto-spin {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -50%, 0); }
}
.big-numbers .num.n1 { background: linear-gradient(160deg, #ef5350, #c62828); }
.big-numbers .num.n2 { background: linear-gradient(160deg, #42a5f5, #1565c0); }
.big-numbers .num.n3 { background: linear-gradient(160deg, #66bb6a, #2e7d32); }
.big-numbers .num.n4 { background: linear-gradient(160deg, #ffca28, #f9a825); color: #5d4037; }
.big-numbers .num.n5 { background: linear-gradient(160deg, #ab47bc, #6a1b9a); }
.big-numbers .num.n6 { background: linear-gradient(160deg, #26c6da, #00838f); }

.web-image-section {
    margin: 12px calc(var(--side) + 10px) 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1.5px solid rgba(21,101,192,.14);
    box-shadow:
        0 0 0 3px rgba(255,255,255,.95),
        0 0 0 5px rgba(249,168,37,.22),
        0 8px 18px rgba(11,31,58,.06);
}
.web-image-section img { width: 100%; display: block; height: auto; }

.live-status-bar {
    margin: 12px calc(var(--side) + 10px) 0;
    padding: 10px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
    border: 1.5px solid rgba(21,101,192,.18);
    border-radius: 999px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(21,101,192,.08);
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #00c853; flex: 0 0 auto;
    box-shadow: 0 0 0 4px rgba(0,200,83,.16);
}

.button-group-container {
    padding: 14px calc(var(--side) + 10px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-action-style {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 68px;
    padding: 12px 14px;
    border-radius: 18px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    contain: layout paint;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}
.btn-action-style:active { opacity: .94; }
.btn-action-style > * { position: relative; z-index: 1; }

/* แสงวิ่งเบามาก — ไม่ทับตัวหนังสือ */
.btn-action-style::after {
    content: "";
    position: absolute;
    top: 0; left: -40%;
    width: 28%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent);
    z-index: 0;
    pointer-events: none;
    animation: btn-shine 3.2s ease-in-out infinite;
}
@keyframes btn-shine {
    0% { left: -40%; opacity: 0; }
    20% { opacity: 1; }
    45% { left: 110%; opacity: .7; }
    100% { left: 110%; opacity: 0; }
}

.btn-login-red {
    background: linear-gradient(180deg, #0d47a1 0%, #08306b 100%);
    border: 2.5px solid #ffffff;
    box-shadow:
        0 0 0 3px rgba(13,71,161,.35),
        0 8px 20px rgba(8,48,107,.35);
    animation: blink-blue 1.25s ease-in-out infinite;
}
.btn-line-green {
    background: linear-gradient(180deg, #00695c 0%, #004d40 100%);
    border: 2.5px solid #ffffff;
    box-shadow:
        0 0 0 3px rgba(0,105,92,.35),
        0 8px 20px rgba(0,77,64,.35);
    animation: blink-green 1.35s ease-in-out infinite;
}
.status-dot { animation: pulse-dot 1.8s ease-in-out infinite; }

@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.55} }
@keyframes blink-blue {
    0%,100% {
        box-shadow:
            0 0 0 3px rgba(13,71,161,.35),
            0 8px 18px rgba(8,48,107,.35),
            inset 0 1px 0 rgba(255,255,255,.18);
    }
    50% {
        box-shadow:
            0 0 0 3px rgba(255,255,255,.55),
            0 12px 28px rgba(8,48,107,.5),
            inset 0 1px 0 rgba(255,255,255,.28);
    }
}
@keyframes blink-green {
    0%,100% {
        box-shadow:
            0 0 0 3px rgba(0,105,92,.35),
            0 8px 18px rgba(0,77,64,.35),
            inset 0 1px 0 rgba(255,255,255,.18);
    }
    50% {
        box-shadow:
            0 0 0 3px rgba(255,255,255,.55),
            0 12px 28px rgba(0,77,64,.48),
            inset 0 1px 0 rgba(255,255,255,.28);
    }
}

/* มือถือ: ลดความถี่แสงวิ่ง / คอม: เต็มรูปแบบ */
@media (hover: none) and (pointer: coarse) {
    .btn-action-style::after { animation-duration: 3.2s; }
    .btn-login-red { animation-duration: 1.45s; }
    .btn-line-green { animation-duration: 1.55s; }
    .edge-corners span { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .btn-login-red, .btn-line-green, .status-dot, .euro-header .domain, .btn-action-style::after, .big-numbers .reel { animation: none !important; }
    .btn-action-style:active { opacity: 1; }
}
body.page-hidden .btn-login-red,
body.page-hidden .btn-line-green,
body.page-hidden .status-dot,
body.page-hidden .euro-header .domain,
body.page-hidden .btn-action-style::after,
body.page-hidden .edge-corners span,
body.page-hidden .big-numbers .reel {
    animation-play-state: paused !important;
}

.btn-emoji {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.28);
    border: 1.5px solid rgba(255,255,255,.55);
}
.btn-emoji img, .btn-emoji svg { width: 22px; height: 22px; object-fit: contain; display: block; }
.btn-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(0,0,0,.42);
    border: 1.5px solid rgba(255,255,255,.35);
}
.btn-title {
    font-size: clamp(16px, 4.6vw, 18px);
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: .02em;
    text-shadow:
        0 0 2px #000,
        1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000,
        1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.btn-sub {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .01em;
    text-shadow:
        0 0 2px #000,
        1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
}
.btn-line-green .btn-sub { color: #ffffff; }

.gold-feed-container {
    margin: 8px calc(var(--side) + 10px);
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #0d47a1, #0b1f3a);
    color: #fff;
    border: 2px solid rgba(249,168,37,.55);
    box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 10px 24px rgba(11,31,58,.2);
    content-visibility: auto;
    contain-intrinsic-size: 260px;
}
.gold-feed-header {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    border-bottom: 1px dashed rgba(255,255,255,.22); padding-bottom: 10px; margin-bottom: 12px;
}
.gold-feed-header h3 { color: #ffe082; font-size: 14px; font-weight: 700; }
.gold-live-tag {
    background: #e53935; color: #fff; font-size: 10px; font-weight: 800;
    padding: 3px 8px; border-radius: 999px; flex: 0 0 auto;
}
.gold-feed-list { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow: hidden; }
.gold-feed-item {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 10px 12px;
}
.gold-username { color: #fff; font-size: 13px; font-weight: 700; }
.gold-time { color: #b0bec5; font-size: 11px; margin-top: 2px; word-break: break-word; }
.gold-amount { font-size: 13.5px; font-weight: 800; flex: 0 0 auto; }
.gold-amount.text-withdraw { color: #ff8a80; }
.gold-amount.text-deposit { color: #69f0ae; }

.review-section-container { padding: 4px calc(var(--side) + 10px); display: flex; flex-direction: column; gap: 10px; }
.review-card {
    background: #fff;
    border: 1px solid rgba(11,31,58,.08);
    border-left: 5px solid var(--blue);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(11,31,58,.06);
}
.review-user-info { display: flex; justify-content: space-between; gap: 8px; }
.review-user-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-time { font-size: 11px; color: #78909c; flex: 0 0 auto; }
.review-body { text-align: center; padding: 6px 0 0; }
.review-role { font-size: 11px; color: var(--blue); margin-bottom: 2px; font-weight: 700; }
.review-stars { color: #f9a825; font-size: 12px; margin-bottom: 4px; }
.review-comment { font-size: 13.5px; color: #455a64; font-weight: 500; }

.footer-space { margin-bottom: 8px; }

/* ฟุตเตอร์ล่างสุด — ขอบทองหรู + โทนน้ำเงิน Euro lotto มารวย */
.site-foot {
    margin: 4px calc(var(--side) + 10px) 12px;
    padding: 3px;
    border-radius: 16px;
    background:
        linear-gradient(145deg, #fff3c4 0%, #f9a825 22%, #ffe082 48%, #c79100 72%, #fff3c4 100%);
    box-shadow:
        0 12px 28px rgba(11,31,58,.2),
        0 0 0 1px rgba(183,120,0,.35);
}
.site-foot-frame {
    padding: 18px 14px 16px;
    text-align: center;
    border-radius: 13px;
    background:
        radial-gradient(ellipse at 50% 18%, rgba(33,150,243,.35), transparent 55%),
        linear-gradient(180deg, #1565c0 0%, #0d47a1 48%, #071a33 100%);
    border: 1.5px solid rgba(255,236,179,.55);
    box-shadow:
        inset 0 0 0 3px rgba(7,26,51,.92),
        inset 0 0 0 5px rgba(249,168,37,.55),
        inset 0 1px 0 rgba(255,255,255,.2);
    color: #fff;
}
.site-foot-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 12px;
    font-size: clamp(13px, 3.6vw, 15px);
    font-weight: 800;
}
.site-foot-nav a {
    color: #ffe082;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.site-foot-nav a:hover,
.site-foot-nav a:focus-visible {
    color: #fffde7;
    text-decoration: underline;
}
.site-foot-copy {
    color: #ffffff;
    font-size: clamp(11px, 3.1vw, 13px);
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.site-foot-note {
    color: rgba(255,255,255,.78);
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 500;
    line-height: 1.45;
}

.seo-article-container {
    margin: 8px calc(var(--side) + 10px) 12px;
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1.5px solid rgba(21,101,192,.14);
    box-shadow: 0 0 0 3px rgba(249,168,37,.12);
    content-visibility: auto;
    contain-intrinsic-size: 480px;
}
.seo-article-title {
    color: var(--ink);
    font-size: clamp(16px, 4.6vw, 18px);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
    border-left: 4px solid var(--yellow);
    padding-left: 10px;
}
.seo-article-title a, .seo-article-content a { color: var(--blue); font-weight: 700; text-decoration: none; }
.seo-article-content { font-size: 14px; color: #455a64; line-height: 1.75; overflow-wrap: anywhere; }
.seo-article-content p { margin-bottom: 12px; }
.seo-article-content h2 { font-size: 15px; color: var(--ink); margin: 16px 0 6px; }
.seo-article-content h3 { font-size: 14px; color: var(--blue); margin: 12px 0 4px; }
.seo-article-content strong { color: var(--ink); }

.seo-guide-nav {
    margin: 0 calc(var(--side) + 10px) 14px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8e1, #fff);
    border: 1.5px solid rgba(249,168,37,.4);
    box-shadow: 0 6px 16px rgba(249,168,37,.12);
}
.seo-guide-nav h2 { color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.seo-guide-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.seo-guide-nav a {
    display: block; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 13.5px;
    padding: 12px; border-radius: 12px; background: rgba(21,101,192,.06); border-left: 3px solid var(--blue);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width: 380px) {
    :root { --side: 12px; }
    .big-numbers .num { --ball: 44px; font-size: 18px; }
    .big-numbers .n6 .reel { font-size: 16px; }
}
