
:root{
  --bg1:#ffd7e8;
  --bg2:#ffeaf2;
  --card:#fff7fb;
  --stroke:#f4b7cf;
  --text:#2b2b2b;
  --muted:#666;
  --hot:#ff2b86;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --radius2: 26px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", Arial;
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% 0%, var(--bg2), var(--bg1));
}
a{color:inherit; text-decoration:none}
.container{max-width:1200px; margin:16px auto 32px; padding:0 14px}
.topbar{
  background:rgba(255,255,255,.65);
  border:1px solid rgba(244,183,207,.6);
  border-radius:var(--radius2);
  padding:14px 16px;
  box-shadow: var(--shadow);
  display:flex; align-items:center; gap:14px; justify-content:space-between;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{width:44px; height:44px; border-radius:12px; border:1px solid rgba(244,183,207,.8); object-fit:cover}
.brand .title{font-weight:800; font-size:18px; line-height:1}
.brand .sub{font-size:12px; color:var(--muted); margin-top:4px}
.nav{display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.pill{
  border:1px solid rgba(244,183,207,.9);
  background:rgba(255,255,255,.75);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
}
.pill.primary{background:linear-gradient(180deg,#ff4a9a,#ff2b86); color:#fff; border:none}
.pill:active{transform:translateY(1px)}
.lang{display:flex; gap:6px; align-items:center}
.lang .pill{padding:6px 10px; font-size:12px}
.userchip{
  display:flex; gap:8px; align-items:center;
  border:1px solid rgba(244,183,207,.9);
  background:rgba(255,255,255,.75);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  white-space:nowrap;
}
.section{
  margin-top:14px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(244,183,207,.6);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:14px;
}
.ads-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.ad-slot{
  background:rgba(255,255,255,.78);
  border:1px dashed rgba(244,183,207,.95);
  border-radius:16px;
  padding:12px;
  min-height:66px;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:hidden;
}
.ad-slot .label{
  position:absolute; left:10px; top:10px;
  font-size:12px; color:#b01355; font-weight:700;
  background:rgba(255,255,255,.7);
  padding:2px 8px; border-radius:999px;
  border:1px solid rgba(244,183,207,.8);
}
.ad-slot img{max-width:100%; max-height:100%; object-fit:contain}
.ad-slot .text{font-weight:700; color:#b01355}
.main{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:14px;
}
.panel{
  background:rgba(255,255,255,.65);
  border:1px solid rgba(244,183,207,.6);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:12px;
}
.panel h3{margin:0 0 8px; font-size:14px}
.small{font-size:12px; color:var(--muted)}
.ticker{
  height:520px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(244,183,207,.6);
  background:rgba(255,255,255,.65);
  position:relative;
}
.ticker ul{list-style:none; padding:0; margin:0}
.ticker li{
  display:flex; justify-content:space-between; gap:8px;
  padding:12px 12px;
  border-bottom:1px solid rgba(244,183,207,.35);
  background:rgba(255,255,255,.7);
}
.ticker .name{font-weight:800; font-size:13px}
.ticker .time{font-size:11px; color:var(--muted); margin-top:4px}
.ticker .amt{font-weight:900; color:var(--hot)}
.tools{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  padding:10px 0 8px;
}
.search{
  flex:1;
  min-width:240px;
  display:flex; gap:10px; align-items:center;
}
.search input{
  flex:1;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(244,183,207,.8);
  background:rgba(255,255,255,.8);
  outline:none;
}
.select{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(244,183,207,.8);
  background:rgba(255,255,255,.8);
  outline:none;
}
.region-row{display:flex; gap:8px; flex-wrap:wrap; padding:6px 0 10px}
.region-row .pill{padding:7px 10px; font-size:12px}
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.card{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(244,183,207,.65);
  border-radius:18px;
  overflow:hidden;
  display:flex; flex-direction:column;
}
.card .cover{
  height:150px;
  background:linear-gradient(180deg,#ffe0ee,#ffd0e6);
  display:flex; align-items:center; justify-content:center;
}
.card .cover img{width:100%; height:100%; object-fit:cover}
.card .body{padding:10px 10px 12px; display:flex; flex-direction:column; gap:6px; flex:1}
.badge{display:inline-flex; align-items:center; gap:6px; font-size:11px; color:#b01355; font-weight:800}
.title2{font-weight:900; font-size:13px; line-height:1.25; min-height:32px}
.meta{display:flex; justify-content:space-between; font-size:11px; color:var(--muted)}
.progress{
  height:8px; border-radius:999px;
  background:rgba(244,183,207,.35);
  overflow:hidden;
}
.progress > div{height:100%; width:0%; background:linear-gradient(90deg,#ff4a9a,#ff2b86)}
.actions{display:flex; gap:8px; margin-top:auto}
.actions .pill{flex:1; text-align:center; padding:9px 10px}
.pagination{display:flex; justify-content:center; gap:10px; padding:14px 0 0}
.pagination .pill{padding:8px 14px}
.footer{
  margin-top:14px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(244,183,207,.6);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:12px 16px;
  text-align:center;
  font-weight:700;
}
.footer a{color:var(--hot); font-weight:900}
.modal-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.35);
  display:none; align-items:center; justify-content:center;
  padding:16px;
}
.modal{
  width:min(520px, 96vw);
  background:rgba(255,255,255,.95);
  border:1px solid rgba(244,183,207,.8);
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:14px;
}
.modal h3{margin:0 0 8px}
.row{display:flex; gap:10px; flex-wrap:wrap}
.row .pill{padding:9px 12px}
.field{width:100%; margin-top:10px}
.field input, .field textarea{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(244,183,207,.8);
  background:rgba(255,255,255,.9);
  outline:none;
}
.field textarea{min-height:100px; resize:vertical}
hr{border:none; border-top:1px solid rgba(244,183,207,.45); margin:12px 0}
@media (max-width: 1100px){
  .grid{grid-template-columns: repeat(3, 1fr)}
}
@media (max-width: 900px){
  .main{grid-template-columns: 1fr}
  .ticker{height:340px}
  .grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 520px){
  .grid{grid-template-columns: 1fr}
  .ads-grid{grid-template-columns: 1fr}
}
