:root{--dream-primary:#7c3aed;--dream-dark:#4c1d95;--dream-soft:#f5f3ff;--text:#111827;--muted:#6b7280;--line:#e5e7eb}
.dream-page-body{background:#fff}
.dream-hero{padding:42px 0 58px;background:linear-gradient(135deg,#4c1d95,#6d28d9 55%,#a855f7);color:#fff}
.dream-pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900}
.dream-hero h1{font-size:56px;line-height:1;margin:16px 0 12px;letter-spacing:-1px}
.dream-hero p{max-width:760px;font-size:18px;line-height:1.55;color:#ede9fe}
.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.dream-search{margin-top:22px}
.main-search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:7px 8px 7px 16px;color:#111}
.main-search input{flex:1;border:0;outline:0;height:38px}
.main-search button{height:38px;border:0;border-radius:999px;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;padding:0 18px;font-weight:900;cursor:pointer}
.featured-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:22px}
.featured-head{display:flex;justify-content:space-between;gap:12px;font-weight:900;margin-bottom:12px}
.featured-head em{font-style:normal;background:#fff;color:#6d28d9;padding:4px 8px;border-radius:6px;font-size:11px}
.featured-card h2{margin:0 0 12px;font-size:28px;line-height:1.2}
.featured-card h2 a{color:#fff}
.featured-card p{color:#ede9fe;line-height:1.55}
.featured-link{display:inline-flex;margin-top:12px;background:#fff;color:#4c1d95;border-radius:999px;padding:10px 14px;font-weight:900}
.dream-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-28px;position:relative;z-index:2}
.dream-shortcut-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 12px 30px rgba(0,0,0,.08);display:grid;grid-template-columns:44px 1fr;gap:4px 12px;align-items:center;color:inherit;transition:.2s}
.dream-shortcut-card.is-link{cursor:pointer}
.dream-shortcut-card.is-link:hover{transform:translateY(-3px);border-color:#c4b5fd;box-shadow:0 16px 36px rgba(124,58,237,.14)}
.dream-shortcut-card i{grid-row:1/3;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:22px;background:#f5f3ff;color:var(--dream-primary)}
.dream-shortcut-card span{display:block;color:var(--muted);font-size:13px;font-weight:800}
.dream-shortcut-card strong{display:block;font-size:17px;line-height:1.25;margin-top:2px}
.dream-layout{padding:28px 0 48px}
.info-warning{display:flex;gap:14px;background:var(--dream-soft);border:1px solid #ddd6fe;border-radius:16px;padding:16px 18px;margin-bottom:18px}
.info-warning i{font-size:24px;color:var(--dream-primary)}
.info-warning h2{margin:0 0 6px;font-size:18px}
.info-warning p{margin:0;color:#5b21b6;line-height:1.55}
.letter-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.letter-nav a,.letter-nav.compact a{min-width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;font-weight:900;background:#fff}
.letter-nav a.is-active,.letter-nav a:hover{background:var(--dream-primary);border-color:var(--dream-primary);color:#fff}
.section-head{margin-bottom:16px}
.section-head h2{margin:0 0 6px;font-size:28px}
.section-head p{margin:0;color:var(--muted)}
.dream-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.dream-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
.dream-card h3{margin:0 0 10px;font-size:22px}
.dream-card p{margin:0 0 12px;color:#374151;line-height:1.55}
.read-more{display:inline-flex;font-weight:900;color:var(--dream-primary)}
.dream-title-list{list-style:none;margin:0;padding:0;columns:2;gap:24px}
.dream-title-list li{break-inside:avoid;margin-bottom:10px}
.dream-title-list a{font-weight:800;line-height:1.4}
.dream-pagination{display:flex;gap:10px;margin-top:18px}
.dream-pagination a{display:inline-flex;padding:10px 14px;border:1px solid var(--line);border-radius:10px;font-weight:900}
.empty-state{margin:0;color:var(--muted);font-weight:700}
.dream-detail-hero{padding:36px 0;background:linear-gradient(135deg,#4c1d95,#6d28d9);color:#fff}
.detail-hero-inner h1{font-size:44px;line-height:1.1;margin:12px 0}
.breadcrumb{display:flex;align-items:center;gap:8px;color:#ddd6fe;font-size:13px;margin-bottom:10px}
.breadcrumb a{font-weight:800;color:#fff}
.detail-meta{margin:0;color:#ddd6fe}
.dream-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:28px 0 48px}
.dream-article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.dream-article-body p{margin:0;font-size:18px;line-height:1.8;color:#374151}
.dream-share{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.dream-share a{display:inline-flex;align-items:center;gap:6px;font-weight:900;color:var(--dream-primary)}
.side-box{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:16px}
.box-head{padding:14px 16px;font-weight:900;border-bottom:1px solid var(--line);background:#fafafa}
.related-list{list-style:decimal;margin:0;padding:12px 16px 12px 32px}
.related-list a{font-weight:800;line-height:1.45}
.ticker{background:var(--dream-dark);color:#fff}
.ticker-inner{height:42px;display:flex;align-items:center;gap:14px}
.dream-ticker-label{background:linear-gradient(135deg,var(--dream-primary),#a855f7);height:42px;display:flex;align-items:center;padding:0 18px;font-weight:950;flex:0 0 auto}
.ticker p{margin:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800;font-size:14px}
.ticker button{width:30px;height:30px;border:0;border-radius:5px;background:rgba(255,255,255,.18);color:#fff;cursor:pointer;flex:0 0 auto}
.dream-ticker-viewport{flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 12px),transparent)}
.dream-ticker-track{display:flex;align-items:center;gap:22px;width:max-content;will-change:transform}
.dream-ticker-track a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:800;font-size:14px;color:#fff}
.dream-ticker-track a strong{font-weight:950}
.dream-ticker-track a span{background:transparent;height:auto;padding:0;display:inline;font-weight:700;color:#ddd6fe;font-size:13px;max-width:280px;overflow:hidden;text-overflow:ellipsis}
body.dream-page-body .dream-ticker,
body.dream-detail-body .dream-ticker{display:block;width:100%;max-width:100%;overflow:hidden;background:var(--dream-dark);color:#fff}
body.dream-page-body .dream-ticker .container,
body.dream-detail-body .dream-ticker .container{width:100%;max-width:1440px;margin:0 auto;padding:0 20px}
body.dream-page-body .dream-ticker .ticker-inner,
body.dream-detail-body .dream-ticker .ticker-inner{width:100%;height:42px;display:flex;align-items:center;gap:14px;overflow:hidden}
body.dream-page-body .dream-ticker-viewport,
body.dream-detail-body .dream-ticker-viewport{flex:1;min-width:0}
body.dream-page-body .dream-ticker p,
body.dream-detail-body .dream-ticker p{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:768px){
  body.dream-page-body .dream-ticker .container,
  body.dream-detail-body .dream-ticker .container{padding:0 12px}
  body.dream-page-body .dream-ticker .ticker-inner,
  body.dream-detail-body .dream-ticker .ticker-inner{height:36px}
  body.dream-page-body .dream-ticker .dream-ticker-label,
  body.dream-detail-body .dream-ticker .dream-ticker-label{height:36px;padding:0 10px;font-size:12px}
  body.dream-page-body .dream-ticker b,
  body.dream-page-body .dream-ticker p,
  body.dream-page-body .dream-ticker-track a,
  body.dream-detail-body .dream-ticker b,
  body.dream-detail-body .dream-ticker p,
  body.dream-detail-body .dream-ticker-track a{font-size:12px}
  body.dream-page-body .dream-ticker-track a span,
  body.dream-detail-body .dream-ticker-track a span{display:none}
  body.dream-page-body .dream-ticker button,
  body.dream-detail-body .dream-ticker button{display:none}
}
@media(max-width:1050px){.hero-layout,.dream-detail-layout{grid-template-columns:1fr}.dream-grid{grid-template-columns:1fr}.dream-title-list{columns:1}}
@media(max-width:768px){.dream-hero h1,.detail-hero-inner h1{font-size:34px}.dream-shortcuts{grid-template-columns:repeat(2,1fr)}}
