/* ═══════════════════════════════════════════════════════════════════════════
   OLD2 MOBILE — site stylesheet (2026-10-07, mobile-first redesign)
   One file for the whole public site. Phone first; tablet/desktop widen it.
   Look: lacquered dark wood + gold leaf + aged parchment ("old" feeling),
   app-like chrome (top bar, bottom tab bar, drawer).
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --bg: #0b0806;
    --bg-1: #120d09;
    --bg-2: #1a120c;
    --bg-3: #261b12;
    --line: rgba(217, 174, 95, .16);
    --line-2: rgba(217, 174, 95, .32);
    --line-3: rgba(217, 174, 95, .55);
    --gold: #e2b65f;
    --gold-hi: #f7dc9b;
    --gold-lo: #a97a2c;
    --text: #f4ead7;
    --text-2: #cdb994;
    --text-3: #93806a;
    --red: #c4372b;
    --red-hi: #e25443;
    --red-lo: #7b1810;
    --jade: #3fd08f;
    --amber: #f3b84b;
    --parch: #f3e6c8;
    --parch-2: #e8d4a6;
    --ink: #3a2814;
    --ink-2: #5f4628;
    --ink-3: #87704f;
    --ink-red: #8f2a17;
    --r-xl: 22px;
    --r-lg: 18px;
    --r: 14px;
    --r-sm: 10px;
    --font-d: 'Cinzel', 'Times New Roman', serif;
    --font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --appbar-h: 60px;
    --tabbar-h: 66px;
    --strip-h: 0px;
    --hdr-h: calc(var(--appbar-h) + var(--strip-h));
    --safe-b: env(safe-area-inset-bottom, 0px);
    --ease: cubic-bezier(.2, .75, .2, 1);
    /* gold corner filigree (top-left master, rotated for the others) */
    --orn-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23d9ae5f' stroke-linecap='round'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3C/svg%3E");
    --orn-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23d9ae5f' stroke-linecap='round'%3E%3Cg transform='rotate(90 16 16)'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --orn-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23d9ae5f' stroke-linecap='round'%3E%3Cg transform='rotate(180 16 16)'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --orn-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23d9ae5f' stroke-linecap='round'%3E%3Cg transform='rotate(270 16 16)'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23d9ae5f' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    /* same filigree in burnt brown, for parchment */
    --ornp-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23996b2a' stroke-linecap='round'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3C/svg%3E");
    --ornp-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23996b2a' stroke-linecap='round'%3E%3Cg transform='rotate(90 16 16)'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --ornp-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23996b2a' stroke-linecap='round'%3E%3Cg transform='rotate(180 16 16)'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --ornp-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23996b2a' stroke-linecap='round'%3E%3Cg transform='rotate(270 16 16)'%3E%3Cpath d='M1.5 30.5V9.5Q1.5 1.5 9.5 1.5h21' stroke-width='1.4'/%3E%3Cpath d='M5.5 26V11.5q0-6 6-6H26' stroke-width='.9' opacity='.55'/%3E%3Cpath d='M10 10.4c2.2-2.6 6-1.8 6 1.2 0 2.4-3.2 3-4.2 1.4' stroke-width='1.1'/%3E%3Ccircle cx='1.5' cy='30.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3Ccircle cx='30.5' cy='1.5' r='1.3' fill='%23996b2a' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .4  0 0 0 0 .2  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 9-slice frames, divider ornament, cloud pattern (generated: scratchpad gen_frames.py) */
:root {
    --fr-lacquer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff0c2'/%3E%3Cstop offset='0.22' stop-color='%23d6a24a'/%3E%3Cstop offset='0.5' stop-color='%238a5a1f'/%3E%3Cstop offset='0.78' stop-color='%23d9a851'/%3E%3Cstop offset='1' stop-color='%236a4214'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233d2b1c'/%3E%3Cstop offset='0.3' stop-color='%23231710'/%3E%3Cstop offset='0.7' stop-color='%231a110b'/%3E%3Cstop offset='1' stop-color='%23100a06'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z' fill='url(%23r)'/%3E%3Cpath d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='%23090604'/%3E%3Cpath d='M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='url(%23f)'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%23e2b65f' stroke-opacity='0.34' stroke-width='.8'/%3E%3Cpath d='M7 3.4L10.6 7L7 10.6L3.4 7Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 3.4L116.6 7L113 10.6L109.4 7Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 109.4L116.6 113L113 116.6L109.4 113Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M7 109.4L10.6 113L7 116.6L3.4 113Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E");
    --fr-crimson: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff0c2'/%3E%3Cstop offset='0.22' stop-color='%23d6a24a'/%3E%3Cstop offset='0.5' stop-color='%238a5a1f'/%3E%3Cstop offset='0.78' stop-color='%23d9a851'/%3E%3Cstop offset='1' stop-color='%236a4214'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238a2416'/%3E%3Cstop offset='0.3' stop-color='%235a120a'/%3E%3Cstop offset='0.7' stop-color='%233f0b06'/%3E%3Cstop offset='1' stop-color='%23280603'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z' fill='url(%23r)'/%3E%3Cpath d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='%23090604'/%3E%3Cpath d='M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='url(%23f)'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%23f0c070' stroke-opacity='0.4' stroke-width='.8'/%3E%3Cpath d='M7 3.4L10.6 7L7 10.6L3.4 7Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 3.4L116.6 7L113 10.6L109.4 7Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 109.4L116.6 113L113 116.6L109.4 113Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M7 109.4L10.6 113L7 116.6L3.4 113Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E");
    --fr-jade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff0c2'/%3E%3Cstop offset='0.22' stop-color='%23d6a24a'/%3E%3Cstop offset='0.5' stop-color='%238a5a1f'/%3E%3Cstop offset='0.78' stop-color='%23d9a851'/%3E%3Cstop offset='1' stop-color='%236a4214'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23244634'/%3E%3Cstop offset='0.3' stop-color='%23173022'/%3E%3Cstop offset='0.7' stop-color='%2311251a'/%3E%3Cstop offset='1' stop-color='%230a160f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z' fill='url(%23r)'/%3E%3Cpath d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='%23090604'/%3E%3Cpath d='M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='url(%23f)'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%239fe0bd' stroke-opacity='0.28' stroke-width='.8'/%3E%3Cpath d='M7 3.4L10.6 7L7 10.6L3.4 7Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 3.4L116.6 7L113 10.6L109.4 7Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 109.4L116.6 113L113 116.6L109.4 113Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M7 109.4L10.6 113L7 116.6L3.4 113Z' fill='%23f3cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E");
    --fr-parch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23e9c784'/%3E%3Cstop offset='0.3' stop-color='%239a6a2a'/%3E%3Cstop offset='0.55' stop-color='%235e3c15'/%3E%3Cstop offset='0.8' stop-color='%23a8763a'/%3E%3Cstop offset='1' stop-color='%234a2e0f'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fbf1d8'/%3E%3Cstop offset='0.3' stop-color='%23f2e3bf'/%3E%3Cstop offset='0.7' stop-color='%23ead6a8'/%3E%3Cstop offset='1' stop-color='%23dcc390'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z' fill='url(%23r)'/%3E%3Cpath d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='%233a240c'/%3E%3Cpath d='M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='url(%23f)'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%238a5a20' stroke-opacity='0.38' stroke-width='.8'/%3E%3Cpath d='M7 3.4L10.6 7L7 10.6L3.4 7Z' fill='%23b5442a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 3.4L116.6 7L113 10.6L109.4 7Z' fill='%23b5442a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 109.4L116.6 113L113 116.6L109.4 113Z' fill='%23b5442a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M7 109.4L10.6 113L7 116.6L3.4 113Z' fill='%23b5442a' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E");
    --fr-parch-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff0c2'/%3E%3Cstop offset='0.22' stop-color='%23d6a24a'/%3E%3Cstop offset='0.5' stop-color='%238a5a1f'/%3E%3Cstop offset='0.78' stop-color='%23d9a851'/%3E%3Cstop offset='1' stop-color='%236a4214'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff6dc'/%3E%3Cstop offset='0.3' stop-color='%23f6e7c2'/%3E%3Cstop offset='0.7' stop-color='%23eedaa9'/%3E%3Cstop offset='1' stop-color='%23e1c690'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z' fill='url(%23r)'/%3E%3Cpath d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='%234a2c08'/%3E%3Cpath d='M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='url(%23f)'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%23a8742a' stroke-opacity='0.5' stroke-width='.8'/%3E%3Cpath d='M7 3.4L10.6 7L7 10.6L3.4 7Z' fill='%23d23a26' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 3.4L116.6 7L113 10.6L109.4 7Z' fill='%23d23a26' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 109.4L116.6 113L113 116.6L109.4 113Z' fill='%23d23a26' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M7 109.4L10.6 113L7 116.6L3.4 113Z' fill='%23d23a26' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E");
    --fr-parch-jade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23bff5d8'/%3E%3Cstop offset='0.5' stop-color='%232a9a63'/%3E%3Cstop offset='1' stop-color='%230f5a38'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23eefaf0'/%3E%3Cstop offset='0.3' stop-color='%23e2f2e3'/%3E%3Cstop offset='0.7' stop-color='%23d6ead2'/%3E%3Cstop offset='1' stop-color='%23c8dfc2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z' fill='url(%23r)'/%3E%3Cpath d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='%230b3a24'/%3E%3Cpath d='M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='url(%23f)'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%232a7a50' stroke-opacity='0.4' stroke-width='.8'/%3E%3Cpath d='M7 3.4L10.6 7L7 10.6L3.4 7Z' fill='%232fa86a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 3.4L116.6 7L113 10.6L109.4 7Z' fill='%232fa86a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M113 109.4L116.6 113L113 116.6L109.4 113Z' fill='%232fa86a' stroke='%235a3a10' stroke-width='.6'/%3E%3Cpath d='M7 109.4L10.6 113L7 116.6L3.4 113Z' fill='%232fa86a' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E");
    --fr-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff0c2'/%3E%3Cstop offset='0.22' stop-color='%23d6a24a'/%3E%3Cstop offset='0.5' stop-color='%238a5a1f'/%3E%3Cstop offset='0.78' stop-color='%23d9a851'/%3E%3Cstop offset='1' stop-color='%236a4214'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill-rule='evenodd' d='M14.00 0.00H106.00L120.00 14.00V106.00L106.00 120.00H14.00L0.00 106.00V14.00Z M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z' fill='url(%23r)'/%3E%3Cpath fill-rule='evenodd' d='M15.26 3.00H104.74L117.00 15.26V104.74L104.74 117.00H15.26L3.00 104.74V15.26Z M15.72 4.10H104.28L115.90 15.72V104.28L104.28 115.90H15.72L4.10 104.28V15.72Z' fill='%23090604' fill-opacity='.85'/%3E%3Cpath d='M18.20 10.00H101.80L110.00 18.20V101.80L101.80 110.00H18.20L10.00 101.80V18.20Z' fill='none' stroke='%23e2b65f' stroke-opacity='0.34' stroke-width='.8'/%3E%3C/svg%3E");
    --orn-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='24' viewBox='0 0 240 24'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23d9ae5f' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d9ae5f'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%23d9ae5f' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d9ae5f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 12H84' stroke='url(%23a)' stroke-width='1.2'/%3E%3Cpath d='M156 12H240' stroke='url(%23b)' stroke-width='1.2'/%3E%3Cg fill='none' stroke='%23e2b65f' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M84 12c7 0 10-6 16-6 4.5 0 7 3 7 6s-2.4 5-5 5-4-2-4-4'/%3E%3Cpath d='M156 12c-7 0-10-6-16-6-4.5 0-7 3-7 6s2.4 5 5 5 4-2 4-4'/%3E%3C/g%3E%3Cpath d='M120 2.5l9.5 9.5-9.5 9.5-9.5-9.5z' fill='%23e2b65f'/%3E%3Cpath d='M120 7l5 5-5 5-5-5z' fill='%238f2416'/%3E%3C/svg%3E");
    --orn-divider-p: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='24' viewBox='0 0 240 24'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%239d6f2c' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%239d6f2c'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%239d6f2c' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%239d6f2c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 12H84' stroke='url(%23a)' stroke-width='1.2'/%3E%3Cpath d='M156 12H240' stroke='url(%23b)' stroke-width='1.2'/%3E%3Cg fill='none' stroke='%239d6f2c' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M84 12c7 0 10-6 16-6 4.5 0 7 3 7 6s-2.4 5-5 5-4-2-4-4'/%3E%3Cpath d='M156 12c-7 0-10-6-16-6-4.5 0-7 3-7 6s2.4 5 5 5 4-2 4-4'/%3E%3C/g%3E%3Cpath d='M120 2.5l9.5 9.5-9.5 9.5-9.5-9.5z' fill='%239d6f2c'/%3E%3Cpath d='M120 7l5 5-5 5-5-5z' fill='%238f2416'/%3E%3C/svg%3E");
    --cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='140' viewBox='0 0 220 140'%3E%3Cg fill='none' stroke='%23d9ae5f' stroke-width='1.3' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M20 40c0-9 7-15 15-15s14 6 14 13-5 11-11 11-9-4-9-8 3-6 6-6M49 38c4-6 10-9 17-9 10 0 17 8 17 16M83 45c6-2 14 0 18 6'/%3E%3Cpath d='M130 100c0-9 7-15 15-15s14 6 14 13-5 11-11 11-9-4-9-8 3-6 6-6M159 98c4-6 10-9 17-9 10 0 17 8 17 16M193 105c6-2 14 0 18 6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font: 400 15.5px/1.6 var(--font-b);
    color: var(--text);
    background: var(--bg);
    padding-top: var(--hdr-h);
    padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}
body::before {   /* warm lantern light over dark lacquer */
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(110% 55% at 50% -12%, rgba(205, 135, 50, .20), transparent 62%),
        radial-gradient(70% 45% at 105% 105%, rgba(150, 32, 20, .20), transparent 62%),
        radial-gradient(60% 40% at -10% 70%, rgba(120, 80, 30, .14), transparent 60%),
        var(--bg);
}
body::after {    /* paper/wood grain */
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: var(--grain), var(--cloud); background-size: auto, 220px 140px; opacity: .06;
}
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: #fff1c8; }
p { margin: 0 0 .9em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
button { font: inherit; color: inherit; }
::selection { background: rgba(226, 182, 95, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap-md { max-width: 820px; }
.wrap-sm { max-width: 540px; }
.muted { color: var(--text-2); }
.gold { color: var(--gold-hi); }
.nowrap { white-space: nowrap; }

/* ── header: info strip (desktop) + app bar ───────────────────────────── */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.strip { display: none; }
.appbar {
    position: relative;
    height: var(--appbar-h);
    display: flex; align-items: center; gap: 10px;
    padding: 0 12px 0 14px;
    background: linear-gradient(180deg, rgba(16, 10, 6, .98), rgba(10, 7, 5, .95));
    border-bottom: 1px solid var(--line);
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.appbar::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 182, 95, .65), transparent);
}
@media (max-width: 959px) {
    body.is-home .appbar:not(.is-solid) { background: linear-gradient(180deg, rgba(8, 5, 3, .72), rgba(8, 5, 3, 0)); border-color: transparent; }
    body.is-home .appbar:not(.is-solid)::after { opacity: 0; }
}
.appbar.is-solid { box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.brand { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .7)); }
.brand-tag {
    font: 700 9.5px/1 var(--font-d); letter-spacing: .32em; color: var(--gold-hi);
    padding: 4px 5px 4px 7px; border: 1px solid var(--line-3); border-radius: 5px;
    background: rgba(226, 182, 95, .08);
}
.appnav { display: none; }
.appbar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 42px; height: 42px; display: inline-grid; place-items: center; cursor: pointer; color: var(--gold-hi);
    background: linear-gradient(180deg, rgba(255, 240, 210, .09), rgba(255, 240, 210, 0) 55%), linear-gradient(180deg, #2f2217, #140d08);
    border: 1px solid rgba(226, 182, 95, .38); border-radius: 6px;   /* v4: one thin line, no inner rims */
    box-shadow: inset 0 1px 0 rgba(255, 232, 190, .14), 0 6px 14px -6px rgba(0, 0, 0, .8);
    transition: transform .15s, filter .2s, box-shadow .2s;
}
.icon-btn:hover { filter: brightness(1.15); box-shadow: inset 0 1px 0 rgba(255, 232, 190, .2), 0 0 16px -2px rgba(255, 190, 80, .4); }
@media (hover: hover) { .icon-btn:hover { transform: translateY(-2px) scale(1.05); } }
.icon-btn:active { transform: scale(.94); }
.ep-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px;
    border-radius: 999px; border: 1px solid var(--line-3); color: var(--gold-hi);
    background: linear-gradient(180deg, rgba(226, 182, 95, .16), rgba(226, 182, 95, .05));
    font: 700 13.5px/1 var(--font-b); text-decoration: none; white-space: nowrap;
    transition: transform .16s var(--ease), filter .16s;
}
@media (hover: hover) { .ep-chip:hover { color: var(--gold-hi); filter: brightness(1.15); transform: translateY(-2px) scale(1.04); } }
.appbar .btn-login { min-height: 38px; font-size: 12px; }
.appbar .btn, .appnav .nv { white-space: nowrap; }

/* ── bottom tab bar (phones) ───────────────────────────────────────────── */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--tabbar-h) + var(--safe-b));
    padding: 0 6px var(--safe-b);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
    background: linear-gradient(180deg, rgba(20, 14, 10, .98), rgba(9, 6, 4, .99));
    border-top: 1px solid var(--line-2);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .5);
}
.tabbar::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 182, 95, .6), transparent);
}
.tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--text-3); text-decoration: none; font: 600 10.5px/1.1 var(--font-b); letter-spacing: .02em;
    position: relative; transition: color .2s;
}
.tab svg { transition: transform .25s var(--ease); }
.tab.is-active { color: var(--gold-hi); }
.tab.is-active svg { transform: translateY(-1px); filter: drop-shadow(0 0 8px rgba(247, 220, 155, .45)); }
.tab.is-active::after {
    content: ""; position: absolute; top: 0; width: 26px; height: 2px; border-radius: 2px;
    background: var(--gold-hi); box-shadow: 0 0 10px var(--gold);
}
.tab:active svg { transform: scale(.9); }
.tab-ep { color: var(--gold-hi); }
.tab-ep .tab-coin {
    width: 54px; height: 54px; margin-top: -26px; border-radius: 50%;
    display: grid; place-items: center; color: #2a1a07;
    background: radial-gradient(circle at 35% 30%, #fff1c2, #e9bb5c 45%, #a6762a 100%);
    border: 2px solid #fbe3a2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .6), 0 0 0 4px rgba(11, 8, 6, .95), 0 0 22px rgba(240, 190, 90, .35);
    position: relative;
}
.tab-ep .tab-coin::after {
    content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(240, 190, 90, .45), rgba(240, 190, 90, 0) 70%);
    animation: coinGlow 3.2s ease-in-out infinite;
}
.tab-ep.is-active::after { display: none; }
@keyframes coinGlow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ── drawer ───────────────────────────────────────────────────────────── */
.scrim {
    position: fixed; inset: 0; z-index: 80; background: rgba(5, 3, 2, .62);
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
    width: min(88vw, 360px); display: flex; flex-direction: column;
    background: linear-gradient(180deg, #1c140e, #0e0907);
    border-left: 1px solid var(--line-2);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .6);
    transform: translateX(105%); transition: transform .38s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(20px + var(--safe-b));
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .scrim { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-top img { height: 30px; }
.drawer-acc { margin: 14px 14px 6px; padding: 16px; }
.drawer-acc .who { font: 700 15px var(--font-b); color: var(--text); }
.drawer-acc .who small { display: block; font-weight: 500; font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.drawer-acc .bal { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; font: 700 20px var(--font-d); color: var(--gold-hi); }
.drawer-acc .bal small { font: 600 12px var(--font-b); color: var(--text-2); }
.drawer-acc .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dnav { list-style: none; margin: 6px 0; padding: 0 8px; }
.dnav a {
    display: flex; align-items: center; gap: 14px; padding: 12px 12px; border-radius: 12px;
    color: var(--text); font: 600 15px var(--font-b); text-decoration: none;
}
.dnav a svg:first-child { color: var(--gold); flex: 0 0 auto; }
.dnav a .chev { margin-left: auto; color: var(--text-3); }
.dnav a:active, .dnav a:hover { background: rgba(255, 228, 170, .06); }
.dnav a.is-active { background: rgba(226, 182, 95, .1); color: var(--gold-hi); }
.dsep { height: 1px; margin: 8px 18px; background: var(--line); }
.dlabel { padding: 10px 22px 4px; font: 700 11px/1 var(--font-b); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.lang-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 18px 4px; }
.lang-seg a {
    text-align: center; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line);
    color: var(--text-2); font: 700 13px var(--font-b); text-decoration: none;
}
.lang-seg a.is-active { border-color: var(--line-3); color: var(--gold-hi); background: rgba(226, 182, 95, .1); }
.dsocial { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px; }
.dlegal { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 22px; font-size: 12.5px; }
.dlegal a { color: var(--text-3); }

/* ── buttons v4 (07.10.2026 night) — owner: "pastel çerçeveli, sarı… hepsi aynı kalıp; daha estetik yap".
   v3's inner gold double rims read as cheap pastel frames on the dark page and every button looked the
   same. v4 = depth from LIGHT, not from lines: a rich three-stop body, ONE crisp edge, a bright top edge
   (specular), a soft inner bottom shade and a coloured glow on hover. Roles:
     .btn-red   crimson — the main call to action on dark/painted backgrounds
     .btn-gold  "gilded black": dark lacquer body + metallic gold rim (gradient border) + gold letters —
                no yellow block; used on the crimson cards (login, download, EP) and for EP YÜKLE
     .btn-ghost dark + one thin gold line (secondary) · .btn-ink brown (on parchment) · .btn-jade emerald
   Variants only swap custom properties. Motion = transform/opacity only (_REHBER/04 perf rules):
   the gleam slides (::after); primary calls to action breathe a soft inner light (::before, opacity).
   ⛔ No inset "rim" lines again (that was the pastel frame) and no clip-path ends. ── */
.btn, .cs-btn {
    --c1: #4b3726; --c2: #2b1e14; --c3: #160f0a;   /* body: top / middle / bottom */
    --edge: #0a0604;                                /* the one outline */
    --rimg: none;                                   /* gradient outline (gilded variant), drawn as border-box layer */
    --spec: rgba(255, 232, 190, .30);               /* bright top edge */
    --ink: #f1d79a;
    --ts: 0 1px 2px rgba(0, 0, 0, .85);
    --glow: rgba(226, 182, 95, .32);                /* hover halo */
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 0 22px; margin: 0; cursor: pointer;
    font: 700 13px/1.1 var(--font-d); letter-spacing: .13em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; text-align: center; text-shadow: var(--ts);
    background:
        radial-gradient(130% 85% at 50% -15%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 58%) padding-box,
        linear-gradient(180deg, var(--c1) 0%, var(--c2) 58%, var(--c3) 100%) padding-box,
        var(--rimg) border-box;
    border: 1px solid var(--edge); border-radius: 6px;
    box-shadow: inset 0 1px 0 var(--spec), inset 0 -10px 16px -10px rgba(0, 0, 0, .55), 0 7px 16px -7px rgba(0, 0, 0, .8);
    transition: transform .16s var(--ease), filter .2s, box-shadow .2s;
    -webkit-user-select: none; user-select: none;
}
.btn::after, .cs-btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 15%, rgba(255, 250, 235, .26) 50%, rgba(255, 255, 255, 0) 85%);
    transform: translateX(-220%) skewX(-22deg);
    animation: gleam 6.4s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: var(--gd, 1.4s);
}
@keyframes gleam { 0%, 66% { transform: translateX(-220%) skewX(-22deg); } 92%, 100% { transform: translateX(420%) skewX(-22deg); } }
@keyframes gleamNow { from { transform: translateX(-220%) skewX(-22deg); } to { transform: translateX(420%) skewX(-22deg); } }
.btn:hover, .cs-btn:hover {
    color: var(--ink); filter: brightness(1.08);
    box-shadow: inset 0 1px 0 var(--spec), inset 0 -10px 16px -10px rgba(0, 0, 0, .5), 0 12px 22px -8px rgba(0, 0, 0, .85), 0 0 20px -3px var(--glow);
}
@media (hover: hover) {
    .btn:hover, .cs-btn:hover { transform: translateY(-2px) scale(1.02); }
    .btn:hover::after, .cs-btn:hover::after { animation: gleamNow .8s cubic-bezier(.45, 0, .2, 1) 1 both; }
}
.btn:active, .cs-btn:active {
    transform: translateY(1px) scale(.99); filter: brightness(.96);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .5);
}
.btn:focus-visible, .cs-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 6px; }
.btn[disabled], .btn.is-disabled, .cs-btn:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.4); pointer-events: none; }
/* crimson — the main call to action (Rise's crimson, without the gold rims) */
.btn-red, .cs-btn {
    --c1: #d6323b; --c2: #a5131e; --c3: #680912; --edge: #2c0306;
    --spec: rgba(255, 196, 176, .55); --ink: #ffe8b0; --ts: 0 1px 2px rgba(60, 0, 4, .9); --glow: rgba(235, 70, 70, .5);
}
/* gilded black — dark lacquer body, metallic gold rim (gradient outline), gold letters. No yellow block. */
.btn-gold {
    --c1: #3b2a19; --c2: #23170e; --c3: #120c07; --edge: transparent;
    --rimg: linear-gradient(180deg, #fff0c0 0%, #e8b24c 38%, #9a6418 72%, #5c3708 100%);
    --spec: rgba(255, 226, 160, .32); --ink: #ffd36e; --ts: 0 1px 2px rgba(0, 0, 0, .9); --glow: rgba(255, 190, 80, .5);
}
.btn-ghost { --c1: #33251a; --c2: #20160e; --c3: #120c07; --edge: rgba(226, 182, 95, .42); --spec: rgba(255, 232, 190, .16); --ink: #f3dca2; }
.btn-ink { --c1: #5c3e23; --c2: #3f2915; --c3: #27180b; --edge: #140b05; --spec: rgba(255, 220, 170, .28); --ink: #fbedd0; }
.btn-jade {
    --c1: #34c896; --c2: #138f69; --c3: #0b5f44; --edge: #052a1c;
    --spec: rgba(220, 255, 240, .55); --ink: #fffbea; --ts: 0 1px 2px rgba(0, 40, 20, .85); --glow: rgba(80, 240, 190, .5);
}
.btn svg, .cs-btn svg { flex: 0 0 auto; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; gap: 7px; font-size: 12px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15px; }
.cs-btn { width: 100%; min-height: 50px; margin-top: 6px; font-size: 14px; }
.cs-btn-inline { display: inline-flex; width: auto; min-height: 44px; margin: 0; padding: 0 20px; font-size: 12.5px; }
/* the main calls to action breathe a soft inner light (opacity). Not a rim line — that was the "pastel
   frame". Outer light can't go here (.btn clips with overflow:hidden) → EP's halo is on .nav-ep-wrap. */
.hero-cta .btn:first-child::before, .final .btns .btn:first-child::before, .nav-ep::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
    box-shadow: inset 0 0 18px rgba(255, 214, 140, .42), inset 0 1px 0 rgba(255, 240, 210, .55);
    opacity: 0; animation: rimPulse 3.2s ease-in-out infinite;
}
@keyframes rimPulse { 0%, 100% { opacity: 0; } 50% { opacity: .8; } }
.btn .spin, .cs-btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* store / platform buttons — dark lacquer with ONE thin metallic gold outline (v4: no inner rims) */
.store {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 16px 8px 14px;
    color: #fff; text-decoration: none; text-align: left;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(255, 226, 170, .13), transparent 55%) padding-box,
        linear-gradient(180deg, #2a1e14 0%, #17100a 60%, #0d0906 100%) padding-box,
        linear-gradient(180deg, rgba(255, 228, 160, .75), rgba(176, 124, 44, .55) 45%, rgba(90, 58, 16, .7)) border-box;
    border: 1px solid transparent; border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 232, 190, .14), 0 7px 16px -7px rgba(0, 0, 0, .8);
    transition: transform .2s var(--ease), filter .2s, box-shadow .2s;
}
.store::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 10%, rgba(255, 240, 200, .22) 50%, transparent 90%);
    transform: translateX(-220%) skewX(-22deg); animation: gleam 6.4s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: var(--gd, 2.6s);
}
.store:hover {
    color: #fff; filter: brightness(1.12);
    box-shadow: inset 0 1px 0 rgba(255, 232, 190, .2), 0 12px 22px -8px rgba(0, 0, 0, .85), 0 0 20px -3px rgba(255, 190, 80, .4);
}
@media (hover: hover) { .store:hover { transform: translateY(-2px) scale(1.02); } }
.store:active { transform: translateY(1px) scale(.99); }
.store .st-ic { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; }
.store .st-ic.android { color: #3ddc84; }
.store .st-ic.apple { color: #fff; }
.store .st-ic.play { color: #58d68d; }
.store .st-tx { display: flex; flex-direction: column; min-width: 0; }
.store .st-tx small { font: 600 10px/1.2 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.store .st-tx b { font: 700 16.5px/1.25 var(--font-b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store.is-soon { opacity: .55; pointer-events: none; filter: grayscale(.5); }
.store.is-soon .st-tx b { color: var(--text-2); }
.store.is-mine { box-shadow: inset 0 1px 0 rgba(255, 232, 190, .2), 0 0 0 1px rgba(255, 214, 130, .6), 0 0 16px rgba(240, 196, 110, .3); }
@keyframes shine { 0%, 55% { transform: translateX(-160%) skewX(-18deg); } 85%, 100% { transform: translateX(330%) skewX(-18deg); } }

/* chips / pills */
.chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
    font: 600 12.5px/1 var(--font-b); color: var(--text); white-space: nowrap;
    background: rgba(18, 12, 8, .82); border: 1px solid var(--line-2);
}
.chip svg { color: var(--gold); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 6px rgba(63, 208, 143, .7); flex: 0 0 auto; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
.dot.amber { background: var(--amber); box-shadow: 0 0 6px rgba(243, 184, 75, .7); }
.dot.red { background: #f06a5a; box-shadow: none; }
.dot.red::after { display: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* ── cards: chamfered gold-rimmed frames (9-slice SVG, see --fr-*) ─────── */
.card {
    position: relative;
    border: 0 solid transparent; border-radius: 0;
    border-image: var(--fr-lacquer) 40 fill / 26px / 0 stretch;
    background: none; box-shadow: none;
}
.card.crimson { border-image-source: var(--fr-crimson); }
.card.jade { border-image-source: var(--fr-jade); }
.parch {
    position: relative; color: var(--ink); color-scheme: light;
    border: 0 solid transparent; border-radius: 0;
    border-image: var(--fr-parch) 40 fill / 26px / 0 stretch;
    background: none; box-shadow: none;
}
.parch::after {
    content: ""; position: absolute; inset: 5px; pointer-events: none;
    background-image: var(--grain); opacity: .14;
}
.parch a:not(.btn):not(.cs-btn):not(.store) { color: var(--ink-red); font-weight: 600; }
.parch a:not(.btn):not(.cs-btn):not(.store):hover { color: #b03a1c; }
.parch > * { position: relative; z-index: 2; }
@media (max-width: 599px) { .card, .parch { border-image-width: 22px; } }

/* gold frame overlay for art panels (hero banner, slider, banners) */
.gframe { position: absolute; inset: 0; z-index: 4; pointer-events: none; border: 0 solid transparent; border-image: var(--fr-gold) 40 / 26px / 0 stretch; }

/* widget titles (v4, owner: "hepsi aynı kalıp"): no plate any more — gold Cinzel lettering with a soft
   glow between two fine gold rules that end in a small diamond */
.plq { display: flex; align-items: center; justify-content: center; margin: 0 0 14px; }
.plq::before, .plq::after {
    content: ""; flex: 1 1 auto; max-width: 64px; height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='9' viewBox='0 0 48 9'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='40' y2='0'%3E%3Cstop offset='0' stop-color='%23e2b65f' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23e2b65f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 4.5H40' stroke='url(%23a)' stroke-width='1.2'/%3E%3Cpath d='M43.5 1.2l3.3 3.3-3.3 3.3-3.3-3.3z' fill='%23f0cd7a' stroke='%235a3a10' stroke-width='.6'/%3E%3C/svg%3E") right center / 48px 9px no-repeat;
}
.plq::after { transform: scaleX(-1); }
.plq > span {
    position: relative; display: inline-block; margin: 0 4px; padding: 2px 16px;
    font: 700 13px/1 var(--font-d); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
    color: #f4d28a; text-shadow: 0 1px 0 rgba(0, 0, 0, .9), 0 0 14px rgba(255, 190, 90, .28);
}

/* wax seal */
.seal {
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 35% 30%, #e0503d, #a3241a 55%, #651009 100%);
    box-shadow: 0 6px 16px rgba(60, 10, 5, .55), inset 0 0 0 4px rgba(255, 150, 120, .18), inset 0 -4px 8px rgba(0, 0, 0, .35);
    color: #ffd9b8; font: 900 19px/1 var(--font-d); letter-spacing: .02em;
    transform: rotate(-8deg); position: relative;
}
.seal::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(255, 210, 180, .45); }
.seal svg { width: 28px; height: 28px; }

/* motion: dynamic cards */
.tilt { transform-style: preserve-3d; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s, border-color .3s; }
.tilt .glare {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 236, 190, .16), transparent 60%);
    transition: opacity .3s;
}
.tilt.is-tilting .glare { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
    .lift:hover { transform: translateY(-4px); border-color: var(--line-3); box-shadow: 0 22px 44px rgba(0, 0, 0, .6), 0 0 0 1px rgba(226, 182, 95, .15); }
}
.press:active { transform: scale(.975); transition: transform .1s; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.now { transition: none; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .05s; } .js .reveal-d2 { transition-delay: .1s; } .js .reveal-d3 { transition-delay: .15s; }

/* ── section heads ────────────────────────────────────────────────────── */
.sec { padding: 46px 0 6px; position: relative; }
.sec-head { text-align: center; margin: 0 auto 22px; max-width: 640px; }
.eyebrow { display: inline-block; font: 700 11px/1 var(--font-b); letter-spacing: .26em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 10px; }
.sec-title {
    font-size: 25px; color: var(--gold-hi);
    background: linear-gradient(180deg, #fff6d6 0%, #f0cd7c 50%, #b9842f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .65));
}
.sec-sub { margin: 10px auto 0; color: var(--text-2); font-size: 14.5px; max-width: 46ch; }
.orn-line { width: 240px; max-width: 80%; height: 24px; margin: 10px auto 0; background: var(--orn-divider) center / 240px 24px no-repeat; }
.parch .orn-line { background-image: var(--orn-divider-p); }

/* ── HERO (portal centre: full-bleed on phones/tablets, framed banner ≥1200px) ── */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    margin: calc(-1 * var(--hdr-h)) calc(-1 * var(--pg, 16px)) 0;
    min-height: min(calc(100vh - var(--tabbar-h) - var(--safe-b)), 860px);
    min-height: min(calc(100svh - var(--tabbar-h) - var(--safe-b)), 860px);
    display: flex; align-items: flex-end;
    padding: calc(var(--hdr-h) + 14px) 0 24px;
}
.hero-bg {
    position: absolute; inset: -4%; z-index: -4;
    background-position: center 30%; background-size: cover; background-repeat: no-repeat;
    animation: kenburns 30s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(10, 7, 5, .55) 0%, rgba(10, 7, 5, .04) 18%, rgba(10, 7, 5, .08) 42%, rgba(10, 7, 5, .8) 70%, var(--bg) 100%),
        radial-gradient(70% 45% at 50% 40%, rgba(255, 186, 90, .18), transparent 70%);
}
.hero .gframe { display: none; }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i {
    position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
    background: radial-gradient(circle, #ffe2a0 0%, #ff9a3c 45%, rgba(255, 120, 40, 0) 70%);
    opacity: 0; animation: ember var(--d) linear var(--w) infinite;
}
@keyframes ember {
    0% { transform: translate3d(0, 0, 0); opacity: 0; }
    12% { opacity: .95; }
    70% { opacity: .55; }
    100% { transform: translate3d(var(--dx), -78vh, 0); opacity: 0; }
}
.hero-in { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 0 16px; text-align: center; }
.hero-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img {
    width: min(76vw, 380px);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .7)) drop-shadow(0 0 30px rgba(255, 170, 60, .28));
    animation: logoIn .6s var(--ease) both;
}
@keyframes logoIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
/* 10.10.2026 sahip: "logonun altındaki mobile yazısı daha belirgin olsun" — büyük, altın degrade, parlama */
.hero-mobile {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px;
    font: 900 22px/1.1 var(--font-d); letter-spacing: .5em; padding-left: .5em; color: var(--gold-hi);
    background: linear-gradient(180deg, #fff8df 0%, #ffd66f 52%, #d48f27 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .95)) drop-shadow(0 0 12px rgba(255, 168, 48, .55));
}
.hero-mobile::before, .hero-mobile::after { content: ""; width: 52px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #ffcf6e); }
.hero-mobile::after { transform: scaleX(-1); }
/* 📱 "Sadece mobil" rozeti — mo2_only_mobile() (site_lib.php). 10.10.2026 sahip: "bikaç yere sadece mobil …
   only mobile gibi, sade mobil olduğunu bilsinler": vitrin, sol İndir kartı, İndir ve Kayıt sayfası. */
.only-mob {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 10px; border-radius: 999px;
    font: 700 11px/1.1 var(--font-b); white-space: nowrap; color: #ffe8b4;
    background: linear-gradient(180deg, rgba(158, 26, 36, .96), rgba(92, 10, 18, .96));
    border: 1px solid rgba(255, 208, 128, .62);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 236, 190, .24);
}
.only-mob svg { flex-shrink: 0; color: #ffd27a; }
/* span.… : kartların kendi "b / small" kuralları (ör. .dl-txt b = 25px Cinzel) rozetin içine sızmasın */
span.only-mob > b { font: 800 1em/1.1 var(--font-b); letter-spacing: .16em; text-transform: uppercase; color: inherit; text-shadow: none; }
span.only-mob > small { font: 600 1.05em/1.1 var(--font-b); letter-spacing: 0; text-transform: none; color: #f6dfb4; }
span.only-mob > small::before { content: "·"; margin: 0 6px 0 -1px; opacity: .55; }
.only-mob.sm { gap: 5px; padding: 5px 10px 5px 8px; font-size: 10px; }
.hero-only { margin-top: 14px; line-height: 0; }
.app-card .only-mob { margin-top: 9px; }
.auth-only { text-align: center; margin: -6px 0 16px; }
.hero-kicker { margin-top: 10px; font: 600 12px/1 var(--font-b); letter-spacing: .3em; text-transform: uppercase; color: #e9c98b; opacity: .9; }
.hero-lead {
    margin: 16px auto 0; max-width: 34ch; font-size: 16.5px; line-height: 1.55; color: #f3e6cb;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .8);
}
.hero-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px auto 0; max-width: 460px; }
.hero-stores .store { min-height: 58px; padding: 8px 10px; gap: 9px; }
.hero-stores .store .st-ic { width: 28px; height: 28px; }
.hero-stores .store .st-tx b { font-size: 15px; }
/* 18.10: Google Play kapalı testi — tam genişlik, hep ilk satır (order: ziyaretçinin platformunu öne alan betik onu yerinden etmesin) */
.hero-stores .store.is-wide { grid-column: 1 / -1; order: -1; justify-content: center; }
/* 18.10: iPhone'da Google Play test düğmesi yok (Play onlara yaramaz) · Android uygulama içi tarayıcıda (Instagram/Facebook) kısa not —
   sınıflar index.php <head> erken betiğinde (is-ios / is-iab) */
.is-ios .hero-stores .store[data-platform="playtest"] { display: none; }
.iab-note { display: none; }
.is-iab .iab-note { display: block; font-size: 12.5px; line-height: 1.4; text-align: center; color: var(--text-2); margin-top: 7px; }
.is-iab .hero-stores .iab-note { grid-column: 1 / -1; order: -1; margin: -2px 0 2px; color: #f3e6cb; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.hero-cta { display: grid; gap: 10px; margin: 12px auto 0; max-width: 460px; }
.hero-cta .btn { white-space: nowrap; letter-spacing: .07em; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) {
    .hero-logo img { width: min(64vw, 300px); }
    .hero { padding-bottom: 78px; }   /* room for the support button (50 px + 14 px above the tab bar): the full-width
                                          hero buttons end above it instead of under it */
}

/* announcement ribbon (admin managed) */
.ribbon {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; gap: 10px; padding: 12px 18px;
    color: #fff3da; text-decoration: none; font-size: 14px; line-height: 1.35;
    background: linear-gradient(180deg, rgba(255, 226, 180, .12), rgba(255, 226, 180, 0) 55%), linear-gradient(90deg, #b51c29, #8a0c19 55%, #4a0610);
    border: 1px solid #250502; border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 196, 176, .45), 0 7px 16px -7px rgba(0, 0, 0, .8);
    transition: transform .2s var(--ease), filter .2s;
}
.ribbon::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent 10%, rgba(255, 240, 200, .26) 50%, transparent 90%);
    transform: translateX(-220%) skewX(-22deg); animation: gleam 6s cubic-bezier(.45, 0, .2, 1) infinite 1s;
}
.ribbon svg { flex: 0 0 auto; color: #ffd28a; }
.ribbon b { color: #ffe3a6; }
.ribbon .chev { margin-left: auto; opacity: .8; }
a.ribbon:hover { color: #fff; filter: brightness(1.1); }
@media (hover: hover) { a.ribbon:hover { transform: translateY(-2px); } }

/* platform cards */
.plat-grid { display: grid; gap: 14px; }
.plat { padding: 22px 18px 18px; overflow: hidden; }
.plat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.plat-ic {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 auto;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .14), rgba(0, 0, 0, .25)), #1a120c;
    border: 1px solid var(--line-3); box-shadow: inset 0 1px 0 rgba(255, 230, 180, .2), 0 8px 16px rgba(0, 0, 0, .45);
}
.plat-ic.android { color: #3ddc84; }
.plat-ic.apple { color: #fff; }
.plat-ic svg { width: 32px; height: 32px; }
.plat-name { font: 700 19px/1.15 var(--font-d); color: var(--text); }
.plat-sub { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.plat-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.plat-meta span { font: 600 12px/1 var(--font-b); padding: 6px 9px; border-radius: 8px; color: var(--text-2); background: rgba(255, 228, 170, .06); border: 1px solid var(--line); }
.plat-help { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--text-2); }
.plat .btn-block ~ .btn-block { margin-top: 8px; }   /* 18.10: Android kartında Google Play (Test) + APK (arada gizli .iab-note olabilir → "~") */
.plat-help:hover { color: var(--gold-hi); }
.plat.is-soon .btn { pointer-events: none; }
.soon-note { font-size: 13.5px; color: var(--text-2); text-align: center; margin: 4px 0 0; }

/* steps */
.steps { display: grid; gap: 14px; counter-reset: st; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 16px; }
.step .seal { width: 52px; height: 52px; font-size: 20px; }
.step h3 { font-size: 17px; color: var(--gold-hi); margin-bottom: 4px; }
.step p { margin: 0; font-size: 14px; color: var(--text-2); }
.step .step-act { grid-column: 1 / -1; margin-top: 2px; }

/* features */
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat { padding: 16px 14px 15px; overflow: hidden; }
.feat-ic {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
    color: #2b1a07; background: radial-gradient(circle at 35% 30%, #fff0c0, #e2b45a 50%, #9d6c22 100%);
    border: 1px solid #fde6a6; box-shadow: 0 6px 14px rgba(0, 0, 0, .45), inset 0 -3px 6px rgba(90, 50, 10, .3);
}
.feat h3 { font: 700 14.5px/1.3 var(--font-d); color: var(--gold-hi); margin-bottom: 6px; letter-spacing: .01em; }
.feat p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* ranking preview */
.rank-card { padding: 8px 6px 14px; }
.rank-list { list-style: none; margin: 0; padding: 0 8px; }
.rank-list li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rk-n {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    font: 800 14px/1 var(--font-d); color: var(--text-2); border: 1px solid var(--line-2); background: rgba(255, 228, 170, .04);
}
.rk-n.g1 { color: #2b1a07; background: radial-gradient(circle at 35% 30%, #fff2c4, #e8b754 55%, #9c6a1f); border-color: #ffe8a8; }
.rk-n.g2 { color: #1f2328; background: radial-gradient(circle at 35% 30%, #ffffff, #c7ccd3 55%, #7d848e); border-color: #eef1f5; }
.rk-n.g3 { color: #2a1406; background: radial-gradient(circle at 35% 30%, #ffd9b0, #c98447 55%, #7c4218); border-color: #f4c290; }
.rk-name { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-lv { font: 700 12.5px/1 var(--font-b); color: var(--gold-hi); padding: 7px 10px; border-radius: 9px; background: rgba(226, 182, 95, .1); border: 1px solid var(--line-2); white-space: nowrap; }
.rank-empty { padding: 26px 16px; text-align: center; color: var(--text-2); }

/* social squares (footer, drawer) */
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.soc {
    width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-hi);
    background: linear-gradient(180deg, rgba(255, 240, 210, .1), rgba(255, 240, 210, 0) 55%), linear-gradient(180deg, #34261a, #150e09);
    border: 1px solid rgba(226, 182, 95, .38); border-radius: 6px;   /* v4: one thin line, no inner rims */
    box-shadow: inset 0 1px 0 rgba(255, 232, 190, .14), 0 6px 14px -6px rgba(0, 0, 0, .8);
    transition: transform .2s var(--ease), color .2s, background .2s, box-shadow .2s;
}
.soc:hover {
    color: #ffe8b0; border-color: #2c0306; background: linear-gradient(180deg, rgba(255, 240, 210, .14), rgba(255, 240, 210, 0) 55%), linear-gradient(180deg, #d6323b, #a5131e 58%, #680912);
    box-shadow: inset 0 1px 0 rgba(255, 196, 176, .55), 0 0 16px -2px rgba(235, 70, 70, .5);
}
@media (hover: hover) { .soc:hover { transform: translateY(-3px) scale(1.06); } }
.soc svg { width: 21px; height: 21px; }

/* final call to action */
.final {
    --n: 12px;
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    margin: 46px 0 0; padding: 46px 18px 40px;
    clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, 0 calc(100% - var(--n)), 0 var(--n));
}
.final-bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center 40%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 7, 5, .5), rgba(10, 7, 5, .86)), radial-gradient(60% 70% at 50% 60%, rgba(160, 30, 18, .25), transparent 70%); }
/* 07.10.2026 v3: the two side characters stand INSIDE the frame, in front of the dark veil, with their own
   aura (they used to sit under the veil, pushed past the edges). Night: painted key-art cuts (art-*-sm.webp,
   mid-shin up, faded) rising from the bottom edge. Shown from 960px up, where the buttons leave room. */
.final-in { position: relative; z-index: 1; }
.final h2 { font-size: 26px; color: var(--gold-hi); text-shadow: 0 2px 14px #000; }
.final p { color: #eadbbd; margin: 10px auto 18px; max-width: 36ch; }
.final .btns { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }

/* ── inner pages ─────────────────────────────────────────────────────── */
.page { padding: 18px 0 30px; }
.page-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; }
.page-head .ph-ic {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gold-hi);
    background: linear-gradient(180deg, rgba(226, 182, 95, .16), rgba(226, 182, 95, .04)); border: 1px solid var(--line-3);
}
.page-head h1 { font-size: 22px; color: var(--gold-hi); }
.page-head p { margin: 3px 0 0; font-size: 13.5px; color: var(--text-2); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }
.crumbs a { color: var(--text-2); }
.sheet { padding: 24px 18px 22px; }
.sheet + .sheet { margin-top: 16px; }
.auth-wrap { max-width: 460px; margin: 6px auto 0; }
.auth-sheet { padding: 44px 20px 24px; margin-top: 34px; }
.auth-sheet .seal { position: absolute; top: -32px; left: 50%; margin-left: -32px; z-index: 4; }
.auth-title { text-align: center; font-size: 23px; color: #4a2e12; margin: 0 0 6px; }
.auth-sub { text-align: center; color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.auth-foot { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.auth-alt { display: grid; gap: 10px; margin-top: 16px; }
.divider-or { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; color: var(--ink-3); font: 600 12px var(--font-b); letter-spacing: .14em; text-transform: uppercase; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: rgba(122, 86, 36, .35); }

/* ── legacy content classes (center/*.php) — restyled for the parchment sheet ── */
.cs-title { display: block; text-align: center; font: 700 21px/1.25 var(--font-d); color: #4a2e12; margin: 2px 0 14px; letter-spacing: .03em; }
.cs-title::after { content: ""; display: block; width: 200px; max-width: 80%; height: 20px; margin: 8px auto 0; background: var(--orn-divider-p) center / 200px 20px no-repeat; }
.cs-title-hero { font-size: 23px; }
.cs-text { font-size: 15px; line-height: 1.7; color: #46311a; margin: 0 0 12px; }
.cs-text-lead { text-align: center; font-weight: 500; }
.cs-lead { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; text-align: center; }
.cs-sub-t, .cs-h3 { font: 700 16px/1.3 var(--font-d); color: #5a3812; margin: 20px 0 10px; }
.cs-rule { width: 70%; height: 1px; margin: 4px auto 14px; background: linear-gradient(90deg, transparent, #9d6f2c, transparent); position: relative; }
.cs-rule-gem { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 8px; font-size: 12px; color: #8a6020; background: #efe0bd; }
.cs-flash { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; border: 1px solid; }
.cs-flash.success { background: rgba(34, 140, 64, .12); border-color: rgba(34, 120, 54, .45); color: #1f5226; }
.cs-flash.error { background: rgba(176, 44, 30, .1); border-color: rgba(160, 44, 30, .45); color: #7a1f12; }
.cs-flash.info { background: rgba(60, 100, 170, .1); border-color: rgba(60, 100, 170, .4); color: #22406e; }
.cs-form { max-width: 100%; margin: 0 auto; }
.cs-fg { margin-bottom: 14px; position: relative; }
.cs-fg > label:not(.ca-pill):not(.cs-check) { display: block; font: 700 12.5px/1.2 var(--font-b); letter-spacing: .06em; text-transform: uppercase; color: #6a4a24; margin-bottom: 7px; }
.cs-fg input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), .cs-fg select, .cs-fg textarea, .parch input[type=text], .parch input[type=email], .parch input[type=password], .parch input[type=number], .parch input[type=url], .parch select, .parch textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
    font: 500 16px/1.3 var(--font-b); color: #2f2010;
    background: rgba(255, 252, 240, .82); border: 1px solid rgba(140, 100, 44, .55);
    box-shadow: inset 0 2px 4px rgba(120, 85, 30, .12);
    outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none; appearance: none;
}
.parch textarea, .cs-fg textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.parch select, .cs-fg select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a2c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.cs-fg input:not([type=checkbox]):not([type=radio]):not([type=file]):focus, .cs-fg select:focus, .cs-fg textarea:focus, .parch input:focus, .parch select:focus, .parch textarea:focus {
    border-color: #a6411f; background: #fffdf5; box-shadow: 0 0 0 3px rgba(166, 65, 31, .16), inset 0 2px 4px rgba(120, 85, 30, .08);
}
.cs-fg input::placeholder, .parch input::placeholder, .parch textarea::placeholder { color: #a08660; }
.cs-fg small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.cs-fg .pw-toggle {
    position: absolute; right: 6px; bottom: 5px; width: 40px; height: 40px; display: grid; place-items: center;
    border: 0; background: none; color: #8a6a3c; cursor: pointer; border-radius: 10px;
}
.cs-fg.has-toggle input { padding-right: 50px; }
.parch input[type=checkbox], .parch input[type=radio] { width: 20px; height: 20px; accent-color: #a6411f; flex: 0 0 auto; }
.parch input[type=file] { max-width: 100%; font-size: 14px; color: #6a5430; }
.cs-altlink { text-align: center; font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }
.cs-altlink a { font-weight: 700; }
.cs-card { --n: 10px; background: rgba(255, 251, 238, .55); border: 1px solid rgba(140, 100, 44, .45); border-radius: 0; margin: 0 0 16px; overflow: hidden; clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, 0 calc(100% - var(--n)), 0 var(--n)); }
.cs-card-h { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; font: 700 14.5px/1.3 var(--font-d); color: #fff3da; padding: 12px 18px; background: var(--cloud) right -40px center / 220px 140px no-repeat, linear-gradient(180deg, #96301c, #5c160b); border-bottom: 2px solid #d9ae5f; text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.cs-card-b { padding: 14px 16px; }
.cs-info-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; padding: 10px 0; border-bottom: 1px dashed rgba(120, 90, 30, .25); }
.cs-info-row:last-child { border-bottom: 0; }
.cs-info-l { color: #6a5430; font-weight: 600; }
.cs-info-v { color: #2f2010; font-weight: 700; }
.cs-empty { text-align: center; color: var(--ink-3); font-size: 14px; padding: 18px 0; }
.cs-table, .cs-char-tbl, .cs-rank-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.cs-table td, .cs-char-tbl td, .cs-rank-tbl td { padding: 10px 8px; border-bottom: 1px solid rgba(120, 90, 30, .2); color: #3a2814; }
.cs-table td.k { color: #6a5430; }
.cs-char-tbl th, .cs-rank-tbl th { font: 700 11.5px var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: #6a4a24; padding: 9px 8px; border-bottom: 2px solid rgba(140, 100, 44, .45); text-align: left; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.cs-char-name { font-weight: 700; color: #8f2a17; }
.cs-job { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cs-steps { color: #3a2814; line-height: 1.75; font-size: 14.5px; padding-left: 22px; margin: 0 0 12px; }
.cs-steps li { margin-bottom: 6px; }
.cs-steps strong { color: #8f2a17; }
.cs-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cs-tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 11px; font: 700 13px var(--font-b); color: #5a3c10; border: 1px solid rgba(140, 100, 44, .5); background: rgba(255, 252, 240, .5); text-decoration: none; }
.cs-tab.active { background: linear-gradient(180deg, #c5202e, #9a0e1c 50%, #6a0810); color: #f5d36a; border-color: #4a0610; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.cs-consent { margin: 4px 0 14px; display: grid; gap: 10px; }
.cs-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: #46311a; cursor: pointer; }
.cs-check input[type=checkbox] { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: #a6411f; }
.cs-dl-ic, .cs-dl-size { text-align: center; }
.cs-card-h svg { flex: 0 0 auto; color: #ffe2a8; }
.ep-icon { width: 16px; height: 16px; vertical-align: -3px; }
/* Hesabım: EP banner + characters */
.pf-ep {
    display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 14px 14px 12px; border-radius: 14px; text-decoration: none;
    background: linear-gradient(120deg, #a8321a 0%, #7d1f10 55%, #5c1409 100%); border: 1px solid rgba(255, 205, 120, .6);
    box-shadow: 0 8px 20px rgba(90, 20, 10, .35), inset 0 1px 0 rgba(255, 225, 170, .3);
}
.parch a.pf-ep, .parch a.pf-ep:hover { color: #ffe6a8; }
.pf-ep__ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #2b1a07; background: radial-gradient(circle at 35% 30%, #fff1c2, #e9bb5c 50%, #a6762a); animation: epBob 1.8s ease-in-out infinite; }
.pf-ep__tx { flex: 1; min-width: 0; }
.pf-ep__tx b { display: block; font: 800 16px/1.2 var(--font-d); letter-spacing: .04em; color: #ffe6a8; }
.pf-ep__tx span { display: block; font-size: 13px; color: #f3d3b4; margin-top: 2px; }
.pf-ep__go { color: #ffe6a8; }
@keyframes epBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-8deg); } }
.char-list { display: grid; gap: 8px; }
.char-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 252, 240, .55); border: 1px solid rgba(140, 100, 44, .3); }
.char-av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; border: 1px solid; }
.char-main { min-width: 0; display: flex; flex-direction: column; }
.char-main .cs-char-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15.5px; }
.char-sub { font-size: 12.5px; color: var(--ink-3); }
.char-lv { font: 800 13px/1 var(--font-b); color: #8f2a17; padding: 7px 10px; border-radius: 9px; background: rgba(143, 42, 23, .08); border: 1px solid rgba(143, 42, 23, .25); white-space: nowrap; }
.legal h2.cs-title { margin-bottom: 18px; }
.legal .cs-text, .legal li { font-size: 14.5px; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 20px; color: #46311a; }

/* ── footer ──────────────────────────────────────────────────────────── */
.site-foot { margin-top: 50px; padding: 34px 0 26px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 7, 5, 0), rgba(10, 7, 5, .7)); }
.foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.foot-brand img { height: 46px; width: auto; }
.foot-brand p { margin: 0; color: var(--text-2); font-size: 13.5px; max-width: 40ch; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; margin: 28px 0 22px; }
.foot-col h4 { font: 700 11.5px/1 var(--font-b); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--gold-hi); }
.foot-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); text-align: center; }
.foot-lang { display: flex; gap: 6px; }
.foot-lang a { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--text-2); font-weight: 700; font-size: 12px; }
.foot-lang a.is-active { color: var(--gold-hi); border-color: var(--line-3); }

/* support bubble */
/* support button — Rise's "Destek Talebi" (09.10.2026, owner: "sağ altta destek talebi şeyi var rise'da onu da öyle
   yap"; values from silkroadrise.com's .tk-fab). Gold pill + crimson ticket coin. Phones: the coin above the tab bar;
   up to 1599 px the coin only (the words slide out on hover — the text pill would sit on the page); 1600+ the full pill. */
.sup-fab {
    position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); z-index: 55;
    display: flex; align-items: center; gap: 0; padding: 9px; border-radius: 999px;
    background: linear-gradient(180deg, #f6dc8f 0%, #d6a945 48%, #9c6f1d 100%);
    border: 1px solid #f8e3a0; color: #2a1606; text-decoration: none;
    font: 700 13px/1 var(--font-d);   /* site loads Cinzel 700/900 only; 900 has no dotted İ (09.10 measured) */ letter-spacing: 1.4px; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 3px rgba(122, 24, 16, .85), 0 0 16px rgba(240, 212, 138, .35);
    animation: supGlow 2.8s ease-in-out infinite;
    transition: transform .15s, filter .15s, opacity .25s;
}
.sup-fab:hover { transform: translateY(-2px); filter: brightness(1.07); color: #2a1606; }
.sup-fab-ico {
    width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%;
    background: linear-gradient(180deg, #e0303e, #9a0e1c); color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 1px 3px rgba(0, 0, 0, .4);
}
.sup-fab-ico svg { width: 17px; height: 17px; }
.sup-fab-txt { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s, margin .25s; }
@media (hover: hover) { .sup-fab:hover .sup-fab-txt, .sup-fab:focus-visible .sup-fab-txt { max-width: 240px; margin: 0 10px; } }
.sup-fab-badge { position: absolute; top: -7px; right: -5px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: #e0322a; color: #fff; text-align: center; font: 700 11px/21px var(--font-b); letter-spacing: 0; box-shadow: 0 0 0 2px #2a1606; }
@keyframes supGlow {
    0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 3px rgba(122, 24, 16, .85), 0 0 12px rgba(240, 212, 138, .30); }
    50%      { box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 3px rgba(178, 42, 31, .95), 0 0 26px rgba(240, 212, 138, .75); }
}
@media (prefers-reduced-motion: reduce) { .sup-fab { animation: none; } }
/* 09.10.2026 owner: "ana ekranda alta kaydırmadan çıkmıyor" — the button no longer waits for the hero to scroll away;
   on phones the hero's buttons stand above it instead (.hero padding-bottom in the 599 px block). */
@media (min-width: 1600px) {
    .sup-fab { gap: 10px; padding: 10px 20px 10px 10px; }
    .sup-fab-txt, .sup-fab:hover .sup-fab-txt { max-width: none; margin: 0; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px); z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: #241a12; border: 1px solid var(--line-3); color: var(--text); font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ═══════════════════════ EP (top-up) page ═══════════════════════ */
.ep-hero { padding: 22px 18px; overflow: hidden; }
.ep-hero h1 { display: flex; align-items: center; gap: 10px; font-size: 25px; color: var(--gold-hi); }
.ep-hero h1 .coin-lg { width: 40px; height: 40px; }
.ep-hero > p { color: var(--text-2); margin: 10px 0 14px; font-size: 14.5px; }
.ep-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-pills .chip { background: rgba(255, 228, 170, .05); }
.ep-bal { margin-top: 18px; padding: 16px; border-radius: 16px; background: linear-gradient(160deg, rgba(226, 182, 95, .16), rgba(226, 182, 95, .03)); border: 1px solid var(--line-3); }
.ep-bal small { display: block; font: 700 11px/1 var(--font-b); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ep-bal .amt { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font: 800 34px/1 var(--font-d); color: #fff1c8; }
.ep-bal .amt span { font: 700 14px var(--font-b); color: var(--text-2); }
.ep-bal .acc { margin-top: 8px; font-size: 13px; color: var(--text-2); }
.ep-bal .acc b { color: var(--text); }
.coin { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.campaign {
    display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 14px 16px; border-radius: 16px;
    background: linear-gradient(100deg, #9c1f16, #c8362a 60%, #a72318); border: 1px solid rgba(255, 190, 150, .5);
    box-shadow: 0 12px 28px rgba(140, 25, 15, .4); color: #fff3e4;
}
.campaign .cp-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 0, 0, .2); color: #ffd28a; flex: 0 0 auto; }
.campaign b { display: block; font: 700 15px/1.25 var(--font-d); letter-spacing: .04em; }
.campaign span { font-size: 13px; opacity: .95; }
.campaign .cp-cd { margin-left: auto; text-align: right; flex: 0 0 auto; }
.campaign .cp-cd small { display: block; font-size: 10.5px; opacity: .85; letter-spacing: .06em; text-transform: uppercase; }
.campaign .cp-cd strong { font: 800 15px/1.2 ui-monospace, 'SFMono-Regular', Menlo, monospace; white-space: nowrap; }
.ep-alert { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(176, 44, 30, .16); border: 1px solid rgba(220, 90, 70, .45); color: #ffd9cf; font-size: 14px; }
.ep-closed { padding: 26px 18px; text-align: center; color: var(--text-2); }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pack { position: relative; padding: 18px 12px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; overflow: visible; }
.pack .p-tag { position: absolute; top: 10px; left: 10px; z-index: 3; font: 800 11px/1 var(--font-b); color: #fff; background: #b8291c; padding: 5px 7px; border-radius: 8px; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.pack .p-ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); z-index: 4; white-space: nowrap; font: 800 10.5px/1 var(--font-b); letter-spacing: .06em; text-transform: uppercase; color: #fff4dc; background: linear-gradient(180deg, #d24434, #8e1d14); border: 1px solid #f1c27a; padding: 6px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.pack .p-coin { margin: 6px 0 8px; filter: drop-shadow(0 6px 10px rgba(120, 70, 10, .35)); transition: transform .4s var(--ease); }
.pack:hover .p-coin { transform: translateY(-3px) rotate(-6deg); }
.pack .p-ep { font: 800 26px/1 var(--font-d); color: #3f2408; }
.pack .p-ep small { font: 700 12px var(--font-d); color: #7a5225; margin-left: 3px; }
.pack .p-split { font-size: 12px; color: var(--ink-2); margin-top: 6px; min-height: 18px; }
.pack .p-split b { color: #1f7a3e; }
.pack .p-price { font: 800 20px/1 var(--font-b); color: #8a3a12; margin: 10px 0 4px; }
.pack .p-rate { font-size: 11.5px; color: var(--ink-3); margin-bottom: 8px; }
.pack .p-bonus { display: inline-block; font: 800 11px/1 var(--font-b); color: #1b6b36; background: rgba(46, 160, 90, .16); border: 1px solid rgba(40, 140, 80, .4); padding: 5px 9px; border-radius: 999px; margin-bottom: 10px; }
/* 09.10.2026 EP Satış kampanyası: eski fiyat üstü çizili, köşede indirim, isteğe bağlı USD etiketi, sayfa notu */
.pack .p-off { position: absolute; top: 10px; right: 10px; z-index: 3; font: 800 11px/1 var(--font-b); color: #fff; background: linear-gradient(180deg, #e0303e, #9a0e1c); padding: 5px 7px; border-radius: 8px; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.pack .p-price s { display: block; font: 700 13px/1.1 var(--font-b); color: var(--ink-3); text-decoration-thickness: 2px; text-decoration-color: rgba(176, 30, 30, .75); margin-bottom: 4px; }
.pack .p-usd { font: 700 12px/1 var(--font-b); color: var(--ink-2); margin: -1px 0 5px; }
.campaign .cp-off { display: inline-block; font: 800 11px/1 var(--font-b); font-style: normal; letter-spacing: .04em; color: #7a1208; background: #ffd28a; padding: 4px 7px; border-radius: 7px; margin-left: 6px; vertical-align: 2px; }
.ep-note { max-width: 640px; margin: 8px auto 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.pack form { width: 100%; margin-top: auto; }
.pack .btn { width: 100%; min-height: 44px; font-size: 12.5px; padding: 0 10px; }
.pack.is-best { border-image-source: var(--fr-parch-gold); }
.pack.is-suggest { border-image-source: var(--fr-parch-jade); }
.pack.is-suggest::after { opacity: .2; }
.prices-tools { display: grid; gap: 10px; margin-bottom: 14px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 6px; margin: 0 -16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cats::-webkit-scrollbar { display: none; }
.cat {
    flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px;
    min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
    font: 700 13px/1 var(--font-b); color: var(--text-2); background: rgba(255, 228, 170, .05); border: 1px solid var(--line-2);
    transition: transform .16s var(--ease), color .16s, background-color .16s;
}
@media (hover: hover) { .cat:not(.is-on):hover { color: #fff1c8; background-color: rgba(226, 182, 95, .12); transform: translateY(-2px); } }
.cat span { font-weight: 600; color: var(--text-3); }
.cat.is-on { color: #ffe7ad; background: linear-gradient(180deg, #c92c35, #97111b 58%, #620810); border-color: #2c0306; text-shadow: 0 1px 2px rgba(60, 0, 4, .9); box-shadow: inset 0 1px 0 rgba(255, 190, 170, .5); }
.cat.is-on span { color: #ffd9a8; }
.search { position: relative; }
.search input {
    width: 100%; min-height: 48px; padding: 0 44px 0 44px; border-radius: 14px; font: 500 16px var(--font-b); color: var(--text);
    background: rgba(255, 228, 170, .05); border: 1px solid var(--line-2); outline: none;
}
.search input:focus { border-color: var(--line-3); background: rgba(255, 228, 170, .08); }
.search input::placeholder { color: var(--text-3); }
.search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.search .clr { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--text-3); cursor: pointer; display: none; }
.search.has-q .clr { display: grid; place-items: center; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.item {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    padding: 14px 8px 12px; border-radius: 14px; cursor: pointer; -webkit-user-select: none; user-select: none;
    background: linear-gradient(180deg, rgba(43, 31, 21, .95), rgba(23, 16, 11, .95)); border: 1px solid var(--line-2);
    transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.item:active { transform: scale(.97); }
.item .it-img { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 35%, rgba(255, 220, 150, .14), rgba(0, 0, 0, .3)); border: 1px solid rgba(226, 182, 95, .22); }
.item .it-img img { max-width: 44px; max-height: 44px; image-rendering: auto; }
.item .it-name { font: 600 12.5px/1.3 var(--font-b); color: var(--text); min-height: 32px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .it-count { position: absolute; top: 8px; left: 8px; font: 700 10.5px/1 var(--font-b); color: var(--text-2); background: rgba(0, 0, 0, .35); padding: 4px 6px; border-radius: 6px; }
.item .it-price { display: inline-flex; align-items: center; gap: 5px; font: 800 13px/1 var(--font-b); color: var(--gold-hi); padding: 6px 10px; border-radius: 999px; background: rgba(226, 182, 95, .1); border: 1px solid var(--line-2); }
.item .it-old { font-size: 11px; color: var(--text-3); text-decoration: line-through; }
.item .it-check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #23a061; border: 2px solid #c8f5dd; transform: scale(0); transition: transform .25s var(--ease); }
.item.is-sel { border-color: #36c27e; background: linear-gradient(180deg, rgba(30, 70, 48, .9), rgba(16, 36, 26, .95)); box-shadow: 0 0 0 1px rgba(54, 194, 126, .45), 0 10px 22px rgba(0, 0, 0, .45); }
.item.is-sel .it-check { transform: scale(1); }
.item .it-qty { position: absolute; bottom: 8px; right: 8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #23a061; color: #fff; font: 800 11.5px/22px var(--font-b); display: none; }
.item.is-sel .it-qty.multi { display: block; }
.items-more { display: flex; justify-content: center; margin-top: 14px; }
.items-empty { grid-column: 1 / -1; padding: 26px 10px; text-align: center; color: var(--text-2); }
.calc-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 10px); z-index: 58;
    display: none; padding: 12px 12px 12px 14px; border-radius: 18px;
    background: linear-gradient(180deg, #2c1f15, #160f0a); border: 1px solid var(--line-3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 226, 170, .1);
    animation: barIn .35s var(--ease);
}
.calc-bar.is-on { display: block; }
@keyframes barIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.calc-top { display: flex; align-items: center; gap: 10px; }
.calc-sum { min-width: 0; flex: 1; }
.calc-sum small { display: block; font-size: 12px; color: var(--text-2); }
.calc-sum b { display: flex; align-items: center; gap: 6px; font: 800 20px/1.2 var(--font-d); color: #fff1c8; }
.calc-btns { display: flex; gap: 6px; flex: 0 0 auto; }
.calc-btns .icon-btn { width: 40px; height: 40px; }
.calc-verdict { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.calc-verdict.ok { background: rgba(46, 170, 100, .14); border: 1px solid rgba(60, 190, 120, .45); color: #bff0d3; }
.calc-verdict.need { background: rgba(226, 182, 95, .1); border: 1px solid var(--line-3); color: var(--text); }
.calc-verdict .go { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-weight: 700; color: var(--gold-hi); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.calc-list { display: none; margin-top: 10px; max-height: 38vh; overflow-y: auto; border-top: 1px solid var(--line); padding-top: 6px; }
.calc-bar.is-open .calc-list { display: block; }
.calc-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.calc-row img { width: 32px; height: 32px; object-fit: contain; }
.calc-row .nm { font-size: 13px; color: var(--text); line-height: 1.3; }
.calc-row .nm small { display: block; color: var(--gold-hi); font-weight: 700; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255, 228, 170, .05); color: var(--gold-hi); display: grid; place-items: center; cursor: pointer; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
body.has-calc .sup-fab { opacity: 0; pointer-events: none; transform: scale(.7); }
section[id], .guide[id], article[id] { scroll-margin-top: calc(var(--hdr-h) + 14px); }
.how { display: grid; gap: 12px; }
.how .step { grid-template-columns: 52px 1fr; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: linear-gradient(180deg, rgba(43, 31, 21, .9), rgba(23, 16, 11, .9)); border: 1px solid var(--line-2); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 15px 16px; font: 700 14.5px/1.35 var(--font-b); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { margin-left: auto; color: var(--gold); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--text-2); font-size: 14px; }
.pay-note { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--text-3); }
.login-gate { padding: 26px 18px; text-align: center; }
.login-gate h3 { font-size: 19px; color: #4a2e12; margin: 10px 0 6px; }
.login-gate p { color: var(--ink-2); margin: 0 0 16px; }
.login-gate .btns { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; }
.login-gate .seal { margin: -4px auto 0; }

/* ═══════════════════════ ranking ═══════════════════════ */
.rk2-top { display: grid; gap: 14px; margin-bottom: 20px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); }
.seg a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 10px; font: 700 13.5px var(--font-b); color: var(--text-2); transition: transform .16s var(--ease), color .16s, background-color .16s; }
@media (hover: hover) { .seg a:not(.is-on):hover { color: #fff1c8; background-color: rgba(226, 182, 95, .1); transform: translateY(-1px); } }
.seg a.is-on { color: #ffe7ad; text-shadow: 0 1px 2px rgba(60, 0, 4, .9); background: linear-gradient(180deg, #c92c35, #97111b 58%, #620810); box-shadow: inset 0 1px 0 rgba(255, 190, 170, .5), 0 4px 12px rgba(100, 8, 14, .45); }
.podium { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pod { text-align: center; padding: 18px 10px 16px; overflow: hidden; }
.pod-1 { grid-column: 1 / -1; order: -1; border-image-source: var(--fr-crimson); }
.pod-medal { position: relative; width: 64px; margin: 0 auto 8px; }
.pod-medal img { display: block; width: 64px; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.pod-medal b { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); font: 900 22px/1 var(--font-d); color: #4a2f08; text-shadow: 0 1px 0 rgba(255, 240, 200, .6); }
.pod-2 .pod-medal b { color: #33363d; }
.pod-1 .pod-medal { width: 84px; }
.pod-1 .pod-medal img { width: 84px; }
.pod-1 .pod-medal b { font-size: 28px; }
.pod-name { font: 700 16px/1.25 var(--font-d); color: var(--gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod-1 .pod-name { font-size: 21px; }
.pod-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font: 700 13px var(--font-b); color: var(--text-2); }
.pod-sub { margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.rk2-flag { width: 26px; height: auto; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); flex: 0 0 auto; }
.rk2-search { margin-bottom: 12px; display: block; }
.rk2-list { list-style: none; margin: 0; padding: 6px 12px; }
.rk2-row { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.rk2-row:last-of-type { border-bottom: 0; }
.rk2-n { font: 800 14px/1 var(--font-d); color: var(--text-3); text-align: center; }
.rk2-main { min-width: 0; display: flex; flex-direction: column; }
.rk2-name { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk2-sub { font-size: 12px; color: var(--text-3); }
.rk2-none { padding: 18px; text-align: center; color: var(--text-2); }
@media (min-width: 600px) {
    .podium { grid-template-columns: 1fr 1.15fr 1fr; align-items: end; }
    .pod-1 { grid-column: auto; order: 0; padding-top: 26px; padding-bottom: 24px; }
    .rk2-top { grid-template-columns: 1fr 300px; align-items: center; }
}

/* ═══════════════════════ download page ═══════════════════════ */
.app-card { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 18px; }
.app-icon { width: 76px; height: 76px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-3); box-shadow: 0 10px 22px rgba(0, 0, 0, .5); background: #120c08; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card h1 { font-size: 20px; color: var(--text); line-height: 1.2; }
.app-card .dev { font-size: 13px; color: var(--gold); margin-top: 3px; }
.app-card .facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.app-card .facts div { padding: 0 4px; }
.app-card .facts div + div { border-left: 1px solid var(--line); }
.app-card .facts b { display: block; font: 800 15px/1.2 var(--font-b); color: var(--gold-hi); }
.app-card .facts small { font-size: 11.5px; color: var(--text-3); }
.guide { padding: 20px 18px; }
.guide h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; color: #4a2e12; margin-bottom: 14px; }
.guide ol { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.guide li { counter-increment: g; position: relative; padding: 0 0 14px 44px; color: #46311a; font-size: 14.5px; line-height: 1.55; }
.guide li::before {
    content: counter(g); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font: 800 14px/1 var(--font-d); color: #ffe8c8;
    background: radial-gradient(circle at 35% 30%, #d4483a, #8e1d14); box-shadow: 0 3px 8px rgba(100, 20, 10, .35);
}
.guide li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 2px; width: 1px; background: rgba(140, 100, 44, .4); }
.guide .req { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.guide li .btn { margin-top: 8px; }   /* 18.10: Google Play kapalı test adımlarındaki düğmeler */
.cta-row { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 18px; }
.cta-row .cta-tx b { display: block; font: 700 16px/1.25 var(--font-d); color: var(--gold-hi); }
.cta-row .cta-tx span { font-size: 14px; color: var(--text-2); }
.cta-row .btn { grid-column: 1 / -1; }
@media (min-width: 600px) { .cta-row { grid-template-columns: 56px 1fr auto; } .cta-row .btn { grid-column: auto; } }

/* ═══════════════════════ HOME PORTAL ═══════════════════════ */
.home { position: relative; }
.wrap-xl { max-width: 1320px; }
.portal-bg { display: none; }
.portal { --pg: 16px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 0 var(--pg); }
.pcol { display: contents; }
.pw { position: relative; min-width: 0; grid-column: 1 / -1; }
.portal .hero { order: 1; }
.pw-status { order: 2; grid-column: auto; }
.pw-clock { order: 3; grid-column: auto; }
.portal.no-status .pw-clock { grid-column: 1 / -1; }
.pw-ribbon { order: 4; }
.pw-ep { order: 5; }
.pw-dl { order: 6; }
.pw-slider { order: 7; }
.pw-news { order: 8; }
.pw-top { order: 9; }
.pw-social { order: 2; }   /* 14.10: right after the hero (same order as status → DOM order puts it first) */
.pw-login, .pw-menu { display: none; }

/* — login / account (crimson) — */
.pw-login { padding: 18px 18px 16px; }
.pw-login form { display: grid; gap: 10px; }
.fld { position: relative; display: block; }
.fld > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: rgba(255, 214, 160, .65); pointer-events: none; z-index: 1; }
.fld input {
    width: 100%; height: 44px; padding: 0 12px 0 38px; font: 500 15px var(--font-b); color: #fff2dc;
    background: rgba(12, 4, 2, .55); border: 1px solid rgba(240, 190, 120, .32); border-radius: 10px; outline: none;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); transition: border-color .2s, box-shadow .2s;
}
.fld input::placeholder { color: rgba(255, 220, 180, .45); }
.fld input:focus { border-color: #f3cd7a; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(243, 205, 122, .18); }
.fld.has-toggle input { padding-right: 44px; }
.fld .pw-toggle { position: absolute; right: 3px; top: 3px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: rgba(255, 214, 160, .7); cursor: pointer; border-radius: 8px; z-index: 1; }
.pw-login .btn { margin-top: 4px; }
.lg-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font: 600 12.5px var(--font-b); }
.lg-links a { color: #f6cf80; }
.lg-links a:hover { color: #fff1c8; }
.acc-who small { display: block; font-size: 12px; color: #f0c9a8; }
.acc-who b { font: 700 17px var(--font-b); color: #fff3da; word-break: break-all; }
.acc-bal { display: flex; align-items: center; gap: 8px; margin: 12px 0 14px; }
.acc-bal b { font: 900 26px/1 var(--font-d); color: #fff1c8; }
.acc-bal small { font-weight: 700; color: #f0c9a8; }
.acc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-btns .btn { padding: 0 10px; }
.acc-out { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: #f0c9a8; }
.acc-out:hover { color: #fff3da; }

/* — free-to-play download banner — */
.pw-dl {
    --n: 10px;
    position: relative; isolation: isolate; overflow: hidden; display: block;
    min-height: 172px; padding: 18px; color: #fff3da; text-decoration: none;
    clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, 0 calc(100% - var(--n)), 0 var(--n));
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(255, 168, 80, .38), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(0, 0, 0, .45), transparent 60%),
        linear-gradient(140deg, #8a2414, #4a0d06 65%, #2c0603);
}
.pw-dl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cloud) -40px 10px / 220px 140px; opacity: .16; }
.pw-dl::after {
    content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; z-index: 2; pointer-events: none;
    background: linear-gradient(100deg, transparent 10%, rgba(255, 240, 200, .22) 50%, transparent 90%);
    transform: translateX(-220%) skewX(-24deg); animation: gleam 7s cubic-bezier(.45, 0, .2, 1) infinite 3s;
}
/* 09.10.2026: the game's icon instead of a character (owner: "karakterleri kaldır, daha güzel bişey koy") */
.dl-app { position: absolute; right: 16px; top: 50%; z-index: 0; width: 88px; height: 88px; border-radius: 22px;
          border: 2px solid #f0cf7c; box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 0 22px rgba(255, 196, 96, .35);
          transform: translateY(-50%) rotate(-8deg); transition: transform .5s var(--ease); }
.pw-dl:hover .dl-app { transform: translateY(-54%) rotate(-4deg) scale(1.05); }
.dl-txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; max-width: 64%; }
.dl-txt small { font: 700 10.5px/1 var(--font-b); letter-spacing: .22em; text-transform: uppercase; color: #ffd28a; }
.dl-txt b { font: 900 25px/1 var(--font-d); color: #fff1c8; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.dl-plat { display: flex; gap: 6px; }
.dl-plat span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 214, 160, .3); color: #fff; }
.dl-plat .android { color: #3ddc84; }
.dl-ver { font-size: 11.5px; color: #ffd9b8; opacity: .9; }
.dl-go { margin-top: 2px; }
/* kızıl kart üstünde kızıl rozet kaybolmasın · ikon yok (platform ikonları hemen üstte), sağdaki uygulama ikonuna değmesin */
.pw-dl .only-mob { padding: 5px 10px; background: rgba(0, 0, 0, .38); border-color: rgba(255, 214, 160, .4); box-shadow: none; }
.pw-dl .only-mob svg { display: none; }
.pw-dl span.only-mob > b { letter-spacing: .12em; }

/* — quick menu — */
.pw-menu { padding: 16px 12px 10px; }
/* v4: no boxed rows — fine dividers; on hover a soft gold wash and a gold bar slide in from the left */
.qm {
    position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; margin: 0;
    color: var(--text); font: 700 12.5px/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    background: none; border: 0; border-bottom: 1px solid rgba(217, 174, 95, .12); border-radius: 4px;
    transition: transform .2s var(--ease), background .2s, color .2s;
}
.qm::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 2px; border-radius: 2px; background: #e2b65f; opacity: 0; transition: opacity .2s; }
.qm svg { color: var(--gold); flex: 0 0 auto; }
.qm i { margin-left: auto; width: 6px; height: 6px; border: 1.5px solid var(--gold); border-left: 0; border-bottom: 0; transform: rotate(45deg); opacity: .7; transition: transform .2s var(--ease), opacity .2s; }
.qm:hover { color: #fff1c8; background: linear-gradient(90deg, rgba(226, 182, 95, .14), rgba(226, 182, 95, 0)); }
.qm:hover::before { opacity: 1; }
.qm:hover i { opacity: 1; transform: translateX(2px) rotate(45deg); }
@media (hover: hover) { .qm:hover { transform: translateX(3px); } }
.qm.is-ep { color: #ffd98a; }
.qm.is-ep::before { background: #e2463a; opacity: .9; }

/* — social: "Topluluğa Katıl" (14.10.2026 owner: "sosyal medya ilkte tam gözükmüyo, öne çıkar, giren görsün, belirgin
     hale getir") — no longer the foot of the left column: right under the hero on every screen. Stacked and centred on
     phones; from 760px the title sits left and the medallions in one row on the right. — */
.pw-social { display: grid; gap: 14px; padding: 18px 16px; text-align: center; overflow: hidden; isolation: isolate; }
.pw-social::after {   /* the download card's slow gleam: the strip catches the eye without blinking */
    content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 26%; z-index: 2; pointer-events: none;
    background: linear-gradient(100deg, transparent 10%, rgba(255, 240, 200, .14) 50%, transparent 90%);
    transform: translateX(-220%) skewX(-22deg); animation: gleam 8s cubic-bezier(.45, 0, .2, 1) infinite 4s;
}
.soc-head small { display: block; font: 700 10.5px/1 var(--font-b); letter-spacing: .22em; text-transform: uppercase; color: #ffd28a; }
.soc-head b { display: block; margin: 7px 0 5px; font: 900 22px/1.1 var(--font-d); color: #fff1c8; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.soc-head span { display: block; font-size: 13px; line-height: 1.45; color: var(--text-2); text-wrap: balance; }
.medals { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 2px; }
.medal { flex: 1 1 0; min-width: 54px; max-width: 80px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--text-2); font: 600 11.5px var(--font-b); text-decoration: none; }
.medal small { white-space: nowrap; }
.medal .m-ring { width: 52px; height: 52px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #fff0c2, #b8862f, #6e4415, #e8b65a, #fff0c2); box-shadow: 0 6px 14px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.medal .m-face { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: #fff; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 46%), var(--c); box-shadow: inset 0 -4px 8px rgba(0, 0, 0, .35); }
.medal:hover { color: var(--gold-hi); }
.medal:hover .m-ring { transform: translateY(-3px) rotate(-8deg); }
@media (max-width: 359px) {   /* 320 px phones: all five still in one row */
    .medal { min-width: 46px; }
    .medal .m-ring { width: 46px; height: 46px; }
}
@media (min-width: 760px) {
    .pw-social { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 20px; padding: 18px 24px; text-align: left; }
    .medals { flex-wrap: nowrap; gap: 4px; }
    .medal { flex: 0 0 74px; max-width: none; }
    .medal .m-ring { width: 58px; height: 58px; }
}

/* — story slider (real phone screenshots) — */
.sl { --n: 10px; position: relative; isolation: isolate; background: #000; clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, 0 calc(100% - var(--n)), 0 var(--n)); }
.sl-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 16 / 9; overflow: hidden; }
.sl-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 46%, rgba(8, 5, 3, .9) 100%); }
.sl-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 14px; padding: 14px 18px 16px; }
.sl-slide figcaption small { grid-column: 1; font: 700 10px/1 var(--font-b); letter-spacing: .2em; text-transform: uppercase; color: #ffb27a; }
.sl-slide figcaption b { grid-column: 1; font: 900 19px/1.15 var(--font-d); color: #fff1c8; text-shadow: 0 2px 10px #000; }
.sl-slide figcaption span { grid-column: 1; font-size: 13px; line-height: 1.35; color: #f0dfbf; text-shadow: 0 1px 6px #000; }
.sl-slide figcaption .btn { grid-column: 2; grid-row: 1 / span 3; }
.sl-bars { position: absolute; top: 12px; left: 16px; right: 16px; z-index: 3; display: flex; gap: 5px; }
.sl-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.sl-bars i b { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #f3cd7a, #fff3c8); transform-origin: left center; transform: scaleX(0); }
.sl-bars i.is-done b { transform: scaleX(1); }
.sl-bars i.is-on b { animation: slbar 6.5s linear forwards; }
.sl.is-paused .sl-bars i.is-on b { animation-play-state: paused; }
@keyframes slbar { to { transform: scaleX(1); } }
.sl-nav {
    position: absolute; top: 50%; z-index: 5; width: 42px; height: 42px; margin-top: -21px; display: grid; place-items: center;
    border-radius: 50%; border: 1.5px solid #f3cd7a; cursor: pointer; color: #eafff3;
    background: radial-gradient(circle at 35% 30%, #3fa874, #0f3a26 75%); box-shadow: 0 4px 12px rgba(0, 0, 0, .55);
    transition: transform .2s var(--ease), filter .2s;
}
.sl-nav:hover { transform: scale(1.08); filter: brightness(1.12); }
.sl-prev { left: 12px; }
.sl-prev svg { transform: scaleX(-1); }
.sl-next { right: 12px; }
@media (hover: none) { .sl-nav { display: none; } }

/* — card tabs (news, TOP 5): flat plates standing on a gold base line, the chosen one in lacquer red — */
.ntabs, .ttabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(226, 182, 95, .42); }
.ntabs button, .ttabs button {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 10px; cursor: pointer;
    font: 700 10.5px/1.2 var(--font-d); letter-spacing: .1em; text-transform: uppercase; text-align: center; white-space: nowrap; color: var(--text-2);
    background: linear-gradient(180deg, rgba(255, 226, 170, .11), rgba(255, 226, 170, .04));
    border: 1px solid rgba(226, 182, 95, .2); border-radius: 4px 4px 0 0;
    transition: transform .15s var(--ease), filter .15s, color .15s;
}
.ntabs button.is-on, .ttabs button.is-on {
    color: #ffe7ad; text-shadow: 0 1px 2px rgba(60, 0, 4, .9);
    background: linear-gradient(180deg, #c92c35 0%, #97111b 58%, #620810 100%);
    border-color: #2c0306; box-shadow: inset 0 1px 0 rgba(255, 190, 170, .5);
}
@media (hover: hover) {
    .ntabs button:not(.is-on):hover, .ttabs button:not(.is-on):hover { color: #fff1c8; filter: brightness(1.3); transform: translateY(-1px); }
}
.ntabs button:active, .ttabs button:active { transform: translateY(1px); }

/* — news tabs — */
.pw-news { padding: 0 0 8px; }
.ntabs { padding: 14px 12px 5px; overflow-x: auto; scrollbar-width: none; }
.ntabs::-webkit-scrollbar { display: none; }
.ntabs button { flex-basis: auto; flex-grow: 1; }
.npanel { padding: 6px 16px 4px; }
.nlist { list-style: none; margin: 0; padding: 0; }
.nl-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0 -6px; padding: 12px 8px; border-bottom: 1px dashed rgba(217, 174, 95, .18); border-radius: 3px; color: var(--text); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.nlist li:last-child .nl-row { border-bottom: 0; }
a.nl-row:hover { color: var(--text); background-color: rgba(226, 182, 95, .07); }
a.nl-row:hover .nl-tx b { color: var(--gold-hi); }
@media (hover: hover) { a.nl-row:hover { transform: translateX(3px); } }
.nl-ic, .nl-date {
    width: 44px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold-hi);
    background: linear-gradient(180deg, #3d2615, #1c1009); border: 1px solid rgba(217, 174, 95, .42); border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 232, 190, .12), 0 4px 10px -4px rgba(0, 0, 0, .7);
}
.nl-ic.is-android { color: #3ddc84; }
.nl-date b { font: 900 17px/1 var(--font-d); color: var(--gold-hi); }
.nl-date small { font: 700 9.5px/1.2 var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.nl-tx { min-width: 0; }
.nl-tx b { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.35; transition: color .2s; }
.nl-tx span { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.nl-tag { font: 800 10px/1 var(--font-b); padding: 5px 8px; border-radius: 6px; letter-spacing: .08em; text-transform: uppercase; background: rgba(63, 208, 143, .14); color: #7ef0b8; border: 1px solid rgba(63, 208, 143, .35); }
.nl-empty { margin: 14px 2px; color: var(--text-2); font-size: 14px; }
.nmore { display: inline-flex; margin: 8px 2px 6px; font-weight: 700; font-size: 13px; }
.hsteps { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.hsteps li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.hsteps .seal { width: 44px; height: 44px; font-size: 16px; }
.hsteps b { display: block; font: 700 14.5px var(--font-d); color: var(--gold-hi); }
.hsteps small { display: block; font-size: 12.5px; color: var(--text-2); }

/* — EP promo (crimson) — */
.pw-ep { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px 12px; align-items: center; padding: 18px; color: #fff3da; text-decoration: none; overflow: hidden; }
.ep-coins { position: relative; width: 84px; height: 80px; }
.ep-coins svg { position: absolute; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); animation: coinBob 3.4s ease-in-out infinite; }
.ep-coins .c1 { width: 56px; height: 56px; left: 0; top: 18px; animation-delay: -.4s; }
.ep-coins .c2 { width: 44px; height: 44px; left: 36px; top: 0; animation-delay: -1.5s; }
.ep-coins .c3 { width: 38px; height: 38px; left: 44px; top: 40px; animation-delay: -2.4s; }
@keyframes coinBob { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-5px) rotate(5deg); } }
.ep-txt { min-width: 0; }
.ep-txt small { display: block; font: 700 10.5px/1 var(--font-b); letter-spacing: .22em; text-transform: uppercase; color: #ffd28a; }
.ep-txt b { display: block; margin: 5px 0 4px; font: 900 25px/1 var(--font-d); color: #fff1c8; text-shadow: 0 2px 14px rgba(255, 160, 60, .35); }
.ep-txt span { display: block; font-size: 12.5px; line-height: 1.35; color: #ffd9b8; }
.pw-ep .btn { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.ep-tag { position: absolute; top: 14px; right: -38px; z-index: 3; transform: rotate(35deg); padding: 5px 40px; font: 800 10px/1 var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: #5a1208; background: linear-gradient(180deg, #fff1c0, #e8b552); box-shadow: 0 3px 8px rgba(0, 0, 0, .4); }
.pw-ep:hover .ep-coins svg { animation-duration: 1.6s; }
.pw-ep, .pw-dl { transition: transform .3s var(--ease), filter .3s; }
.pw-ep:hover, .pw-dl:hover { color: #fff3da; filter: brightness(1.07); }
@media (hover: hover) { .pw-ep:hover, .pw-dl:hover { transform: translateY(-3px); } }

/* — server clock — */
.pw-clock { padding: 16px 14px 14px; text-align: center; display: flex; flex-direction: column; }
.pw-clock .clk-date { margin-top: auto; }
.pw-clock .clk-foot { margin-bottom: auto; }
.clk-date { font: 600 12.5px/1.35 var(--font-b); color: var(--text-2); min-height: 17px; }
.clk-time {
    display: flex; justify-content: center; align-items: baseline; margin: 6px 0 8px;
    font: 900 34px/1 var(--font-d);
    background: linear-gradient(180deg, #ffe9b0 0%, #f0a44a 46%, #c2271b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(200, 40, 20, .35));
}
.clk-time i { font-style: normal; display: inline-block; width: .7em; text-align: center; }
.clk-time b { display: inline-block; width: .32em; text-align: center; font-weight: 900; }
.clk-foot { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.clk-ic { display: inline-grid; place-items: center; color: #f6c453; }
.clk-ic .moon { display: none; color: #cfd8ff; }
.clk-ic.is-night .sun { display: none; }
.clk-ic.is-night .moon { display: block; }

/* — server status — 07.10.2026 v3, alive like Rise's status orb (owner: "sunucu durumu kutusunda animasyon yok");
   night pass (owner: "kristal çocuksu, ışınlar çizgi film gibi"): the stone is a faceted emerald in an ornate gold
   bezel (inline SVG, site_lib mo2_jewel; colour = --gc), behind it only a breathing glow, over it an occasional
   glint sweep. The word gets a passing shine, the dot pings, the bar shimmers. All motion = transform/opacity.
   Maintenance (amber) and offline (red) drop the life: lacquer frame, no glint/shine, a dim still glow. — */
.pw-status { --sc: #3fe39c; --sg: rgba(52, 214, 144, .5); --rl: rgba(159, 224, 189, .3); --sdt: #a8c9b7; --sdd: #eafff3;
             padding: 16px 14px 16px; text-align: center; }
.pw-status.is-mt { --sc: #f2b33d; --sg: rgba(242, 179, 61, .4); --rl: rgba(226, 182, 95, .3); --sdt: var(--text-2); --sdd: var(--text); border-image-source: var(--fr-lacquer); }
.pw-status.is-off { --sc: #e0473a; --sg: rgba(224, 71, 58, .35); --rl: rgba(226, 182, 95, .3); --sdt: var(--text-2); --sdd: var(--text); border-image-source: var(--fr-lacquer); }
.gem-wrap { --gc: #0b8a50; --gh: rgba(40, 210, 130, .42); position: relative; isolation: isolate; width: 104px; height: 104px; margin: 4px auto 12px; display: grid; place-items: center; color: var(--gc); }
.gem-wrap.g-mt { --gc: #c98a14; --gh: rgba(242, 179, 61, .34); }
.gem-wrap.g-off { --gc: #a3232a; --gh: rgba(224, 71, 58, .26); }
.gem-halo { position: absolute; inset: -18px; z-index: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--gh) 0%, rgba(40, 210, 130, .1) 46%, transparent 70%); animation: halo 4.2s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .45; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.04); } }
.gem-bezel {
    position: relative; z-index: 2; width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .35);
}
.gem-bezel::after {   /* occasional glint: a soft band of light crosses the jewel */
    content: ""; position: absolute; top: -12%; bottom: -12%; left: 0; width: 34%; pointer-events: none;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .34) 50%, rgba(255, 255, 255, 0));
    transform: translateX(-170%) skewX(-16deg); animation: gemGlint 7s ease-in-out infinite 1.4s;
}
@keyframes gemGlint { 0%, 74% { transform: translateX(-170%) skewX(-16deg); } 90%, 100% { transform: translateX(330%) skewX(-16deg); } }
.gem { position: relative; display: block; width: 100%; height: 100%; }
.st-word { display: flex; align-items: center; justify-content: center; gap: 10px; font: 900 21px/1 var(--font-d); letter-spacing: .16em; color: var(--sc); }
.st-word .dot { width: 9px; height: 9px; }
.sw { position: relative; display: inline-block; padding-left: .16em; white-space: nowrap; text-shadow: 0 0 14px var(--sg), 0 1px 2px rgba(0, 0, 0, .6); }
/* the shine = a bright copy of the word seen through a moving window; the copy moves the other way by the
   same distance, so it stays on the letters (window 45% of the word: -110% → 240%; copy +49.5% → -108%) */
.sw-shine {
    position: absolute; top: -3px; bottom: -3px; left: 0; width: 45%; overflow: hidden; pointer-events: none;
    -webkit-mask: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent); mask: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent);
    transform: translateX(-110%); animation: swWin 5s ease-in-out infinite 1.6s;
}
.sw-shine > span {
    position: absolute; top: 3px; left: 0; width: calc(100% / .45); padding-left: .16em; white-space: nowrap;
    color: #f2fff8; text-shadow: 0 0 10px rgba(205, 255, 232, .95), 0 0 2px #fff;
    transform: translateX(49.5%); animation: swText 5s ease-in-out infinite 1.6s;
}
@keyframes swWin { 0%, 55% { transform: translateX(-110%); } 88%, 100% { transform: translateX(240%); } }
@keyframes swText { 0%, 55% { transform: translateX(49.5%); } 88%, 100% { transform: translateX(-108%); } }
.st-rows { position: relative; display: grid; gap: 7px; margin: 14px 0 0; padding: 14px 2px 0;
           background: linear-gradient(90deg, transparent, var(--rl) 16%, var(--rl) 41%, transparent 45%, transparent 55%, var(--rl) 59%, var(--rl) 84%, transparent) top / 100% 1px no-repeat; }
.st-rows::before {    /* ◆ on the rule */
    content: ""; position: absolute; top: -3px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg);
    background: linear-gradient(135deg, #fff3c4, #d6a446 55%, #7a5214); box-shadow: 0 0 0 1px rgba(0, 0, 0, .55);
}
.st-rows div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.st-rows dt { color: var(--sdt); }
.st-rows dd { margin: 0; font-weight: 800; color: var(--sdd); }
/* load bar (capacity mode, real %) or channel bar (one segment per channel from the panel's channel count):
   Rise capsule — gold rim, light inner line, shimmering fill */
.st-bar {
    position: relative; height: 13px; margin: 14px auto 0; width: 94%; padding: 2px; border-radius: 8px;
    background: linear-gradient(180deg, #0c1610, #040906); border: 1px solid #b8862f;
    box-shadow: inset 0 0 0 1px rgba(247, 215, 124, .5), inset 0 2px 4px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .45);
}
.st-bar > i {
    position: relative; display: block; height: 100%; width: var(--p, 100%); overflow: hidden; border-radius: 5px;
    background: linear-gradient(180deg, #c4ffe0 0%, #45e3a0 45%, #138a55 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 8px rgba(63, 227, 156, .55);
}
.st-bar > i::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
    transform: translateX(-120%); animation: barSweep 3.4s ease-in-out infinite; animation-delay: var(--k, 0s);
}
@keyframes barSweep { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(300%); } }
.st-ch { display: flex; gap: 3px; }
.st-ch > i { flex: 1 1 0; width: auto; border-radius: 3px; }
.st-ch > i::after { width: 70%; animation-duration: 3s; }
.is-mt .st-bar > i { background: repeating-linear-gradient(-45deg, #f2b33d 0 5px, #b47a1c 5px 10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.is-off .st-bar > i { background: linear-gradient(180deg, #5a2a24, #2c1310); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.is-mt .gem-bezel::after, .is-off .gem-bezel::after, .is-mt .sw-shine, .is-off .sw-shine, .is-mt .st-bar > i::after, .is-off .st-bar > i::after { display: none; }
.is-mt .gem-halo { animation: none; opacity: .4; }
.is-off .gem-halo { animation: none; opacity: .22; }
.is-off .gem { filter: saturate(.8) brightness(.92); }

/* — TOP 5 — */
.pw-top { padding: 16px 14px 14px; }
.ttabs { padding: 0 0 5px; margin-bottom: 6px; }
.ttabs button { font-size: 11px; letter-spacing: .12em; }
.tlist { list-style: none; margin: 0 0 12px; padding: 0; }
.tlist li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.tlist li:last-child { border-bottom: 0; }
.tl-n { display: grid; place-items: center; width: 32px; height: 32px; font: 900 13px var(--font-d); color: var(--text-2); }
.tl-n img { width: 24px; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.tl-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-empty { display: block !important; padding: 16px 4px !important; text-align: center; color: var(--text-3); }

/* phones: the clock and the status card sit side by side, compact */
@media (max-width: 599px) {
    .pw-clock, .pw-status { padding: 14px 10px 12px; }
    .pw-clock .plq, .pw-status .plq { margin-bottom: 10px; }
    .pw-clock .plq::before, .pw-clock .plq::after, .pw-status .plq::before, .pw-status .plq::after { display: none; }
    .pw-clock .plq > span, .pw-status .plq > span { margin: 0; font-size: 10px; padding: 6px 12px 5px; letter-spacing: .12em; }
    .pw-clock .plq > span::before, .pw-clock .plq > span::after, .pw-status .plq > span::before, .pw-status .plq > span::after { display: none; }
    .clk-time { font-size: 25px; margin: 8px 0 6px; }
    .clk-date { font-size: 11px; }
    .clk-foot { font-size: 10.5px; }
    .gem-wrap, .gem-bezel { width: 68px; height: 68px; }
    .gem-wrap { margin: 2px auto 8px; }
    .gem-halo { inset: -12px; }
    .st-word { gap: 7px; font-size: 15px; letter-spacing: .12em; }
    .st-word .dot { width: 7px; height: 7px; }
    .sw { padding-left: .12em; }
    .sw-shine > span { padding-left: .12em; }
    .st-rows { gap: 4px; margin-top: 10px; padding-top: 10px; }
    .st-rows div { font-size: 11.5px; }
    .st-bar { height: 11px; margin-top: 10px; width: 100%; }
    .portal.no-status .pw-clock { padding: 16px 14px 14px; }
}

/* ═══════════════════════ responsive ═══════════════════════ */
@media (min-width: 400px) {
    .hero-stores .store .st-tx b { font-size: 16px; }
}
@media (min-width: 600px) {
    body { font-size: 16px; }
    .wrap { padding: 0 24px; }
    .sec-title { font-size: 30px; }
    .portal { --pg: 24px; gap: 16px; }
    .pw-ep, .pw-dl, .pw-news, .pw-top { grid-column: auto; }
    .portal.no-ep .pw-dl, .portal.no-top .pw-news { grid-column: 1 / -1; }
    .hero { min-height: 640px; }
    .clk-time { font-size: 46px; margin: 10px 0 12px; }
    .clk-date { font-size: 13.5px; }
    .sl-slide figcaption b { font-size: 22px; }
    .packs { grid-template-columns: repeat(3, 1fr); }
    .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feats { grid-template-columns: repeat(2, 1fr); }
    .plat-grid { grid-template-columns: 1fr 1fr; }
    .sheet { padding: 30px 30px 26px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .step { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 16px; }
    .how .step { grid-template-columns: 1fr; }
    .calc-bar { left: 50%; right: auto; width: 560px; transform: translateX(-50%); }
    @keyframes barIn { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
}
@media (min-width: 760px) {
    .feats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
    :root { --appbar-h: 68px; --strip-h: 34px; }
    body { padding-bottom: 0; }
    .tabbar { display: none; }
    .strip { display: block; position: relative; height: var(--strip-h); background: linear-gradient(180deg, #170f09, #0c0805); border-bottom: 1px solid rgba(217, 174, 95, .14); font: 500 12.5px/1 var(--font-b); color: var(--text-2); }
    .strip-in { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 26px; }
    .si { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
    .si b { color: var(--gold-hi); font-weight: 700; font-variant-numeric: tabular-nums; }
    .si > svg { color: var(--gold); flex: 0 0 auto; }
    .si-welcome { margin-right: auto; min-width: 0; color: #e9cf96; }
    .si-welcome > span, .si-welcome > a { overflow: hidden; text-overflow: ellipsis; }
    .si-welcome a { color: #ffd98a; }
    .si-lang { position: relative; }
    .si-lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--gold-hi); }
    .si-lang summary::-webkit-details-marker { display: none; }
    .si-lang[open] summary { background: rgba(226, 182, 95, .1); }
    .si-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 150px; padding: 6px; background: #1a120c; border: 1px solid var(--line-3); border-radius: 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .6); }
    .si-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-2); font-weight: 600; }
    .si-menu a:hover, .si-menu a.is-active { background: rgba(226, 182, 95, .1); color: var(--gold-hi); }
    .appbar { padding: 0 28px; gap: 18px; }
    /* 09.10.2026 owner: "ortalı olmalı panel üstteki" — logo | menu | buttons: the menu sits in the middle of the bar
       (equal side columns; a side never shrinks below its own content, so nothing overlaps on narrow screens) */
    .appbar { display: grid; grid-template-columns: 1fr auto 1fr; }
    .appbar .brand { justify-self: start; }
    .appbar-end { margin-left: 0; justify-self: end; }
    .brand img { height: 40px; }
    /* main menu = Rise's framed tab bar in our lacquer: rectangular tabs, thin gold dividers, the open page
       in red lacquer with gold letters and a breathing gold rim; EP YÜKLE = gold plate with a sliding shine
       and a breathing glow (07.10.2026 v3) */
    .appnav {
        display: flex; align-items: center; gap: 2px; margin-left: 0; padding: 3px; justify-self: center;
        background: linear-gradient(180deg, rgba(40, 28, 18, .94), rgba(17, 11, 7, .94));
        border: 1px solid #070403; border-radius: 5px;
        box-shadow: inset 0 0 0 1px rgba(184, 134, 47, .5), inset 0 2px 0 rgba(255, 228, 170, .06), 0 3px 10px rgba(0, 0, 0, .45);
    }
    .appnav .nv {
        position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
        font: 700 12px/1 var(--font-d); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
        border: 1px solid transparent; border-radius: 3px;
        transition: transform .16s var(--ease), filter .16s, color .16s, background-color .16s, border-color .16s;
    }
    .appnav .nv + .nv::before {
        content: ""; position: absolute; left: -2px; top: 26%; bottom: 26%; width: 1px; pointer-events: none;
        background: linear-gradient(180deg, transparent, rgba(226, 182, 95, .4), transparent); transition: opacity .16s;
    }
    .appnav .nv.is-active::before, .appnav .nv.is-active + .nv::before, .appnav .nv:hover::before, .appnav .nv:hover + .nv::before { opacity: 0; }
    .appnav .nv svg { display: none; color: var(--gold); opacity: .8; }
    .appnav .nv:hover { color: #fff1c8; background-color: rgba(226, 182, 95, .12); border-color: rgba(226, 182, 95, .24); filter: brightness(1.08); transform: translateY(-1px) scale(1.04); }
    .appnav .nv:active { transform: translateY(0) scale(.98); }
    .appnav .nv.is-active {   /* v4: the open page = crimson without rims, gold light breathing along its foot */
        color: #ffe7ad; text-shadow: 0 1px 2px rgba(60, 0, 4, .9);
        background: linear-gradient(180deg, #c92c35 0%, #97111b 58%, #620810 100%); border-color: #2c0306;
        box-shadow: inset 0 1px 0 rgba(255, 190, 170, .5), inset 0 -8px 12px -8px rgba(0, 0, 0, .5), 0 4px 12px -4px rgba(150, 16, 26, .7);
    }
    .appnav .nv.is-active::after {
        content: ""; position: absolute; left: 16%; right: 16%; bottom: 3px; height: 2px; border-radius: 2px; pointer-events: none;
        background: linear-gradient(90deg, rgba(255, 214, 120, 0), #ffd678 50%, rgba(255, 214, 120, 0));
        opacity: .55; animation: rimPulse 3.2s ease-in-out infinite;
    }
    .appnav .nv.is-active:hover { filter: brightness(1.1); }
    .appnav .nv.is-active svg { color: #ffd98a; opacity: 1; }
    .nav-ep-wrap { position: relative; margin-left: 6px; }
    .nav-ep-wrap::before {   /* EP YÜKLE stands out by its halo — emerald since 09.10 (Rise's "SİLK YÜKLE": navSilkGlow) */
        content: ""; position: absolute; inset: -2px; z-index: 0; border-radius: 8px; pointer-events: none;
        box-shadow: 0 0 16px 3px rgba(80, 240, 190, .85), 0 0 5px 1px rgba(200, 255, 235, .6);
        opacity: .15; animation: epBreath 2.8s ease-in-out infinite;
    }
    @keyframes epBreath { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
    /* 09.10.2026 owner: "ep yükleyi de böyle yeşil gibi renkli yapabilirsin rise gibi" — Rise's silk tab colours
       (silkroadrise.com .mainnav__tab--silk: #3fd9a8 → #17a077 → #0c6e50, cream letters, mint-glowing icon) */
    .appnav .nav-ep {
        z-index: 1; min-height: 36px; padding: 0 16px;
        --c1: #3fd9a8; --c2: #17a077; --c3: #0c6e50; --edge: #0a5640;
        --spec: rgba(255, 255, 255, .4); --ink: #fff6d8; --ts: 0 1px 2px rgba(0, 0, 0, .65); --glow: rgba(80, 240, 190, .6);
    }
    .appnav .nav-ep svg { filter: drop-shadow(0 0 4px rgba(210, 255, 240, .95)); }
    .nav-ep::before { box-shadow: inset 0 0 18px rgba(200, 255, 235, .42), inset 0 1px 0 rgba(235, 255, 248, .55); }
    .nav-ep::after {
        width: 42%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
        animation: epShine 3.6s ease-in-out infinite; animation-delay: .4s;
    }
    @keyframes epShine { 0% { transform: translateX(-160%) skewX(-20deg); } 55%, 100% { transform: translateX(300%) skewX(-20deg); } }
    /* Rise's "%10 İNDİRİM" pill: small, crimson, no tilt (it used to be a rotated, pulsing bubble) */
    .nav-badge { position: absolute; top: -8px; right: -8px; z-index: 2; padding: 3px 6px; border-radius: 8px; font: 800 9px/1 var(--font-b); letter-spacing: .3px; color: #fff3d0; white-space: nowrap; background: linear-gradient(180deg, #e0303e, #9a0e1c); border: 1px solid rgba(255, 220, 180, .55); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
    .hero { margin-top: 0; padding-top: 34px; min-height: 620px; }
    .hero-logo img { width: 420px; }
    .hero-lead { font-size: 17.5px; max-width: 42ch; }
    .hero-cta { grid-template-columns: 1fr 1fr; max-width: 560px; }
    .hero-stores { max-width: 560px; }
    .feats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .feat { padding: 22px 18px; }
    .items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .packs { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .final { padding: 70px 30px 60px; }
    .final h2 { font-size: 36px; }
    .final .btns { grid-template-columns: 1fr 1fr; max-width: 520px; }
    .foot-cols { grid-template-columns: repeat(4, 1fr); }
    .sup-fab { bottom: 22px; right: 22px; }
    body.has-calc .sup-fab { bottom: 150px; }
    .calc-bar { bottom: 18px; }
    .toast { bottom: 26px; }
    .page { padding-top: 30px; }
    .page-head h1 { font-size: 26px; }
    .ntabs button { min-height: 36px; padding: 0 14px; font-size: 11.5px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
    .appbar { padding: 0 16px; gap: 8px; }
    .appnav { gap: 0; padding: 2px; }
    .appnav .nv { padding: 0 8px; letter-spacing: .06em; }
    .nav-ep-wrap { margin-left: 4px; }
    .appnav .nav-ep { padding: 0 12px; }
    .appnav .nav-ep svg { display: none; }   /* like the tabs, no icon below 1200 (PL "Doładuj EP" squeezed it to 0) */
}
@media (min-width: 1200px) {
    .items { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .clk-time { font-size: 34px; margin: 6px 0 8px; }
    .clk-date { font-size: 12.5px; }
    /* wide screens: bar content lines up with the 1320px portal instead of the screen edges */
    .appbar { padding: 0 max(22px, calc((100% - 1320px) / 2 + 22px)); }
    .strip-in { padding: 0 22px; }
    .appnav { gap: 4px; }
    .appnav .nv { padding: 0 16px; font-size: 12.5px; letter-spacing: .12em; }
    .appnav .nv svg { display: inline; }
    /* home: three-column portal */
    .portal-bg { display: block; position: absolute; left: 0; right: 0; top: 0; height: 940px; z-index: -1; background-position: center top; background-size: cover; background-repeat: no-repeat; }
    .portal-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 8, 6, .15) 0%, rgba(11, 8, 6, .5) 55%, var(--bg) 100%); }
    .portal { --pg: 22px; grid-template-columns: 252px minmax(0, 1fr) 278px; gap: 20px; max-width: 1320px; margin: 24px auto 0; align-items: start; }
    .pcol { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
    .pw { order: 0 !important; grid-column: auto !important; }
    .pw-login, .pw-menu { display: block; }
    .hero { --n: 10px; margin: 0; min-height: 0; height: 474px; padding: 0; align-items: center; clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, 0 calc(100% - var(--n)), 0 var(--n)); }
    .hero .gframe { display: block; }
    .hero::before { background: linear-gradient(180deg, rgba(10, 7, 5, .3) 0%, rgba(10, 7, 5, 0) 22%, rgba(10, 7, 5, .1) 55%, rgba(10, 7, 5, .86) 100%), radial-gradient(55% 50% at 50% 36%, rgba(255, 186, 90, .2), transparent 70%); }
    .hero-in { max-width: 400px; padding: 0; }
    .hero-status { display: none; }
    .hero-logo img { width: 290px; }
    .hero-mobile { font-size: 19px; }
    .hero-only { margin-top: 10px; }
    .hero-lead { font-size: 14.5px; max-width: 36ch; margin-top: 10px; }
    .hero-stores { margin-top: 16px; gap: 8px; }
    .hero-stores .store { min-height: 54px; }
    .hero-cta { gap: 8px; margin-top: 8px; }
    .hero-cta .btn { min-height: 48px; font-size: 13px; }
    .sl-slide { aspect-ratio: 16 / 7.6; }
}
@media (min-width: 1200px) and (max-width: 1365px) {   /* the framed menu needs a little room (PL "Aktualności / Doładuj EP" at 1200) */
    .appnav { gap: 2px; }
    .appnav .nv { padding: 0 13px; }
}
.appnav .nv svg { flex: 0 0 auto; }   /* an icon is shown whole or not at all — never squeezed */
@media (min-width: 1200px) and (max-width: 1279px) { html[lang="pl"] .appnav .nv svg { display: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .embers { display: none; }
    /* v3 glints rest in their quiet state: gleams parked off the plate, pulses off, rays still, no sparkle */
    .btn::after, .cs-btn::after, .store::after, .ribbon::after, .pw-dl::after, .pw-social::after, .btn::before, .nav-ep-wrap::before, .appnav .nv.is-active::after,
    .gem-halo, .gem-bezel::after, .sw-shine, .sw-shine > span, .st-bar > i::after { animation: none !important; }
}
