/* Dinofino – Elternbereich und Redaktion (v0.7). Baut auf css/app.css auf. */

.el { max-width: 1180px; }
.el-body { min-width: 0; }

/* Navigation: Reiter mit Symbol, auf dem Handy waagerecht scrollbar */
.el-nav { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 14px; margin: 0 -2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.el-nav::-webkit-scrollbar { display: none; }
.el-nav a, .el-nav .out { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; text-decoration: none; font-family: Fredoka, Nunito, sans-serif; font-weight: 600; white-space: nowrap; border: 0; }
.el-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.el-nav a.on { background: #fff; color: var(--plum-ink, #4b1c40); box-shadow: 0 4px 0 rgba(75,28,64,.25); }
.el-nav .dot { position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow, #ffcf3d); box-shadow: 0 0 0 2px var(--plum, #934174); }
.el-nav .cnt { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--yellow, #ffcf3d); color: var(--plum-ink, #4b1c40); font-style: normal; font-size: .8rem; display: grid; place-items: center; }
.el-nav .out { margin-left: auto; background: transparent; text-decoration: underline; padding: 0 10px; }

.el-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.el-grid > .wide, .el-grid > .panel.wide { grid-column: 1 / -1; }
.el-grid > .wide2 { grid-column: span 2; }
.el .panel h2 { display: flex; align-items: center; gap: 10px; color: var(--ink); text-shadow: none; font-family: Fredoka, Nunito, sans-serif; }
.h-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.h-ico svg, .quick svg, .thumb-s svg, .btn svg, .heart svg, .pin svg, .answer-note svg { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.h-ico svg { width: 22px; height: 22px; }
.panel.plain { background: transparent; box-shadow: none; padding: 0; }
.panel.plain .fine, .panel.plain p { color: #fff; opacity: .9; }
.panel.plain-list { padding: 8px 16px; }
.el-head { margin: 4px 0 18px; }
.el-head h1 { color: #fff; text-shadow: var(--outline); font-family: Delius, Fredoka, sans-serif; font-weight: 400; margin: 0 0 4px; }
.el-head p { color: #fff; margin: 0; max-width: 720px; font-weight: 600; }
.lead { font-size: 1.1rem; font-weight: 600; margin-top: 0; }
.back-link { color: #fff; font-weight: 800; text-decoration: none; display: inline-block; padding: 6px 0; }

/* Schnellzugriffe */
.quicks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.quick { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; background: var(--tint); text-decoration: none; color: var(--ink); transition: transform .12s; }
.quick:active { transform: scale(.98); }
.quick svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.quick span { display: flex; flex-direction: column; }
.quick small { color: var(--ink-2); font-weight: 600; }

/* Kinder */
.kid-row, .kid-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: #faf6ef; text-decoration: none; color: var(--ink); margin-bottom: 10px; }
.kid-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.kid-txt small { color: var(--ink-2); font-weight: 600; }
.kid-txt .rules { font-size: .82rem; }
.kids { margin-bottom: 14px; }
.av.big { width: 54px; height: 54px; font-size: 1.4rem; }
.el .panel h2 .av { width: 38px; height: 38px; }
.bar-s { display: block; height: 10px; border-radius: 999px; background: #efe7f0; overflow: hidden; margin-top: 6px; flex: 1; }
.bar-s i { display: block; height: 100%; border-radius: inherit; background: var(--c, var(--accent)); }
.bar-s i.full { background: var(--berry); }

/* Formulare */
.form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.fld > span, .fld legend { font-weight: 800; font-size: .92rem; padding: 0; }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea {
  width: 100%; min-height: 48px; border-radius: 14px; border: 2px solid var(--line); padding: 10px 12px; font: inherit; background: #fff; color: var(--ink); }
.fld textarea { resize: vertical; line-height: 1.45; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.fld.file input { padding: 10px; }
.fi { color: var(--ink-2); font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.checks-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ck { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; border-radius: 14px; background: #faf6ef; font-weight: 700; cursor: pointer; }
.ck input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.ck input[type=datetime-local] { width: auto; flex: 1; min-height: 40px; border-radius: 10px; border: 2px solid var(--line); padding: 4px 8px; font: inherit; }
fieldset.fld .ck { margin-bottom: 6px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.danger { color: #b3263f; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.row-l { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.big-actions { margin-bottom: 20px; }
.big-actions .btn { background: var(--yellow, #ffcf3d); color: var(--plum-ink, #4b1c40); }

/* Schalter */
.switch { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { width: 54px; height: 32px; border-radius: 999px; background: #ddd3dd; position: relative; flex: none; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--tint), 0 0 0 5px var(--accent); }

/* Segmente als Links (Unterreiter) */
.seg.sub { margin-bottom: 18px; }
.seg.sub a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,.5); color: #fff; font-weight: 800; text-decoration: none; }
.seg.sub a.on { background: #fff; color: var(--plum-ink, #4b1c40); border-color: #fff; }

/* Nutzung */
.usage { margin-bottom: 22px; }
.usage h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.usage h3 small { color: var(--ink-2); font-weight: 600; font-family: Nunito, sans-serif; }
.usage .av { width: 32px; height: 32px; font-size: .95rem; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; margin-bottom: 12px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.day .col { position: relative; width: 100%; max-width: 46px; height: 110px; border-radius: 12px; background: #f6eff5; display: flex; align-items: flex-end; overflow: hidden; }
.day .col i { display: block; width: 100%; background: var(--accent); border-radius: 12px 12px 0 0; min-height: 0; }
.day .col b { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--berry); }
.day small { min-height: 1em; }
.areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.areas li { display: grid; grid-template-columns: 110px 1fr 90px; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; }
.areas li small { color: var(--ink-2); text-align: right; }
.areas .bar-s { margin: 0; }
.areas .a-welt { --c: #b9a3c4; }
.medals-s { display: inline-flex; align-items: center; gap: 4px; }
.medals-s .mini-medal { display: inline-block; margin-left: 8px; }

/* Beiträge */
.feed { display: grid; gap: 20px; max-width: 760px; margin-bottom: 24px; }
.post { background: var(--card); border-radius: var(--r); box-shadow: var(--toy); padding: 22px 24px; }
.post.mini { box-shadow: none; padding: 0; }
.post time { color: var(--ink-2); font-weight: 700; font-size: .85rem; }
.post h3 { font-family: Fredoka, Nunito, sans-serif; font-size: 1.35rem; margin: 4px 0 12px; }
.post-txt { line-height: 1.6; }
.post-txt a { color: var(--accent); font-weight: 700; }
.post-act { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.heart { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 800; }
.heart svg { width: 22px; height: 22px; }
.heart.on { color: #d6335a; border-color: #f4c3cf; background: #fff0f3; }
.heart.on svg { fill: currentColor; }
.media { margin: 4px 0 14px; border-radius: 18px; overflow: hidden; background: #f3ecf2; }
.media video, .media img { display: block; width: 100%; max-height: 70vh; background: #000; }
.media img { background: transparent; object-fit: contain; }
.media audio { width: 100%; }
.media-wait { min-height: 120px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.22), rgba(255,255,255,.08)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 18px; }
.media .media-wait { aspect-ratio: 16 / 9; min-height: 0; background-color: #eee4ec; }
@keyframes shimmer { to { background-position: -200% 0; } }
.answer-note { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.answer-note svg { width: 34px; height: 34px; color: var(--accent); }
.answer-note span { display: flex; flex-direction: column; }
.note-panel { background: #fff7d6; }
.neu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.neu-list li { display: flex; flex-direction: column; }
.neu-list small { color: var(--ink-2); font-weight: 600; }

/* Themen, FAQ */
.themen { display: grid; gap: 8px; }
.thema { border-radius: 16px; background: #faf6ef; padding: 0 14px; }
.thema summary { min-height: 48px; display: flex; align-items: center; gap: 8px; font-weight: 800; cursor: pointer; list-style: none; }
.thema summary::-webkit-details-marker { display: none; }
.thema summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--accent); }
.thema[open] summary::after { content: "–"; }
.thema summary small { color: var(--ink-2); font-weight: 600; }
.thema > p, .thema > ul { margin-top: 0; padding-bottom: 12px; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 700; }
.links a { color: var(--accent); }
.links small { color: var(--ink-2); font-weight: 600; }

/* Feedback, Wünsche, Forum */
.bezug { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--tint); }
.msgs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.msgs li { padding: 12px 14px; border-radius: 16px; background: #faf6ef; }
.msgs p { margin: 8px 0 0; }
.msg-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.msg-h time { color: var(--ink-2); font-weight: 600; }
.msg-h select { margin-left: auto; min-height: 40px; border-radius: 10px; border: 2px solid var(--line); padding: 0 8px; font: inherit; }
.reply { margin-top: 10px; padding: 10px 14px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 14px 14px 0; }
.reply p { margin: 4px 0 0; }
.chip-s { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #efe7f0; color: var(--ink); font-weight: 800; font-size: .78rem; white-space: nowrap; }
.chip-s.st-erledigt, .chip-s.st-on, .chip-s.ws-umgesetzt { background: #e3f4e4; color: #2c7a3c; }
.chip-s.st-plan, .chip-s.ws-geplant { background: #fff2c9; color: #7a5a00; }
.chip-s.st-x, .chip-s.ws-abgelehnt { background: #eee; color: #666; }
.chip-s.team { background: var(--accent); color: #fff; }
.wishes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wishes li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: var(--card); box-shadow: var(--toy); font-weight: 700; }
.wishes li > span { flex: 1; }
.wishes li small { color: var(--ink-2); font-weight: 600; }
.vote { min-width: 60px; min-height: 56px; border-radius: 16px; border: 2px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; color: var(--ink-2); line-height: 1.1; }
.vote.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.vote b { font-size: 1.05rem; }
.wishes.adm li { box-shadow: none; background: #faf6ef; flex-wrap: wrap; }
.wishes.adm select { min-height: 44px; border-radius: 12px; border: 2px solid var(--line); font: inherit; padding: 0 8px; }
.votes { min-width: 54px; color: var(--accent); }
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.topics a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #faf6ef; text-decoration: none; color: var(--ink); }
.topics span { display: flex; flex-direction: column; }
.topics small { color: var(--ink-2); font-weight: 600; }
.pin svg { width: 22px; height: 22px; color: var(--accent); }
.fpost { padding: 12px 0; border-top: 2px solid #f3ece4; }
.fpost:first-child { border-top: 0; padding-top: 0; }
.fpost p { margin: 6px 0 0; line-height: 1.55; }
.fpost.uns { background: var(--tint); border: 0; border-radius: 16px; padding: 12px 14px; margin: 8px 0; }
.fpost.mod { border: 0; background: #faf6ef; border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.fpost.mod h3 { margin: 6px 0 0; }
.wait { color: #8a6a00; background: #fff2c9; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.link-s { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font-weight: 700; margin-left: auto; }
.thema.adm { margin-bottom: 10px; }

/* Redaktion */
.plan-list, .admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plan-list a, .admin-list a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #faf6ef; text-decoration: none; color: var(--ink); }
.plan-list time { min-width: 120px; color: var(--accent); font-weight: 800; font-size: .88rem; }
.plan-list span, .admin-list a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.plan-list small, .admin-list small { color: var(--ink-2); font-weight: 600; }
.admin-list li { padding: 0; }
.thumb-s { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--c, var(--accent)); color: #fff; }
.thumb-s svg { width: 26px; height: 26px; }
.msgs-admin { display: grid; gap: 16px; max-width: 820px; }
.msg.neu { box-shadow: 0 0 0 3px var(--yellow, #ffcf3d), var(--toy); }
.prog { position: relative; height: 34px; border-radius: 999px; background: #f1e8ef; overflow: hidden; margin-top: 12px; }
.prog i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width .2s; }
.prog span { position: relative; display: grid; place-items: center; height: 100%; font-weight: 800; color: var(--ink); }
.cur-media { margin-bottom: 12px; }
.login-panel { max-width: 520px; margin: 30px auto; }
.demo-hint { display: inline-block; padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.18); color: #fff; font-weight: 700; margin: 0; }
.el .panel .demo-hint { background: #fff7d6; color: #6b5200; }
.json { max-height: 50vh; overflow: auto; background: #faf6ef; border-radius: 14px; padding: 12px; font-size: .8rem; white-space: pre-wrap; word-break: break-word; }

/* Kurze Rückmeldung */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100; background: var(--plum-ink, #4b1c40); color: #fff;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: toastIn .25s ease-out; max-width: calc(100vw - 32px); text-align: center; }
.toast.out { opacity: 0; transition: opacity .4s; }
@keyframes toastIn { from { transform: translate(-50%, 20px); opacity: 0; } }

/* Handy */
@media (max-width: 760px) {
  .el-grid > .wide2 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .el-grid { grid-template-columns: 1fr; gap: 14px; }
  .el .panel { padding: 18px 16px; }
  .two, .time-row { grid-template-columns: 1fr; }
  .areas li { grid-template-columns: 84px 1fr 74px; font-size: .82rem; }
  .plan-list a { flex-wrap: wrap; } .plan-list time { min-width: 0; width: 100%; }
  .el-nav a span { font-size: .95rem; }
  .post { padding: 18px 16px; }
  .wishes li { gap: 10px; }
}
/* Handy quer: kompakter */
@media (orientation: landscape) and (max-height: 560px) {
  .el-nav a, .el-nav .out { min-height: 42px; }
  .day .col { height: 80px; }
}
.price-t { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-family: Fredoka, Nunito, sans-serif; font-weight: 600; font-size: .85rem; }
.big-price { font-family: Fredoka, Nunito, sans-serif; font-size: 1.9rem; font-weight: 700; margin: 4px 0 14px; color: var(--accent); }
.big-price small { font-family: Nunito, sans-serif; font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.hs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--accent); font-weight: 800; }
.hs-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.more-c.c5 { background: linear-gradient(135deg, #ee7a32, #d15e1a); } .more-c.c6 { background: linear-gradient(135deg, #4fa35e, #357f43); }

/* ---------- Echsheim News ---------- */
.kicker { display: inline-block; font-family: Fredoka, Nunito, sans-serif; font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.news-hero { display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: 26px; align-items: center; margin: 4px 0 26px; padding: 22px;
  border-radius: 34px; background: linear-gradient(135deg, #ffd84f 0%, #ffb93d 100%); box-shadow: 0 8px 0 rgba(75,28,64,.28), 0 20px 40px rgba(75,28,64,.25); position: relative; overflow: hidden; }
.news-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.25); }
.news-hero img { width: 100%; border-radius: 26px; box-shadow: 0 6px 0 rgba(75,28,64,.25); transform: rotate(-2.5deg); position: relative; z-index: 1; }
.news-hero > div { position: relative; z-index: 1; }
.news-hero h1 { font-family: Delius, Fredoka, sans-serif; font-weight: 400; font-size: 2.6rem; line-height: 1.05; margin: 8px 0 10px; color: #fff; text-shadow: var(--outline); }
.news-hero p { margin: 0; font-weight: 700; color: var(--plum-ink, #4b1c40); font-size: 1.05rem; max-width: 560px; }
.news-hero .kicker { color: var(--plum-ink, #4b1c40); background: #fff; padding: 4px 12px; border-radius: 999px; }
.news-ico { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; flex: none; }

/* ---------- Shop ---------- */
.shop-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; margin: 4px 0 26px; padding: 28px 30px; border-radius: 34px;
  background: radial-gradient(circle at 85% 20%, #b65b92 0, transparent 55%), linear-gradient(135deg, #5d2050, #934174); color: #fff; box-shadow: 0 8px 0 rgba(43,10,35,.35), 0 20px 40px rgba(43,10,35,.3); }
.shop-hero h1 { font-family: Delius, Fredoka, sans-serif; font-weight: 400; font-size: 2.5rem; line-height: 1.08; margin: 6px 0 12px; text-shadow: var(--outline); color: #fff; }
.shop-hero p { font-weight: 700; margin: 0 0 18px; opacity: .95; }
.shop-hero .kicker { color: var(--yellow, #ffcf3d); }
.shop-hero img { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); animation: wiggle 6s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg) translateY(-4px); } }
.btn.go-y { background: var(--yellow, #ffcf3d); color: var(--plum-ink, #4b1c40); }
.shelf-s { background: var(--card); border-radius: var(--r); box-shadow: var(--toy); padding: 22px 0 18px; margin-bottom: 22px; overflow: hidden; }
.shelf-s.w-klein { --accent: #e8657a; } .shelf-s.w-fug { --accent: #3f9a52; } .shelf-s.w-dur { --accent: #e0662a; }
.shelf-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: flex-end; padding: 0 24px 10px; }
.shelf-head h2 { margin: 2px 0 4px; font-family: Fredoka, Nunito, sans-serif; color: var(--ink); text-shadow: none; font-weight: 600; }
.shelf-head p { margin: 0; color: var(--ink-2); font-weight: 600; }
.shelf-head .btn { background: var(--accent); }
.covers { display: flex; gap: 18px; overflow-x: auto; padding: 14px 24px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; align-items: flex-start; }
.cover-b { flex: none; width: 150px; border: 0; background: none; padding: 0; text-align: left; scroll-snap-align: start; transition: transform .2s cubic-bezier(.2,1.6,.4,1); }
.cover-b.sq { width: 168px; }
.cover-b img { display: block; width: 100%; aspect-ratio: 232 / 340; object-fit: cover; border-radius: 6px 12px 12px 6px; background: #fff;
  box-shadow: inset -3px 0 0 rgba(0,0,0,.12), 0 6px 0 rgba(43,35,64,.12), 0 12px 22px rgba(43,35,64,.22); }
.cover-b.sq img { aspect-ratio: 1; border-radius: 12px; }
.cover-b span { display: block; margin-top: 10px; font-weight: 800; font-size: .86rem; line-height: 1.25; color: var(--ink); min-height: 2.5em; }
.cover-b:hover, .cover-b:focus-visible { transform: translateY(-8px) rotate(-2deg); outline: none; }
.cover-b:active { transform: scale(.97); }
.price-t { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-family: Fredoka, Nunito, sans-serif; font-weight: 600; font-size: .85rem; }
.shop-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 14px; }
.more-c { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 26px; color: #fff; text-decoration: none; box-shadow: 0 6px 0 rgba(0,0,0,.15); transition: transform .15s; }
.more-c:hover { transform: translateY(-4px); }
.more-c svg { width: 38px; height: 38px; margin-bottom: 6px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more-c strong { font-family: Fredoka, Nunito, sans-serif; font-size: 1.2rem; }
.more-c small { font-weight: 700; opacity: .92; }
.more-c.c1 { background: linear-gradient(135deg, #4f8fd6, #3a6db4); } .more-c.c2 { background: linear-gradient(135deg, #5b4fa8, #3e3480); }
.more-c.c3 { background: linear-gradient(135deg, #e8657a, #c94660); } .more-c.c4 { background: linear-gradient(135deg, #23a39b, #16827b); }
.shop-pay { color: #fff; font-weight: 700; opacity: .85; text-align: center; }
.ov-box.book-ov { max-width: 640px; }
.book-pop { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start; }
.book-pop img { width: 100%; border-radius: 6px 12px 12px 6px; box-shadow: 0 10px 24px rgba(0,0,0,.25); transform: rotate(-3deg); }
.book-pop img.sq { border-radius: 12px; }
.book-pop h2 { margin: 4px 0 8px; }
.book-pop .link { margin: 14px 0 0; }

@media (min-width: 1000px) { .el-nav { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 640px) {
  .news-hero, .shop-hero { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .news-hero img { max-width: 220px; margin: 0 auto; }
  .news-hero h1, .shop-hero h1 { font-size: 2rem; }
  .shop-hero img { max-width: 300px; order: -1; }
  .cover-b { width: 118px; } .cover-b.sq { width: 132px; }
  .shelf-head { padding: 0 16px 8px; } .covers { padding: 12px 16px 18px; gap: 14px; }
  .book-pop { grid-template-columns: 1fr; } .book-pop img { max-width: 170px; margin: 0 auto; }
}
.cover-b span, .el h3, .post h3, .admin-list strong, .plan-list strong, .neu-list strong { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.el [hidden], .toast[hidden] { display: none !important; }
