/* Kelime Zinciri / Son Harf V154 — mobile application layer */
@media (max-width:820px){
  html,body{background:linear-gradient(180deg,#eef8f8 0,#f8fafc 48%,#eaf1f5 100%)!important;overflow-x:hidden!important}
  .sh-shell{width:100%!important;min-height:100dvh!important;padding:8px 9px 96px!important}
  .sh-nav{position:sticky!important;top:max(6px,env(safe-area-inset-top))!important;z-index:300!important;display:grid!important;grid-template-columns:132px minmax(0,1fr) 96px!important;grid-template-areas:"back . actions" "brand brand brand"!important;grid-template-rows:42px 24px!important;align-items:center!important;column-gap:7px!important;row-gap:5px!important;height:92px!important;min-height:92px!important;padding:7px 9px!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;border:1px solid #d8e5ec!important;box-shadow:0 10px 28px rgba(36,69,92,.13)!important;backdrop-filter:blur(16px)!important}
  .sh-back{grid-area:back!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:13px!important;background:#12344f!important;color:#fff!important}.sh-back b{display:none!important}.sh-brand{grid-area:brand!important;grid-column:1/-1!important;grid-row:2!important;position:static!important;transform:none!important;justify-self:center!important;display:flex!important;align-items:center!important;max-width:none!important;color:#12344f!important}.sh-brand strong{font-size:19px!important;white-space:nowrap!important;color:#12344f!important}.sh-brand strong em{color:#d5a83f!important}.sh-nav-actions{grid-area:actions!important;position:static!important;display:flex!important;width:96px!important;height:42px!important;gap:5px!important;justify-self:end!important}.sh-nav-tool{display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border-radius:13px!important;background:#f7fbfd!important;color:#12344f!important;border:1px solid #d6e3ea!important;font-size:0!important}.sh-nav-tool b{display:none!important}.sh-nav-tool span{font-size:17px!important;color:#12344f!important}#shInfoButton.sh-how-to-play{display:inline-flex!important;width:96px!important;min-width:96px!important;padding:0 8px!important;font-size:10px!important}#shInfoButton.sh-how-to-play b{display:inline!important;font-size:10px!important}
  .wrap{width:100%!important;max-width:none!important;padding:0!important;margin:8px 0 0!important}.sh-hero{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;min-height:0!important;margin:0 0 8px!important;padding:14px!important;border:1px solid #dce7ee!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(239,250,251,.94))!important;box-shadow:0 10px 28px rgba(46,79,105,.09)!important}.sh-hero .eyebrow{font-size:8.5px!important;line-height:1.25!important;letter-spacing:.08em!important;margin-bottom:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.sh-hero h1{font-size:37px!important;line-height:.92!important;letter-spacing:-.05em!important}.sh-hero .sub{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:11px!important;line-height:1.35!important;margin-top:7px!important}.sh-chain{display:none!important}.sh-mode-card{width:106px!important;min-height:78px!important;padding:9px!important;border-radius:15px!important;gap:7px!important;box-shadow:none!important}.sh-mode-icon{width:34px!important;height:34px!important;border-width:3px!important}.sh-mode-card strong{font-size:10px!important;white-space:normal!important}.sh-mode-card small{font-size:8.5px!important}.sh-mode-card .sh-active{display:none!important}
  .sh-tabs{position:sticky!important;top:72px!important;z-index:220!important;gap:6px!important;margin:0 0 8px!important;padding:5px!important;border-radius:16px!important;background:rgba(246,250,252,.96)!important;border:1px solid #dce7ee!important;box-shadow:0 7px 20px rgba(42,75,101,.08)!important}.sh-tabs .tab{height:42px!important;border-radius:12px!important;font-size:12px!important}
  .sh-workspace,.sh-main-column{display:block!important}.panel{border-radius:18px!important;box-shadow:0 10px 28px rgba(45,78,104,.09)!important}.sh-setup-card{padding:13px!important;margin-bottom:8px!important;min-height:0!important}.sh-section-title{margin-bottom:9px!important}.sh-section-title h2{font-size:16px!important}.sh-settings-grid,.sh-online-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.sh-extra-pc{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.sh-settings-grid label,.sh-online-grid label,.sh-extra-pc label{font-size:10px!important;gap:4px!important}.sh-setup-card input,.sh-setup-card select{height:44px!important;padding:0 9px!important;border-radius:11px!important}.sh-action-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:9px!important}.sh-action-row .btn,.sh-action-row .btn2{min-width:0!important;width:100%!important;height:44px!important;padding:0 7px!important;font-size:11px!important}.sh-action-row #startSingle,.sh-online-actions #startOnline{grid-column:1/-1!important;font-size:13px!important}
  .sh-game-card{padding:12px!important;padding-bottom:92px!important;min-height:0!important;margin-bottom:8px!important;overflow:visible!important}.sh-card-head{position:sticky!important;top:160px!important;z-index:150!important;padding:7px 8px!important;margin:-3px -3px 7px!important;border-radius:13px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 7px 18px rgba(40,73,99,.09)!important}.sh-kicker{font-size:11px!important}.pill{font-size:10px!important;padding:6px 8px!important}.timer{font-size:22px!important}.sh-word-row{grid-template-columns:minmax(0,1fr) 40px 76px!important;gap:7px!important}.wordbox{padding:9px!important;border-radius:13px!important}.wordbox strong{font-size:29px!important;letter-spacing:.11em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.sh-flow{font-size:25px!important}.prefix{width:62px!important;height:62px!important;border-radius:14px!important;font-size:33px!important}.scoreline{display:flex!important;overflow-x:auto!important;scrollbar-width:none!important}.scorebox{flex:0 0 auto!important;min-width:90px!important}.feedback{font-size:11px!important;line-height:1.38!important;min-height:40px!important}.eventfeed{max-height:124px!important;overflow:auto!important}.rules{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.rules div{font-size:9px!important;padding:7px!important}
  #wordForm{display:grid!important;grid-template-columns:minmax(0,1fr) 86px!important;gap:7px!important;padding:8px!important;border:1px solid #cfe0e8!important;border-radius:15px!important;background:rgba(255,255,255,.99)!important;box-shadow:0 12px 30px rgba(38,70,97,.18)!important}#wordForm input,#wordForm .btn{height:46px!important}#wordForm .btn{padding:0 6px!important;font-size:11px!important}
  body.sh-word-input-active #wordForm{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(var(--wos-mobile-nav-h) + var(--wos-mobile-safe-bottom) + 12px + var(--wos-mobile-keyboard-offset))!important;width:auto!important;max-width:520px!important;margin:0 auto!important;z-index:2100!important}body.wos-mobile-keyboard-open.sh-word-input-active #wordForm{bottom:8px!important}
  .sh-side-card{padding:11px!important;min-height:0!important;gap:8px!important}.sh-side-block,.letterlegend{padding:10px!important;border-radius:13px!important}.players{grid-template-columns:repeat(2,minmax(0,1fr))!important}.letterlegend{max-height:245px!important;overflow:auto!important}.letters{grid-template-columns:repeat(5,minmax(0,1fr))!important}.letters span{font-size:9px!important;padding:4px 5px!important}.used{max-height:210px!important;font-size:11px!important}
  .modal,.dialog{max-height:calc(100dvh - 24px)!important;overflow:auto!important}
}
@media (max-width:370px){.sh-settings-grid,.sh-online-grid,.sh-extra-pc{grid-template-columns:1fr!important}.sh-word-row{grid-template-columns:minmax(0,1fr) 32px 66px!important}.wordbox strong{font-size:25px!important}.prefix{width:56px!important;height:56px!important;font-size:29px!important}}
