/* SHORTBOOK PLUS 18436 · Common home/author/tag/reader desktop header bones.
   Desktop-only spacing; Reader-specific actions remain available. */
@media (min-width:1041px) {
  .plus-topbar,
  .reader-topbar.plus-topbar {
    box-sizing:border-box;
    position:sticky;
    z-index:50;
    top:0;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    height:60px;
    min-height:60px;
    padding:0 32px;
    gap:21px;
    border-bottom:1px solid var(--line);
    background:rgba(7,8,9,.89);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }
  .plus-topbar .plus-brand-lockup,
  .reader-topbar .plus-reader-brand-lockup {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex:0 0 auto;
    height:60px;
    gap:0;
    min-width:0;
  }
  .plus-topbar .plus-combined-logo img,
  .reader-topbar .plus-reader-brand-lockup .plus-combined-logo img {
    height:28px;
    width:auto;
    max-width:none;
  }
  .plus-topbar .plus-main-tabs,
  .reader-topbar .plus-reader-tabs.plus-main-tabs {
    display:flex;
    align-items:center;
    flex:0 1 auto;
    align-self:stretch;
    justify-self:auto;
    width:auto;
    height:60px;
    min-width:0;
    gap:9px;
    overflow:visible;
    white-space:nowrap;
  }
  .plus-topbar .plus-main-tabs > a:not(.plus-header-search),
  .reader-topbar .plus-reader-tabs.plus-main-tabs > a:not(.plus-header-search){
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:40px;
    min-height:40px;
    padding:0 12px;
    border-radius:9px;
    font:700 12px/1.2 Inter,Pretendard,"Noto Sans KR",sans-serif;
    color:#9b9c9e;
    text-decoration:none;
    letter-spacing:-.02em;
  }
  .plus-topbar .plus-main-tabs > a:not(.plus-header-search):hover,
  .reader-topbar .plus-reader-tabs.plus-main-tabs > a:not(.plus-header-search):hover{
    color:var(--text);background:rgba(255,255,255,.055);
  }
  .plus-topbar .plus-main-tabs > a.plus-header-search{
    display:grid;
    flex:0 0 40px;
    place-items:center;
    width:40px;
    min-width:40px;
    height:40px;
    margin-left:4px;
    padding:0;
    border:1px solid var(--line);
    border-radius:50%;
    color:#d8d8d4;
    background:rgba(255,255,255,.025);
  }
  .plus-topbar .plus-top-actions,
  .reader-topbar .plus-reader-actions.plus-top-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    justify-self:auto;
    align-self:stretch;
    margin-left:auto;
    height:60px;
    gap:10px;
    min-width:0;
  }
  .plus-topbar .plus-top-actions .plus-notification-link,
  .reader-topbar .plus-reader-actions .plus-notification-link{
    display:grid;place-items:center;flex:0 0 40px;
    width:40px;height:40px;padding:0;
    border:1px solid var(--line);border-radius:50%;
    background:rgba(255,255,255,.02);color:#9c9ea0;
    position:relative;font-size:0;
  }
  .plus-topbar .plus-notification-link .plus-notification-bell{
    width:18px;height:18px;fill:none;stroke:currentColor;
    stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
  }
  .plus-topbar .plus-notification-link b{
    position:absolute;top:-3px;right:-4px;margin:0;font-size:9px;
  }
  .reader-topbar .plus-reader-brand-lockup{gap:9px;}
  .reader-topbar .plus-reader-brand-lockup .reader-back{
    display:grid;place-items:center;flex:0 0 24px;
    width:24px;height:36px;min-width:24px;margin:0;
    color:#9c9ea0;font-size:19px;text-decoration:none;
  }
  .reader-topbar .plus-reader-actions .reader-tools{
    display:flex;align-items:center;justify-content:flex-end;
    justify-self:auto;align-self:center;min-width:0;
    height:40px;gap:6px;margin-right:7px;
  }
  .reader-topbar .plus-reader-actions .reader-tools button{
    display:grid;place-items:center;min-width:36px;height:36px;
    padding:0 8px;border:1px solid var(--line);border-radius:9px;
    font-size:11px;background:rgba(255,255,255,.025);
  }
  .reader-topbar .plus-reader-actions .reader-tools [data-report-content]{min-width:43px;}
  .reader-topbar .reader-title-mini{display:none;}
}
/* Smaller widths keep the existing Reader's multi-row structure, while
   keeping account/notifications/reader controls reachable. Mobile redesign
   remains outside this desktop polish task. */
@media (max-width:1040px){
  .reader-topbar.plus-topbar{
    display:grid;grid-template-columns:auto minmax(0,1fr);
    grid-template-rows:60px 42px;
    align-items:center;min-height:102px;height:auto;
    padding:0 12px;column-gap:9px;row-gap:0;
  }
  .reader-topbar .plus-reader-brand-lockup{grid-column:1;grid-row:1;align-self:center;}
  .reader-topbar .plus-reader-actions{grid-column:2;grid-row:1;align-self:center;
    display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:6px;
    height:60px;margin-left:0;}
  .reader-topbar .plus-reader-tabs.plus-main-tabs{
    display:flex;grid-column:1/-1;grid-row:2;align-items:center;
    height:42px;width:100%;gap:3px;overflow-x:auto;white-space:nowrap;
  }
  .reader-topbar .plus-reader-tabs.plus-main-tabs>a{flex:0 0 auto;}
  .reader-topbar .plus-reader-actions .reader-tools{display:flex;align-items:center;gap:4px;}
  .reader-topbar .plus-reader-actions .plus-notification-link{
    width:34px;height:34px;min-width:34px;flex:0 0 34px;
    display:grid;place-items:center;padding:0;border-radius:50%;font-size:0;
  }
  .reader-topbar .plus-notification-bell{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;}
  .reader-topbar .plus-reader-brand-lockup .plus-combined-logo img{height:26px;}
}
@media (max-width:620px){
  .reader-topbar .plus-reader-brand-lockup .plus-combined-logo img{height:20px;}
  .reader-topbar .plus-reader-actions .reader-tools{gap:3px;}
  .reader-topbar .plus-reader-actions .reader-tools button{min-width:30px;height:32px;font-size:10px;}
  .reader-topbar .plus-reader-actions .reader-tools [data-report-content]{padding:0 5px;min-width:35px;}
  .reader-topbar .plus-reader-actions .plus-notification-link{min-width:30px;width:30px;height:30px;flex-basis:30px;}
  .reader-topbar .plus-reader-tabs.plus-main-tabs>a.plus-header-search{width:32px;min-width:32px;flex:0 0 32px;height:32px;}
}
@media (max-width:420px){
  .reader-topbar.plus-topbar{grid-template-columns:minmax(0,1fr);grid-template-rows:42px 42px 36px;min-height:120px;}
  .reader-topbar .plus-reader-brand-lockup{grid-row:1;grid-column:1;}
  .reader-topbar .plus-reader-actions{grid-row:2;grid-column:1;justify-self:end;height:42px;}
  .reader-topbar .plus-reader-tabs.plus-main-tabs{grid-row:3;grid-column:1;height:36px;}
}
/* Keep the notification overlay positioned under the shared topbar. */
.reader-topbar + .plus-notification-panel{top:74px;}
@media(max-width:1040px){.reader-topbar + .plus-notification-panel{top:110px;}}
@media(max-width:420px){.reader-topbar + .plus-notification-panel{top:128px;}}
/* The reference homepage uses a roomier 66px header at wide desktop widths.
   Apply that existing scale to all four PLUS routes, not only the home. */
@media (min-width:1440px){
  .plus-topbar,.reader-topbar.plus-topbar{
    height:66px;min-height:66px;padding-inline:41px;
    border-color:rgba(255,255,255,.075);
    background:linear-gradient(180deg,rgba(10,12,14,.985),rgba(7,9,11,.965));
  }
  .plus-topbar .plus-brand-lockup,
  .reader-topbar .plus-reader-brand-lockup,
  .plus-topbar .plus-main-tabs,
  .reader-topbar .plus-reader-tabs.plus-main-tabs,
  .plus-topbar .plus-top-actions,
  .reader-topbar .plus-reader-actions.plus-top-actions{height:66px;}
  .plus-topbar .plus-main-tabs>a:not(.plus-header-search),
  .reader-topbar .plus-reader-tabs.plus-main-tabs>a:not(.plus-header-search){
    height:50px;min-height:50px;font-size:15px;font-weight:760;
  }
  .plus-topbar .plus-main-tabs>a.plus-header-search,
  .plus-topbar .plus-top-actions .plus-notification-link{
    width:44px;min-width:44px;height:44px;flex-basis:44px;
    border-color:rgba(255,255,255,.105);
  }
  .plus-topbar .plus-account-trigger{
    height:44px;border-radius:23px;
    border-color:rgba(255,255,255,.105);
  }
}
/* Preserve the currently active homepage tab's white text/pink indicator. */
.plus-topbar .plus-main-tabs>a.is-active:not(.plus-header-search){
  color:var(--text);
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035));
}
html[data-theme="light"] .plus-topbar .plus-main-tabs>a.is-active:not(.plus-header-search){color:#2f2b25;}
.reader-topbar .plus-notification-link::before{content:none;}
.reader-topbar .plus-notification-link .plus-notification-bell{display:block;}
/* Reader imports isolated notification styles; match home's utility ordering. */
.reader-topbar .plus-reader-actions .reader-tools{order:1;}
.reader-topbar .plus-reader-actions .plus-notification-link{order:3;}
.reader-topbar .plus-reader-actions [data-plus-account-mount]{order:4;}
/* The home uses home-visual.css for its magnifier; Reader loads no home CSS. */
.plus-topbar .plus-header-search svg{
  display:block;width:19px;height:19px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
/* Reader does not import the home page's --topbar variable. */
.reader-topbar + .plus-notification-panel{
  max-height:min(540px,calc(100vh - 90px));
}
@media(max-width:1040px){
  .reader-topbar + .plus-notification-panel{
    max-height:min(540px,calc(100vh - 125px));
  }
}
@media(max-width:420px){
  .reader-topbar + .plus-notification-panel{
    max-height:min(540px,calc(100vh - 140px));
  }
}
html[data-theme="light"] .plus-topbar .plus-notification-link{
  color:#655f56;background:rgba(255,255,255,.46);
}
