:root{ --wood:#6b4a2b; --wood2:#4e3620; --parch:#f4e8cf; --line:#e2d2ac; --ink:#3a2c1a; }
*{ box-sizing:border-box; }
html,body{ margin:0; height:100%; overflow:hidden; font-family:system-ui,Segoe UI,Roboto,sans-serif; background:#111; color:#eee; }
#app{ position:fixed; inset:0; }
#app canvas{ display:block; }
#fx{ position:fixed; inset:0; pointer-events:none; z-index:20; }
.splat{ position:absolute; transform:translate(-50%,-50%); font-weight:800; font-size:15px; text-shadow:0 1px 2px #000; animation:rise .9s ease-out forwards; }
@keyframes rise{ to{ transform:translate(-50%,-160%); opacity:0; } }

/* ---- OSRS-style overlay: hitsplats + overhead HP bars ---- */
#overlay{ position:fixed; inset:0; pointer-events:none; z-index:21; }
.hs{ position:absolute; transform:translate(-50%,-50%); min-width:20px; height:20px; padding:0 3px;
  border-radius:5px; color:#fff; font-weight:800; font-size:13px; line-height:20px; text-align:center;
  box-shadow:0 1px 3px rgba(0,0,0,.6); animation:hsplat .7s ease-out forwards; }
.hs.dmg{ background:#c81e1e; } .hs.zero{ background:#3a6fd8; } .hs.heal{ background:#2fa84f; }
@keyframes hsplat{ 0%{ transform:translate(-50%,-40%) scale(.6);} 15%{ transform:translate(-50%,-50%) scale(1);} 100%{ transform:translate(-50%,-95%) scale(1); opacity:0; } }
.hpbar{ position:absolute; transform:translate(-50%,-50%); width:44px; height:6px; background:#5a0d0d; border:1px solid #000; border-radius:2px; overflow:hidden; }
.hpbar i{ display:block; height:100%; background:#37c837; }

/* ---- XP drop feed (yellow numbers flying up, right side) ---- */
#xpfeed{ position:fixed; top:120px; left:50%; transform:translateX(120px); z-index:22; pointer-events:none; width:150px; }
.xpd{ font-weight:800; font-size:15px; color:#ffe36a; text-shadow:0 1px 2px #000,0 0 4px rgba(0,0,0,.5); text-align:center; animation:xpfly 1.4s ease-out forwards; }
@keyframes xpfly{ 0%{ transform:translateY(6px); opacity:0; } 12%{ opacity:1; } 100%{ transform:translateY(-34px); opacity:0; } }

/* ---- minimap ---- */
#mapwrap{ position:fixed; top:12px; right:262px; z-index:12; width:150px; height:150px; }
#minimap{ width:150px; height:150px; border-radius:50%; border:3px solid #2a1c10; box-shadow:0 3px 10px rgba(0,0,0,.5); background:#3a5a30; }
#compass{ position:absolute; top:-6px; left:50%; transform:translateX(-50%); width:22px; height:22px; border-radius:50%;
  background:#2a1c10; color:#ffcf6a; font:700 13px Georgia,serif; text-align:center; line-height:22px; border:2px solid #6b4a2b; }

/* ---- tooltip (hover) ---- */
#tooltip{ position:fixed; z-index:41; pointer-events:none; display:none; background:rgba(20,14,8,.92); color:#ffe9b0;
  border:1px solid #6b4a2b; border-radius:4px; padding:3px 8px; font-size:13px; font-weight:600; text-shadow:0 1px 1px #000; white-space:nowrap; }
#tooltip b{ color:#8fd3ff; }

/* ---- run orb ---- */
#runorb{ position:fixed; bottom:50px; left:16px; z-index:10; width:150px; height:26px; border-radius:14px; cursor:pointer;
  background:#10201a; border:2px solid var(--wood); overflow:hidden; display:flex; align-items:center; justify-content:center; }
#runorb.off{ filter:grayscale(.85) brightness(.7); }
#runfill{ position:absolute; left:0; top:0; bottom:0; width:100%; background:linear-gradient(#8ad46a,#4e9e34); transition:width .2s; }
#runorb span{ position:relative; font-weight:700; font-size:13px; color:#fff; text-shadow:0 1px 2px #000; }
#prayorb{ position:fixed; bottom:84px; left:16px; z-index:10; width:150px; height:26px; border-radius:14px;
  background:#101a24; border:2px solid var(--wood); overflow:hidden; display:flex; align-items:center; justify-content:center; }
#prayfill{ position:absolute; left:0; top:0; bottom:0; width:100%; background:linear-gradient(#8fd0ff,#3a86c8); transition:width .2s; }
#prayorb span{ position:relative; font-weight:700; font-size:13px; color:#fff; text-shadow:0 1px 2px #000; }
#specorb{ position:fixed; bottom:118px; left:16px; z-index:10; width:150px; height:26px; border-radius:14px; cursor:pointer;
  background:#241a10; border:2px solid var(--wood); overflow:hidden; display:flex; align-items:center; justify-content:center; }
#specorb.off{ filter:grayscale(.9) brightness(.6); cursor:default; }
#specorb.armed{ border-color:#ffcf6a; box-shadow:0 0 10px #ffcf6a, inset 0 0 0 1px #ffcf6a; }
#specfill{ position:absolute; left:0; top:0; bottom:0; width:100%; background:linear-gradient(#ffd76a,#e08a2a); transition:width .2s; }
#specorb span{ position:relative; font-weight:700; font-size:13px; color:#fff; text-shadow:0 1px 2px #000; }

/* ---- OSRS tabbed panel ---- */
#panel{ padding-top:6px; }
#tabbtns{ display:grid; grid-template-columns:repeat(6,1fr); gap:3px; margin-bottom:8px; border-bottom:2px solid var(--wood); padding-bottom:6px; }
.tb{ font-size:17px; line-height:1; padding:6px 0; border:1px solid var(--line); border-radius:6px; background:#efe4c8; cursor:pointer; }
.tb:hover{ background:#fff3cf; }
.tb.active{ background:var(--wood); border-color:var(--wood2); box-shadow:inset 0 0 0 2px #ffcf6a; }
.tabpane{ display:none; }
.tabpane.active{ display:block; }

/* combat tab */
#combat .wep{ background:#fffaf0; border:1px solid var(--line); border-radius:6px; padding:8px 10px; font-size:13px; margin-bottom:8px; }
.styleopt{ display:flex; align-items:center; gap:8px; background:#fffaf0; border:1px solid var(--line); border-left:4px solid transparent; border-radius:6px; padding:8px 10px; margin-bottom:5px; cursor:pointer; font-size:13px; }
.styleopt:hover{ background:#fff3cf; }
.styleopt.on{ border-left-color:#8a3b2e; background:#fff3cf; font-weight:700; }
.styleopt .sx{ font-size:16px; }
#runbtn{ width:100%; margin-top:8px; padding:9px; border:none; border-radius:6px; background:#4e9e34; color:#fff; font-weight:700; font-size:14px; cursor:pointer; }
#runbtn.walk{ background:#8a6db0; }

/* general store */
.shopbox{ max-width:420px; }
.shead{ display:flex; justify-content:space-between; align-items:center; font-family:Georgia,serif; font-size:18px; color:var(--wood2); border-bottom:2px solid var(--line); padding-bottom:8px; margin-bottom:12px; }
.shopgrid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.sitem{ display:flex; align-items:center; gap:8px; background:#fffaf0; border:1px solid var(--line); border-radius:8px; padding:8px 10px; }
.sitem .se{ font-size:22px; }
.sitem .si{ flex:1; min-width:0; } .sitem .si .snm{ font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .sitem .si .spr{ font-size:12px; color:#b8860b; font-weight:700; }
.sitem button{ background:var(--wood); color:#f6ecd6; border:none; border-radius:6px; padding:5px 10px; font-size:12px; font-weight:700; cursor:pointer; }
.sitem button:disabled{ opacity:.4; cursor:not-allowed; }
.sitem.locked{ opacity:.5; }

/* prayer + magic lists */
.plist{ display:flex; flex-direction:column; gap:4px; }
.prow{ display:flex; align-items:center; gap:8px; background:#fffaf0; border:1px solid var(--line); border-left:4px solid transparent; border-radius:6px; padding:7px 9px; cursor:pointer; font-size:12.5px; }
.prow:hover{ background:#fff3cf; }
.prow.on{ border-left-color:#3a86c8; background:#eaf4ff; }
.prow.mon{ border-left-color:#8a3bc8; background:#f2eaff; }
.prow.locked{ opacity:.42; cursor:not-allowed; }
.prow .pn{ flex:1; }
.prow .pn b{ color:var(--wood2); }
.prow .pd{ font-size:11px; opacity:.75; }
.prow .plv{ font-size:11px; font-weight:700; color:#8a3b2e; }

#brand{ position:fixed; top:12px; left:16px; z-index:10; font-family:Georgia,serif; font-size:24px; font-weight:700; color:#fff; text-shadow:0 2px 4px rgba(0,0,0,.6); }
#brand span{ color:#ffcf6a; }
#help{ position:fixed; top:44px; left:16px; z-index:10; font-size:12px; color:#e8e8e8; opacity:.8; text-shadow:0 1px 2px #000; }

#hporb{ position:fixed; bottom:16px; left:16px; z-index:10; width:150px; height:26px; border-radius:14px;
  background:#2a1c10; border:2px solid var(--wood); overflow:hidden; display:flex; align-items:center; justify-content:center; }
#hpfill{ position:absolute; left:0; top:0; bottom:0; width:100%; background:linear-gradient(#e05555,#b83030); transition:width .2s; }
#hporb span{ position:relative; font-weight:700; font-size:13px; color:#fff; text-shadow:0 1px 2px #000; }

#log{ position:fixed; bottom:16px; left:180px; z-index:10; width:min(46vw,520px); max-height:120px; overflow-y:auto;
  background:rgba(20,14,8,.72); border:1px solid #000; border-radius:6px; padding:6px 10px; font-size:13px; line-height:1.5; color:#e8dcc2; }

#panel{ position:fixed; top:0; right:0; z-index:10; width:250px; height:100%; overflow-y:auto;
  background:var(--parch); background-image:linear-gradient(var(--line) 1px,transparent 1px); background-size:100% 24px;
  border-left:4px solid var(--wood); color:var(--ink); padding:12px; }
.phead{ display:flex; justify-content:space-between; align-items:center; font-family:Georgia,serif; color:var(--wood2);
  border-bottom:2px solid var(--line); padding:10px 0 5px; margin-top:6px; font-size:15px; }
.phead span{ font-size:12px; font-weight:600; }
#reset{ background:#8a3b2e; color:#fff; border:none; border-radius:5px; padding:3px 9px; font-size:11px; cursor:pointer; }

.skills{ display:grid; grid-template-columns:1fr 1fr; gap:5px; margin-top:6px; }
.sk{ position:relative; display:flex; align-items:center; gap:4px; background:#fffaf0; border:1px solid var(--line); border-radius:6px; padding:4px 6px; font-size:12px; overflow:hidden; }
.sk .e{ font-size:13px; } .sk .n{ flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sk .l{ font-weight:700; color:var(--wood2); }
.sk i{ position:absolute; left:0; bottom:0; height:3px; }

.grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:5px; margin-top:6px; }
.grid.equip{ grid-template-columns:repeat(3,1fr); max-width:200px; margin-left:auto; margin-right:auto; }
.cell{ position:relative; aspect-ratio:1; background:#fffaf0; border:1px solid var(--line); border-radius:6px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.cell.empty{ background:#efe4c8; cursor:default; }
.cell.spacer{ background:transparent; border:none; cursor:default; }
#equipbonus{ margin-top:10px; border-top:2px solid var(--wood); padding-top:8px; }
#equipbonus .bhead{ font-weight:700; color:var(--wood2); font-size:12px; margin-bottom:4px; }
#equipbonus .brow{ display:flex; justify-content:space-between; font-size:12px; padding:2px 4px; border-bottom:1px dashed var(--line); }
#equipbonus .brow b{ color:#3a7d34; }
.cell .ie{ font-size:20px; }
.cell .q{ position:absolute; right:2px; bottom:1px; font-size:10px; font-weight:700; color:#2a6; text-shadow:0 1px 0 #fff; }

.dialog{ position:fixed; inset:0; z-index:30; background:rgba(0,0,0,.45); display:none; align-items:center; justify-content:center; }
.dialog.show{ display:flex; }
.dialog .box{ background:var(--parch); border:5px solid var(--wood); border-radius:12px; max-width:460px; width:90%; padding:20px; color:var(--ink); max-height:92vh; overflow-y:auto; }
/* keep item lists scrollable so the header X + footer buttons are always reachable even with a full inventory */
.shopgrid{ max-height:56vh; overflow-y:auto; }
.sright{ display:flex; align-items:center; gap:12px; }
.xbtn{ cursor:pointer; font-size:20px; line-height:1; color:var(--wood2); user-select:none; }
.xbtn:hover{ color:#b23; }
.dialog .who{ font-family:Georgia,serif; font-weight:700; font-size:18px; color:var(--wood2); margin-bottom:8px; }
.dialog .text{ white-space:pre-wrap; font-size:15px; line-height:1.55; }
.dialog .opts{ display:flex; flex-direction:column; gap:8px; margin-top:14px; }
.dialog .opt{ background:#fffaf0; color:var(--ink); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:6px; padding:10px 12px; font-size:14px; cursor:pointer; text-align:left; }
.dialog .opt:hover{ background:#fff3cf; }
.dialog button{ margin-top:16px; background:var(--wood); color:#f6ecd6; border:none; border-radius:6px; padding:9px 18px; cursor:pointer; }

.ctx{ position:fixed; z-index:40; min-width:150px; background:var(--parch); border:2px solid var(--wood); border-radius:6px; overflow:hidden; box-shadow:0 6px 20px rgba(0,0,0,.5); display:none; }
.ctx.show{ display:block; }
.ctx .ci{ padding:7px 12px; font-size:13px; color:var(--ink); cursor:pointer; border-bottom:1px solid var(--line); }
.ctx .ci:last-child{ border-bottom:none; }
.ctx .ci:hover{ background:#fff3cf; }
.ctx .ci b{ color:var(--wood2); }

.usebanner{ position:fixed; top:12px; left:50%; transform:translateX(-50%); z-index:15; background:rgba(30,20,10,.92); color:#ffe9b0; border:1px solid var(--accent); border-radius:20px; padding:7px 16px; font-size:14px; font-weight:600; display:none; }
.usebanner.show{ display:block; }

#quest{ position:fixed; top:70px; left:16px; z-index:10; width:230px; }
#quest .qt{ background:rgba(20,14,8,.72); border-left:4px solid var(--accent); border-radius:6px; padding:7px 10px; margin-bottom:6px; color:#e8dcc2; }
#quest .qt-n{ font-family:Georgia,serif; font-weight:700; font-size:13px; color:#ffcf6a; }
#quest .qt-n span{ font-weight:400; font-size:11px; opacity:.8; }
#quest .qt-s{ font-size:12px; margin-top:3px; line-height:1.35; }

/* ===================== MULTIPLAYER ===================== */
/* auth modal */
.mp-authov{ position:fixed; inset:0; z-index:200; background:radial-gradient(circle at 50% 30%,#2a1c10,#0c0803 80%); display:flex; align-items:center; justify-content:center; }
.mp-auth{ width:320px; max-width:92vw; background:linear-gradient(#f7ecd4,#eaddbc); color:var(--ink); border:3px solid #2a1c10; border-radius:14px; box-shadow:0 12px 40px rgba(0,0,0,.6); padding:22px 22px 18px; text-align:center; }
.mp-authtitle{ font:800 22px Georgia,serif; color:#5a3d1c; letter-spacing:.5px; }
.mp-authsub{ font-size:12.5px; color:#7a5f38; margin:2px 0 14px; }
.mp-tabs{ display:flex; gap:6px; margin-bottom:12px; }
.mp-tab{ flex:1; padding:7px 0; border:2px solid #c9b083; background:#efe2c4; color:#6b4a2b; font-weight:700; border-radius:8px; cursor:pointer; }
.mp-tab.active{ background:#6b4a2b; color:#fff; border-color:#5a3d1c; }
.mp-in{ width:100%; padding:10px 12px; margin-bottom:9px; border:2px solid #c9b083; border-radius:8px; background:#fffdf6; color:var(--ink); font-size:14px; }
.mp-in:focus{ outline:none; border-color:#6b4a2b; }
.mp-err{ color:#b0301f; font-size:12.5px; min-height:16px; margin-bottom:6px; font-weight:600; }
.mp-go{ width:100%; padding:11px 0; border:none; border-radius:9px; background:linear-gradient(#8a5a2b,#6b4a2b); color:#fff; font-weight:800; font-size:15px; cursor:pointer; }
.mp-go:hover{ filter:brightness(1.08); } .mp-go:disabled{ opacity:.6; cursor:default; }
.mp-guest{ margin-top:11px; font-size:12px; color:#7a5f38; } .mp-guest a{ color:#6b4a2b; }

/* nametags + chat bubbles (world overlay) */
#mpnames{ position:fixed; inset:0; pointer-events:none; z-index:23; }
.mp-tag{ position:absolute; transform:translate(-50%,-50%); font:700 12px system-ui; color:#ffe9b0; text-shadow:0 1px 2px #000,0 0 3px #000; white-space:nowrap; }
.mp-bub{ position:absolute; transform:translate(-50%,-100%); max-width:180px; background:rgba(20,14,8,.92); color:#fff; font-size:12px; padding:4px 8px; border-radius:8px; border:1px solid #6b4a2b; white-space:normal; text-align:center; }

/* social + chat panel (bottom-left, above orbs area) */
.mp-social{ position:fixed; left:16px; bottom:120px; z-index:30; width:230px; background:linear-gradient(#2c1e10,#20150a); border:2px solid var(--wood); border-radius:10px; color:#f4e8cf; box-shadow:0 4px 14px rgba(0,0,0,.5); font-size:13px; }
.mp-shead{ display:flex; align-items:center; justify-content:space-between; padding:6px 10px; border-bottom:1px solid #4e3620; }
.mp-status{ font-weight:700; color:#8ad46a; font-size:12px; }
.mp-toggle{ background:none; border:none; color:#c9b083; cursor:pointer; font-size:14px; }
.mp-online{ padding:6px 10px; border-bottom:1px solid #4e3620; }
.mp-lbl{ font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:#c9a86a; margin-bottom:3px; }
.mp-list{ max-height:96px; overflow:auto; }
.mp-prow{ display:flex; align-items:center; justify-content:space-between; padding:2px 0; }
.mp-pn{ color:#ffe9b0; }
.mp-tbtn{ background:#6b4a2b; border:1px solid #8a5a2b; color:#fff; font-size:11px; padding:2px 8px; border-radius:6px; cursor:pointer; }
.mp-tbtn:hover{ filter:brightness(1.12); }
.mp-empty{ color:#9c8a6a; font-size:12px; font-style:italic; }
.mp-chatlog{ height:110px; overflow:auto; padding:6px 10px; line-height:1.35; }
.mp-cl{ margin:1px 0; word-wrap:break-word; } .mp-cl.sys{ color:#c9a86a; font-style:italic; font-size:12px; } .mp-cl b{ color:#8fd3ff; }
.mp-chatrow{ display:flex; gap:5px; padding:6px 8px; border-top:1px solid #4e3620; }
.mp-chatin{ flex:1; min-width:0; padding:5px 7px; border:1px solid #4e3620; border-radius:6px; background:#fffdf6; color:#3a2c1a; font-size:12.5px; }
.mp-chatin:focus{ outline:none; }
.mp-csend{ background:#6b4a2b; border:none; color:#fff; padding:5px 9px; border-radius:6px; cursor:pointer; font-size:12px; }

/* trade request toast */
.mp-req{ position:fixed; top:80px; left:50%; transform:translateX(-50%); z-index:60; background:linear-gradient(#2c1e10,#20150a); border:2px solid var(--wood); color:#f4e8cf; padding:10px 14px; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,.5); font-size:14px; }
.mp-req button{ margin-left:6px; border:none; border-radius:6px; padding:4px 10px; cursor:pointer; font-weight:700; }
.mp-req .mp-yes{ background:#4e9e34; color:#fff; } .mp-req .mp-no{ background:#8a3a2b; color:#fff; }

/* trade window */
.mp-trade{ position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:70; width:440px; max-width:94vw; background:linear-gradient(#f7ecd4,#eaddbc); color:var(--ink); border:3px solid #2a1c10; border-radius:12px; box-shadow:0 12px 40px rgba(0,0,0,.6); padding:14px 16px; }
.mp-th{ font:700 16px Georgia,serif; color:#5a3d1c; text-align:center; margin-bottom:8px; }
.mp-tcols{ display:flex; gap:10px; }
.mp-tcol{ flex:1; }
.mp-tlbl{ font-size:11px; text-transform:uppercase; letter-spacing:.4px; color:#7a5f38; margin:8px 0 4px; }
.mp-tlbl .ok{ color:#2f7d2f; font-weight:800; }
.mp-toff,.mp-tinv{ min-height:52px; display:flex; flex-wrap:wrap; gap:4px; padding:5px; background:#fffdf6; border:2px solid #c9b083; border-radius:8px; }
.mp-tinv{ min-height:60px; max-height:132px; overflow:auto; }
.mp-tcell{ position:relative; width:36px; height:36px; display:flex; align-items:center; justify-content:center; background:#efe2c4; border:1px solid #c9b083; border-radius:6px; cursor:pointer; font-size:18px; }
.mp-tcell.theirs{ cursor:default; } .mp-tcell:hover{ border-color:#6b4a2b; }
.mp-tcell .q{ position:absolute; right:1px; bottom:0; font-size:10px; font-weight:800; color:#2a1c10; text-shadow:0 0 2px #fff; }
.mp-tbtns{ display:flex; gap:8px; margin-top:12px; }
.mp-tbtns .mp-go{ flex:2; padding:9px 0; }
.mp-cancel{ flex:1; background:#8a3a2b; color:#fff; border:none; border-radius:9px; font-weight:800; cursor:pointer; }

/* ---- Torah learning modal (lessons + quiz + Tehillim) ---- */
.lessonbox{ max-width:500px; }
#lessonBody .lhead{ font-family:Georgia,serif; font-weight:700; font-size:20px; color:var(--wood2); display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:6px; }
.llvl{ font-size:12px; font-weight:600; background:var(--wood); color:#f6ecd6; border-radius:20px; padding:3px 10px; white-space:nowrap; }
.lsub{ font-size:13px; opacity:.75; margin-bottom:12px; }
.lsrc{ font-size:12px; color:var(--wood2); opacity:.8; margin-bottom:10px; }
.llist{ display:flex; flex-direction:column; gap:8px; margin-bottom:6px; }
.lrow{ display:flex; justify-content:space-between; align-items:center; gap:10px; background:#fffaf0; border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:7px; padding:11px 13px; cursor:pointer; }
.lrow:hover{ background:#fff3cf; }
.lrow.locked{ opacity:.5; cursor:not-allowed; border-left-color:#9a9a9a; }
.lt b{ font-size:15px; } .ls{ font-size:11px; opacity:.7; margin-top:2px; }
.lstat{ font-size:12px; font-weight:600; white-space:nowrap; }
.lhe{ font-size:30px; line-height:1.7; text-align:center; color:var(--ink); margin:6px 0 4px; font-family:'Times New Roman',serif; }
.ltl{ font-size:14px; font-style:italic; text-align:center; opacity:.8; margin-bottom:4px; }
.len{ font-size:15px; text-align:center; color:var(--wood2); margin-bottom:12px; }
.lteach{ font-size:14.5px; line-height:1.6; background:#fffaf0; border:1px solid var(--line); border-radius:8px; padding:12px 14px; margin-bottom:6px; }
.lqn{ font-size:12px; font-weight:600; opacity:.7; margin-bottom:6px; }
.lq{ font-size:16px; font-weight:600; line-height:1.45; margin-bottom:12px; }
.lopts{ display:flex; flex-direction:column; gap:8px; }
.lopt{ background:#fffaf0 !important; color:var(--ink) !important; border:1px solid var(--line) !important; border-left:4px solid var(--accent) !important; border-radius:7px; padding:11px 14px; font-size:14.5px; cursor:pointer; text-align:left; margin:0 !important; }
.lopt:hover:not(:disabled){ background:#fff3cf !important; }
.lopt:disabled{ opacity:.55; cursor:default; }
.lfb{ min-height:22px; margin-top:10px; font-size:14px; font-weight:600; text-align:center; }
.lok{ color:#2e7d32; } .lno{ color:#b23b3b; }
.ldone{ font-size:15px; line-height:1.6; background:#fffaf0; border:1px solid var(--line); border-radius:8px; padding:14px; margin-bottom:4px; }
.lsay{ font-size:13px; opacity:.75; text-align:center; margin:10px 0; }
.lbtn{ display:block; width:100%; box-sizing:border-box; margin-top:10px !important; background:var(--wood); color:#f6ecd6; border:none; border-radius:7px; padding:11px 18px; cursor:pointer; font-size:14.5px; }
.lbtn:hover{ filter:brightness(1.08); }
.lbtn.lclose{ background:#8a7d64; }
