/* ============================== yoru v30 — phone-first: home top, watch page, AniList card, quieter backdrop ============================== */

/* the black hole steps back so it never competes with content */
#bh.on{opacity:.42!important}
#bh.css{opacity:.55!important}

/* ---------- AniList sync card (Settings) ---------- */
.al-sync{margin-bottom:16px}
.al-h{display:flex;gap:14px;align-items:flex-start}
.al-h h2{margin:0;font-size:18px}
.al-h p{margin:4px 0 0;color:rgba(255,255,255,.6);font-size:14px}
.al-logo{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font:900 15px var(--f);color:#fff;background:linear-gradient(145deg,#02a9ff,#0b5cff);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.al-b{margin-top:14px}
.al-note{color:rgba(255,255,255,.6);font-size:13.5px;margin:0}
.al-me{display:flex;align-items:center;gap:12px;padding:10px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.al-me img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.al-me > div{flex:1;min-width:0}.al-me b{display:block}.al-me small{color:rgba(255,255,255,.55);font-size:12.5px}
.al-on{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:700;color:#7ee6a8;background:rgba(126,230,168,.12)}

@media (max-width:760px){
  /* ---------- home: one quiet, swipeable row instead of a stack of boxes ---------- */
  #strip{display:flex!important;flex-direction:row!important;gap:8px!important;padding:0!important;margin-top:14px!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important}
  #strip::-webkit-scrollbar{display:none}
  #strip .st2{flex:none;min-height:0!important;padding:8px 12px 8px 8px!important;gap:9px!important;border-radius:999px!important;scroll-snap-align:start;
    background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03))!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important}
  #strip .st2 + .st2{border-top:1px solid rgba(255,255,255,.1)!important;border-left:1px solid rgba(255,255,255,.1)!important}
  #strip .st2-ico{width:30px!important;height:30px!important;border-radius:50%!important}
  #strip .st2-ico .i20{width:16px;height:16px}
  #strip .st2 b{font-size:13px!important;max-width:150px}
  #strip .st2 small{font-size:11px!important;max-width:150px}
  #strip .st2-faces,#strip .st2-p,#strip .st2-go2{display:none!important}
  #strip .st2-ab .abu{width:30px;height:30px;flex:none}
  .ab-row{display:none!important}
  .tune{padding:10px 12px!important;border-radius:16px!important;min-height:0!important}
  .tune .tune-ico{width:34px!important;height:34px!important}
  .tune b{font-size:14px!important}.tune small,.tune p{font-size:12px!important}

  /* ---------- watch page: edge-to-edge player that stays put, compact controls, nav kept ---------- */
  body[data-page="watch"] .tabbar,body[data-route="watch"] .tabbar{display:flex!important}
  body[data-page="watch"] .watch .player{position:sticky;top:56px;z-index:30;margin:0 -16px 0!important;border-radius:0!important;box-shadow:0 18px 30px -18px #000}
  body[data-page="watch"] #srcBar{display:flex!important;align-items:center;flex-wrap:nowrap;gap:8px;padding:8px!important;margin-top:10px!important;border-radius:16px!important}
  body[data-page="watch"] #srcBar .src-k,body[data-page="watch"] #srcBar .src-note{display:none!important}
  body[data-page="watch"] #srcBar .src-seg{flex:1;display:flex}
  body[data-page="watch"] #srcBar .src-seg button{flex:1;height:36px;font-size:13px}
  body[data-page="watch"] .wbar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;gap:6px!important;padding:2px 0!important;margin-top:10px!important}
  body[data-page="watch"] .wbar::-webkit-scrollbar{display:none}
  body[data-page="watch"] .wbar > *{flex:none;height:36px!important;font-size:13px!important;padding:0 12px!important}
  body[data-page="watch"] #tWide,body[data-page="watch"] #tLights,body[data-page="watch"] #tKeys,body[data-page="watch"] .wbar .sp{display:none!important}
  body[data-page="watch"] .wtitle h1{font-size:19px!important;line-height:1.25!important;margin-top:14px!important}
  body[data-page="watch"] .wtitle p{font-size:13px!important;color:rgba(255,255,255,.6)}
  body[data-page="watch"] .side.m-rail{border-radius:18px!important}
  body[data-page="watch"] .page{padding-bottom:96px!important}
}

@media (max-width:640px){
  .o5p-card{display:grid!important;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center}
  .o5p-card .o5p-ring{grid-row:1 / span 2}
  .o5p-card > b{align-self:end}
  .o5p-card > small{align-self:start}
}
