/* ELUA REBUILD v0.3 · translucent, legible glass. Applied after legacy CSS. */
:root{--glass-ink:#424242;--glass-muted:#797979;--glass-blue:#757575;--glass-stroke:rgba(255,255,255,.78);--glass-bg:rgba(255,255,255,.65);--glass-bg-strong:rgba(255,255,255,.79);--glass-halo:0 14px 42px rgba(92,92,92,.085),inset 0 1px 0 rgba(255,255,255,.82);color:var(--glass-ink);background:#ececec}
html{min-height:100%;background:#ececec}body{color:var(--glass-ink);min-height:100vh;background:radial-gradient(ellipse at 18% -10%,rgba(218,218,218,.9) 0,transparent 50%),radial-gradient(ellipse at 96% 18%,rgba(217,217,217,.56) 0,transparent 42%),radial-gradient(ellipse at 54% 100%,rgba(221,221,221,.44),transparent 55%),linear-gradient(125deg,#efefef,#f2f2f2 50%,#ededed) fixed}
button{background:#727272;border:1px solid rgba(109,109,109,.18);border-radius:10px;box-shadow:none;padding:10px 15px;color:#fff;transition:background .15s,border-color .15s;line-height:1.4}
button:hover:not(:disabled){background:#5c5c5c}button.soft{background:rgba(233,233,233,.8);color:#565656;border-color:rgba(167,167,167,.3)}button.soft:hover:not(:disabled){background:rgba(223,223,223,.92)}button.outline{background:rgba(255,255,255,.55);color:#5d5d5d;border:1px solid rgba(159,159,159,.45)}button.outline:hover:not(:disabled){background:rgba(243,243,243,.92)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #979797;outline-offset:2px}
.shell{max-width:none;margin:0;background:transparent;grid-template-columns:252px minmax(0,1fr)}
.sidebar{background:rgba(251,251,251,.63);border-right:1px solid rgba(255,255,255,.88);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);box-shadow:5px 0 30px rgba(110,110,110,.035)}
.brand{color:#5b5b5b}.brand span{color:#707070}.brand small{color:#707070}.identity{border-color:rgba(158,158,158,.2)}.identity small,.sidebar-bottom small{color:#707070}.avatar{background:rgba(229,229,229,.8);color:#646464}.nav-label{color:#707070}.navbtn{color:#676767;border:1px solid transparent;background:transparent}.navbtn:hover:not(:disabled){background:rgba(237,237,237,.73);color:#575757}.navbtn.active{color:#4d4d4d;background:rgba(228,228,228,.82);border-color:rgba(255,255,255,.85);font-weight:700}.sidebar-bottom{border-color:rgba(160,160,160,.18)}
.workspace{min-width:0}.topbar{background:rgba(253,253,253,.62);border-bottom:1px solid var(--glass-stroke);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);padding:18px clamp(20px,3.4vw,55px)}.topbar strong{color:#484848}.topstats{gap:9px}.chip,.tag{background:rgba(239,239,239,.70);color:#656565;border:1px solid rgba(194,194,194,.43);border-radius:99px}.coin{color:#5e5e5e}.eyebrow{color:#707070}.muted{color:var(--glass-muted)}.page{max-width:1420px;padding:38px clamp(20px,3.4vw,55px) 80px}
.section-head h2{color:#4b4b4b;font-weight:700;letter-spacing:-.7px}.section-head p{color:#7a7a7a}.hero{background:linear-gradient(120deg,rgba(247,247,247,.77),rgba(231,231,231,.64));border:1px solid rgba(255,255,255,.89);box-shadow:var(--glass-halo);border-radius:18px}.hero h3{color:#4c4c4c}.hero p{color:#707070}
.card{background:var(--glass-bg);border:1px solid var(--glass-stroke);border-radius:16px;box-shadow:var(--glass-halo);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);padding:23px}.card h3{color:#4c4c4c}.card .price{color:#6a6a6a}.card.note,.life-tip{background:rgba(243,243,243,.60)}.link-list button{background:rgba(240,240,240,.8);color:#5e5e5e}.link-list button:hover:not(:disabled){background:rgba(229,229,229,.95)}.logline,.inv-row,th,td{border-color:rgba(180,180,180,.25)}.logline small,td small{color:#707070}
.tablewrap{border-radius:11px}th{background:rgba(235,235,235,.52);color:#737373}td.hilite,.selected{background:rgba(236,236,236,.65);color:#595959;border-color:rgba(164,164,164,.55)}.skillrow .track,.progress{background:#e9e9e9}.track div,.progress div{background:#969696}.logentry{border-color:rgba(152,152,152,.4)}.logentry small{color:#707070}.logentry p{color:#6e6e6e}
.welcome{background:transparent}.welcome-panel{border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 56px rgba(88,88,88,.12);background:rgba(255,255,255,.72);backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);border-radius:22px}.welcome-panel h1{color:#5a5a5a}.welcome-panel p{color:#777777}.welcome-panel label{color:#6b6b6b}.welcome-panel input,.welcome-panel select{background:rgba(255,255,255,.75);border-color:rgba(170,170,170,.43);color:#4d4d4d;border-radius:10px}.slash{color:#707070}
#toast{background:rgba(63,63,63,.94);border:1px solid rgba(255,255,255,.27);border-radius:12px}.modal{background:rgba(50,50,50,.48)}.modalpanel{background:rgba(250,250,250,.97);border:1px solid #fff;border-radius:17px;color:#484848}
.life-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(115deg,rgba(233,233,233,.88),rgba(255,255,255,.67));border:1px solid var(--glass-stroke);border-radius:17px;box-shadow:var(--glass-halo);padding:24px;margin-bottom:17px}.life-banner p{margin:9px 0 0;color:#7b7b7b}.life-time{font-family:Georgia,'Times New Roman',serif;font-size:42px;letter-spacing:-1.8px;color:#636363;display:block;margin-top:6px}.life-job .card-top{margin-bottom:10px}.life-schedule{font-size:12px;color:#7a7a7a;background:rgba(237,237,237,.58);padding:10px 12px;border-radius:9px;line-height:1.5}.life-job-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.life-job-bottom strong{font-size:22px;color:#6c6c6c}.life-active{border-color:rgba(152,152,152,.44);background:rgba(242,242,242,.77)}.life-farm-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.life-farm-head h3{font-size:21px}.life-plotgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}.life-plot{min-height:255px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.life-plot h3{margin:0 0 4px;font-size:17px}.life-plot .btnrow,.life-seedlist{margin-top:auto;display:flex;gap:5px;flex-wrap:wrap}.life-plot .btnrow button{font-size:12px}.life-cropglyph{font-size:40px;color:#707070;text-align:center;width:100%;padding:11px 0}.life-seedlist button{font-size:12px;padding:7px 9px}.life-statsgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:16px}.life-stat{padding:17px 10px;margin:0;text-align:center}.life-stat span{display:block;color:#7a7a7a;font-size:12px}.life-stat strong{display:block;font:700 28px Georgia,serif;color:#5e5e5e;margin-top:8px}.life-focus-row{display:flex;flex-wrap:wrap;gap:8px}.life-talent .track{margin-top:13px}.life-tip{margin-top:16px}.life-clockchip{font-variant-numeric:tabular-nums}
@media(max-width:1100px){.life-plotgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.life-statsgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:auto}.page{padding:25px 22px}}
@media(max-width:650px){.shell{display:block}.sidebar{width:100%;position:relative;height:auto;min-height:unset;padding:12px;background:rgba(251,251,251,.7)}.sidebar nav{display:flex;overflow:auto;flex-wrap:nowrap}.navbtn{white-space:nowrap}.topbar{padding:14px 16px}.page{padding:20px 14px 54px}.life-banner,.life-farm-head{align-items:flex-start;flex-direction:column}.life-plotgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.life-plot{padding:15px;min-height:230px}.life-statsgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.life-time{font-size:34px}.card{padding:18px}.cards2,.twocol{grid-template-columns:1fr}.life-job-bottom{align-items:flex-start;flex-direction:column}}
@media(max-width:380px){.life-plotgrid,.life-statsgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Prevent the expanded fifteen-item navigation from spilling below its glass sidebar. */
@media(min-width:651px){
 .sidebar{overflow:hidden}
 .sidebar nav{display:flex;flex-direction:column;gap:4px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding:0 5px 12px 0;scrollbar-width:thin;scrollbar-color:rgba(147,147,147,.48) transparent}
 .sidebar .brand,.sidebar .identity,.sidebar .nav-label,.sidebar .sidebar-bottom{flex-shrink:0}
 .sidebar-bottom{margin-top:0}
}
@media(max-width:650px){.sidebar{overflow:visible}.sidebar nav{overflow-x:auto;overflow-y:hidden;flex-direction:row;flex-wrap:nowrap;min-height:0;flex:none}}
