:root{--bg: #f6f4ef;--surface: #ffffff;--surface-2: #faf8f3;--border: #e7e2d8;--text: #23201b;--text-dim: #6f6a60;--accent: #d01012;--accent-2: #f5c518;--ok: #2e7d43;--radius: 12px;--shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 20px rgba(0, 0, 0, .04);--font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font-family:inherit;font-size:.9rem;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:.5rem .85rem;border-radius:10px;transition:background .15s,border-color .15s,transform .05s}button:hover{background:var(--surface-2);border-color:#d8d2c6}button:active{transform:translateY(1px)}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover{background:#b60d0f}button.ghost{background:transparent;border-color:transparent}button.danger{color:var(--accent)}button:disabled{opacity:.5;cursor:not-allowed}input,textarea,select{font-family:inherit;font-size:.9rem;padding:.55rem .7rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);width:100%}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #d010121f}.app-nav{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:.4rem;padding:.7rem 1.1rem;background:#f6f4efd9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}.app-nav .brand{font-weight:800;letter-spacing:-.02em;margin-right:.6rem;display:flex;align-items:center;gap:.5rem}.app-nav .stud{width:20px;height:20px;border-radius:5px;background:var(--accent-2);box-shadow:inset 0 -3px #0000001f;display:inline-block}.nav-link{padding:.4rem .7rem;border-radius:8px;color:var(--text-dim);font-weight:500}.nav-link.active{color:var(--text);background:var(--surface);box-shadow:var(--shadow)}.nav-spacer{flex:1}.container{max-width:1080px;margin:0 auto;padding:1.5rem 1.1rem 4rem}.page-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.2rem;flex-wrap:wrap}.page-head h1{font-size:1.6rem;letter-spacing:-.02em;margin:0}.muted{color:var(--text-dim)}.small{font-size:.82rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.85rem}.fig{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .08s,box-shadow .15s}.fig:hover{transform:translateY(-2px);box-shadow:0 8px 26px #00000014}.fig .thumb{aspect-ratio:1 / 1;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--text-dim);font-size:2rem}.fig .thumb img{width:100%;height:100%;object-fit:contain}.fig.missing{opacity:.55;filter:grayscale(.7)}.fig .body{padding:.6rem .7rem;display:flex;flex-direction:column;gap:.35rem}.fig .name{font-weight:600;font-size:.85rem;line-height:1.2}.fig .row{display:flex;align-items:center;justify-content:space-between;gap:.4rem}.badge{font-size:.72rem;padding:.12rem .45rem;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--text-dim)}.badge.owned{background:#2e7d431f;color:var(--ok);border-color:#2e7d4340}.progress{height:10px;background:var(--surface-2);border:1px solid var(--border);border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--accent-2),var(--accent))}.section-tile{display:block;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem;box-shadow:var(--shadow)}.section-tile:hover{border-color:#d8d2c6}.section-tile h3{margin:0 0 .5rem;font-size:1.15rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem;box-shadow:var(--shadow)}.stack{display:flex;flex-direction:column;gap:.8rem}.row-wrap{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.toolbar{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.spacer{flex:1}.auth-wrap{max-width:380px;margin:8vh auto}.auth-wrap .card{padding:1.6rem}.auth-wrap h1{font-size:1.4rem;margin:0 0 .3rem}.error{color:var(--accent);font-size:.85rem}.ok-text{color:var(--ok);font-size:.85rem}.list-item{display:flex;align-items:center;gap:.8rem;padding:.7rem 0;border-bottom:1px solid var(--border)}.list-item:last-child{border-bottom:none}.list-item .li-thumb{width:44px;height:44px;border-radius:8px;background:var(--surface-2);flex:0 0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden}.list-item .li-thumb img{width:100%;height:100%;object-fit:contain}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.modal{background:var(--surface);border-radius:14px;padding:1.3rem;width:100%;max-width:480px;box-shadow:0 20px 60px #00000040}.empty{text-align:center;padding:3rem 1rem;color:var(--text-dim)}.suggest{position:relative}.suggest .options{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);max-height:280px;overflow:auto}.suggest .opt{padding:.5rem .7rem;cursor:pointer;display:flex;justify-content:space-between;gap:.5rem}.suggest .opt:hover{background:var(--surface-2)}
