/* Page-specific visual systems: these intentionally give Explore, bookmark detail and account screens distinct identities. */
.page-home { --ink:#132b3a; --muted:#657c8d; --paper:#edf5fa; --line:#d8e6ee; --green:#23b9aa; --green2:#b9f0e7; --shadow:0 18px 48px #17425b12; background:radial-gradient(ellipse at 82% 8%,#d8f5f1 0,transparent 30%),linear-gradient(180deg,#f4f9fc,#edf5fa 54%,#f7fafc); }
.page-home .topbar { border-bottom-color:#d4e4eb; }
.page-home .brandmark { background:linear-gradient(135deg,#22b7a8,#65d3c4);color:#073a43;border-radius:11px;box-shadow:0 6px 15px #27b9aa35; }
.page-home .nav a.active,.page-home .nav a:hover { color:#087e7a; }
.page-home .hero { padding:72px 0 48px; gap:clamp(28px,6vw,86px); }
.page-home .eyebrow { color:#087e7a; letter-spacing:1.7px; }
.page-home .dot { background:#22b7a8;box-shadow:0 0 0 5px #22b7a81c; }
.page-home .hero h1 { color:#102c3b;letter-spacing:-4.7px;line-height:.99; }
.page-home .hero h1 span { color:#07998f; }
.page-home .hero p { color:#5e7584;font-size:18px;max-width:560px; }
.page-home .hero-card { color:#f4fffe;background:linear-gradient(145deg,#123a50,#087f84);border:1px solid #ffffff55;border-radius:30px;padding:30px;min-height:260px;box-shadow:0 25px 55px #135b6530; }
.page-home .hero-card:after { color:#ffffff17; }
.page-home .hero-card h3 { font-size:24px; }
.page-home .stack span { color:#143647;background:#f2fffd;border-radius:14px;padding:14px 16px;box-shadow:0 8px 18px #002f3420; }
.page-home .stack span:nth-child(2){margin-left:24px}.page-home .stack span:nth-child(3){margin-left:48px}
.page-home .btn { min-height:47px;border-radius:14px;padding:13px 20px;background:#123a50;color:#fff;box-shadow:0 8px 20px #123a5021; }
.page-home .btn.lime { background:linear-gradient(135deg,#27c4b2,#13a99f);color:#062f37; }
.page-home .btn.light { background:#ffffffcc;color:#174052;border-color:#cfe1e9; }
.page-home .toolbar { padding:12px;background:#ffffffb8;border:1px solid #dce9ef;border-radius:18px;box-shadow:0 10px 30px #17425b0a; }
.page-home .tab { padding:11px 16px;border-radius:12px; }
.page-home .tab.active,.page-home .tab:hover { background:#dff6f2;color:#087e7a;box-shadow:none; }
.page-home .search { height:47px;border-color:#d5e4eb;border-radius:14px; }
.page-home .card,.page-home .panel { border-color:#e0ebf0;border-radius:20px;box-shadow:0 12px 34px #17425b0b; }
.page-home .card:hover { border-color:#b6e4de;box-shadow:0 20px 42px #17425b18; }
.page-home .category { color:#087e7a;background:#e2f7f3;border-radius:9px; }
.page-home .iconbtn:hover,.page-home .iconbtn.on,.page-home .catlist a.active { color:#087e7a;background:#e4f7f4; }
.page-home .foot { border-color:#d7e5ec;color:#63808e;padding:30px 0; }

.page-view { --ink:#1b2e47; --muted:#6f8097; --paper:#f3f2fb; --line:#e1e0ef; --green:#8775e8; --green2:#d9d2ff; --shadow:0 18px 48px #382d7410; background:radial-gradient(ellipse at 75% 5%,#e8e4ff 0,transparent 34%),#f5f4fb; }
.page-view .topbar { border-bottom-color:#e0deee; }
.page-view .brandmark { color:#fff;background:linear-gradient(135deg,#9585f1,#6755d8);box-shadow:0 6px 15px #6e5add35; }
.page-view .nav a.active,.page-view .nav a:hover { color:#6451ca; }
.page-view .pagewrap { max-width:1140px;margin:42px auto 80px; }
.page-view .toolbar { margin:0 0 22px; }
.page-view .search { height:48px;border-radius:14px;border-color:#e2dff2;box-shadow:0 8px 22px #382d7408; }
.page-view .tab { background:#fff;border:1px solid #e4e1f1;color:#625c7e;padding:11px 16px;border-radius:12px; }
.page-view .content { grid-template-columns:250px minmax(0,1fr);gap:22px; }
.page-view .panel,.page-view .detail-card { border:1px solid #e5e2f3;border-radius:24px;background:#fff;box-shadow:0 18px 50px #382d7410; }
.page-view .detail-card { overflow:hidden;position:relative; }
.page-view .detail-card:before { content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#7060db,#b8aaff,#65cfc1); }
.page-view .detail-card .category { color:#5e4fc2;background:#efedff;border-radius:9px;padding:8px 12px; }
.page-view .detail-card h1 { line-height:1.08!important;letter-spacing:-1.7px!important;color:#192b45; }
.page-view .detail-card h1 a:hover { color:#6451ca; }
.page-view .detail-card>p { color:#61718a;max-width:760px; }
.page-view .detail-card .domain { display:inline-flex;padding:11px 15px;border:1px solid #e7e3f4;border-radius:12px;background:#f8f7ff;color:#5f50c2; }
.page-view .detail-card .cardfoot { margin-top:24px;padding-top:18px;border-color:#ebe9f4; }
.page-view .detail-card .iconbtn { border:1px solid #e7e3f4;background:#faf9ff;color:#635b81;border-radius:11px;padding:10px 13px; }
.page-view .detail-card .iconbtn:hover,.page-view .detail-card .iconbtn.on { background:#efedff;color:#5d4bc5;border-color:#d9d3ff; }
.page-view .catlist a:hover,.page-view .catlist a.active { background:#efedff;color:#5e4fc2; }
.page-view .foot { border-color:#e0deee;color:#7c7895; }

.page-login,.page-signup { --ink:#172844; --muted:#78869b; --paper:#eef3fa; --line:#dce5f0; --green:#426fe5; --green2:#cbd9ff; --shadow:0 25px 65px #192f5918; min-height:100vh;background:radial-gradient(ellipse at 8% 10%,#dbe7ff 0,transparent 34%),radial-gradient(ellipse at 92% 88%,#d7f4ed 0,transparent 34%),#f2f6fb; }
.page-login .topbar,.page-signup .topbar { border-bottom-color:#dce5f0; }
.page-login .brandmark,.page-signup .brandmark { color:#fff;background:linear-gradient(135deg,#5686f4,#355dcc);box-shadow:0 6px 16px #426fe53b; }
.page-login .nav,.page-signup .nav { gap:19px; }
.page-login .authwrap,.page-signup .authwrap { max-width:470px;margin:76px auto 100px;position:relative; }
.page-login .authwrap:before,.page-signup .authwrap:before { content:"";position:absolute;z-index:-1;inset:-22px 28px 22px -22px;border-radius:32px;background:linear-gradient(135deg,#426fe52a,#32bda927);filter:blur(2px); }
.page-login .authcard,.page-signup .authcard { border:1px solid #ffffffc9;border-radius:26px;padding:clamp(26px,6vw,42px);background:#ffffffed;box-shadow:0 24px 70px #1832591b;backdrop-filter:blur(12px); }
.page-login .authcard h1,.page-signup .authcard h1 { color:#172844;font-size:34px;letter-spacing:-1.5px; }
.page-login .authcard>p,.page-signup .authcard>p { color:#708099;line-height:1.6; }
.page-login .authcard .field label,.page-signup .authcard .field label { color:#273c5b;font-size:13px; }
.page-login .authcard .field input,.page-signup .authcard .field input { min-height:49px;border:1px solid #dce5f0;border-radius:13px;background:#f9fbfe;padding:13px 15px;transition:.18s; }
.page-login .authcard .field input:focus,.page-signup .authcard .field input:focus { border-color:#6a8ff0;box-shadow:0 0 0 4px #426fe51c;background:#fff; }
.page-login .authcard .btn,.page-signup .authcard .btn { min-height:51px;margin-top:12px;border-radius:14px;background:linear-gradient(110deg,#426fe5,#3159cb);color:#fff;font-size:15px;box-shadow:0 10px 22px #426fe534; }
.page-login .authcard .btn:hover,.page-signup .authcard .btn:hover { box-shadow:0 14px 27px #426fe545;transform:translateY(-2px); }
.page-login .authbottom,.page-signup .authbottom { color:#77869d; }
.page-login .authbottom a,.page-signup .authbottom a { color:#355dcc!important; }
.page-login .foot,.page-signup .foot { border-color:#dce5f0;color:#78869b; }

/* Refined controls shared by all secondary screens */
.page-submit .btn,.page-profile .btn,.page-saved .btn,.page-404 .btn,.page-500 .btn,.page-505 .btn { min-height:44px;border-radius:12px;padding:11px 17px; }
.page-home .actions .btn,.page-view .actions .btn,.page-login .actions .btn,.page-signup .actions .btn { min-height:40px;border-radius:12px; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:3px solid #5e8df066;outline-offset:2px; }
@media(max-width:760px){.page-home .hero{padding:42px 0 28px}.page-home .hero h1{letter-spacing:-2.8px}.page-home .toolbar{align-items:stretch}.page-view .pagewrap{margin:28px auto 55px}.page-view .content{grid-template-columns:1fr}.page-view .detail-card{padding:24px!important}.page-login .authwrap,.page-signup .authwrap{margin:48px auto 65px;padding:0 10px}.page-login .authwrap:before,.page-signup .authwrap:before{inset:-12px 14px 12px -2px}}
@media(max-width:480px){.page-home .hero p{font-size:16px}.page-home .hero>div:first-child>div:last-child{flex-wrap:wrap}.page-view .detail-card h1{font-size:34px!important}.page-view .detail-card .cardfoot{align-items:flex-start;gap:14px;flex-direction:column}.page-view .detail-card .metrics{flex-wrap:wrap}.page-login .authcard,.page-signup .authcard{padding:25px 21px}}
