
/* Kronängs IF • premium mobile design v0.4 */
:root{--ink:#0d0d0e;--muted:#6d6d72;--paper:#fafafa;--edge:#e8e8eb;--shadow:0 6px 19px rgba(0,0,0,.075)}
html{scroll-behavior:smooth}
body{background:#ededee;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app{max-width:640px;background:#fafafa;box-shadow:0 8px 45px rgba(0,0,0,.10);min-height:100dvh;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.header{padding:16px 20px 17px;background:rgba(250,250,250,.975);border-bottom:0;box-shadow:0 2px 10px rgba(0,0,0,.025);min-height:97px}
.brand{gap:13px;min-width:0}.brand>img{height:65px;width:52px;object-fit:contain;object-position:center}
.brand h1{font-weight:900;font-size:clamp(18px,4.9vw,25px);letter-spacing:.01em;white-space:nowrap}
.underline{width:77px;height:5px;margin:6px auto 0;background:var(--ink)}
.header .watermark{width:213px;right:32px;top:-85px;opacity:.065;transform:rotate(-17deg);filter:grayscale(1)}
.tools{gap:7px}.circle{height:43px;width:43px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#f7f7f7);border:1px solid #e9e9e9;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.circle svg{height:20px;width:20px}
.content{padding:21px 19px 40px}
.updated{text-align:left;font-size:11px;color:#858589;font-weight:500;margin:0 2px 12px}
.hero{min-height:224px;border-radius:23px;padding:26px 24px;box-shadow:0 12px 26px rgba(0,0,0,.13);border:1px solid #222;background:linear-gradient(112deg,rgba(3,3,4,1) 0%,rgba(17,18,19,.98) 52%,rgba(45,47,50,.83) 100%);overflow:hidden}
.hero:after{content:'';position:absolute;right:-43px;top:-66px;width:270px;height:270px;background-image:url("assets/kif-logo.jpg");background-size:contain;background-repeat:no-repeat;background-position:center;opacity:.29;filter:grayscale(1) invert(1);transform:rotate(-16deg);pointer-events:none}
.hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 74% 9%,rgba(255,255,255,.26),transparent 24%),repeating-linear-gradient(155deg,transparent 0 40px,rgba(255,255,255,.013) 42px 44px);pointer-events:none}
.hero strong,.hero p,.hero button{position:relative;z-index:2}.hero strong{font-size:clamp(23px,5.7vw,32px);font-weight:850;letter-spacing:-.8px;max-width:82%}.hero p{font-size:14px;line-height:1.5;max-width:70%;color:#ececec;margin:12px 0 18px}
.hero button{font-size:13px;padding:12px 17px;border:0;border-radius:28px;font-weight:800;box-shadow:0 4px 12px #0005}
.heading{font-size:clamp(20px,5.5vw,26px);font-weight:860;letter-spacing:-.7px;margin:24px 0 14px}
.flex{min-width:0}.flex>.heading{min-width:0}
.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.stat,.tile,.team,.panel,.activity,.menurow{border:1px solid #e8e8e8;border-radius:19px;background:#fff;box-shadow:var(--shadow)}
.stat{padding:15px 5px;min-height:109px}.stat .emoji{height:27px;display:flex;align-items:center;justify-content:center;margin-bottom:7px;font-size:20px}.stat b{font-weight:900;font-size:23px}.stat span{font-size:11px;font-weight:600;color:#686868}
.stat svg{width:23px;height:23px}
.quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.tile{min-height:103px;padding:15px 5px 12px;font-size:12px;font-weight:750;line-height:1.25;transition:transform .15s ease,box-shadow .15s ease}
.tile:active,.team:active,.menurow:active{transform:scale(.985)}
.tile i{font-size:24px;height:30px;display:flex;justify-content:center;align-items:center;margin-bottom:10px}
.tile svg{width:27px;height:27px}
.notice{border:1px solid #eaeaea;border-radius:15px;background:#f2f2f2;font-size:12px;line-height:1.5;color:#616167;padding:12px 14px}
.panel{padding:18px 19px;margin:12px 0;font-size:14px;line-height:1.5}
.panel h3{margin:0 0 8px;font-size:17px}.panel p{margin:8px 0}
.activity{min-height:73px;padding:14px 12px;margin:0 0 8px;gap:12px;border-radius:18px}
.activity .time{font-size:15px;font-weight:850;min-width:52px;border-right:1px solid #ddd;padding-right:8px;align-self:center}
.actbody b{font-weight:800;font-size:13px;line-height:1.35}.actbody small{font-size:11px;line-height:1.4;display:block}
.pill{font-weight:650}.pill.dark{background:#19191a}
.filters{gap:7px;margin:13px 0;padding-bottom:8px}.chip{box-shadow:0 3px 8px rgba(0,0,0,.06);padding:9px 16px;font-size:12px;font-weight:650}
.search,.field{border:1px solid #dedede;border-radius:15px;box-shadow:0 3px 8px rgba(0,0,0,.025);font-size:14px}
.search{padding:15px 17px;margin:13px 0}.teams{gap:11px}
.team{padding:18px 15px;min-height:165px}.team h3{font-size:22px;letter-spacing:-.5px;font-weight:900}.team p{font-size:12px;line-height:1.4}.team .minor{line-height:1.4}
.team .actionline{margin-top:15px}
.smallbutton{border:1px solid #e7e7e7;background:linear-gradient(145deg,#fff,#f6f6f6);box-shadow:0 2px 6px #00000012;padding:8px 12px;font-weight:750;font-size:12px}
.days{gap:5px}.day{padding:13px 0;font-size:11px;border-radius:13px;box-shadow:0 4px 12px #0000000b}.day b{font-size:21px;margin-top:4px}.day.active{background:#111;color:white;border-color:#111}
.menurow{padding:17px 18px;margin-bottom:10px;font-size:15px}.menurow span:first-child{display:grid;place-items:center;width:31px}.menurow svg{width:23px;height:23px}.menurow span:last-child{font-size:22px;font-weight:400}
.tabbar{max-width:640px;padding:10px 9px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(0,0,0,.065);border-top:1px solid #f1f1f1;gap:4px}
.tabbar button{padding:10px 1px 8px;border-radius:17px;font-size:11px;transition:background .15s}
.tabbar button i{height:27px;display:grid;place-items:center;margin:0 0 7px}
.tabbar svg{width:23px;height:23px}.tabbar button.active{background:#eeeeef;color:#111}
.sheet{box-shadow:0 -15px 40px #0002}
.primary{border-radius:25px;padding:12px 18px}
.kif-news-banner{position:relative;overflow:hidden;background:linear-gradient(110deg,#111 0%,#262626 75%,#444);color:white;min-height:145px;border-radius:20px;padding:19px 21px;margin:15px 0;box-shadow:0 8px 20px #0002}
.kif-news-banner:after{content:'';position:absolute;right:-15px;top:-43px;background:url('assets/kif-logo.jpg') center/contain no-repeat;opacity:.17;filter:grayscale(1) invert(1);width:190px;height:190px;transform:rotate(-12deg)}
.kif-news-banner b{display:block;font-size:22px;position:relative;z-index:1}.kif-news-banner p{max-width:72%;font-size:12px;line-height:1.5;color:#eee;position:relative;z-index:1}
.kif-section-sub{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#7e7e7e;text-transform:uppercase;margin:16px 0 5px}
.kif-feature{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #eee;border-radius:20px;padding:18px;margin:10px 0;box-shadow:var(--shadow)}
.kif-feature .kif-feature-icon{border-radius:15px;padding:12px;background:#111;color:#fff;display:grid;place-items:center}.kif-feature-icon svg{width:23px;height:23px}
.kif-feature strong{font-weight:850}.kif-feature p{color:#727272;font-size:12px;margin:4px 0 0}
.kif-feature button{margin-left:auto;border:0;border-radius:50%;height:36px;width:36px;background:#eee;font-size:20px}
@media(max-width:500px){.content{padding:17px 14px 30px}.hero{min-height:205px;padding:22px 20px}.hero:after{right:-80px}.hero strong{max-width:90%}.hero p{max-width:76%}.stats{gap:6px}.quick{gap:7px}.tile{font-size:11px}.team{padding:14px 12px}.header{padding:12px 14px 13px}.brand>img{width:43px;height:60px}.brand h1{font-size:clamp(16px,5vw,22px)}.circle{width:34px;height:34px}.header .watermark{right:-25px}.stat{padding:13px 2px;min-height:92px}.stat b{font-size:20px}.stat span{font-size:10px}}
@media(max-width:365px){.tools{gap:4px}.circle{width:31px;height:31px}.hero strong{font-size:23px}.hero p{max-width:84%}.teams{grid-template-columns:1fr}.quick{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
