/* naiture · 뇌피셜 학회지 - 뇌이쳐  2026-11-28 GB-113 */
:root{
  --noe-crimson:#b91c1c;
  --noe-crimson-d:#911616;
  --noe-ink:#111827;
  --noe-paper:#f7f3ea;
  --noe-paper-2:#efe8d8;
  --noe-rule:#d6cbb3;
  --noe-muted:#5b5348;
  --noe-serif:"Noto Serif KR","Source Serif 4","Nanum Myeongjo","Playfair Display",Georgia,"Times New Roman",serif;
  --noe-logo:"Playfair Display","Noto Serif KR",Georgia,serif;
  --noe-sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI","Noto Sans KR",sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
/* ========== FEED (Reels) ========== */
body.noe-feed-page{
  background:#0a0a0a;color:#fff;font-family:var(--noe-sans);
  height:100vh;height:100dvh;overflow:hidden;
}
.noe-feed{
  height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;
  scroll-snap-type:y mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;
  background:#0a0a0a;
}
.noe-slide{
  position:relative;width:100%;height:100vh;height:100dvh;
  scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#111;
}
.noe-slide__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;}
.noe-slide__scrim{
  position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.18) 18%,rgba(0,0,0,0) 32%),
    linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.55) 22%,rgba(0,0,0,.12) 42%,rgba(0,0,0,0) 58%);
}
.noe-top{
  position:absolute;top:0;left:0;right:0;z-index:5;
  display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 8px 16px;
}
.noe-logo{
  font-family:var(--noe-logo);font-weight:700;font-size:28px;line-height:1;color:#fff;
  text-decoration:none;letter-spacing:-.03em;flex:0 0 auto;
}
.noe-logo span{color:#fecaca}
.noe-chips{display:flex;gap:6px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
.noe-chips::-webkit-scrollbar{display:none}
.noe-chip{
  flex:0 0 auto;height:30px;padding:0 11px;border-radius:999px;border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.28);color:#fff;font-size:12px;font-weight:600;letter-spacing:-.02em;
  backdrop-filter:blur(8px);cursor:pointer;white-space:nowrap;
}
.noe-chip.is-on{background:#fff;color:#111;border-color:#fff}
.noe-prog{font-size:12px;font-weight:700;opacity:.9;white-space:nowrap;margin-left:4px}
.noe-home{
  width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.28);color:#fff;display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;flex:0 0 auto;
}
.noe-rail{
  position:absolute;right:10px;bottom:calc(148px + env(safe-area-inset-bottom,0px));z-index:5;
  display:flex;flex-direction:column;gap:16px;align-items:center;
}
.noe-rail button,.noe-rail a.noe-act{
  width:48px;min-height:48px;border:0;background:none;color:#fff;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  font:inherit;font-size:11px;font-weight:700;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,.6);
  padding:0;line-height:1.1;
}
.noe-rail svg{width:28px;height:28px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.55));display:block}
.noe-rail .noe-act__n{font-variant-numeric:tabular-nums}
.noe-rail button.is-on svg path[data-fill]{fill:#ff2d55;stroke:#ff2d55}
.noe-meta{
  position:absolute;left:16px;right:72px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:5;
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;pointer-events:none;
}
.noe-meta > *{pointer-events:auto}
.noe-pill{
  display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);
  font-size:11px;font-weight:650;letter-spacing:-.01em;color:#fff;
}
.noe-pill b{font-family:var(--noe-logo);font-weight:700;font-size:13px;letter-spacing:-.03em}
.noe-pill i{font-style:normal;opacity:.8}
.noe-title{
  margin:0;font-family:var(--noe-serif);font-weight:700;font-size:20px;line-height:1.35;
  letter-spacing:-.03em;text-shadow:0 2px 10px rgba(0,0,0,.55);
}
.noe-abs{
  margin:0;font-size:13.5px;line-height:1.55;opacity:.95;display:-webkit-box;-webkit-line-clamp:3;
  -webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 6px rgba(0,0,0,.55);
}
.noe-cta{
  display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px;border-radius:999px;
  background:#fff;color:#111;font-size:14px;font-weight:800;text-decoration:none;letter-spacing:-.02em;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
}
.noe-cta:active{transform:scale(.98)}
.noe-navpc{display:none}
.noe-empty{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#ddd;text-align:center;padding:40px 24px}
/* subject picker */
.noe-subpick{
  display:none;position:absolute;top:calc(54px + env(safe-area-inset-top,0px));left:16px;right:16px;z-index:8;
  background:rgba(20,20,20,.92);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.14);
  border-radius:14px;padding:10px;flex-wrap:wrap;gap:6px;
}
.noe-subpick.is-open{display:flex!important}
.noe-subpick button{height:32px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:12px;font-weight:650;cursor:pointer}
.noe-subpick button.is-on{background:#fff;color:#111;border-color:#fff}
/* share sheet */
.noe-sheet-bg{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.45);display:none}
.noe-sheet-bg.is-on{display:block}
.noe-sheet{
  position:fixed;left:0;right:0;bottom:0;z-index:41;background:#fff;color:#111;
  border-radius:18px 18px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));
  transform:translateY(110%);transition:transform .22s ease;font-family:var(--noe-sans);
}
.noe-sheet.is-on{transform:translateY(0)}
.noe-sheet h3{margin:4px 0 12px;font-size:16px;letter-spacing:-.02em}
.noe-sheet__row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.noe-sheet button,.noe-sheet a{
  min-height:48px;border:0;border-radius:12px;background:#f3f4f6;color:#111;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  font:inherit;font-size:11px;font-weight:700;text-decoration:none;padding:8px 4px;
}
.noe-sheet .noe-x{position:absolute;top:10px;right:12px;width:36px;height:36px;border:0;background:none;font-size:20px;cursor:pointer}
.noe-toast{
  position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;
  background:#111;color:#fff;padding:10px 16px;border-radius:999px;font-size:13px;font-weight:650;
  opacity:0;pointer-events:none;transition:opacity .2s;
}
.noe-toast.is-on{opacity:1}
/* list drawer */
.noe-drawer-bg{position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.4);display:none}
.noe-drawer-bg.is-on{display:block!important}
.noe-drawer{
  position:fixed;top:0;right:0;bottom:0;z-index:31;width:min(86vw,360px);background:#111;color:#fff;
  transform:translateX(105%);transition:transform .22s ease;padding:calc(16px + env(safe-area-inset-top,0px)) 14px 24px;
  overflow:auto;font-family:var(--noe-sans);
}
.noe-drawer.is-on{transform:translateX(0);display:block}
.noe-drawer h3{margin:0 0 12px;font-family:var(--noe-logo);font-size:22px}
.noe-drawer a{
  display:block;padding:12px 8px;border-bottom:1px solid rgba(255,255,255,.08);
  color:#fff;text-decoration:none;
}
.noe-drawer a strong{display:block;font-size:14px;line-height:1.35;font-weight:700}
.noe-drawer a span{display:block;font-size:12px;opacity:.7;margin-top:3px}
/* PC Reels web */
@media (min-width:900px){
  body.noe-feed-page{display:flex;align-items:center;justify-content:center;background:#0a0a0a}
  .noe-feed{
    width:min(430px,42vh);height:min(calc(100dvh - 24px),860px);
    border-radius:20px;box-shadow:0 18px 60px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.06);
    scrollbar-width:none;
  }
  .noe-feed::-webkit-scrollbar{display:none}
  .noe-slide{height:100%;border-radius:20px}
  .noe-navpc{
    display:flex;flex-direction:column;gap:10px;position:fixed;right:calc(50% - min(215px,21vh) - 72px);top:50%;
    transform:translateY(-50%);z-index:6;
  }
  .noe-navpc button{
    width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-size:20px;
  }
  .noe-navpc button:hover{background:rgba(255,255,255,.16)}
  .noe-sheet{left:50%;right:auto;width:430px;transform:translate(-50%,110%);border-radius:18px 18px 16px 16px;bottom:20px}
  .noe-sheet.is-on{transform:translate(-50%,0)}
}
/* ========== DETAIL (journal paper) ========== */
body.noe-paper-page{
  background:var(--noe-paper);color:var(--noe-ink);
  font-family:var(--noe-serif);line-height:1.85;
}
.noe-mast{
  max-width:820px;margin:0 auto;padding:28px 22px 0;
  text-align:center;border-bottom:2px solid var(--noe-ink);
}
.noe-mast a.word{
  font-family:var(--noe-logo);font-weight:700;font-size:64px;line-height:1;color:var(--noe-crimson);
  text-decoration:none;letter-spacing:-.04em;display:inline-block;
}
.noe-mast .sub{margin:6px 0 0;font-size:14px;letter-spacing:.02em}
.noe-mast .issn{margin:4px 0 16px;font-size:12px;color:var(--noe-muted);letter-spacing:.04em}
.noe-wrap{max-width:820px;margin:0 auto;padding:28px 22px 80px}
.noe-kicker{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:space-between;font-size:13px;color:var(--noe-muted);margin:0 0 16px}
.noe-kicker b{color:var(--noe-ink);font-weight:700}
.noe-paper-title{
  margin:0 0 14px;font-size:clamp(26px,4.4vw,36px);line-height:1.4;letter-spacing:-.03em;font-weight:700;
}
.noe-by{margin:0 0 6px;font-size:16px}
.noe-aff{margin:0 0 18px;font-size:14px;color:var(--noe-muted)}
.noe-keys{margin:0 0 28px;font-size:13px;color:var(--noe-muted)}
.noe-keys b{color:var(--noe-ink)}
.noe-abstract{
  background:#fff;border:1px solid var(--noe-rule);border-left:4px solid var(--noe-crimson);
  padding:18px 20px;margin:0 0 32px;
}
.noe-abstract h2{margin:0 0 8px;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--noe-crimson)}
.noe-abstract p{margin:0;font-size:16px}
.noe-fig{margin:0 0 28px}
.noe-fig img{width:100%;height:auto;border:1px solid var(--noe-rule);background:#fff}
.noe-fig figcaption{font-size:13px;color:var(--noe-muted);margin-top:8px;text-align:center}
.noe-body{font-size:17.5px}
.noe-body h2{font-size:21px;margin:2.1em 0 .6em;letter-spacing:-.02em;border-bottom:1px solid var(--noe-rule);padding-bottom:.25em}
.noe-body h3{font-size:18px;margin:1.6em 0 .4em}
.noe-body p{margin:0 0 1em}
.noe-body a{color:var(--noe-crimson-d)}
.noe-fnref,sup.noe-fnref{font-size:.75em;line-height:1;font-family:var(--noe-sans)}
.noe-fnref a{color:var(--noe-crimson);text-decoration:none;font-weight:700;padding:0 1px}
.noe-fnsec{margin:48px 0 0;padding-top:18px;border-top:2px solid var(--noe-ink)}
.noe-fnsec h2{margin:0 0 12px;font-size:18px}
.noe-fnlist{margin:0;padding:0 0 0 22px;font-size:14.5px;color:#2b2620}
.noe-fnlist li{margin:0 0 8px}
.noe-fnback{margin-left:6px;text-decoration:none;color:var(--noe-crimson);font-weight:700}
.noe-sharebar{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:36px 0 20px;
  font-family:var(--noe-sans);
}
.noe-sharebar button,.noe-sharebar a{
  min-width:48px;min-height:48px;padding:0 14px;border-radius:12px;border:1px solid var(--noe-rule);
  background:#fff;color:var(--noe-ink);cursor:pointer;font:inherit;font-size:13px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;
}
.noe-sharebar button.is-on{border-color:#fecaca;background:#fef2f2;color:var(--noe-crimson)}
.noe-sharebar svg{width:18px;height:18px}
.noe-next span{display:block;margin-top:4px;font-size:13px;color:var(--noe-muted)}
.noe-back{display:inline-block;margin:8px 0 28px;font-family:var(--noe-sans);font-size:14px;font-weight:700;color:var(--noe-crimson);text-decoration:none}
.noe-next{
  display:block;border:1px solid var(--noe-rule);background:#fff;padding:16px 18px;border-radius:4px;
  text-decoration:none;color:inherit;
}
.noe-next small{display:block;font-family:var(--noe-sans);font-size:11px;letter-spacing:.08em;color:var(--noe-crimson);font-weight:700;margin-bottom:4px}
.noe-next strong{display:block;font-size:18px;line-height:1.4}
@media (max-width:640px){
  .noe-mast a.word{font-size:48px}
  .noe-wrap,.noe-mast{padding-left:18px;padding-right:18px}
  .noe-body{font-size:16.5px}
}
