/* GRUMPY//NET v2 — Profile, Notifications, bell menu (Phase 3a), from the approved mockup */

/* big avatar zone: room for border, plushie companion, halo and effects */
.avz-lg{width:230px;height:200px}
.avz-lg .v2-av{width:104px;height:104px;top:52px;margin-left:-52px;font-size:46px;border-radius:22px;border-width:4px}

.pf-wait{padding-top:80px;padding-bottom:120px;text-align:center;color:var(--text-2);display:flex;flex-direction:column;align-items:center;gap:14px}
.pf-hero{border-bottom:1px solid var(--line);background:linear-gradient(90deg,rgba(10,7,4,.96),rgba(10,7,4,.78)),url(/v2/img/brick.jpg) center 35%/cover no-repeat}
.pf-row{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding-top:26px;padding-bottom:26px}
.pf-id{flex:1;min-width:300px;display:flex;flex-direction:column;gap:8px}
.pf-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pf-n{font:800 clamp(28px,3vw,40px)/1 var(--f-body)}
.pf-lv{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:15px;color:var(--text-2)}
.xp{width:min(420px,100%);height:14px;border-radius:7px;background:#1c1209;border:1px solid var(--line);overflow:hidden}
.xp span{display:block;height:100%;background:linear-gradient(90deg,var(--orange),var(--yellow));box-shadow:0 0 12px rgba(255,210,63,.5)}
.pf-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:13.5px;color:var(--dim)}
.pf-meta .on{color:var(--green-ok);font-weight:700}
.pf-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.pf-btns .btn{height:46px}
.pf-chips{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:10px;min-width:min(420px,100%)}
.pchip{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:12px;background:rgba(21,13,6,.9);border:1px solid var(--line)}
.pchip span{font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--dim);text-transform:uppercase}
.pchip b{font:400 30px/1 var(--f-num);color:var(--yellow)}
.pchip i{font-style:normal;font-size:12px;color:var(--dim)}

.pf-main{padding-top:24px;padding-bottom:60px;display:flex;flex-direction:column;gap:22px}
.shelf-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.shelf-h h2{font-size:24px}
.tshelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.trophy{position:relative;display:flex;align-items:center;gap:18px;padding:20px 20px 26px;border-radius:16px;background:linear-gradient(160deg,#2e1a08,var(--card) 60%);border:1px solid #6a3a0c;min-height:150px;overflow:hidden;color:var(--text)}
a.trophy:hover{border-color:var(--orange);color:#fff}
.trophy::after{content:'';position:absolute;left:0;right:0;bottom:0;height:10px;background:linear-gradient(180deg,#5a3612,#2a180a);border-top:1px solid #8a5a22}
.t-art{flex:none;width:96px;height:96px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:54px;background:#1c1209;border:1px solid #5a3612;box-shadow:0 0 24px rgba(255,210,63,.18)}
.t-art img{width:80px;height:80px;object-fit:contain}
.t-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.t-k{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--yellow);text-transform:uppercase}
.t-txt b{font-size:19px}
.t-s{font-size:13px;color:var(--dim)}
.t-v{font:400 30px/1 var(--f-num);color:var(--yellow)}
.trophy.empty{justify-content:center;border-style:dashed;background:#120a05;color:var(--dim);font-weight:700}

.pf-cols{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:22px;align-items:start}
.pf-side{display:flex;flex-direction:column;gap:18px}
.tl{padding:20px 22px}
.tl-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.tl-top h2{font-size:22px}
.tl-f{display:flex;gap:6px;flex-wrap:wrap}
.tl-day{margin:16px 0 6px;font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--dim);text-transform:uppercase}
.tl-i{display:flex;align-items:center;gap:14px;padding:10px 0 10px 4px;border-bottom:1px solid #24160a;color:var(--text)}
a.tl-i:hover{background:#1c1209;color:#fff}
.tl-ic{flex:none;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;background:#1c1209;border:1px solid var(--line)}
.tl-ic.gold{background:#3d2a05;border-color:#7a5a12}.tl-ic.red{background:#2a0f0f;border-color:#5a1f1f}.tl-ic.teal{background:#0e2e2a;border-color:#1f5a52}.tl-ic.blue{background:#0e2440;border-color:#2b5c99}
.tl-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tl-t b{font-size:15px}.tl-t span{font-size:13px;color:var(--dim)}
.tl-w{flex:none;font-size:12.5px;color:var(--dim)}
.tl-more{display:block;margin:14px auto 0}
.tl-empty{padding:20px 0}
.tl-note{font-size:12.5px;margin-top:10px}

.rcard{padding:20px 22px;display:flex;flex-direction:column;gap:12px}
.rcard h3{font-size:20px}
.more-l{font-weight:700;font-size:14px}
.nemesis{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:linear-gradient(90deg,#2a0f0f,var(--card));border:1px solid #5a1f1f;color:var(--text)}
.nemesis:hover{border-color:#a33;color:#fff}
.nem-t{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.nem-t .k{font-size:11px;font-weight:800;letter-spacing:.08em;color:#ff9b9b}
.nem-t span{font-size:13px;color:var(--text-2)}
.nem-btn{height:42px}
.rivals{display:flex;flex-direction:column}
.riv{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 2px;border-bottom:1px solid #24160a;font-size:14px;color:var(--text)}
.riv:hover{color:#fff;background:#1c1209}
.riv .rec{font:400 22px var(--f-num)}.riv .rec .w{color:var(--green-ok)}.riv .rec .l{color:#ff8a8a}
.bestb{display:flex;flex-direction:column;gap:6px}
.bestb a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#0f0905;border:1px solid #24160a;color:var(--text);font-size:14px}
.bestb a:hover{border-color:var(--orange)}
.bestb .n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bestb .vt{font-size:20px;color:var(--yellow);white-space:nowrap}
.bestb .rk{width:28px;height:28px;font-size:13px}
.vs-card{border-color:#5a1f1f;background:linear-gradient(160deg,#2a0f0f,var(--card) 60%)}
.h2h-rows{display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.h2h-rows span{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:#0f0905;border:1px solid #24160a}
.h2h-rows .win{color:var(--green-ok)}.h2h-rows .lose{color:#ff8a8a}
.gridst{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.gridst span{display:flex;flex-direction:column;align-items:center;padding:10px 4px;border-radius:10px;background:#0f0905;border:1px solid var(--line);font-size:12px;color:var(--dim);text-align:center}
.gridst b{font:400 28px/1 var(--f-num);color:var(--yellow)}

/* trophy shelf picker */
.pkdlg{width:min(760px,calc(100vw - 24px));background:linear-gradient(160deg,#24150a,#150d06 60%);border-color:var(--orange)}
.pk{display:flex;flex-direction:column;gap:14px;padding:22px 24px}
.pk-h{display:flex;justify-content:space-between;align-items:center}.pk-h h2{font-size:24px}
.pk-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pk-slot{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:#0f0905;border:2px solid var(--orange);font-size:14px;font-weight:700;min-width:0}
.pk-sl{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pk-slot.free{border-style:dashed;border-color:#5a3612;color:var(--dim);font-weight:500}
.pk-tabs{display:flex;gap:6px;flex-wrap:wrap}
.pk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;max-height:320px;overflow:auto;padding:2px}
.pk-it{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border-radius:12px;background:#0f0905;border:1px solid var(--line);font-size:13px;text-align:center;cursor:pointer;color:var(--text)}
.pk-it:hover:not(:disabled){border-color:var(--orange)}
.pk-it:disabled{opacity:.45;cursor:default}
.pk-it .e{font-size:34px;height:44px;display:flex;align-items:center}.pk-it .e img{width:44px;height:44px;object-fit:contain}
.pk-it.sel{border:2px solid var(--orange);background:#24150a}
.pk-it .r{font-size:11px;color:var(--dim)}
.pk-none{grid-column:1/-1;padding:20px}
.pk-foot{display:flex;justify-content:flex-end;align-items:center;gap:10px}
.pk-msg{margin-right:auto;font-size:13px}

/* notifications page */
.nt-top{padding-top:28px;padding-bottom:18px}
.nt-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.nt-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}
.nt-tabs .n{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;border-radius:9px;background:var(--ember);color:#1a0d02;font-size:11px;font-weight:800}
.nt-main{padding-top:24px;padding-bottom:60px}
.nt-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.nt-list{padding:8px 22px 20px}
.nt-side{display:flex;flex-direction:column;gap:18px}
.nt-i{display:flex;align-items:center;gap:14px;padding:12px 6px;border-bottom:1px solid #24160a;color:var(--text);border-radius:10px}
a.nt-i:hover{background:#1c1209;color:#fff}
.nt-i.is-new{background:linear-gradient(90deg,rgba(255,138,43,.08),transparent 50%)}
.nt-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--ember)}
.nt-dot.read{background:transparent}
.nt-act{flex:none}
.side-c{padding:20px 22px;display:flex;flex-direction:column;gap:10px}
.side-c h3{font-size:19px}
.side-c p{font-size:14px;line-height:1.55;color:var(--text-2)}

/* bell menu (header) */
.bell-wrap{position:relative}
.bell-n{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--ember);color:#1a0d02;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.bell-dd{position:absolute;right:-60px;top:56px;z-index:45;width:min(420px,calc(100vw - 24px));padding:10px;border-radius:16px;background:#1c1209;border:1px solid #5a3612;box-shadow:0 20px 50px rgba(0,0,0,.7);display:flex;flex-direction:column;gap:2px}
.dd-h{display:flex;justify-content:space-between;align-items:center;padding:4px 6px 8px;border-bottom:1px solid var(--line)}
.dd-h b{font-size:16px}
.dd-list{display:flex;flex-direction:column;max-height:420px;overflow-y:auto}
.bell-dd .nt-i{padding:8px 6px;border-bottom:0;font-size:14px}
.bell-dd .tl-ic{width:38px;height:38px;font-size:18px}
.bell-dd .tl-t b{font-size:13.5px;font-weight:700}
.dd-empty{padding:16px 6px}
.dd-f{display:flex;justify-content:space-between;align-items:center;padding:8px 6px 2px;font-weight:700;font-size:14px;border-top:1px solid var(--line)}
.dd-f .muted{font-weight:500;font-size:12px}

@media (max-width:1100px){
  .pf-cols,.nt-grid{grid-template-columns:minmax(0,1fr)}
  .tshelf{grid-template-columns:minmax(0,1fr)}
  .trophy{min-height:0}
}
@media (max-width:760px){
  .pf-row{flex-direction:column;align-items:center;text-align:center;gap:10px}
  .avz-lg{width:200px;height:174px}
  .avz-lg .v2-av{width:92px;height:92px;top:44px;margin-left:-46px}
  .pf-id{min-width:0;align-items:center}
  .pf-name,.pf-lv,.pf-meta{justify-content:center}
  .pf-btns{width:100%}.pf-btns .btn{flex:1;padding:0 8px;font-size:14px}
  .pf-chips{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0}
  .pchip{padding:8px}.pchip b{font-size:22px}
  .t-art{width:70px;height:70px;font-size:38px}.t-art img{width:58px;height:58px}
  .tl,.nt-list{padding-left:14px;padding-right:14px}
  .nt-act{display:none}
  .pk-slots{grid-template-columns:minmax(0,1fr)}
  .bell-dd{position:fixed;left:12px;right:12px;top:70px;width:auto}
}
/* 0.23.0: picture icons (Coin Collector) on the shelf + picker */
.t-ach img,.pk-ai img,.pk-si img{width:1em;height:1em;object-fit:contain;vertical-align:middle}
.pk-ai{display:inline-flex;align-items:center;justify-content:center;line-height:1}
/* 0.23.0 Timeline B (Dan, PO11-TimelineB): one short line each, 12 lines a page, same-day bursts folded */
.tlx .tl-day{margin:10px 0 3px}
.tlx .tl-i{gap:10px;padding:5px 6px;border-bottom:0;border-radius:9px}
.tlx a.tl-i:hover{background:#21160d}
.tlx .tl-ic{width:30px;height:30px;border-radius:8px;font-size:15px}
.tlx-t{flex-direction:row;align-items:baseline;gap:8px;white-space:nowrap;overflow:hidden}
.tlx-t b{font-size:13.5px;flex:none;max-width:70%;overflow:hidden;text-overflow:ellipsis}
.tlx-t span{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tlx .tl-w{font-size:12px;white-space:nowrap}
.tlx-grp{border:1px solid var(--line);background:#1d130b;margin:2px 0}
.tlx-grp .tlx-t b{color:var(--yellow)}
.tlx-ex{margin-left:8px;padding:0;border:0;background:none;color:var(--orange);font:700 12px var(--f-body);cursor:pointer}
.tlx-open{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 6px 44px;padding:4px 0 4px 10px;border-left:2px solid var(--line)}
.tlx-open a,.tlx-open span{font:600 11.5px var(--f-body);background:#24170d;border:1px solid #3a2410;border-radius:999px;padding:3px 9px;color:var(--text)}
.tlx-open i{font-style:normal;color:var(--dim);font-weight:500}
.tlx-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #24160a}
.tlx-pager .muted{font-size:12.5px}
@media (max-width:600px){.tlx-t{flex-direction:column;align-items:flex-start;gap:1px;white-space:normal}.tlx-t b{max-width:100%}.tlx-open{margin-left:10px}}
.pf-lock p{max-width:440px;line-height:1.5}.pf-lockb{display:flex;gap:10px}
