:root {
  --iris: #2727e6;
  --ink: #111118;
  --white: #ffffff;
  --chalk: #f0f6ff;
  --frost: #e1edff;
  --carbon: #000000;
  --red: #ff4141;
  --yellow: #ffda00;
  --sky: #91d8ec;
  --pink: #ffbac4;
  --green: #16ab59;
  --sun: #ffe54d;
  --orange: #ff8a3d;

  --f-disp: 'Inter Display', 'Inter', 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-text: 'Inter', 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'Martian Mono', 'JetBrains Mono', 'IBM Plex Mono', 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --rail: 1488px;
  --gut: 16px;
  --navH: 64px;
}
@media (min-width: 760px) { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --gut: 56px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  background: var(--chalk); color: var(--ink);
  font: 400 17px/1.4 var(--f-text); letter-spacing: -0.012em;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 760px) { body { font-size: 20px; letter-spacing: -0.01em; } }
h1, h2, h3, h4, b, strong { font-weight: 400; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page { overflow-x: hidden; overflow-x: clip; }
.rail { width: 100%; max-width: var(--rail); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Type ---------- */
.t-mega { font: 400 clamp(40px, 7.2vw, 92px)/1 var(--f-disp); letter-spacing: -0.03em; }
.t-xl { font: 400 clamp(40px, 5.6vw, 72px)/1 var(--f-disp); letter-spacing: -0.03em; }
.t-lg { font: 400 clamp(34px, 4.1vw, 52px)/1.1 var(--f-disp); letter-spacing: -0.02em; }
.t-md { font: 400 clamp(28px, 3.3vw, 42px)/1.1 var(--f-disp); letter-spacing: -0.012em; }
.t-sm { font: 400 24px/1.25 var(--f-text); letter-spacing: -0.007em; }
.mono { font: 400 12px/1.35 var(--f-mono); letter-spacing: -0.013em; text-transform: uppercase; }
.dim { opacity: .62; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border: 0; border-radius: 48px;
  font: 400 17px/1.1 var(--f-text); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
@media (min-width: 760px) { .btn { font-size: 20px; padding: 12px 24px; } }
.btn .arr { width: 28px; height: 14px; flex: none; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: translateY(2px); box-shadow: none !important; }
.btn-primary { background: var(--iris); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 0 0 var(--ink); }
.btn-dark { background: var(--carbon); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 4px 0 0 var(--iris); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 0 0 var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 16px; }
.btn-sm .arr { width: 22px; }
.btn-block { width: 100%; }
.ghost { background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: none; color: var(--ink); }
.ghost:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.round-x {
  width: 32px; height: 32px; border-radius: 5000px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--ink);
}
.round-x svg { width: 14px; height: 14px; }

/* ---------- Inputs / tags / chips ---------- */
.input {
  width: 100%; min-height: 48px; padding: 12px 20px;
  background: var(--chalk); border: 1px solid var(--frost); border-radius: 5000px;
  font: 400 16px/1.3 var(--f-text); color: var(--ink);
}
textarea.input { border-radius: 24px; min-height: 120px; resize: vertical; line-height: 1.4; }
.input::placeholder { color: rgba(17, 17, 24, .4); }
.input:focus { outline: 2px solid var(--iris); outline-offset: 2px; }
.input.bad { border-color: var(--red); }
.label { display: grid; gap: 8px; font-size: 16px; }
.label .mono { opacity: .62; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 5000px; background: var(--frost); font-size: 16px; line-height: 1.3; }
.tag.on { background: var(--iris); color: #fff; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px;
  border: 0; border-radius: 5000px; background: #fff; cursor: pointer; font-size: 17px;
  transition: background .2s ease, color .2s ease;
}
@media (min-width: 760px) { .chip { font-size: 20px; } }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--sky)); transition: background .2s ease; }
.chip.on { background: var(--c, var(--sky)); color: #fff; }
.chip.on .dot { background: #fff; }

/* ---------- Smiley ---------- */
.smiley { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; }
.smiley svg { width: 100%; height: 100%; overflow: visible; }
.smiley.wave svg { transform-origin: 50% 90%; animation: wave 4.2s ease-in-out infinite; }
.smiley .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes wave { 0%, 62%, 100% { transform: rotate(0); } 68% { transform: rotate(-16deg); } 74% { transform: rotate(12deg); } 80% { transform: rotate(-10deg); } 86% { transform: rotate(6deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.bob { animation: bob 3.4s ease-in-out infinite alternate; }
@keyframes bob { to { translate: 0 -12px; } }

/* ---------- Paper-cut shapes ---------- */
.shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape { position: absolute; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.shape .inner { transform: rotate(var(--rot, 0deg)) scale(var(--sc, 1)); transition: transform .8s cubic-bezier(.3, 1.35, .5, 1) calc(var(--i, 0) * 70ms); }
.shape svg { display: block; width: 100%; height: auto; }
.shapes.pre .inner { --sc: 0; }
.shapes.float .inner > svg { animation: float 7s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -1.3s); }
@keyframes float { from { translate: 0 0; } to { translate: 0 -16px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.words .w { display: inline-block; opacity: .12; transform: translateY(.12em); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--wi) * 110ms); }
.words.in .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .words .w { opacity: 1 !important; transform: none !important; }
  .shapes.pre .inner { --sc: 1; }
}

/* =================================================
   LOGIN SCENE
   ================================================= */
#login { position: fixed; inset: 0; z-index: 50; background: var(--chalk); overflow: hidden; display: grid; place-items: center; padding: 24px var(--gut); overflow-y: auto; }
#login .shapes { position: fixed; }
.login-card {
  position: relative; z-index: 2; width: 100%; max-width: 440px;
  background: #fff; border: 1px solid var(--frost); border-radius: 24px; box-shadow: 0 2px 0 0 var(--ink);
  padding: 32px 24px 24px; display: grid; gap: 16px; text-align: center; justify-items: center;
  transition: transform .5s cubic-bezier(.5, 0, .3, 1), opacity .4s ease;
}
@media (min-width: 760px) { .login-card { padding: 40px 40px 32px; } }
.login-card .t-lg { margin-top: 4px; }
.login-card p.sub { font-size: 17px; max-width: 32ch; }
.login-card form { width: 100%; display: grid; gap: 14px; text-align: left; margin-top: 4px; }
.pw { position: relative; }
.pw .input { padding-right: 96px; }
.pw .ghost { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 6px 14px; border-radius: 5000px; font-size: 15px; }
.pw .ghost:hover { background: var(--frost); text-decoration: none; }
.err { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: #ffe8ea; font-size: 15px; }
.err::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.login-foot { margin-top: 4px; }
#login.leaving .login-card { transform: translateY(-24px) scale(.96); opacity: 0; }
#login.leaving .shapes .inner { --sc: 0; transition-duration: .45s; transition-timing-function: cubic-bezier(.6, 0, .8, .4); }
.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* =================================================
   PORTAL
   ================================================= */
#app { opacity: 0; transition: opacity .5s ease; }
#app.show { opacity: 1; }

/* Ticker */
.ticker { position: relative; height: 32px; background: var(--iris); color: #fff; overflow: hidden; display: flex; align-items: center; }
.tk-track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.tk-set { display: flex; align-items: center; flex: none; }
.tk-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.tk-item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.ticker .round-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--iris); }
.ticker .round-x svg { width: 10px; height: 10px; }
.ticker:hover .tk-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Nav */
.nav-wrap { position: sticky; top: 12px; z-index: 30; padding: 16px 0 0; margin-bottom: -80px; pointer-events: none; }
.nav-wrap > * { pointer-events: auto; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--navH); padding: 0 12px 0 10px; border-radius: 24px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--frost);
  -webkit-backdrop-filter: saturate(1.4); backdrop-filter: saturate(1.4);
}
@media (min-width: 760px) { .nav { min-height: 48px; padding: 6px 24px 6px 8px; } }
.nav-l, .nav-r { display: flex; align-items: center; gap: 4px; }
.nav .smiley { width: 40px; height: 40px; }
@media (min-width: 760px) { .nav .smiley { width: 34px; height: 34px; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 10px; }
.brand-name { font-size: 18px; }
@media (min-width: 900px) { .brand-name { display: none; } }
.nav-link { background: none; border: 0; cursor: pointer; text-decoration: none; padding: 8px 10px; border-radius: 5000px; font-size: 17px; }
@media (min-width: 760px) { .nav-link { font-size: 20px; } }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--chalk); }
.desk { display: none; }
@media (min-width: 900px) { .desk { display: inline-flex; } .mob { display: none; } }
.drop {
  margin-top: 8px; padding: 16px; background: #fff; border: 1px solid var(--frost); border-radius: 24px;
  box-shadow: 0 2px 0 0 var(--ink); display: grid; gap: 12px;
}
.drop.menu { justify-items: start; gap: 4px; }
.drop.menu .nav-link { width: 100%; text-align: left; padding: 12px 10px; }
.results { display: grid; gap: 4px; max-height: 52vh; overflow: auto; }
.res { display: grid; gap: 2px; text-align: left; padding: 10px 14px; border: 0; border-radius: 16px; background: none; cursor: pointer; font-size: 16px; }
.res:hover, .res:focus-visible { background: var(--chalk); }
.res .mono { opacity: .62; }
.res-empty { padding: 10px 14px; font-size: 16px; opacity: .62; }

/* Hero */
.hero { position: relative; min-height: 640px; min-height: max(640px, 100vh); min-height: max(640px, 100svh); display: grid; place-items: center; padding: 140px 0 160px; }
.hero-in { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 20px; max-width: 900px; padding: 0 var(--gut); }
.hero .smiley { width: 64px; height: 64px; }
@media (min-width: 760px) { .hero .smiley { width: 72px; height: 72px; } }
.hero .lead { max-width: 30ch; font-size: 18px; }
@media (min-width: 760px) { .hero .lead { max-width: 34ch; font-size: 24px; line-height: 1.25; } }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" on; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 8px; }

/* Subjects marquee card */
.subjects { position: relative; z-index: 3; margin-top: -96px; }
.plain-card { background: #fff; border-radius: 24px; border: 1px solid var(--frost); padding: 24px 0; overflow: hidden; }
.plain-card h2 { padding: 0 24px; margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; gap: 12px; padding-right: 12px; flex: none; }
.pill-logo { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 5000px; background: var(--chalk); white-space: nowrap; font-size: 18px; }
.pill-logo i { width: 14px; height: 14px; flex: none; display: block; }

/* Sections */
.sec { position: relative; padding: 80px 0; }
@media (min-width: 760px) { .sec { padding: 120px 0; } }
.sec-center { display: grid; justify-items: center; text-align: center; gap: 12px; margin-bottom: 40px; }
.sec-center p { max-width: 40ch; }

/* Reminder thumbs */
.thumbs { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .thumbs { grid-template-columns: repeat(auto-fit, minmax(260px, calc((100% - 48px) / 4))); justify-content: center; } }
.thumb {
  position: relative; overflow: hidden; border-radius: 16px; min-height: 250px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); color: var(--fg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.thumb:hover { transform: translateY(-4px); box-shadow: 0 4px 0 0 var(--ink); }
.thumb .deco { position: absolute; right: -44px; bottom: -52px; width: 112px; pointer-events: none; transform: rotate(var(--r, 8deg)); }
.thumb h3 { position: relative; font: 400 24px/1.15 var(--f-disp); letter-spacing: -0.012em; max-width: 16ch; }
.thumb p { position: relative; font-size: 15px; line-height: 1.4; max-width: 30ch; opacity: .85; padding-right: 8px; }
.thumb h3 { padding-right: 36px; }
.thumb .row { position: relative; margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.thumb .tag { background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 14px; }
.thumb .tag.ex { background: var(--bg); color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.thumb .round-x { position: absolute; top: 12px; right: 12px; z-index: 2; }
.more-row { display: flex; justify-content: center; margin-top: 32px; }
.float-smile { position: absolute; right: var(--gut); top: 46%; z-index: 1; }
@media (max-width: 759px) { .float-smile { display: none; } }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 30% { box-shadow: 0 0 0 4px var(--iris); } }

/* Wash panels (pink tugas / yellow pengumuman) */
.wash { position: relative; border-radius: 24px; padding: 28px 20px 32px; overflow: hidden; }
@media (min-width: 760px) { .wash { padding: 36px 24px 48px; } }
.wash-pink { background: var(--pink); }
.wash-yellow { background: var(--yellow); }
.wash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.courses { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .courses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.course { background: #fff; border: 1px solid var(--frost); border-radius: 24px; box-shadow: 0 2px 0 0 var(--ink); padding: 16px; display: grid; gap: 12px; align-content: start; }
@media (min-width: 760px) { .course { padding: 24px; } }
.course .img { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 8; background: var(--bg); display: grid; place-items: center; }
.course .img .deco { position: absolute; width: 46%; transform: rotate(var(--r, -10deg)); }
.course .img .deco.a { left: -8%; top: -18%; }
.course .img .deco.b { right: -6%; bottom: -26%; width: 40%; }
.course .img .doc { position: relative; width: 64px; height: 64px; border-radius: 5000px; background: #fff; display: grid; place-items: center; color: var(--iris); }
.course .img .doc svg { width: 30px; height: 30px; }
.course h3 { font-size: 20px; line-height: 1.3; }
.course p { font-size: 16px; }
.course .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.empty { background: #fff; border-radius: 24px; padding: 28px; text-align: center; font-size: 18px; }

/* Don't-know-where-to-start stack */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 8px 0 40px; }
.stack { display: grid; gap: 24px; }
.stack-card {
  display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: var(--iris);
}
@media (min-width: 900px) {
  .stack-card { position: sticky; top: calc(var(--navH) + 40px); grid-template-columns: 1fr 1fr; min-height: 420px; }
  .stack-card:nth-child(2) { top: calc(var(--navH) + 56px); }
  .stack-card:nth-child(3) { top: calc(var(--navH) + 72px); }
}
.pattern { position: relative; background: var(--iris); min-height: 200px; }
.pattern svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pattern .tile { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .55s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--t) * 55ms + 150ms); }
.stack-card.in .pattern .tile { transform: scale(1); }
.panel { background: var(--bg); color: var(--fg, var(--ink)); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
@media (min-width: 900px) { .panel { padding: 32px; } }
.panel .smiley { width: 42px; height: 42px; margin-bottom: auto; }
@media (max-width: 899px) { .panel .smiley { margin-bottom: 8px; } }
.panel p { font-size: 17px; max-width: 42ch; }
@media (min-width: 760px) { .panel p { font-size: 20px; } }
.panel .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.inline-search { position: relative; width: min(100%, 430px); }
.inline-search .input { background: #fff; border-color: #fff; padding-right: 72px; }
.inline-search .go { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 58px; border: 0; border-radius: 5000px; background: var(--iris); color: #fff; display: grid; place-items: center; cursor: pointer; }
.inline-search .go svg { width: 28px; height: 14px; }

/* Announcement board */
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; position: relative; z-index: 2; }
.board-head p { max-width: 36ch; font-size: 17px; margin-top: 10px; }
.board { position: relative; margin: 48px -20px 0; padding: 12px 0 40px; overflow: hidden; }
@media (min-width: 760px) { .board { margin: 64px -24px 0; padding-bottom: 64px; } }
.board-rise { transform: translateY(120px); opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
.board.in .board-rise { transform: none; opacity: 1; }
.bd-track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.board:hover .bd-track, .board:focus-within .bd-track { animation-play-state: paused; }
.bd-set { display: flex; gap: 18px; padding: 16px 9px; flex: none; }
.paper {
  position: relative; width: 270px; min-height: 340px; flex: none; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 0 0 rgba(17, 17, 24, .18); padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 14px;
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0px)); transition: transform .3s ease;
}
@media (min-width: 760px) { .paper { width: 300px; min-height: 380px; } }
.paper:hover { transform: rotate(0deg) translateY(-8px); }
.paper .who { display: flex; align-items: center; gap: 12px; }
.paper .ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: var(--bg); color: var(--fg, var(--ink)); flex: none; }
.paper .name { font-size: 16px; line-height: 1.2; }
.paper .text { font-family: var(--f-disp); letter-spacing: -0.015em; white-space: pre-line; overflow-wrap: anywhere; }
.paper .text.s1 { font-size: 26px; line-height: 1.15; }
.paper .text.s2 { font-size: 20px; line-height: 1.25; }
.paper .text.s3 { font-size: 15px; line-height: 1.4; letter-spacing: -0.01em; font-family: var(--f-text); }
.paper .bottom { margin-top: auto; display: flex; align-items: center; gap: 6px; }
.like { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; padding: 6px 8px 6px 0; border-radius: 5000px; }
.like svg { width: 18px; height: 18px; transition: transform .2s ease; }
.like:active svg { transform: scale(1.3); }
.like.on svg { --hf: var(--red); }
.bubble { width: 18px; height: 18px; color: var(--iris); }
.paper .ex { position: absolute; right: 16px; top: 18px; opacity: .55; }
.paper .round-x { position: absolute; right: 10px; top: 10px; background: var(--chalk); }

/* FAQ */
.faq-head { margin-bottom: 24px; }
.faq { display: grid; gap: 10px; }
.qa { background: #fff; border-radius: 16px; border: 1px solid var(--frost); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; font: 400 19px/1.3 var(--f-text); letter-spacing: -0.012em; }
@media (min-width: 760px) { .qa button { font-size: 24px; padding: 20px 24px; } }
.qa .pm { width: 22px; height: 22px; flex: none; transition: transform .3s ease; transform: rotate(45deg); }
.qa.open .pm { transform: rotate(0deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 20px 22px; max-width: 64ch; font-size: 17px; opacity: .8; }
@media (min-width: 760px) { .qa .ans p { padding: 0 24px 24px; font-size: 20px; } }

/* Admin */
.admin-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .admin-grid { grid-template-columns: 1fr 1.15fr; align-items: start; gap: 48px; } }
.admin-intro { display: grid; gap: 16px; align-content: start; }
.admin-intro .chips { justify-content: flex-start; margin: 8px 0 0; }
.form-card { background: #fff; border: 1px solid var(--frost); border-radius: 24px; box-shadow: 0 2px 0 0 var(--ink); padding: 20px; display: grid; gap: 16px; }
@media (min-width: 760px) { .form-card { padding: 32px; } }
.two { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.count { justify-self: end; }

/* Footer */
footer { position: relative; overflow: hidden; background: var(--frost); margin-top: 40px; padding: 72px 0 32px; }
footer .shapes .shape { opacity: 1; }
.foot { position: relative; z-index: 2; display: grid; gap: 32px; }
.wordmark { font: 400 clamp(56px, 15vw, 220px)/.9 var(--f-disp); letter-spacing: -0.045em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Toast (gaya cookie bar) */
.toast {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; margin: 0 auto; max-width: 720px;
  background: var(--ink); color: #fff; border-radius: 24px; padding: 14px 16px 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px;
  transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}
.toast.show { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.toast .btn-ghost-w { background: none; color: #fff; border: 1px solid #fff; border-radius: 48px; padding: 8px 16px; cursor: pointer; font-size: 15px; white-space: nowrap; }

/* ---------- Tambahan versi server ---------- */
body[data-auth="1"] #login { display: none; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 24px) 55%, calc(100% - 18px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.thumb .tag.sent { background: var(--green); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none !important; box-shadow: none !important; }
