﻿.notification-link{position:relative}.notification-link>b{position:absolute;right:-8px;top:-8px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#c9362b;color:#fff;font-size:9px}
.duel-home,.duel-page{max-width:1040px}.duel-hero{display:grid;grid-template-columns:1fr auto;align-items:center;gap:35px;padding:38px;border:1px solid var(--line);border-radius:4px 32px 4px 32px;background:var(--ink);color:var(--paper)}.duel-hero h1{font:500 clamp(42px,6vw,70px)/1 Georgia,serif;margin:10px 0 18px}.duel-hero p{max-width:590px;color:#bed0c8}.duel-hero form{text-align:center}.duel-hero form small{display:block;margin-top:10px;color:#aebfb7}.duel-primary{border-color:var(--lime);background:var(--lime);color:#173629}.duel-primary:disabled{opacity:.45;cursor:not-allowed}.duel-stats{margin-top:18px}.duel-stats article{border-radius:11px}.duel-links{margin:18px 0}.duel-links a{display:flex;justify-content:space-between;padding:18px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.duel-recent{margin-top:38px}.duel-recent h2,.profile-duels h2{font:500 32px Georgia,serif}.duel-history-list,.profile-duel-history{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden}.duel-history-list a,.profile-duel-history a{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--surface);border-bottom:1px solid var(--line)}.duel-history-list a:last-child,.profile-duel-history a:last-child{border-bottom:0}.duel-history-list b,.duel-history-list small,.profile-duel-history b,.profile-duel-history small{display:block}.duel-history-list small,.profile-duel-history small{color:var(--muted);font-size:10px}.duel-history-list strong,.profile-duel-history strong{font-size:11px}.win{color:#218257}.loss{color:#ba3e34}.draw{color:#a46f0c}
[data-theme=dark] .duel-hero{background:radial-gradient(circle at 85% 20%,rgba(97,208,164,.13),transparent 32%),linear-gradient(145deg,#132820,#0e201a);border-color:#36584a;color:#f5fbf8;box-shadow:0 22px 55px rgba(0,0,0,.28)}
[data-theme=dark] .duel-hero h1{color:#f7fcf9}
[data-theme=dark] .duel-hero p{color:#b8ccc2}
[data-theme=dark] .duel-hero form small{color:#a9beb4}
[data-theme=dark] .duel-hero .duel-primary{background:#d3ed78;border-color:#d3ed78;color:#173629;box-shadow:0 8px 24px rgba(211,237,120,.12)}
.duel-invite-card{max-width:620px;margin:10px auto;padding:45px;text-align:center;border:1px solid var(--line);border-radius:4px 36px 4px 36px;background:var(--surface);box-shadow:var(--shadow)}.duel-swords{display:block;font-size:52px}.duel-invite-card h1{font:500 48px/1.05 Georgia,serif;margin:13px 0}.duel-invite-card p{color:var(--muted)}.duel-invite-card code{display:block;margin:20px 0;padding:12px;border:1px dashed var(--line);border-radius:8px;overflow-wrap:anywhere}.duel-invite-card .button{justify-content:center;margin-top:9px}.whatsapp-duel{background:#25d366;color:#092d18;border-color:#25d366}
.duel-invite-card .duel-return{margin-top:18px;border-color:var(--green);background:var(--ink);color:var(--paper);font-weight:850}
.duel-invite-card .duel-friends-return{margin-top:8px;border-color:var(--line);background:var(--paper);color:var(--ink);font-weight:800}
.duel-result-emblem{display:block;font-size:42px;margin-bottom:8px}
.duel-result-matchup{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 12px;padding:8px 10px;border:1px solid #ffffff24;border-radius:999px;background:#ffffff0a;text-align:center}.duel-result-matchup b{max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:12px}.duel-result-matchup i{color:var(--lime);font-size:8px;font-style:normal;font-weight:900}
.duel-result-backdrop{position:fixed;z-index:92;inset:0;background:rgba(4,15,11,.74);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.duel-result-backdrop[hidden]{display:none}.duel-result-close{position:sticky;z-index:3;float:right;top:0;width:34px;height:34px;margin:-18px -15px 0 8px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:23px;line-height:1;cursor:pointer}body.duel-result-open{overflow:hidden}
.duel-playfield .keyboard button,.duel-playfield .tile{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.duel-page:has(.duel-playfield){padding-top:clamp(10px,2.2dvh,24px)}
.duel-playfield .board{width:min(340px,calc((100dvh - 390px)*.84));min-width:250px;margin:clamp(5px,1.2dvh,12px) auto clamp(9px,1.8dvh,18px)}
.duel-playfield .keyboard button{height:clamp(40px,5.6dvh,48px)}
.duel-playfield .keyboard button.correct{background:#2f9e69!important;border-color:#2f9e69!important;color:#fff!important}.duel-playfield .keyboard button.present{background:#dfaa2d!important;border-color:#dfaa2d!important;color:#241b05!important}.duel-playfield .keyboard button.absent{background:#66736d!important;border-color:#66736d!important;color:#fff!important}
[data-theme=dark] .duel-playfield .keyboard button.absent{background:#4f5b55!important;border-color:#68756e!important}[data-theme=dark] .duel-playfield .keyboard button.present{background:#e2aa27!important;border-color:#f1c04f!important}[data-theme=dark] .duel-playfield .keyboard button.correct{background:#249b6a!important;border-color:#45bd8d!important}
.duel-page:has(.duel-playfield){display:grid;grid-template-columns:minmax(0,570px) 370px;gap:35px}.duel-page:not(.duel-finished):not(.duel-waiting-result){grid-template-columns:minmax(0,570px);max-width:650px}.duel-playfield>header h1{font:500 48px Georgia,serif;margin:7px 0}.duel-playfield>header p{color:var(--muted)}.duel-playfield .board{margin-top:14px}.duel-result-card{align-self:start;position:sticky;top:20px;padding:30px;border-radius:4px 28px 4px 28px;background:var(--ink);color:var(--paper)}.duel-result-card:not(.visible){display:none}.duel-result-card h2{font:500 42px Georgia,serif;margin:10px 0}.duel-result-card>p{color:#bdcec6}.duel-comparison{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:20px 0}.duel-comparison article{padding:13px 8px;border:1px solid #ffffff25;border-radius:9px;text-align:center}.duel-comparison span,.duel-comparison b,.duel-comparison small{display:block}.duel-comparison span,.duel-comparison small{font-size:10px;color:#b9cac2}.duel-comparison b{margin:6px 0}.duel-comparison>i{font-style:normal;font-size:10px;color:var(--lime)}.duel-share{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px}.duel-share a,.duel-share button{padding:8px 5px;border:1px solid #ffffff28;border-radius:6px;background:transparent;color:#fff;font-size:9px;text-align:center;cursor:pointer}
[data-theme=dark] .duel-result-card{background:linear-gradient(145deg,#163027,#0e211a);border:1px solid #3a5b4d;color:#f7fcf9}
[data-theme=dark] .duel-result-card h2{color:#fff}
.duel-page.duel-finished{grid-template-columns:minmax(0,570px)!important;max-width:650px!important}.duel-page.duel-finished .duel-result-card.visible,.duel-page.duel-waiting-result .duel-result-card.visible{display:block;position:fixed;z-index:93;left:50%;top:50%;transform:translate(-50%,-50%);width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - max(30px,env(safe-area-inset-top)) - max(30px,env(safe-area-inset-bottom)));overflow:auto;overscroll-behavior:contain;padding:34px 30px;box-shadow:0 30px 100px rgba(0,0,0,.5)}.duel-result-card .duel-share a:first-child{background:#25d366;border-color:#25d366;color:#092b19;font-weight:850}.duel-wait-note{padding:10px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;font-size:11px}
.duel-scope-tabs{display:flex;gap:8px;margin:18px 0 10px}.duel-scope-tabs a{padding:10px 15px;border:1px solid var(--line);border-radius:999px;color:var(--ink);font-size:12px;font-weight:800}.duel-scope-tabs a.active{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.weekly-top-frame .profile-banner{position:relative;border:2px solid #dfaa2d;box-shadow:0 0 0 5px rgba(223,170,45,.12),0 18px 50px rgba(223,170,45,.12)}.weekly-top-frame .profile-banner::after{content:"HAFTANIN İLK 10 OYUNCUSU";position:absolute;right:18px;top:14px;padding:6px 9px;border-radius:999px;background:#dfaa2d;color:#14251e;font-size:8px;font-weight:900;letter-spacing:.08em}.duel-profile-stats em{display:block;margin-top:3px;color:var(--lime);font-size:9px;font-style:normal;font-weight:800}.weekly-duel-history{margin-top:22px}.weekly-duel-history article{display:flex;align-items:center;gap:10px;margin-top:7px;padding:11px;border:1px solid var(--line);border-radius:10px}.weekly-duel-history article.active-frame{border-color:#dfaa2d;background:rgba(223,170,45,.07)}.weekly-duel-history i{font-size:24px}.weekly-duel-history span,.weekly-duel-history small{display:block}.weekly-duel-history small{color:var(--muted);font-size:10px}
.profile-duels{margin-top:34px;padding-top:28px;border-top:1px solid var(--line)}.duel-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.duel-profile-stats span{padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.duel-profile-stats small,.duel-profile-stats b{display:block}.duel-profile-stats small{font-size:9px;color:var(--muted)}.duel-profile-stats b{margin-top:4px;font-size:18px}.profile-duels>h3{margin-top:25px}.notifications-page{max-width:760px}.notification-list{display:grid;gap:8px}.notification-list>a{display:flex;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.notification-list>a.unread{border-color:var(--green);background:color-mix(in srgb,var(--green) 7%,var(--surface))}.notification-list i{font-style:normal;font-size:24px}.notification-list b,.notification-list small{display:block}.notification-list p{margin:3px 0;color:var(--muted)}.notification-list small{font-size:9px;color:var(--muted)}.duel-admin-form{max-width:520px;margin-top:25px}
@media(max-width:900px){.duel-page:has(.duel-playfield){grid-template-columns:1fr}.duel-result-card{position:static}.duel-hero{grid-template-columns:1fr}.duel-hero form{text-align:left}.duel-profile-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-height:820px) and (min-width:601px){.duel-page:has(.duel-playfield){padding-bottom:24px}.duel-playfield>header h1{font-size:34px;margin:2px 0}.duel-playfield>header p{font-size:11px;margin-bottom:5px}}
@media(max-width:600px){body.duel-game-screen{height:100dvh;overflow:hidden}body.duel-game-screen main{height:calc(100dvh - 52px - env(safe-area-inset-top,0px));min-height:0;overflow:auto;overscroll-behavior:none}body.duel-game-screen footer{display:none}.duel-home,.duel-page{padding:28px 12px max(70px,calc(40px + env(safe-area-inset-bottom)))}.duel-page:has(.duel-playfield){min-height:100%;padding:5px 9px max(88px,calc(70px + env(safe-area-inset-bottom,0px)));align-content:start}.duel-hero{padding:26px 20px}.duel-hero h1,.duel-invite-card h1{font-size:39px}.duel-invite-card{padding:30px 18px}.duel-playfield>header h1{font-size:28px;margin:2px 0}.duel-playfield>header p{display:none}.duel-playfield .board{width:min(300px,78vw,calc((100dvh - 340px)*.84));min-width:205px;margin:3px auto 7px;gap:5px}.duel-playfield .row{gap:5px}.duel-playfield .tile{font-size:22px;border-width:1.5px}.duel-playfield .keyboard{gap:5px}.duel-playfield .keyboard>div{gap:3px}.duel-playfield .keyboard button{height:clamp(36px,5.8dvh,44px);min-width:0;flex:1;padding:0 3px;font-size:12px}.duel-playfield .keyboard .wide{flex:1.45}.duel-result-card{padding:25px 19px}.duel-page.duel-finished .duel-result-card.visible{width:calc(100vw - 18px);max-height:calc(100dvh - max(18px,env(safe-area-inset-top)) - max(82px,calc(64px + env(safe-area-inset-bottom))));padding:22px 18px 20px}.duel-page.duel-finished .duel-result-card h2{font-size:32px;margin:5px 0}.duel-page.duel-finished .duel-result-card>p{margin-bottom:7px}.duel-page.duel-finished .duel-comparison{margin:10px 0}.duel-page.duel-finished .duel-comparison article{padding:8px 6px}.duel-result-close{margin:-12px -7px 0 8px}.duel-profile-stats{grid-template-columns:1fr 1fr}.duel-share{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px) and (max-height:690px){.duel-playfield>header h1{font-size:24px}.duel-playfield .board{width:min(260px,70vw,calc((100dvh - 305px)*.84));min-width:190px}.duel-playfield .keyboard button{height:36px}}
@media(max-width:600px) and (min-height:750px){.duel-playfield .board{width:min(340px,88vw,calc((100dvh - 310px)*.84));min-width:250px}.duel-playfield .keyboard button{height:clamp(44px,5.9dvh,50px)}}
@media(max-width:600px) and (display-mode:standalone){.duel-page:has(.duel-playfield){padding-bottom:max(20px,calc(12px + env(safe-area-inset-bottom,0px)))}}
@media(max-width:600px){.duel-page.duel-waiting-result .duel-result-card.visible{width:calc(100vw - 18px);max-height:calc(100dvh - max(18px,env(safe-area-inset-top)) - max(82px,calc(64px + env(safe-area-inset-bottom))));padding:22px 18px 20px}.duel-page.duel-waiting-result .duel-result-card h2{margin:5px 42px 8px 0;font-size:32px}.duel-page.duel-waiting-result .duel-comparison{margin:10px 0}.duel-page.duel-waiting-result .duel-comparison article{padding:8px 6px}}
.duel-result-close{position:absolute;right:14px;top:14px;float:none;margin:0}.duel-invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.duel-create-form{min-width:min(330px,100%);padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.05)}.duel-create-form label{display:block;text-align:left;font-size:11px;font-weight:750;color:#d7e4de}.duel-create-form input{display:block;width:100%;margin:6px 0 2px;padding:12px;border:1px solid rgba(255,255,255,.23);border-radius:8px;background:#fff;color:#10251d;font-size:16px}.duel-create-form .button{margin-top:8px;justify-content:center;gap:10px}
.notification-list{gap:9px}.notification-list>article{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.notification-list>article.unread{border:2px solid var(--green);background:color-mix(in srgb,var(--green) 9%,var(--surface));box-shadow:0 8px 28px color-mix(in srgb,var(--green) 16%,transparent)}.notification-list>article>a{display:flex;gap:12px}.notification-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 0 36px}.notification-actions .button{width:100%;justify-content:center;padding:10px 12px}.notification-status{display:block;margin:10px 0 0 36px;color:var(--muted);font-size:11px}
.notification-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:22px}.notification-page-head h1{margin:6px 0}.notification-page-head p{max-width:520px;margin:0;color:var(--muted);font-size:13px}.notification-clean{min-height:46px;justify-content:center;border-color:color-mix(in srgb,#c24c41 45%,var(--line));background:color-mix(in srgb,#c24c41 7%,var(--surface));color:#b34238;font-size:12px}.notification-clean:hover{background:#b34238;color:#fff}.notification-list>article>a span{min-width:0}.notification-list>article>a b{font-size:14px}.notification-list>article>a p{font-size:13px;line-height:1.45}.notification-list>article>a small{font-size:11px}
@media(max-width:600px){.notification-page-head{align-items:stretch;flex-direction:column}.notification-page-head p{font-size:14px;line-height:1.5}.notification-page-head form,.notification-clean{width:100%}.notification-clean{min-height:50px;font-size:14px}.notification-list>article{padding:15px 13px}.notification-list>article>a b{font-size:16px}.notification-list>article>a p{font-size:14px}.notification-list>article>a small{font-size:12px}.notification-actions{margin-left:0}.notification-actions .button{min-height:46px;font-size:14px}.notification-status{margin-left:0;font-size:13px}}
@media(max-width:600px){.duel-create-form{min-width:0;width:100%}.duel-invite-actions{grid-template-columns:1fr}.duel-page.duel-finished .duel-result-card h2{margin-right:42px}.duel-result-close{right:10px;top:10px}.notification-actions{margin-left:0}.notification-status{margin-left:0}}
.duel-command{max-width:1060px}.duel-command-hero{display:grid;grid-template-columns:1fr auto;align-items:center;gap:35px;padding:38px 40px;border:1px solid var(--line);border-radius:4px 32px 4px 32px;background:radial-gradient(circle at 82% 20%,rgba(200,230,106,.17),transparent 30%),var(--ink);color:var(--paper)}.duel-command-hero h1{margin:8px 0 14px;font:500 clamp(45px,7vw,72px)/1 Georgia,serif}.duel-command-hero p{max-width:580px;margin:0;color:#bed0c8}.duel-rank-emblem{display:flex;align-items:center;gap:13px;min-width:205px;padding:17px;border:1px solid #ffffff2e;border-radius:16px;background:#ffffff0b}.duel-rank-emblem>i{width:49px;height:49px;display:grid;place-items:center;border-radius:13px;background:#ffffff12;font-style:normal;font-size:27px}.duel-rank-emblem span,.duel-rank-emblem small,.duel-rank-emblem b,.duel-rank-emblem em{display:block}.duel-rank-emblem small{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.duel-rank-emblem b{font:500 30px Georgia,serif}.duel-rank-emblem em{color:#aec2b8;font-size:9px;font-style:normal}.duel-rank-emblem.league-demir{color:#c4cbc8}.duel-rank-emblem.league-bronz{color:#d99b61}.duel-rank-emblem.league-gümüş{color:#e5ece9}.duel-rank-emblem.league-altın{color:#f0c751}.duel-rank-emblem.league-elmas{color:#8be7dc}
.duel-command-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:14px 0}.duel-command-stats article{padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.duel-command-stats span,.duel-command-stats b,.duel-command-stats em{display:block}.duel-command-stats span{color:var(--muted);font-size:10px}.duel-command-stats b{margin:5px 0;font:500 30px Georgia,serif}.duel-command-stats b small{font:600 12px Inter,sans-serif;color:var(--muted)}.duel-command-stats em{color:var(--green);font-size:9px;font-style:normal;font-weight:800}
.duel-priority,.duel-pending-center,.duel-create-center,.duel-weekly-goal{margin-top:14px;padding:25px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.duel-priority{border-color:color-mix(in srgb,var(--green) 55%,var(--line));background:linear-gradient(135deg,color-mix(in srgb,var(--green) 9%,var(--surface)),var(--surface));box-shadow:0 15px 38px color-mix(in srgb,var(--green) 10%,transparent)}.duel-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.duel-section-head h2,.duel-create-copy h2,.duel-weekly-goal h2{margin:5px 0;font:500 32px Georgia,serif}.duel-count{min-width:28px;height:28px;display:grid;place-items:center;border-radius:99px;background:var(--green);color:#fff;font-size:11px;font-weight:900}.duel-action-grid{display:grid;gap:8px}.duel-action-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}.duel-action-card>i{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--green);color:#fff;font-style:normal}.duel-action-card span,.duel-action-card small{display:block}.duel-action-card small{color:var(--muted);font-size:10px}.duel-action-card>strong{color:var(--green);font-size:12px}
.duel-pending-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.duel-pending-columns h3,.opponent-waiting h3,.duel-friend-quick h3{font-size:13px}.duel-inbox-list{display:grid;gap:7px}.duel-inbox-list article{display:flex;align-items:center;gap:7px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.duel-inbox-list article>a{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1}.duel-inbox-list span,.duel-inbox-list small{display:block}.duel-inbox-list small{color:var(--muted);font-size:9px}.duel-inbox-list strong{color:var(--green);font-size:10px}.duel-inbox-list form button{padding:6px;border:0;background:transparent;color:#b8443a;font-size:9px;font-weight:800;cursor:pointer}.duel-empty{margin:0;padding:18px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:11px;text-align:center}.opponent-waiting{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.opponent-waiting>a{display:flex;justify-content:space-between;gap:15px;padding:12px;border-radius:10px;background:var(--paper)}.opponent-waiting span,.opponent-waiting small{display:block}.opponent-waiting small{color:var(--muted);font-size:9px}.opponent-waiting strong{color:var(--muted);font-size:10px}
.duel-create-center{display:grid;grid-template-columns:.7fr 1.3fr;gap:25px}.duel-create-copy p{margin:0;color:var(--muted);font-size:11px}.duel-modern-form label{display:block;color:var(--muted);font-size:10px;font-weight:800}.duel-modern-form input{display:block;width:100%;margin:6px 0 9px;padding:13px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:16px}.duel-modern-form>div{display:flex;gap:8px}.duel-modern-form .button{flex:1;justify-content:center;gap:8px}.duel-friend-quick{grid-column:1/-1;padding-top:14px;border-top:1px solid var(--line)}.duel-friend-quick>div{display:flex;gap:7px;overflow:auto;padding-bottom:5px}.duel-friend-quick form{flex:0 0 170px}.duel-friend-quick button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;width:100%;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);text-align:left;cursor:pointer}.duel-friend-quick button>i{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:var(--lime);color:#173629;font-style:normal;font-weight:900}.duel-friend-quick span,.duel-friend-quick small{display:block}.duel-friend-quick small{color:var(--muted);font-size:8px}
.duel-weekly-goal{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(125deg,var(--ink),color-mix(in srgb,var(--ink) 82%,var(--green)));color:var(--paper)}.duel-weekly-goal p{margin:0;color:#bcd0c6;font-size:11px}.duel-weekly-goal .button{white-space:nowrap}.duel-history-list.modern{border-radius:13px}.duel-history-result{text-align:right}.duel-history-result small{margin-top:3px}.duel-recent{margin-top:28px}
[data-theme=dark] .duel-command-hero{border-color:#37574a;background:radial-gradient(circle at 82% 20%,rgba(211,237,120,.12),transparent 30%),linear-gradient(145deg,#143027,#0d211a)}[data-theme=dark] .duel-priority,[data-theme=dark] .duel-pending-center,[data-theme=dark] .duel-create-center{border-color:#2f4c40}[data-theme=dark] .duel-weekly-goal{border-color:#3d5d50}
@media(max-width:760px){.duel-command{padding:24px 13px max(70px,calc(40px + env(safe-area-inset-bottom)))}.duel-command-hero{grid-template-columns:1fr;padding:27px 21px}.duel-command-hero h1{font-size:45px}.duel-rank-emblem{min-width:0;width:100%}.duel-command-stats{grid-template-columns:1fr 1fr}.duel-priority,.duel-pending-center,.duel-create-center,.duel-weekly-goal{padding:18px 14px}.duel-pending-columns,.duel-create-center{grid-template-columns:1fr}.duel-modern-form>div{display:grid}.duel-weekly-goal{align-items:flex-start;flex-direction:column}.duel-weekly-goal .button{width:100%;justify-content:center}.duel-action-card{grid-template-columns:auto 1fr}.duel-action-card>strong{grid-column:2}.duel-section-head h2,.duel-create-copy h2,.duel-weekly-goal h2{font-size:27px}}

/* Düello merkezi: hedefe doğru geçiş ve kompakt mobil akış */
.duel-anchor-section,#yeni-duello{scroll-margin-top:86px}.duel-anchor-section:target,#yeni-duello:target{animation:duelTargetPulse .8s ease-out}.duel-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}.duel-hero-actions .button{min-height:44px}.duel-rank-action{border-color:#ffffff36;background:#ffffff0d;color:#fff}.duel-invite-response{display:flex;align-items:center;gap:5px}.duel-invite-response form{margin:0}.duel-invite-response .accept{padding:7px 9px!important;border-radius:7px!important;background:var(--green)!important;color:#fff!important}.duel-home-tabs a>span{display:none}
@keyframes duelTargetPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--lime) 70%,transparent)}100%{box-shadow:0 0 0 18px transparent}}
@media(max-width:760px){
 .duel-command{padding-top:12px}.duel-command-hero{gap:18px;padding:22px 18px;border-radius:20px}.duel-command-hero h1{margin:6px 0 9px;font-size:38px}.duel-command-hero p{font-size:12px;line-height:1.5}.duel-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.duel-hero-actions .button{min-width:0;min-height:46px;padding:10px;text-align:center;font-size:11px}
 .duel-rank-emblem{gap:10px;padding:12px}.duel-rank-emblem>i{width:41px;height:41px;font-size:22px}.duel-rank-emblem b{font-size:24px}
 .duel-command-stats{gap:7px;margin:9px 0}.duel-command-stats article{min-width:0;padding:12px}.duel-command-stats b{margin:3px 0;font-size:25px}.duel-command-stats em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .duel-home-tabs{position:sticky!important;top:calc(6px + env(safe-area-inset-top));z-index:15;display:flex!important;gap:6px;margin:10px -2px 13px;padding:6px;overflow-x:auto;scrollbar-width:none}.duel-home-tabs::-webkit-scrollbar{display:none}.duel-home-tabs a{flex:0 0 auto;min-height:42px!important;padding:9px 12px!important;white-space:nowrap}.duel-home-tabs a>span{display:inline;color:var(--green);font-size:15px}
 .duel-priority,.duel-pending-center,.duel-create-center,.duel-weekly-goal,.duel-growth-section{margin-top:10px;padding:17px 14px;border-radius:15px}.duel-section-head{align-items:center;margin-bottom:12px}.duel-section-head h2,.duel-create-copy h2,.duel-weekly-goal h2{font-size:25px}.duel-section-head .eyebrow,.duel-create-copy .eyebrow{font-size:8px}
 .duel-pending-columns{gap:12px}.duel-pending-columns>div{min-width:0}.duel-inbox-list article{align-items:stretch;flex-wrap:wrap;padding:11px}.duel-inbox-list article>a{min-width:145px}.duel-invite-response{width:100%}.duel-invite-response form{flex:1}.duel-invite-response button{width:100%;min-height:38px}.opponent-waiting>a{align-items:center}
 .duel-create-copy{margin-bottom:15px}.duel-create-copy p{font-size:12px;line-height:1.45}.duel-modern-form input{font-size:16px}.duel-friend-quick>div{scroll-snap-type:x mandatory}.duel-friend-quick form{flex-basis:155px;scroll-snap-align:start}
 .duel-mission-list{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important}.duel-mission-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;flex:none!important;width:100%;padding:13px}.duel-mission-list small{font-size:10px;line-height:1.4}.duel-mission-list article>strong{font-size:12px}
 .duel-history-list a{gap:10px;padding:13px}.duel-history-list a>span:first-child{min-width:0}.duel-history-list b,.duel-history-list small{overflow-wrap:anywhere}.duel-history-result{flex:0 0 auto}.duel-links a{gap:10px;padding:15px;font-size:12px}.duel-weekly-goal{gap:15px}.duel-weekly-goal h2{margin-bottom:6px}
}
.duel-mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 15px;padding:0;border:0}.duel-mode-picker legend{grid-column:1/-1;margin-bottom:6px;font-size:11px;font-weight:850}.duel-mode-picker label{cursor:pointer}.duel-mode-picker input{position:absolute;opacity:0;pointer-events:none}.duel-mode-picker span{display:block;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.duel-mode-picker b,.duel-mode-picker small{display:block}.duel-mode-picker small{margin-top:2px;color:var(--muted);font-size:10px}.duel-mode-picker input:checked+span{border-color:var(--green);background:color-mix(in srgb,var(--green) 12%,var(--surface));box-shadow:0 0 0 2px color-mix(in srgb,var(--green) 16%,transparent)}.duel-hard-mode>header h1{color:#d69b22}.duel-hard-mode .board{width:min(390px,calc((100dvh - 390px)*.98))}.duel-hard-mode .row{grid-template-columns:repeat(6,1fr)}
@media(max-width:600px){.duel-mode-picker span{padding:11px 9px}.duel-mode-picker b{font-size:15px}.duel-mode-picker small{font-size:11px}.duel-hard-mode .board{width:min(94vw,calc((100dvh - 340px)*.98));min-width:250px}.duel-hard-mode .tile{font-size:20px}}
@media(max-width:390px){.duel-command-hero h1{font-size:34px}.duel-hero-actions{grid-template-columns:1fr}.duel-command-stats article{padding:10px}.duel-command-stats span{font-size:9px}.duel-command-stats b{font-size:22px}.duel-home-tabs a{font-size:11px}.duel-section-head h2,.duel-create-copy h2,.duel-weekly-goal h2{font-size:23px}}

/* Rakip seçme odaklı yeni düello oluşturma akışı */
.duel-create-center.duel-create-v2{display:block;padding:28px}.duel-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.duel-create-head h2{margin:6px 0 8px;font:500 35px/1.05 Georgia,serif}.duel-create-head p{max-width:590px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}.duel-right-pill{flex:0 0 auto;display:flex;align-items:baseline;gap:5px;padding:10px 13px;border:1px solid color-mix(in srgb,var(--green) 35%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--green) 8%,var(--paper));color:var(--green)}.duel-right-pill b{font-size:18px}.duel-right-pill small{font-size:9px;font-weight:850}.duel-challenge-builder{margin-top:22px}.duel-player-search{position:relative;display:block}.duel-player-search>span{display:block;margin-bottom:7px;color:var(--ink);font-size:11px;font-weight:900}.duel-player-search>i{position:absolute;left:15px;bottom:15px;color:var(--green);font-size:23px;font-style:normal;line-height:1}.duel-player-search input{width:100%;min-height:56px;padding:14px 46px;border:1px solid color-mix(in srgb,var(--green) 35%,var(--line));border-radius:14px;background:var(--paper);color:var(--ink);font-size:16px;outline:0;transition:border-color .2s,box-shadow .2s}.duel-player-search input:focus{border-color:var(--green);box-shadow:0 0 0 4px color-mix(in srgb,var(--green) 12%,transparent)}.duel-player-search input::-webkit-search-cancel-button{display:none}.duel-picker{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--paper) 75%,var(--surface))}.duel-picker-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.duel-picker-head h3{margin:0;font-size:14px}.duel-picker-head>span{color:var(--muted);font-size:9px;font-weight:750}.duel-picker-head>span i{display:inline-block;width:7px;height:7px;margin-right:3px;border-radius:50%;background:#28af70;box-shadow:0 0 0 3px #28af701a}.duel-player-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:278px;overflow:auto;overscroll-behavior:contain}.duel-player-list>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.duel-player-list>button:hover,.duel-player-list>button.selected{border-color:var(--green);background:color-mix(in srgb,var(--green) 8%,var(--surface));transform:translateY(-1px)}.duel-player-list>button[hidden]{display:none}.duel-player-avatar{position:relative;display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--lime);color:#173629;font-style:normal;font-weight:950}.duel-player-avatar em{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border:2px solid var(--surface);border-radius:50%;background:#9aa49f}.duel-player-avatar em.online{background:#28af70}.duel-player-list span,.duel-player-list b,.duel-player-list small{display:block;min-width:0}.duel-player-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.duel-player-list small{margin-top:3px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.duel-player-list>button>strong{color:var(--green);font-size:16px}.duel-search-empty{margin:9px 0 0;padding:12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:10px;line-height:1.45}.duel-selected-player{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:14px;padding:13px;border:1px solid color-mix(in srgb,var(--green) 50%,var(--line));border-radius:13px;background:linear-gradient(120deg,color-mix(in srgb,var(--green) 10%,var(--surface)),var(--surface))}.duel-selected-player[hidden]{display:none}.duel-selected-player>i{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--green);color:#fff;font-style:normal;font-weight:950}.duel-selected-player span,.duel-selected-player small,.duel-selected-player b,.duel-selected-player em{display:block}.duel-selected-player small{color:var(--green);font-size:8px;font-weight:950;letter-spacing:.13em}.duel-selected-player b{margin:2px 0;font-size:15px}.duel-selected-player em{color:var(--muted);font-size:9px;font-style:normal}.duel-selected-player>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:19px;cursor:pointer}.duel-send-challenge{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;width:100%;min-height:58px;margin-top:14px;padding:14px 18px!important;border:0!important;border-radius:14px!important}.duel-send-challenge>span{font-size:20px}.duel-send-challenge>b{text-align:center;font-size:14px}.duel-send-challenge>i{font-style:normal;font-size:18px}.duel-share-divider{display:flex;align-items:center;gap:12px;margin:14px 0;color:var(--muted);font-size:9px;font-weight:850}.duel-share-divider:before,.duel-share-divider:after{content:"";height:1px;flex:1;background:var(--line)}.duel-whatsapp-create .button{display:flex;width:100%;min-height:49px;justify-content:center;border-radius:13px;font-size:12px}.duel-whatsapp-create .button span{margin-right:7px;color:#1cae60;font-size:17px}
@media(max-width:700px){.duel-create-center.duel-create-v2{padding:18px 14px}.duel-create-head{gap:10px}.duel-create-head h2{font-size:28px}.duel-create-head p{font-size:11px}.duel-right-pill{padding:8px 10px}.duel-right-pill b{font-size:16px}.duel-challenge-builder{margin-top:18px}.duel-player-search input{min-height:55px}.duel-picker{margin-left:-3px;margin-right:-3px;padding:12px}.duel-player-list{grid-template-columns:1fr;max-height:292px}.duel-player-list>button{min-height:59px}.duel-send-challenge{min-height:60px}.duel-send-challenge>b{font-size:15px}.duel-whatsapp-create .button{min-height:52px;font-size:13px}}
@media(max-width:390px){.duel-create-head h2{font-size:25px}.duel-create-head p{max-width:220px}.duel-right-pill small{display:none}.duel-picker-head>span{max-width:100px;text-align:right}.duel-player-list{max-height:270px}}
.duel-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:20px}.duel-hero-actions .duel-hero-action{margin-top:0}.duel-rank-action{border-color:#ffffff42;background:#ffffff0b;color:var(--paper);justify-content:center}.duel-rank-action:hover{border-color:var(--lime);color:var(--lime)}.duel-invite-response{display:flex;gap:4px}.duel-inbox-list .duel-invite-response button{padding:7px 8px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--muted);font-size:9px;font-weight:850;cursor:pointer}.duel-inbox-list .duel-invite-response button.accept{border-color:var(--green);background:var(--green);color:#fff}
@media(max-width:560px){.duel-hero-actions{display:grid;grid-template-columns:1fr}.duel-hero-actions .button{width:100%;min-height:46px;justify-content:center;padding:12px 14px}}

@media(max-width:760px){
 .duel-command,.duel-create-center,.duel-create-center>*{min-width:0;max-width:100%}
 .duel-create-center{display:block;width:100%;overflow:hidden}
 .duel-create-copy{width:100%;margin-bottom:18px}
 .duel-create-copy p{max-width:100%;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
 .duel-modern-form{display:block;width:100%;min-width:0}
 .duel-modern-form input{width:100%;max-width:100%;min-height:52px;margin-bottom:10px}
 .duel-modern-form>div{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
 .duel-modern-form .button{display:flex;width:100%;min-width:0;min-height:48px;color:#173629;font-size:13px;font-weight:850}
 .duel-modern-form .button.ghost{background:var(--paper);color:var(--ink);border-color:var(--line)}
 .duel-friend-quick{width:100%;min-width:0;margin-top:20px;padding-top:18px}
 .duel-friend-quick>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;overflow:visible}
 .duel-friend-quick form{min-width:0;width:100%;flex:none}
 .duel-friend-quick button{grid-template-columns:auto minmax(0,1fr) auto;min-width:0;padding:10px 8px}
 .duel-friend-quick button span{min-width:0}
 .duel-friend-quick button b,.duel-friend-quick button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:380px){
 .duel-friend-quick>div{grid-template-columns:1fr}
}

/* Düello tahtası da telefonun kullanılabilir yüksekliğine uyum sağlar. */
@media(max-width:600px){
 .duel-page:has(.duel-playfield){
  padding-bottom:max(12px,calc(env(safe-area-inset-bottom,0px) + 8px));
 }
 .duel-playfield .board{
  width:min(92vw,calc((100dvh - 340px)*.84));
  min-width:205px;
  max-width:380px;
 }
 .duel-playfield .keyboard button{
  height:clamp(40px,6.1dvh,50px);
 }
}
@media(max-width:600px) and (min-height:780px){
 .duel-playfield .board{
  width:min(92vw,calc((100dvh - 320px)*.82));
 }
 .duel-playfield .keyboard button{
  height:clamp(46px,6.25dvh,54px);
 }
}
@media(max-width:600px) and (max-height:680px){
 .duel-playfield .board{
  width:min(82vw,calc((100dvh - 305px)*.82));
 }
 .duel-playfield .keyboard button{height:38px}
}
