/* Löpömarket app components (index). Tokens live in brand.css. */
.mobile-only{display:none}
.m-only{display:none}
.d-only{display:block}
.hide-d{display:none}
.sm-only,.tbl .sub.sm-only{display:none}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.live{display:inline-flex;align-items:center;gap:6px;color:var(--live);font-weight:650;font-size:12px;letter-spacing:.02em}

/* ---- chart ---- */
.chart{display:block;overflow:visible;touch-action:pan-y}
.chart .gl{stroke:var(--grid);stroke-width:1;stroke-dasharray:2 4}
.chart .bl{stroke:var(--faint);stroke-width:1;stroke-dasharray:4 4}
.chart .al{fill:var(--mute);font-size:11.5px;font-weight:500;font-variant-numeric:tabular-nums}
.chart .xh{stroke:var(--faint);stroke-width:1}
.chart .el-n{fill:var(--ink-2);font-size:12px;font-weight:550}
.chart .el-v{font-size:22px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.chart .ln{vector-effect:non-scaling-stroke}
.chart-empty{display:grid;place-items:center;color:var(--mute);font-size:13.5px;border:1px dashed var(--line-2);border-radius:var(--r-sm)}
.loading{opacity:.45;transition:opacity .2s}
.tip{position:fixed;z-index:60;pointer-events:none;background:var(--raise);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-pop);padding:9px 11px;font-size:12.5px;min-width:140px}
.tip-h{color:var(--mute);font-weight:500;margin-bottom:5px;font-variant-numeric:tabular-nums}
.tip-r{display:flex;align-items:center;gap:8px;line-height:1.7}
.tip-r i{width:12px;height:2.5px;border-radius:2px;flex:none}
.tip-r b{font-weight:650;font-variant-numeric:tabular-nums;min-width:44px}
.tip-r span{color:var(--ink-2)}

/* ---- home: featured ---- */
.feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"l r" "f r" "n n";gap:0 28px;padding:24px 24px 18px;min-height:420px}
.ft-l{grid-area:l;display:flex;flex-direction:column;min-width:0}
.ft-t{display:block;font-size:26px;line-height:1.2;font-weight:650;letter-spacing:-.025em;margin:10px 0 20px;text-wrap:balance}
.ft-t:hover span{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.ft-b{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fbtn{display:flex;align-items:center;justify-content:space-between;gap:6px;height:52px;padding:0 14px;border-radius:10px;background:var(--bg-sub);box-shadow:inset 0 0 0 1px var(--line);font-weight:600;font-size:15px;min-width:0}
.fbtn .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fbtn b{font-weight:700;font-size:16px}
.fbtn.ours{background:var(--acc-soft);box-shadow:inset 0 0 0 1.5px var(--acc-line);color:var(--acc)}
.ft-pos{margin-top:18px;padding:16px;border-radius:10px;background:var(--bg-sub);display:flex;flex-direction:column;gap:12px}
.ft-pos>div:first-child{display:flex;flex-direction:column;gap:3px}
.ft-pos>div:first-child b{font-size:15px;font-weight:600}
.ft-st{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ft-st>div{display:flex;flex-direction:column;gap:2px}
.ft-st b{font-size:15px;font-weight:650}
.ft-f{grid-area:f;align-self:end;padding-top:18px;display:flex;justify-content:space-between;align-items:center;font-size:13px}
.ft-r{grid-area:r;display:flex;flex-direction:column;justify-content:center;min-width:0}
.ft-ch{min-height:300px}
.ft-nav{grid-area:n;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin:8px -24px 0;padding:14px 24px 0}
.dots{display:flex;gap:6px}
.dots button{width:6px;height:6px;border-radius:3px;background:var(--line-2);transition:width .2s,background .2s}
.dots button.on{width:20px;background:var(--ink)}
.ft-pn{display:flex;gap:8px;min-width:0}
.ft-pn .btn{max-width:260px;color:var(--ink-2)}

/* ---- home: rail ---- */
.fundc .fc-h{display:flex;justify-content:space-between;align-items:center}
.fc-v{font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1.15;margin-top:4px}
.fc-d{font-size:13.5px;font-weight:550;margin-top:2px}
.fc-ch{margin:14px 0 6px;height:72px}
.kvs{margin-top:10px;border-top:1px solid var(--line);padding-top:6px}
.fc-a{margin-top:14px}
.nx{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}
.nx:first-of-type{border-top:0}
.nx-i{width:14px;color:var(--mute);font-size:12.5px;font-weight:600}
.nx-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.nx-t span{font-weight:550;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nx-t small{color:var(--mute);font-size:12px}
.nx b{font-size:14px;font-weight:650}

/* ---- votes ---- */
.vcard{display:flex;flex-direction:column;gap:10px}
.vc-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.vc-h .badge svg,.badge svg{width:13px;height:13px}
.cd{font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--warn)}
.vc-q{font-weight:600;font-size:15px;line-height:1.35}
.vc-q:hover{text-decoration:underline;text-underline-offset:3px}
.vc-m{font-size:13px;color:var(--ink-2)}
.vc-m b{color:var(--ink);font-weight:600}
.vopts{display:flex;flex-direction:column;gap:6px}
.vopt{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;height:38px;padding:0 12px;border-radius:8px;background:var(--bg-sub);overflow:hidden;font-size:13.5px}
.vopt>i{position:absolute;inset:0 auto 0 0;background:var(--press);border-radius:8px 0 0 8px}
.vopt.win>i{background:var(--acc-soft)}
.vopt>span{position:relative}
.vo-n{font-weight:550;display:flex;align-items:center;gap:6px}
.vo-v{display:flex;align-items:center;gap:10px;color:var(--ink-2)}
.vo-v small{color:var(--mute)}
.vo-v b{color:var(--ink);font-weight:700;min-width:12px;text-align:right}
.vc-f{font-size:12.5px}
.vote-strip{display:flex;justify-content:space-between;align-items:center;margin:-2px 0 2px}
.vote-strip .num{font-weight:700;color:var(--warn)}
.vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}

/* ---- market grid & card ---- */
.filt{margin-bottom:16px;align-items:center}
.chip-sep{width:1px;height:20px;background:var(--line);margin:0 6px;flex:none}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mcard{display:flex;flex-direction:column;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--shadow-sm);transition:border-color .15s,box-shadow .15s,transform .15s;min-height:212px}
.mcard:hover{border-color:var(--line-2);box-shadow:var(--shadow)}
.mc-h{display:flex;align-items:flex-start;gap:12px;min-height:44px}
.mc-t{flex:1;min-width:0;font-weight:600;font-size:14.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.005em;padding-top:1px}
.mc-top{flex:none;margin-top:2px}
.mc-b{display:flex;flex-direction:column;gap:8px;flex:1;justify-content:flex-start}
.pbtn.acc{background:var(--acc-soft);color:var(--acc);box-shadow:inset 0 0 0 1px var(--acc-line)}
.pb2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:4px}
.orow{display:grid;grid-template-columns:minmax(0,1fr) 72px 44px;align-items:center;gap:12px;font-size:14px}
.obar{height:4px;border-radius:2px;background:var(--press);overflow:hidden;display:block}
.obar i{display:block;height:100%;border-radius:2px;background:var(--faint)}
.orow.ours .obar i{background:var(--acc)}
.pb2 .pbtn{justify-content:space-between;height:40px;padding:0 12px}
.pb2 .pbtn .px{flex:none}
.orow .on{display:flex;align-items:center;gap:6px;min-width:0;font-weight:500}
.orow .on .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.orow b{font-weight:700;font-size:14.5px;min-width:40px;text-align:right}
.orow.ours .on{font-weight:600}
.own{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--acc);color:#fff;flex:none}
.own svg{width:10px;height:10px}
.mc-f{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12.5px;color:var(--mute);border-top:1px solid var(--line);padding-top:12px;margin-top:auto;min-height:36px}
.mc-f .meta{display:flex;align-items:center;gap:7px;white-space:nowrap}
.mc-f .meta i{width:3px;height:3px;border-radius:50%;background:var(--faint)}
.pos-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;background:var(--acc-soft);font-size:13px;margin-top:-2px}
.pos-strip.closed{background:var(--bg-sub)}
.ps-l{display:flex;align-items:center;gap:7px;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden}
.ps-l>span:last-child{overflow:hidden;text-overflow:ellipsis}
.ps-r{display:flex;align-items:baseline;gap:8px;white-space:nowrap;font-weight:600}
.mc-f .meta svg{width:13px;height:13px}
.btn.sq{width:34px;padding:0}
.vban{display:flex;align-items:center;gap:14px;padding:16px 20px}
.vb-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13.5px}
.vb-t b{font-weight:600;font-size:14px}
.vb-t span{color:var(--ink-2);line-height:1.5}
.pos-badge{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;white-space:nowrap;min-width:0}
.pos-badge .lbl2{color:var(--mute)}
.pos-badge b{color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis;max-width:90px}
.pos-badge .num{color:var(--ink);font-weight:600}
.mcard.is-closed .mc-b,.mcard.is-closed .mc-h{opacity:.62}
.gauge{position:relative;width:64px;height:44px;text-align:center}
.gauge svg{display:block}
.gauge b{position:absolute;left:0;right:0;top:16px;font-size:13px;letter-spacing:-.02em;font-weight:700;line-height:1}
.gauge small{position:absolute;left:0;right:0;top:31px;font-size:10.5px;color:var(--mute);font-weight:550;line-height:1}
.spark{display:block}

/* ---- detail ---- */
.dh{display:flex;align-items:flex-start;gap:16px}
.dh-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;padding-top:2px}
.dh-t .h1{text-wrap:balance}
.dh-m{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;color:var(--mute);font-size:13px;font-weight:500}
.dh-m i{width:3px;height:3px;border-radius:50%;background:var(--faint)}
.dh-m .ic{display:inline-flex;align-items:center;gap:5px}
.dh-m .ic svg{width:14px;height:14px}
.dh-a{display:flex;gap:2px}
.iconbtn.ok{color:var(--yes)}
.prob{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:26px 0 6px;flex-wrap:wrap}
.prob>div:first-child{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.prob-v{font-size:34px;font-weight:700;letter-spacing:-.03em;line-height:1}
.prob-l{font-size:15px;font-weight:600;color:var(--ink-2)}
.chg{font-size:13.5px;font-weight:600}
.dchart{min-height:340px;margin-top:6px}
.legend{display:flex;gap:16px;font-size:12.5px;color:var(--ink-2);font-weight:500;margin-top:8px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:14px;height:2.5px;border-radius:2px}
.otbl{overflow:hidden}
.ot-h,.ot-r{display:grid;grid-template-columns:minmax(0,1fr) 140px 240px;align-items:center;gap:16px;padding:0 20px}
.ot-h{height:40px;border-bottom:1px solid var(--line);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;font-weight:600;color:var(--mute)}
.ot-h span:nth-child(2){text-align:right}
.ot-r{min-height:68px;border-bottom:1px solid var(--line)}
.ot-r:last-child{border-bottom:0}
.ot-r.ours{background:linear-gradient(90deg,var(--acc-soft),transparent 60%)}
.ot-n{display:flex;align-items:center;gap:10px;min-width:0;font-size:15px}
.ot-n b{font-weight:600}
.ot-pm{display:none}
.ot-p{text-align:right;font-size:20px;font-weight:700;letter-spacing:-.02em}
.ot-b{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ot-b .pbtn{height:40px}
.rules{font-size:13.5px;line-height:1.6;color:var(--ink-2)}
.rules.clamp{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.poscard .pc-v{font-size:30px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.pc-d{font-size:13.5px;font-weight:550;margin-top:4px}
.payout{margin-top:12px;padding:14px;border-radius:10px;background:var(--acc-soft);display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:baseline}
.payout span{font-size:13px;color:var(--ink-2);font-weight:500}
.payout b{font-size:18px;font-weight:700;color:var(--ink);text-align:right}
.payout small{grid-column:2;text-align:right;font-weight:600;font-size:12.5px}
.fair{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:14px}
.fair>div{padding:12px 14px;border-radius:10px;background:var(--bg-sub);display:flex;flex-direction:column;gap:2px}
.fair>div.pick{background:var(--acc-soft);box-shadow:inset 0 0 0 1px var(--acc-line)}
.fair b{font-size:20px;font-weight:700;letter-spacing:-.02em}
.fair small{font-size:12px}
.brief p{font-size:14.5px;line-height:1.65;color:var(--ink);margin-bottom:10px}
.srcs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.srcs a{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:7px;background:var(--bg-sub);box-shadow:inset 0 0 0 1px var(--line);font-size:12.5px;font-weight:550;color:var(--ink-2)}
.srcs a:hover{color:var(--ink);background:var(--hover)}
.srcs img{border-radius:3px}
.tr{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.tr:first-of-type{border-top:0}
.tr-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.tr-t b{font-weight:600;font-size:13.5px}
.tr-t small{color:var(--mute);font-size:12px}
.ev-i{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--press);color:var(--ink-2)}
.ev-i svg{width:15px;height:15px}
.ev-i.buy,.ev-i.dep{background:var(--yes-bg);color:var(--yes)}
.ev-i.sell{background:var(--no-bg);color:var(--no)}
.ev-i.vote{background:var(--warn-bg);color:var(--warn)}

/* ---- portfolio ---- */
.ph{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.nv-h{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.nv-v{font-size:40px;font-weight:700;letter-spacing:-.035em;line-height:1.1;margin-top:4px}
.nv-d{font-size:14px;font-weight:550;margin-top:4px}
.nv-ch{margin-top:18px;min-height:260px}
.nv-s{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin:18px -20px -20px;}
.nv-s>div{padding:16px 20px;display:flex;flex-direction:column;gap:2px;border-left:1px solid var(--line)}
.nv-s>div:first-child{border-left:0}
.nv-s b{font-size:17px;font-weight:650;letter-spacing:-.01em}
.nv-s small{font-size:12px;font-weight:500}
.abar{display:flex;gap:2px;height:10px;border-radius:5px;overflow:hidden;margin-bottom:10px}
.abar i{min-width:3px}
.lg-k{display:inline-flex;align-items:center;gap:8px}
.lg-k i{width:8px;height:8px;border-radius:2px}
.kv b small{font-weight:500;margin-left:4px}
.tabp{margin-top:16px}
.tb-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tblc{overflow:hidden}
.mk{display:flex;align-items:center;gap:12px;min-width:0}
.mk>div{min-width:0}
.mk-t{display:block;font-weight:600;font-size:14px;white-space:normal;line-height:1.35;max-width:520px}
.mk-t:hover{text-decoration:underline;text-underline-offset:3px}
.mk-s{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:12.5px}
.av{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--press);color:var(--ink);font-weight:650;font-size:13.5px}
.chev{margin-left:auto;color:var(--mute);display:grid;transition:transform .2s}
.chev svg{width:16px;height:16px}
tr[aria-expanded="true"] .chev{transform:rotate(180deg)}
.mtbl td:first-child{width:36%}
.own-c{display:inline-flex;align-items:center;gap:10px}
.ob{width:80px;height:6px;border-radius:3px;background:var(--press);overflow:hidden;display:block}
.ob i{display:block;height:100%;background:var(--acc);border-radius:3px}
tr.lots td{background:var(--bg-sub);padding:6px 16px 10px 60px}
.lot{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);white-space:normal}
.lot:first-child{border-top:0}
.lot-t{flex:1;min-width:0;display:flex;flex-direction:column;text-align:left;line-height:1.4}
.lot-t b{font-weight:600}
.lot-t small{color:var(--mute);font-size:12.5px}
.lot-r{display:flex;align-items:center;gap:10px}
.dayh{font-size:12.5px;font-weight:600;color:var(--mute);margin:20px 2px 8px}
.dayh:first-child{margin-top:0}
.act{display:flex;align-items:center;gap:12px;padding:14px 16px;border-top:1px solid var(--line)}
.act:first-child{border-top:0}
a.act:hover{background:var(--hover)}
.act-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.4}
.act-t>span{font-size:14px}
.act-t>span b{font-weight:600}
.act-t small{color:var(--mute);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.act-r{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
.act-r b{font-weight:600}
.act-r small{font-size:12px}

@media (max-width:1100px){
  .feat{grid-template-columns:1fr;grid-template-areas:"l" "r" "f" "n";min-height:0}
  .ft-ch{min-height:240px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ot-h,.ot-r{grid-template-columns:minmax(0,1fr) 90px 200px}
}
@media (max-width:860px){
  .mobile-only{display:block;margin-top:24px}
  .hide-d{display:inline-flex}
  .hm{display:none!important}
  .sm-only,.tbl .sub.sm-only{display:block}
  .home-top{display:flex;flex-direction:column;gap:16px;align-items:stretch}
  .home-top>*{min-width:0}
  .vban{flex-wrap:wrap}
  .feat{padding:18px 16px 14px;gap:4px;grid-template-areas:"l" "r" "f" "n"}
  .m-only{display:block}
  .d-only{display:none}
  .vban{align-items:flex-start}
  .vb-t{flex:1 1 calc(100% - 50px)}
  .vban>.btn,.vban>.badge{margin-left:44px}
  .ft-t{font-size:21px;margin:8px 0 16px}
  .fbtn{height:48px;padding:0 14px;font-size:14.5px}
  .ft-st{gap:8px}
  .ft-ch{min-height:220px}
  .ft-nav{margin:8px -16px 0;padding:12px 16px 0}
  .ft-pn .btn .ell{display:none}
  .ft-pn .btn{width:36px;padding:0}
  .grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .mcard{min-height:0}
  .fc-v{font-size:28px}
  .dh{gap:12px}
  .mic.lg{width:48px;height:48px;border-radius:10px}
  .dh-a{display:none}
  .prob{margin-top:20px}
  .prob-v{font-size:30px}
  .dchart{min-height:240px}
  .ot-h{display:none}
  .ot-r{grid-template-columns:1fr;gap:10px;padding:14px 16px}
  .ot-n{justify-content:flex-start}
  .ot-pm{display:inline;margin-left:auto;font-weight:700;font-size:17px;font-variant-numeric:tabular-nums}
  .nv-v{font-size:32px}
  .nv-h{flex-direction:column;gap:12px}
  .nv-ch{min-height:200px}
  .nv-s{grid-template-columns:1fr 1fr;margin:16px -20px -20px}
  .nv-s>div{border-left:0;border-top:1px solid var(--line);padding:14px 20px}
  .nv-s>div:nth-child(even){border-left:1px solid var(--line)}
  .tbl td,.tbl th{padding:12px 14px}
  .mk-t{font-size:13.5px}
  tr.lots td{padding:4px 14px 8px}
  .lot{flex-wrap:wrap}
  .act{padding:12px 14px}
  .vgrid{grid-template-columns:1fr}
}
@media (max-width:860px){ .rail .nextup{display:none} }


/* ---- review round 2 ---- */
.ch-leg{position:absolute;left:0;top:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;font-weight:550;color:var(--ink-2);z-index:1;pointer-events:none}
.ch-leg span{display:inline-flex;align-items:center;gap:7px}
.ch-leg i{width:8px;height:8px;border-radius:50%}
.ch-leg b{color:var(--ink);font-weight:700}
.ft-ch,.dchart,.nv-ch,.fc-ch{position:relative}
.vrow{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);font-size:13.5px;white-space:nowrap;overflow:hidden}
.vrow b{font-weight:600}
.vrow .vr-t{color:var(--mute);overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
.vrow .link{font-size:13px;flex:none}
.gdot{width:7px;height:7px;border-radius:50%;background:var(--faint);flex:none}
.vlive{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px;color:var(--yes)}
.vlivecard .cd{color:var(--ink)}
.vote-strip .num{color:var(--ink)}
.pos-strip{display:flex;align-items:flex-start;gap:7px;padding:7px 10px;border-radius:8px;background:var(--acc-soft);font-size:12px;line-height:1.45;margin-top:-2px}
.pos-strip .own{margin-top:1px}
.pos-strip.closed{background:var(--bg-sub);color:var(--ink-2)}
.ps-t{min-width:0}
.ps-t b{font-weight:600}
.pbtn .nm{overflow:visible}
.mcard.ghost{border-style:dashed;box-shadow:none;background:transparent;justify-content:center;align-items:flex-start;gap:8px;color:var(--mute);font-size:13px;line-height:1.5}
.mcard.ghost b{color:var(--ink);font-size:14.5px;font-weight:600}
.mcard.is-closed .mic img{filter:grayscale(1);opacity:.75}
.fc-note{margin:14px 0 2px;font-size:12.5px;color:var(--mute)}
.kv.grey>span,.kv.grey>b{color:var(--mute);font-weight:500}
.nv-r{font-size:12.5px;color:var(--mute);margin-top:4px}
.nv-wait{margin-top:20px;padding:18px 20px;border-radius:10px;background:var(--bg-sub);display:flex;flex-direction:column;gap:6px;font-size:13.5px;color:var(--ink-2);line-height:1.55}
.sub2{display:block;font-size:12px;font-weight:500;color:var(--mute);text-align:right;margin-top:1px}
.pre{margin-top:12px;font-size:12px;color:var(--mute)}
.dtitle{font-size:32px;line-height:1.15;font-weight:600;letter-spacing:-.025em;max-width:720px;text-wrap:balance}
.dh-m span{white-space:nowrap}
.ft-pos1{display:none}
.hb{font-size:13px;font-variant-numeric:tabular-nums}
.ot-r{grid-template-columns:minmax(0,1fr) 140px 280px}
@media (max-width:860px){
  .home-top .rail{display:none}
  .mobile-only .fundc{margin-top:8px}
  .feat{padding:16px 16px 12px}
  .ft-t{font-size:20px;margin:6px 0 12px}
  .fbtn{height:44px}
  .ft-pos{display:none}
  .ft-pos1{display:flex;align-items:flex-start;gap:7px;margin-top:10px;padding:8px 10px;border-radius:8px;background:var(--acc-soft);font-size:12.5px;line-height:1.45}
  .ft-pos1 b{font-weight:600}
  .ft-ch{min-height:180px;margin-top:12px}
  .ft-f{padding-top:8px}
  .ft-nav{padding-top:10px;margin-top:6px}
  .home-top{gap:10px}
  .mk-sec{margin-top:20px}
  .chips.filt{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:24px}
  .vrow .vr-t{display:none}
  .vrow .link{margin-left:auto}
  .dtitle{font-size:24px}
  .ot-r{grid-template-columns:1fr}
}
.pos-strip{justify-content:flex-start;text-align:left}
.nm-s{display:none}
@media (max-width:1300px){ .fbtn .nm-l{display:none} .fbtn .nm-s{display:inline} }

/* round 3 */
.kv>b{text-align:right}
.dh-m{flex-direction:column;align-items:flex-start;gap:4px}
.dh-m .badge{margin-bottom:2px}
.dh-mt,.dh-mv{white-space:normal}
.ft-vote{margin-top:18px;padding:16px;border-radius:10px;background:var(--bg-sub);display:flex;flex-direction:column;gap:12px}
.fv-h{display:flex;justify-content:space-between;align-items:center}
.fv-h .cd{font-size:18px}
.cvote{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:12.5px;color:var(--mute);padding:8px 10px;border-radius:8px;background:var(--bg-sub)}
.cvote b{color:var(--ink);font-weight:600}
@media (max-width:860px){ .ft-vote{margin-top:12px;padding:12px} }
.dh-m .dh-mv span,.dh-m .dh-mt{white-space:normal}
.dh-t{min-width:0}

/* Löpön näkemys */
.lview{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;line-height:1.45;color:var(--ink-2)}
.lview .lv-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:0}
.lview .lv-l{color:var(--mute);font-weight:550}
.lv-pick{flex:none;display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:5px;background:var(--acc-soft);color:var(--acc);font-weight:650;font-size:11.5px;margin-top:-1px}
.lview.lv-none{color:var(--mute)}
.lv-dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--faint);margin-top:6px}
.ft-view{margin:-8px 0 16px;font-size:13.5px}
.lv-card{padding:22px 24px}
.lv-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.lv-title{font-size:12px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--acc)}
.lv-lead{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.012em;margin:10px 0 12px;text-wrap:pretty}
.lv-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.lv-tbl{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:18px}
.lv-th,.lv-r{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr) 110px 70px;align-items:center;gap:14px;padding:0 16px}
.lv-th{height:36px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--mute);background:var(--bg-sub)}
.lv-th span:nth-child(3),.lv-th span:nth-child(4){text-align:right}
.lv-lg{display:flex;align-items:center;gap:6px;text-transform:none;letter-spacing:0;font-size:11.5px;font-weight:550}
.lv-lg i{width:10px;height:4px;border-radius:2px;margin-left:6px}
.lv-lg i:first-child{margin-left:0}
.lv-r{min-height:56px;border-top:1px solid var(--line)}
.lv-r.pick{background:linear-gradient(90deg,var(--acc-soft),transparent 70%)}
.lv-n{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;min-width:0}
.lv-pk{font-size:11px;font-weight:600;color:var(--acc)}
.lv-bars{display:flex;flex-direction:column;gap:4px}
.lv-bar{display:block;height:6px;border-radius:3px;background:var(--press);overflow:hidden}
.lv-bar i,.lv-lg i{display:block;height:100%}
.lv-bar i.f,.lv-lg i.f{background:var(--acc)}
.lv-bar i.m,.lv-lg i.m{background:var(--chart-2)}
.lv-v{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}
.lv-v b{font-size:16px;font-weight:700}
.lv-v small{font-size:12px;color:var(--mute)}
.lv-e{text-align:right;font-weight:650;font-size:13.5px}
.lv-res{font-size:13px;color:var(--ink-2);margin:2px 0 14px;display:flex;gap:10px}
.lv-res span{flex:none;color:var(--mute);font-weight:550}
.lv-empty{display:flex;align-items:flex-start;gap:12px;padding:16px 20px}
.lv-empty div{display:flex;flex-direction:column;font-size:13.5px}
.lv-empty b{font-weight:600}
.lv-empty span{color:var(--mute)}
@media (max-width:860px){
  .lv-card{padding:18px 16px}
  .lv-lead{font-size:17px}
  .lv-th{display:none}
  .lv-th,.lv-r{grid-template-columns:minmax(0,1fr) 90px 56px;padding:10px 12px}
  .lv-bars{grid-column:1/-1;grid-row:2}
  .ft-view{margin:-4px 0 12px;font-size:13px}
}

/* Tulostaulu */
.lbt th.lb-i,.lbt td.lb-i{width:48px;text-align:left;color:var(--mute);font-weight:600;padding-right:0}
.lbt td:nth-child(2),.lbt th:nth-child(2){text-align:left}
.lbt td b{font-weight:600}
.lbt td:last-child b{font-size:15px;font-weight:650}
.lbt tr.out td{color:var(--mute)}
.lbt tr.out b{color:var(--mute);font-weight:500}
.lbt tr.out .av{background:transparent;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--mute)}
.lbt .link{font-size:13.5px}
@media (max-width:860px){ .lbt th.lb-i,.lbt td.lb-i{width:28px} }

.av{position:relative;overflow:hidden}
.av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}

.nv-ctl{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.nv-rng{font-size:13px;margin:4px 0 -4px}
.nv-rng b{font-weight:600}

.vav{display:inline-flex;margin-left:10px;vertical-align:middle}
.vav .av{width:22px;height:22px;font-size:10.5px;margin-left:-6px;box-shadow:0 0 0 2px var(--card)}
.vav .av:first-child{margin-left:0}
.vc-own{display:flex;align-items:center;gap:8px;margin:2px 0 10px;font-size:14px}
.vc-own .vav{margin-left:0}
.vc-own .vav .av{width:26px;height:26px}

/* home hero = fund performance (15.11) */
.navc.hero{margin-bottom:20px}
.navc.hero .nv-ch{min-height:280px}
.home-vote{margin-bottom:20px}
.nv-dep{margin-right:4px}
.home-top .rail .nextup>.card{height:100%}
@media (max-width:860px){ .navc.hero{margin-bottom:14px} .navc.hero .nv-ch{min-height:200px} .home-vote{margin-bottom:14px} .nv-ctl{justify-content:flex-start} .home-top .rail{display:none} }
