/* Solemi Home v2.4.2 – the entire former top visual is removed.
   If an earlier PHP/OPcache template is briefly served with newer CSS,
   suppress its whole hero section, not just its background image.
   --solemi-hero-art is retained for the independent game preview card. */
body.solemi-home-page .solemi-home-hero,
body.solemi-home-page .home-member-hero,
body.solemi-home-page .main > section.hero,
body.solemi-home-page .solemi-home-shell > .hero,
body.solemi-home-page .solemi-home-shell > .home-hero {
 display:none !important;
}
body.solemi-home-page {
 --home-navy:#041f46; --home-deep:#082e62; --home-blue:#1479db;
 --home-gold:#f7ca67; --home-border:#e4e9f1; --home-text:#142c51;
 --solemi-hero-art:url('./home-art/game-controller.webp');
 background:#f2f5fa; color:var(--home-text); line-height:1.5;
}
body.solemi-home-page .site-shell{max-width:none;width:100%;margin:0 auto;overflow:visible}
body.solemi-home-page .main{max-width:none;min-height:75vh;margin:0 auto}
body.solemi-home-page .site-footer{max-width:1520px;margin:28px auto 0;padding:20px 18px 35px}
body.solemi-home-page .site-header.solemi-home-topbar{
 position:sticky;top:0;z-index:100;display:flex;gap:12px;align-items:center;
 min-height:55px;margin:0;border:0;border-radius:0;padding:5px max(15px,calc((100vw - 1540px)/2));
 color:#fff;background:linear-gradient(100deg,#061d41,#0c2d5b 65%,#071932);box-shadow:0 3px 8px #08204a30;backdrop-filter:none;
}
body.solemi-home-page .solemi-home-topbar .brand{min-width:155px;width:155px;flex:none;gap:7px;color:#fff;}
body.solemi-home-page .solemi-home-topbar .brand-mark{width:38px;height:39px;font-family:Georgia,serif;font-size:40px;color:#ffda82;background:transparent;text-shadow:0 1px 4px #000;box-shadow:none;line-height:1}
body.solemi-home-page .solemi-home-topbar .brand strong{font:700 30px/27px Georgia,'Times New Roman',serif;letter-spacing:.01em}
body.solemi-home-page .solemi-home-topbar .brand small{font-size:9px;font-weight:750;color:#f4e7c4;letter-spacing:.18em;text-align:center;line-height:12px}
body.solemi-home-page .solemi-home-search{display:flex;min-width:150px;flex:1;max-width:690px;margin:0 8px 0 0;border-radius:7px;overflow:hidden;background:#f7faff;box-shadow:inset 0 0 0 1px #dae5f0}
body.solemi-home-page .solemi-home-search input{font-size:12px;min-width:0;height:34px;padding:7px 12px;border:0;border-radius:0;outline-offset:-2px;background:#f7faff;color:#203854;box-shadow:none}
body.solemi-home-page .solemi-home-search input::placeholder{color:#94a2b7}
body.solemi-home-page .solemi-home-search button{flex:none;padding:0;width:36px;height:34px;justify-content:center;display:grid;place-items:center;background:#e9f1ff;color:#1362c7;border:0;border-radius:0;font-size:25px;box-shadow:none}
body.solemi-home-page .solemi-home-top-actions{display:flex;align-items:center;gap:0;justify-content:flex-end}
body.solemi-home-page .solemi-home-top-icon{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;min-width:61px;height:47px;padding:4px 8px;color:white;border-left:1px solid #24456d;text-decoration:none}
body.solemi-home-page .solemi-home-top-icon span{font-size:24px;font-weight:750;line-height:24px}
body.solemi-home-page .solemi-home-top-icon small{font-size:10px;line-height:17px;color:#f5f8ff;white-space:nowrap;font-weight:800}
body.solemi-home-page .solemi-home-top-icon em{position:absolute;top:0;right:13px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;background:#ed3d54;color:#fff;border-radius:30px;font-style:normal;font-size:10px}
body.solemi-home-page .solemi-home-top-icon:hover{background:#204775;text-decoration:none}
body.solemi-home-page .solemi-home-header-auth{display:flex;align-items:center;gap:8px;flex:none}
body.solemi-home-page .solemi-home-header-auth a{white-space:nowrap;display:grid;place-items:center;border-radius:30px;height:34px;min-width:87px;padding:0 15px;text-decoration:none;font-size:12px;font-weight:850}
body.solemi-home-page .solemi-home-header-auth .home-login{color:white;border:1px solid #6785ae;background:#082345}
body.solemi-home-page .solemi-home-header-auth .home-register{color:#483008;border:1px solid #f8d47e;background:linear-gradient(135deg,#ffe7a8,#ecc368);box-shadow:0 1px 7px #ffe19388}
body.solemi-home-page .solemi-home-allmenu{position:relative;flex:none;order:4;}
body.solemi-home-page .solemi-home-allmenu > summary{color:#ebf3ff;padding:7px 10px;cursor:pointer;list-style:none;font-size:12px;border:1px solid #254771;border-radius:8px;font-weight:750}
body.solemi-home-page .solemi-home-allmenu > summary::marker{display:none}
body.solemi-home-page .solemi-home-allmenu[open] > summary{background:#174477}
body.solemi-home-page .solemi-home-allmenu > .top-nav{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,90vw);max-height:70vh;overflow:auto;display:flex;justify-content:flex-start;flex-direction:column;align-items:stretch;gap:4px;padding:15px;border:1px solid #c2d2e8;border-radius:12px;background:#fff;box-shadow:0 15px 30px #00183545}
body.solemi-home-page .solemi-home-allmenu > .top-nav > a,body.solemi-home-page .solemi-home-allmenu .nav-group>summary{color:#1c3b5e;padding:9px 12px}
body.solemi-home-page .solemi-home-allmenu .nav-group-menu{position:static;box-shadow:none;border:0;padding:7px;background:#f1f6ff}
body.solemi-home-page .solemi-home-allmenu .nav-group-menu a{color:#1a4269}
.solemi-home-shell{max-width:1540px;margin:0 auto;padding:0 10px 34px;color:var(--home-text)}
.solemi-home-shell,.solemi-home-shell *{min-width:0}
.solemi-home-shell a{text-decoration:none}
.solemi-home-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(170px,1.23fr);gap:0;margin:0 -10px;padding:0 12px;min-height:62px;background:linear-gradient(95deg,#062957,#041e43 62%,#0c2d5d);color:white;box-shadow:0 3px 8px #113c6c45;align-items:stretch}
.solemi-home-stat{display:flex;gap:10px;align-items:center;justify-content:center;padding:10px 6px;border-right:1px solid #2f5077}
.solemi-home-stat .home-icon{font-size:25px;color:#e4f0ff;line-height:1}
.solemi-home-stat-text{display:flex;flex-direction:column;gap:1px}
.solemi-home-stat-text small{font-size:10px;font-weight:850;line-height:1.25;white-space:nowrap;color:#fff}
.solemi-home-stat-text strong{font-size:clamp(16px,1.8vw,24px);line-height:1.1;color:#fff;font-variant-numeric:tabular-nums}
.solemi-home-stats-award{display:flex;align-items:center;justify-content:center;gap:7px;color:#e4b64d;text-align:center}
.solemi-home-stats-award strong{font-size:13px;font-family:serif;line-height:1.45;color:#f7d173}
.solemi-home-stats-award > span{font-size:33px}
.solemi-home-quicknav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:12px 0 14px;padding:11px 10px;background:#fff;border:1px solid #e7ebf3;border-radius:14px;box-shadow:0 3px 14px #1a355b15}
.solemi-home-quicklink{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:3px;color:#112c56;padding:0 2px 6px;border-right:1px solid #edf0f5;min-height:124px}
.solemi-home-quicklink:last-child{border:0}
.solemi-home-quicklink:hover{background:#eef6ff;text-decoration:none;border-radius:9px}
.solemi-home-quickcover{display:block;width:100%;height:60px;max-width:155px;border-radius:7px;border:1px solid #dce8f4;box-shadow:0 2px 5px #002b5720;background-size:cover;background-position:center}
.solemi-home-quicklink .home-icon{height:24px;line-height:24px;margin-top:2px;color:#237bd1;font-size:22px;font-weight:900}
.solemi-home-quicklink strong{font-size:12px;line-height:1.2;font-weight:900;white-space:nowrap}
.solemi-home-quicklink small{font-size:10px;color:#64758f;line-height:1.35;white-space:nowrap}
.cover-town{background:linear-gradient(135deg,#83bee5aa,#d6ad73aa),linear-gradient(15deg,#518370 27%,transparent 27%),linear-gradient(45deg,#657ec5 18%,#d6f4ff 50%)}
.cover-library{background:repeating-linear-gradient(90deg,#825c45b8 0 15px,#e4ba82b8 15px 20px),linear-gradient(20deg,#84583b,#ffdab0)}
.cover-diary{background:repeating-linear-gradient(12deg,transparent 0 11px,#b7906e3d 11px 12px),linear-gradient(145deg,#efe9db,#cbebea)}
.cover-nature{background:linear-gradient(145deg,#9bdfff11,#aaf2db77),linear-gradient(28deg,#56a075 25%,transparent 26%),linear-gradient(160deg,#91c5e8 55%,#fff3ce 55%)}
.cover-game{background:radial-gradient(circle at 50% 75%,#6d94ee 0 17%,transparent 18%),linear-gradient(130deg,#123a75,#8ccff5 65%,#f8b285)}
.cover-festival{background:radial-gradient(circle at 25% 33%,#ffba8d 0 6%,transparent 7%),radial-gradient(circle at 65% 28%,#df7bd6 0 9%,transparent 10%),linear-gradient(130deg,#39156a,#b578de 58%,#f9bb8c)}
.cover-trophy{background:radial-gradient(ellipse at center,#ffedaa 0 14%,#f3c76a 14% 26%,transparent 27%),linear-gradient(145deg,#aa7335,#f9e2b1 60%,#866242)}
.cover-friend{background:linear-gradient(30deg,#28477c 25%,transparent 26%),linear-gradient(160deg,#a0cdf1 58%,#f4c0a4 60%)}
.solemi-home-grid{display:grid;grid-template-columns:minmax(195px,22%) minmax(0,1fr) minmax(240px,27.5%);align-items:start;gap:12px;padding:0 5px}
.solemi-home-left,.solemi-home-center,.solemi-home-right{display:flex;flex-direction:column;gap:10px;min-width:0}
.solemi-home-left{border:1px solid #e6eaf2;border-radius:9px;padding:6px 7px 14px;background:#fff;box-shadow:0 3px 12px #13345b0d}
.solemi-home-mainmenu{display:grid;gap:2px}
.solemi-home-mainlink{display:flex;align-items:center;gap:12px;min-height:35px;padding:4px 13px;border-radius:7px;font-size:12px;font-weight:800;color:#374d6c}
.solemi-home-mainlink .home-icon{font-size:18px;width:22px;text-align:center;color:#435c81}
.solemi-home-mainlink:hover{background:#e7f1ff;text-decoration:none}
.solemi-home-mainlink.is-active{background:linear-gradient(100deg,#06316b,#073d80);color:white;box-shadow:0 2px 6px #1b4d8655}
.solemi-home-mainlink.is-active .home-icon{color:white}
.solemi-home-auth-links{display:grid;gap:8px;margin:15px 5px 13px}
.solemi-home-auth-links a{min-height:38px;display:grid;place-items:center;font-weight:900;font-size:12px;border-radius:11px}
.solemi-home-auth-register{color:#5b400e;background:linear-gradient(145deg,#ffe8aa,#f3c660);box-shadow:0 4px 9px #d6ae6045}
.solemi-home-auth-login{border:1px solid #85ade5;color:#0c57a0;background:#f8fbff}
.solemi-home-welcome-card{position:relative;margin:0 3px;border:1px solid #dce9d1;border-radius:9px;min-height:100px;overflow:hidden;background:linear-gradient(125deg,#e5f9e0,#fff6c6)}
.solemi-home-welcome-card .welcome-picture{position:absolute;right:0;bottom:-16px;width:52%;height:125px;border-radius:50%;background:radial-gradient(circle at 65% 46%,#eec5a1 0 20%,transparent 22%),radial-gradient(circle at 66% 30%,#9f755c 0 24%,transparent 25%),linear-gradient(120deg,transparent 35%,#9cc6db 35% 62%,transparent 62%);opacity:.85}
.solemi-home-welcome-card .welcome-picture span{position:absolute;top:11px;left:15px;font-size:28px;color:#ffb43c}
.solemi-home-welcome-card .welcome-caption{z-index:1;position:relative;padding:12px 8px;max-width:72%}
.solemi-home-welcome-card small{font-size:10px;font-weight:800;color:#11824d}
.solemi-home-welcome-card h2{font-size:15px;line-height:1.4;margin:4px 0;color:#123c66}
.solemi-home-welcome-card p{margin:0 0 6px;font-size:10px}
.solemi-home-welcome-card a{font-size:10px;color:#1277ad;font-weight:850}
.solemi-home-howto{display:grid;gap:6px;padding:5px 8px;background:#f6f9ff;border-radius:9px}
.solemi-home-howto h2{font-size:12px;margin:4px 0;color:#0a325e}
.solemi-home-howto a{font-size:11px;color:#394d62;display:flex;align-items:center;gap:7px}
.solemi-home-howto a span{width:14px;height:14px;border-radius:50%;background:#21995c;color:white;font-size:10px;display:grid;place-items:center}
.solemi-home-premium{padding:12px 10px;margin:5px 3px 0;background:radial-gradient(circle at 40% 10%,#275585,#03182f 70%);color:#f8deb0;border-radius:10px;border:2px solid #c5aa69;text-align:center;box-shadow:inset 0 0 0 2px #06152b,0 2px 6px #173d5d55}
.solemi-home-premium .premium-glow{font-size:30px;color:#ffd976;line-height:1}
.solemi-home-premium h2{font-size:14px;color:white;margin:3px 0}
.solemi-home-premium p{font-size:10px;line-height:1.5;margin:4px 0 10px;color:#e0e7f3}
.solemi-home-premium a{display:inline-block;padding:7px 28px;background:linear-gradient(135deg,#ffe8a5,#e9b952);border-radius:99px;font-size:11px;color:#533807;font-weight:900}
.solemi-home-selfcard{display:flex;align-items:center;gap:10px;border-top:1px solid #e2e9f0;padding:12px 7px;font-size:12px}
.solemi-home-selfcard a{display:block;font-size:10px}
.solemi-home-center .card,.solemi-home-right .card,.solemi-home-center .official-notice{border-radius:10px;border:1px solid #e5eaf1;background:#fff;box-shadow:0 2px 10px #24436813;backdrop-filter:none}
.solemi-home-composer{background:#fff;border:1px solid #e4eaf2;border-radius:10px;box-shadow:0 2px 11px #133c5a16}
.solemi-home-center .post-form{position:relative;margin:0;padding:10px 11px 8px;border:0;border-radius:10px;box-shadow:none;background:#fff}
.solemi-home-center .post-form .post-composer-intro{display:none}
.solemi-home-center .post-form textarea[name=body]{height:47px;min-height:47px;padding:12px;border-radius:8px;background:linear-gradient(#f8faff,#f6f7fa);border-color:#e4e9f0;font-size:12px;line-height:1.5;resize:vertical}
.solemi-home-center .post-form .post-kind{margin:0 0 7px;display:flex;gap:8px;align-items:center;font-size:11px}
.solemi-home-center .post-kind label{font-size:10px;margin:0!important;padding:3px 7px!important}
.solemi-home-center .post-kind select{min-width:120px;width:auto;margin-left:auto;padding:5px 20px 5px 8px;border-radius:8px;font-size:10px}
.solemi-home-center .post-form .solemi-home-composer-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:9px 0 3px}
.solemi-home-composer-tools button,.solemi-home-composer-tools a{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:850;padding:4px 6px;color:#42628b;border:0;background:transparent;border-radius:6px;box-shadow:none}
.solemi-home-composer-tools button:hover,.solemi-home-composer-tools a:hover{background:#e8f3ff;text-decoration:none}
.solemi-home-composer-tools .home-icon{color:#2583d9;font-size:17px}
.solemi-home-center .post-form .post-image-input{display:flex;align-items:center;flex-wrap:wrap;font-size:10px;margin:5px 0}
.solemi-home-center .post-form .post-image-input input{max-width:180px;font-size:10px;padding:4px}
.solemi-home-center .post-form .form-foot{border-top:1px solid #e6ebf3;padding-top:7px;display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.solemi-home-center .post-form .form-foot small{font-size:10px}
.solemi-home-center .post-form .form-foot .actions{margin-left:auto;gap:6px;display:flex}
.solemi-home-center .post-form .form-foot button{padding:7px 14px;font-size:11px;border-radius:8px}
.solemi-home-center .post-form .form-foot button.primary{padding:7px 25px;background:linear-gradient(100deg,#278af0,#0665d8)}
.solemi-home-center .post-form .post-advanced,.solemi-home-center .post-form .post-preview-toggle{font-size:11px}
.solemi-home-feedtabs{display:flex;align-items:center;gap:4px;padding:5px 6px;margin:0;border:1px solid #e5ebf2;border-radius:9px;background:#fff;box-shadow:0 2px 7px #213c6410;overflow-x:auto;scrollbar-width:thin}
.solemi-home-feedtab{padding:6px clamp(7px,1.15vw,14px);flex:none;font-size:11px;color:#4b6183;font-weight:850;white-space:nowrap;border-radius:7px}
.solemi-home-feedtab:hover{background:#edf5ff}
.solemi-home-feedtab.is-selected{color:white;background:linear-gradient(110deg,#2d9cfa,#136ddd);box-shadow:0 2px 6px #377dca33}
.solemi-home-moretab{margin-left:auto;color:#637b98;font-weight:900}
.solemi-home-feed .post-card{margin:0;border-radius:9px;padding:12px 12px 10px;box-shadow:0 1px 6px #1e426217;background:#fff}
.solemi-home-feed .post-card+.post-card{margin-top:8px}
.solemi-home-feed .post-card .post-meta small{font-size:10px}
.solemi-home-feed .post-card h3{margin:7px 0;font-size:14px;line-height:1.45}
.solemi-home-feed .post-card p{font-size:12px;line-height:1.5;margin:6px 0}
.solemi-home-feed .post-card .post-thumb{display:block;max-width:100%;width:100%;max-height:260px;object-fit:cover;border-radius:7px;margin:9px auto}
.solemi-home-feed .post-actions{border-top:1px solid #eef0f3;margin-top:8px;padding-top:7px;display:flex;justify-content:space-around;flex-wrap:wrap;gap:7px;font-size:11px}
.solemi-home-feed .post-actions a,.solemi-home-feed .post-actions button{font-size:11px}
.solemi-home-extras{display:grid;gap:8px;margin-top:10px}
.solemi-home-extras .notice-stack{display:grid;gap:8px}
.solemi-home-extras .official-notice{margin:0;padding:13px}
.solemi-home-extras .official-community-frame{margin:0;padding:14px}
.solemi-home-right>.solemi-home-sidebar-card,.solemi-home-right>.recommend-members,.solemi-home-right>.portal-bridge,.solemi-home-right>.card{background:#fff;border-radius:10px;padding:10px 10px 12px;border:1px solid #e6eaf1;margin:0;box-shadow:0 2px 12px #1b436519}
.solemi-home-right .home-sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 0 10px}
.solemi-home-right .home-sidebar-title h2,.solemi-home-right .recommend-members h2{font-size:13px;line-height:1.35;font-weight:900;color:#132d52;margin:0}
.solemi-home-right .home-sidebar-title a{font-size:10px;white-space:nowrap;color:#2985e2;font-weight:800}
.solemi-home-right .home-muted{font-size:12px;color:#70809b;line-height:1.5;margin:8px 3px}
.home-trending-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.home-trending-list{padding:0;margin:0;list-style:none;display:grid;gap:8px}
.home-trending-list li{display:flex;align-items:center;gap:7px}
.trend-medal{width:22px;height:22px;display:grid;place-items:center;flex:none;background:#ecf0f6;color:#4d6888;border-radius:50%;font-size:11px;font-weight:900}
.trend-1{background:#ffe3a3;color:#986200}.trend-2{background:#dde5f5;color:#6e7e99}.trend-3{background:#ffe0d1;color:#bb6546}
.home-trending-list a{display:block;font-size:11px;font-weight:850;color:#1c67b3;overflow-wrap:anywhere;line-height:1.35}
.home-trending-list small{display:block;font-size:9px;color:#7888a1}
.home-event{display:flex;gap:9px;align-items:start;margin:8px 0 0;border-bottom:1px solid #ebedf3;padding-bottom:8px}
.home-event:last-child{border-bottom:0;padding-bottom:0}
.home-event-cover{width:73px;height:61px;display:grid;place-items:center;flex:none;border-radius:7px;color:#ffe1ae;font-size:28px;background:linear-gradient(135deg,#163a70,#396dc4,#0e1a4d)}
.cover-event-2{background:linear-gradient(120deg,#6d85cf,#e8a7d7,#a7dcda)}.cover-event-3{background:linear-gradient(135deg,#8f5a33,#ecc08c,#476fa1)}
.home-event-info{display:flex;flex-direction:column;gap:3px}
.home-event-info strong{color:#12335f;font-size:11px;line-height:1.35}
.home-event-info small{font-size:10px;color:#78859a}
.home-event-info>span{font-size:10px;color:#d65488}
.solemi-home-right .recommend-members{padding:10px}
.solemi-home-right .recommend-members .muted{font-size:10px;margin:5px 0}
.solemi-home-right .mini-user{display:flex;align-items:center;gap:6px;margin:7px 0;font-size:11px;min-width:0}
.solemi-home-right .mini-user>div{flex:1;min-width:0}
.solemi-home-right .mini-user small{font-size:9px;line-height:1.3}
.solemi-home-right .mini-user .button{font-size:9px;padding:5px 8px;border-radius:7px;background:#217de7;border:0;color:white}
.home-ranking-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;background:#f1f3f7;padding:2px;border-radius:6px;margin:4px 0 9px}
.home-ranking-types a{text-align:center;font-size:10px;color:#647691;padding:5px 2px}
.home-ranking-types a.selected{color:#fff;border-radius:5px;background:#2785e3}
.home-rank-row{display:flex;gap:8px;align-items:center;border-bottom:1px solid #e7edf5;padding:7px 0}
.home-rank-row:last-child{border:0}
.rank-number{font-size:13px;color:#ae7e24;font-weight:900;min-width:20px;text-align:center}
.home-rank-thumb{width:45px;height:38px;display:grid;place-items:center;border-radius:6px;background:linear-gradient(145deg,#30559a,#7db4f1);color:#f8d27e;flex:none}
.cover-rank-2{background:linear-gradient(135deg,#79a3c1,#d5aecf)}.cover-rank-3{background:linear-gradient(135deg,#3b7070,#a1d7a5)}.cover-rank-4{background:linear-gradient(135deg,#926b9f,#e3a9c2)}
.home-rank-details{flex:1;min-width:0}
.home-rank-details strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#163559}
.home-rank-details small{display:block;color:#73839a;font-size:9px}
.solemi-home-games>p,.solemi-home-right .portal-bridge p{font-size:11px;color:#60738b;margin:8px 0}
.solemi-home-game-cover{height:74px;border-radius:7px;background:linear-gradient(105deg,#0c254756,#00000000),var(--solemi-hero-art);background-position:center;background-size:cover}
.solemi-home-game-action{display:block;font-size:11px;text-align:center;padding:7px;border-radius:7px;background:#f0f6fe;color:#116bb6;font-weight:800}
.solemi-home-right .portal-bridge .button{font-size:11px;padding:7px}
.home-achievement{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #edf1f6}
.home-achievement>span{color:#d4a442;font-size:20px}
.home-achievement strong{font-size:11px;display:block}
.home-achievement small{font-size:10px;color:#7e90aa}
.solemi-home-guest-cta{margin:0;padding:15px}
.solemi-home-guest-cta h2{font-size:15px;margin:0 0 7px}
.solemi-home-guest-cta p{font-size:12px}
.solemi-home-guest-cta .actions{display:flex;gap:8px}
.solemi-home-guest-cta .button{font-size:12px;padding:8px 12px}
#home-compose,#home-feed{scroll-margin-top:70px}
@media(min-width:1550px){.solemi-home-grid{grid-template-columns:minmax(220px,22%) minmax(0,1fr) minmax(320px,27.5%)}.solemi-home-quickcover{height:70px}}
@media(max-width:1140px){body.solemi-home-page .site-header.solemi-home-topbar{gap:7px;padding-left:12px;padding-right:12px}body.solemi-home-page .solemi-home-topbar .brand{min-width:150px;width:150px}body.solemi-home-page .solemi-home-top-icon{min-width:55px}body.solemi-home-page .solemi-home-header-auth a{min-width:73px;padding:0 9px}.solemi-home-grid{grid-template-columns:minmax(185px,22%) minmax(0,1fr) minmax(245px,27.5%);gap:10px}.solemi-home-quicknav{gap:6px}.solemi-home-quicklink strong{font-size:11px}.solemi-home-quicklink small{font-size:9px}.solemi-home-stats-award{gap:1px}.solemi-home-stats-award>span{font-size:25px}}
@media(max-width:930px){body.solemi-home-page .solemi-home-topbar .brand{width:130px;min-width:130px}body.solemi-home-page .solemi-home-topbar .brand strong{font-size:26px}body.solemi-home-page .solemi-home-top-icon{min-width:49px}body.solemi-home-page .solemi-home-top-icon small{font-size:9px}body.solemi-home-page .solemi-home-header-auth a{min-width:67px}.solemi-home-stats{grid-template-columns:repeat(5,1fr)}.solemi-home-stats-award{display:none}.solemi-home-quicknav{grid-template-columns:repeat(4,1fr)}.solemi-home-grid{grid-template-columns:minmax(177px,25%) minmax(0,1fr)}.solemi-home-right{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.solemi-home-left{grid-row:1 / span 2}.solemi-home-center{grid-column:2}.solemi-home-right>.portal-bridge{grid-column:auto}}
@media(max-width:700px){body.solemi-home-page .site-header.solemi-home-topbar{flex-wrap:wrap;padding:7px 10px;gap:7px}body.solemi-home-page .solemi-home-topbar .brand{min-width:125px;width:125px}body.solemi-home-page .solemi-home-search{order:5;flex-basis:100%;max-width:none;margin:0}body.solemi-home-page .solemi-home-top-actions{margin-left:auto}body.solemi-home-page .solemi-home-top-icon{height:35px;min-width:38px}body.solemi-home-page .solemi-home-top-icon span{font-size:20px}body.solemi-home-page .solemi-home-top-icon small{display:none}body.solemi-home-page .solemi-home-header-auth a{height:30px;font-size:10px;padding:0 7px;min-width:0}body.solemi-home-page .solemi-home-allmenu>summary{font-size:11px;padding:6px} .solemi-home-stats{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 5px}.solemi-home-stat{padding:8px 4px;border-bottom:1px solid #254976}.solemi-home-stat .home-icon{font-size:20px}.solemi-home-stat-text small{font-size:9px}.solemi-home-stat-text strong{font-size:17px}.solemi-home-quicknav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px}.solemi-home-quicklink{min-height:100px;padding:0 2px}.solemi-home-quickcover{height:48px}.solemi-home-quicklink strong{font-size:10px;white-space:normal}.solemi-home-quicklink small{display:none}.solemi-home-grid{display:flex;flex-direction:column;gap:10px;padding:0}.solemi-home-left,.solemi-home-center,.solemi-home-right{width:100%}.solemi-home-left{padding:7px}.solemi-home-mainmenu{display:flex;overflow-x:auto;scrollbar-width:thin}.solemi-home-mainlink{flex:none;min-height:35px;font-size:11px;padding:5px 9px;gap:5px}.solemi-home-auth-links{grid-template-columns:1fr 1fr;margin:8px 0}.solemi-home-howto,.solemi-home-premium,.solemi-home-selfcard{display:none}.solemi-home-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.solemi-home-feedtab{font-size:11px}.solemi-home-center .post-form .form-foot button{padding:7px 9px}.home-trending-columns{gap:6px}}
@media(max-width:480px){.solemi-home-stat-text strong{font-size:15px}.solemi-home-stat .home-icon{font-size:17px}.solemi-home-stat-text small{font-size:8px}.solemi-home-right{grid-template-columns:1fr}.solemi-home-quicklink strong{font-size:10px}.solemi-home-quicklink .home-icon{font-size:19px}.solemi-home-center .post-form .form-foot{gap:4px}.solemi-home-center .post-form textarea[name=body]{font-size:12px}.solemi-home-composer-tools{gap:2px!important}}
@media(prefers-reduced-motion:reduce){.solemi-home-shell *{scroll-behavior:auto;transition:none!important;animation:none!important}}

/* v2.8: マイアバター。既存のレイヤー画像を1回だけ描画し、PC/スマホで共用。 */
.solemi-home-avatar-card{position:relative;padding:12px 10px 11px;border:1px solid #c9dbf4;border-radius:12px;background:linear-gradient(155deg,#e8f3ff 0%,#fff 37%,#fff 100%);box-shadow:0 4px 15px #093f7b16;color:#18365c;overflow:hidden}
.solemi-home-avatar-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;margin-bottom:8px}
.solemi-home-avatar-heading small{display:block;color:#277bce;font-weight:900;font-size:9px;letter-spacing:.14em}
.solemi-home-avatar-heading h2{font-size:16px;font-weight:900;margin:0;color:#15376c;line-height:1.35}
.solemi-home-avatar-profile{font-size:10px;font-weight:800;white-space:nowrap;align-self:center;color:#1265bd}
.solemi-home-avatar-layout{display:flex;flex-direction:column;align-items:stretch;gap:7px}
.solemi-home-avatar-stage{min-height:232px;border-radius:11px;background:radial-gradient(ellipse at 50% 35%,#f8fbff 0%,#dceeff 67%,#c9e3fd 100%);border:1px solid #cfe2f5;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.solemi-home-avatar-stage .solemi-avatar-figure{gap:0}
.solemi-home-avatar-stage .solemi-avatar-figure small{display:none}
.solemi-home-avatar-stage .solemi-avatar-canvas{background:transparent;box-shadow:none;border-radius:0}
.solemi-home-avatar-stage>.avatar{flex:none}
.solemi-home-avatar-content{text-align:center;min-width:0}
.solemi-home-avatar-name{display:block;font-size:13px;font-weight:900;color:#153a70;overflow-wrap:anywhere;line-height:1.4}
.solemi-home-avatar-message{font-size:10px;color:#64809f;margin:3px 0 6px;line-height:1.4}
.solemi-home-avatar-points{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;padding:4px 8px;border:1px solid #f2e2b9;border-radius:99px;background:#fff9e9;font-size:12px;font-weight:850;color:#846019}
.solemi-home-avatar-points span{font-size:9px;color:#7a6a4e;font-weight:700}
.solemi-home-avatar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:9px 0 3px}
.solemi-home-avatar-action{display:flex;align-items:center;justify-content:center;min-height:32px;padding:6px 5px;border:1px solid #cbdff8;border-radius:8px;background:#f0f7ff;color:#1b65a9;font-size:11px;font-weight:850;line-height:1.35;text-align:center}
.solemi-home-avatar-action.is-primary{color:#fff;background:linear-gradient(115deg,#288fe6,#0c61cb);border-color:#0f69cb}
.solemi-home-avatar-action.is-outfit{grid-column:1/-1;background:#fff;border-color:#dbe5f0}
.solemi-home-avatar-action:hover,.solemi-home-avatar-profile:hover,.solemi-home-avatar-footer a:hover{filter:brightness(.95);text-decoration:underline}
.solemi-home-avatar-footer{margin-top:7px;padding-top:8px;border-top:1px solid #e3ebf7;text-align:center}
.solemi-home-avatar-footer a{color:#5e7593;font-size:10px;font-weight:700}
@media(max-width:700px){
 .solemi-home-left .solemi-home-mainmenu{order:0}
 .solemi-home-left .solemi-home-auth-links{order:1}
 .solemi-home-left .solemi-home-avatar-card{order:2}
 .solemi-home-avatar-card{padding:11px 12px}
 .solemi-home-avatar-heading{margin-bottom:6px}
 .solemi-home-avatar-layout{flex-direction:row;align-items:center;gap:12px}
 .solemi-home-avatar-stage{flex:0 0 104px;width:104px;min-height:164px;height:164px;align-self:stretch}
 .solemi-home-avatar-stage .solemi-avatar-figure{position:absolute;left:13px;top:3px;transform:scale(.7);transform-origin:top left}
 .solemi-home-avatar-content{text-align:left;flex:1}
 .solemi-home-avatar-message{margin:2px 0 5px}
 .solemi-home-avatar-points{font-size:11px}
 .solemi-home-avatar-actions{margin:8px 0 0}
 .solemi-home-avatar-footer{text-align:right;margin-top:5px;padding-top:5px}
}
@media(max-width:360px){
 .solemi-home-avatar-layout{gap:7px}
 .solemi-home-avatar-stage{flex-basis:90px;width:90px}
 .solemi-home-avatar-stage .solemi-avatar-figure{left:6px}
 .solemi-home-avatar-heading h2{font-size:14px}
 .solemi-home-avatar-action{font-size:10px}
}

/* v2.9.1: user-provided Solemi illustrations, compressed to local WebP assets.
   Functional cards keep their existing destinations and text; these images are decorative. */
.solemi-home-quickcover{
  background-color:#dceafa;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.cover-town{background-image:url('./home-art/harbor.webp')}
.cover-library{background-image:url('./home-art/starry-world.webp')}
.cover-diary{background-image:url('./home-art/travel-journal.webp')}
.cover-nature{background-image:url('./home-art/city-panorama.webp')}
.cover-game{background-image:url('./home-art/game-controller.webp')}
.cover-festival{background-image:url('./home-art/sunset-event.webp')}
.cover-trophy{background-image:url('./home-art/golden-trophy.webp')}
.cover-friend{background-image:url('./home-art/adventurers.webp')}
/* The supplied guide graphic already has its own typography. */
.solemi-home-welcome-card{
  display:block;
  overflow:hidden;
  min-height:0;
  margin:0 3px;
  padding:0;
  background:#f1fae5;
  line-height:0;
  border:1px solid #dce9d1;
  border-radius:9px;
}
.solemi-home-welcome-card img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1754/897;
  object-fit:cover;
}
.solemi-home-welcome-card:hover{box-shadow:0 3px 12px #174a7d33}
.solemi-home-welcome-card:focus-visible{outline:3px solid #1479db;outline-offset:3px}
/* Section thumbnails are illustrative, not images from individual posts or events. */
.home-event-cover{background-image:url('./home-art/sunset-event.webp');background-size:cover;background-position:center;color:#fff;text-shadow:0 1px 5px #10254f}
.home-event-cover.cover-event-2{background-image:url('./home-art/adventurers.webp')}
.home-event-cover.cover-event-3{background-image:url('./home-art/harbor.webp')}
.solemi-home-game-cover{
  background-image:linear-gradient(110deg,#071b3966,#071b3900 70%),url('./home-art/game-controller.webp');
  background-size:cover;
  background-position:center 53%;
}
/* Keep rankings data-driven: the trophy is a section emblem, not a fake post thumbnail. */
.home-ranking .home-sidebar-title::before{
  content:'';
  flex:none;
  width:39px;
  height:32px;
  border-radius:6px;
  background:#f3e2ba url('./home-art/golden-trophy.webp') center/cover no-repeat;
}
.solemi-home-premium{
  background-image:linear-gradient(165deg,#04152bdc,#062550e5),url('./home-art/starry-world.webp');
  background-size:cover;
  background-position:center;
}

/* v2.9.3: ホームのガイド画像リンクはモバイルでも表示。ガイド本文は /guide に集約。 */
@media (max-width:700px) {
  body.solemi-home-page .solemi-home-welcome-card {
    display:block;
    width:100%;
    max-width:420px;
    margin:0 auto;
  }
}
