:root{--ref-line:#e5eaf1;--ref-soft:#f7f9fc}

/* Home screen — compact reference layout. */
.sp-route-home .sp-page-title{display:none}
.sp-route-home .sp-main{padding-top:10px}
.sp-route-home .sp-story-row{position:relative;gap:15px;padding:13px 3px 12px;border-bottom:1px solid var(--ref-line);background:#fff}
.sp-route-home .sp-story-row:before{content:"＋\A\A Hikaye Ekle";white-space:pre;display:block;flex:0 0 64px;height:76px;box-sizing:border-box;padding-top:12px;border:0;background:radial-gradient(circle at 50% 27px,transparent 25px,var(--sp-blue) 25px,var(--sp-blue) 27px,transparent 27px);color:var(--sp-blue);font-size:13px;font-weight:700;line-height:18px;text-align:center}
.sp-route-home .sp-story{min-width:64px;font-size:11px}
.sp-route-home .sp-story .sp-avatar{width:48px;height:48px;border:2px solid #fff;outline:2px solid var(--sp-pink)}
.sp-route-home .sp-pharmacy{display:grid!important;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;margin:12px 0!important;padding:10px 12px!important;border:1px solid var(--ref-line)!important;border-left:1px solid var(--ref-line)!important;border-radius:11px;background:#fff!important;box-shadow:none!important}
.sp-route-home .sp-pharmacy>span{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:linear-gradient(145deg,var(--sp-pink),#ff245e);color:#fff;font-size:20px}
.sp-route-home .sp-pharmacy div{display:grid;gap:3px}
.sp-route-home .sp-pharmacy small{color:var(--sp-muted);font-size:11px}
.sp-route-home .sp-pharmacy a{padding:6px 2px!important;border-radius:0!important;background:transparent!important;color:var(--sp-pink)!important;font-size:12px;font-weight:800;text-decoration:none}
.sp-route-home .sp-pharmacy a:after{content:" ›";font-size:17px;vertical-align:-1px}
.sp-route-home .sp-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:10px 0 12px;padding:3px;border:1px solid var(--ref-line);border-radius:11px;background:#fff}
.sp-route-home .sp-tabs button{width:100%;min-height:34px;padding:7px 5px;border:0;border-radius:8px;background:transparent;color:#667085;font-size:12px;text-align:center}
.sp-route-home .sp-tabs button.is-active{border:0;background:var(--sp-blue);color:#fff}
.sp-route-home .sp-feed-post{min-height:0!important;margin:10px 0!important;padding:0!important;border-radius:12px;box-shadow:none}
.sp-route-home .sp-feed-post header{display:flex;align-items:center;gap:9px;padding:11px 12px!important}
.sp-route-home .sp-feed-post header .sp-avatar{width:38px;height:38px}
.sp-route-home .sp-feed-post header div{display:grid;min-width:0}
.sp-route-home .sp-feed-post header a{color:var(--sp-navy);text-decoration:none}
.sp-route-home .sp-feed-post header small{overflow:hidden;color:var(--sp-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.sp-route-home .sp-feed-post .sp-media-grid{margin:10px -2px 8px;overflow:hidden;border-radius:9px}
.sp-route-home .sp-feed-post .sp-media-grid img{display:block;width:100%;max-height:390px;object-fit:cover}
.sp-route-home .sp-feed-post>p{min-height:0!important;margin:0!important;padding:8px 12px 12px!important;font-size:13px;line-height:1.45;text-align:left!important}
.sp-route-home .sp-feed-post footer{display:flex;gap:22px;padding:10px 12px!important;border-top:1px solid var(--ref-line)}
.sp-route-home .sp-feed-post footer a,.sp-route-home .sp-feed-post footer span{color:var(--sp-navy);font-size:13px;text-decoration:none}
.sp-route-home .sp-feed-post footer span:last-child{margin-left:auto}

@media(max-width:600px){
  .sp-route-home .sp-header{height:62px;padding-inline:17px;background:#fff}
  .sp-route-home .sp-brand{font-size:19px}
  .sp-route-home .sp-brand small{display:none}
  .sp-route-home .sp-main{padding:0 10px calc(92px + env(safe-area-inset-bottom))}
  .sp-route-home .sp-story-row{margin-inline:-10px;padding-inline:12px}
  .sp-route-home .sp-story-row:before{flex-basis:58px;height:72px;padding-top:11px;background:radial-gradient(circle at 50% 25px,transparent 23px,var(--sp-blue) 23px,var(--sp-blue) 25px,transparent 25px);font-size:10px;line-height:17px}
  .sp-route-home .sp-pharmacy{margin-inline:0}
  .sp-route-home .sp-feed-post{padding:10px}
  .sp-route-home .sp-feed-post .sp-media-grid{margin-inline:-1px}
}

/* Search and notification actions used by the reference home header. */
.sp-route-home .sp-identity-link{position:absolute;right:16px;display:block;width:70px;height:36px;font-size:0;background:transparent!important}
.sp-route-home .sp-identity-link svg{display:none!important}
.sp-route-home .sp-identity-link:before,.sp-route-home .sp-identity-link:after{content:"";position:absolute;top:7px;width:21px;height:21px;background-color:var(--sp-navy)}
.sp-route-home .sp-identity-link:before{left:5px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center/contain no-repeat}
.sp-route-home .sp-identity-link:after{right:4px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9Z'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat}

@media(min-width:960px){
  .sp-route-home .sp-main{width:680px}
  .sp-route-home .sp-story-row{border:1px solid var(--ref-line);border-radius:14px;padding-inline:14px}
}
