/* Approved site polish: preserve the game's existing palette and controls. */
.creator-feedback{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px}.owner-stats-link{display:inline-flex;align-items:center;text-decoration:none;padding:9px 15px;border:1px solid #ac956b;border-radius:5px;color:#e9ddc2;font:inherit}
.library-intro{position:relative;min-height:100svh;display:flex;align-items:center;background:linear-gradient(90deg,rgba(10,20,26,.91),rgba(10,20,26,.55) 48%,rgba(10,20,26,.08)),url('/assets/season-update/library-starlight-20261027.png') center/cover;color:#f5eddb;padding:clamp(30px,7vw,110px);box-sizing:border-box}.library-back{position:absolute;left:24px;top:24px;background:#15242dcc;border:1px solid #bfa878;color:#f5eddb;border-radius:4px;padding:11px 17px;font:inherit}.library-intro-copy{max-width:620px;text-shadow:0 2px 6px #0009}.library-intro-copy>p:first-child{color:#d7be86;font-size:17px;letter-spacing:.12em}.library-intro h1{font-size:clamp(52px,7vw,90px);margin:16px 0 25px;line-height:1.15}.library-intro p{font-size:clamp(17px,2vw,22px);line-height:1.85}.library-enter{display:flex;gap:60px;align-items:center;background:#dcc99b;border:1px solid #ffedbc;border-radius:4px;color:#1b2b32;font-size:20px;font-weight:750;padding:17px 24px;cursor:pointer;margin-top:34px;box-shadow:0 6px 22px #0005}.library-intro small{display:block;margin-top:18px;color:#d0d9d8;font-size:14px}
.sglib-welcome{display:flex;align-items:center;gap:22px;overflow:hidden}.sglib-zhuge{object-fit:contain;width:clamp(125px,22vw,250px);height:200px;flex-shrink:0}.sglib-welcome>div{position:relative}.sglib-welcome h2{line-height:1.3}
#library-download-toast{position:fixed;z-index:10000;bottom:max(22px,env(safe-area-inset-bottom));right:22px;max-width:calc(100vw - 40px);display:flex;gap:12px;align-items:center;box-sizing:border-box;background:#20363bf5;color:#f9f1da;padding:12px 22px 12px 6px;border:1px solid #c9b780;border-radius:10px;box-shadow:0 8px 35px #0005;pointer-events:none}#library-download-toast[hidden]{display:none}#library-download-toast img{width:90px;height:75px;object-fit:contain}#library-download-toast b,#library-download-toast small{display:block}#library-download-toast small{font-size:12px;margin-top:6px;color:#d4dedd}
.future-card-wrap{display:block;width:100%;height:100%;position:relative;overflow:hidden}.future-card-wrap>img{width:100%;height:100%;object-fit:fill}.future-season{position:absolute;top:3%;left:19%;right:3%;padding:5px 2px;border-radius:3px;background:#173c53ee;color:#f3f8e9;border:1px solid #afcccd;font-size:clamp(8px,1.1vw,15px);font-weight:750;text-align:center;line-height:1.3;white-space:nowrap;z-index:4}.collection-placeholder{position:absolute;left:4%;right:4%;bottom:16%;background:#422b50ed;color:#f6e7ff;text-align:center;padding:4px;font-size:clamp(8px,1vw,12px);z-index:4}.future-tactic{display:inline-block;margin-left:8px;padding:3px 7px;border:1px solid #799daf;border-radius:4px;background:#203f50;color:#e1f3f6;font-size:12px;font-weight:500}.translated-tactic{font-size:16px;line-height:1.8;padding:16px;background:#26373d;color:#f1ebda;border:1px solid #576d73;border-radius:6px}.translated-tactic p{margin:8px 0}.translated-tactic small{display:block;color:#b7d0d5;margin-top:16px;font-size:12px}.translated-tactic .tactic-origin{color:#e9c985;font-size:14px}
.r-heading{flex-wrap:wrap;align-items:center;gap:8px 18px!important;overflow:visible!important}.r-heading h1{margin-right:3px}.r-heading>span{flex-basis:100%}.r-header{overflow:visible!important;position:relative;z-index:30}.r-season-picker{position:relative;display:inline-block;color:#e9ddb8;text-shadow:none;font-size:clamp(13px,1.6vw,18px);z-index:80}.r-season-picker summary{cursor:pointer;list-style:none;background:#172c30;border:1px solid #a89669;border-radius:5px;padding:9px 13px;white-space:nowrap}.r-season-picker summary::-webkit-details-marker{display:none}.r-season-picker summary span{margin-left:12px}.r-season-options{position:absolute;top:calc(100% + 6px);left:0;min-width:235px;padding:7px;background:#192d31;border:1px solid #bcaa78;border-radius:5px;box-shadow:0 12px 30px #0008;display:grid;gap:4px;z-index:200}.r-season-options button{font:inherit;color:#f4ead0;text-align:left;padding:13px 16px;cursor:pointer;border:0;background:transparent;white-space:nowrap}.r-season-options button[aria-pressed=true]{background:#6b5d3a;color:#fff5d8}.r-season-options button:hover{background:#3a4f50}.r-season-options button:disabled{opacity:.5;cursor:wait}
.r-balanced-art,.r-balanced-cards{display:flex!important;align-items:center;justify-content:center;gap:clamp(8px,2vw,28px);width:100%;min-height:270px;box-sizing:border-box;padding:10px 20px 30px}.r-balanced-art{background:radial-gradient(ellipse at center bottom,#69553966,transparent 70%);height:clamp(310px,42vw,520px);align-items:flex-end}.r-balanced-art figure{margin:0;width:min(30%,330px);height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.r-balanced-art img{height:calc(100% - 40px);width:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 10px 15px #0008)}.r-balanced-art figure.card-fallback img{max-height:82%;width:80%;object-position:center}.r-balanced-art figcaption{font-size:clamp(13px,1.5vw,21px);margin-top:9px;color:#f0dfba;white-space:nowrap}.r-balanced-cards>.r-feature-card{width:clamp(100px,17vw,205px)!important;height:auto!important;aspect-ratio:2/3;flex:0 0 auto!important;max-width:none!important}.r-balanced-cards .rt-card{width:100%;height:100%}.rt-release-badge{background:#173c53!important;color:#e9f7f7!important;border:1px solid #a3c6d0!important}.r-season-neutral>h2{display:none}.r-season-neutral{padding-top:22px!important}.r-neutral-scene .r-game-draw{position:relative!important;z-index:2}.r-neutral-scene .r-balanced-art{margin-bottom:12px}
@media(max-width:700px){.library-intro{background-position:59% center;padding:90px 28px 48px}.library-intro-copy{max-width:410px}.library-intro{background-image:linear-gradient(90deg,#0a141ae8,#0a141a88),url('/assets/season-update/library-starlight-20261027.png')}.sglib-welcome{gap:8px;padding:15px!important}.sglib-zhuge{width:110px;height:145px}.sglib-welcome h2{font-size:21px!important}.sglib-welcome p{font-size:13px!important}#library-download-toast{right:12px;max-width:calc(100vw - 24px);padding-right:12px}.r-season-picker summary{padding:7px 10px}.r-balanced-cards{gap:10px;padding-inline:6px}.r-balanced-cards>.r-feature-card{width:clamp(90px,23vw,150px)!important}.r-balanced-art{height:310px;padding-inline:5px;gap:5px}.r-balanced-art figure{width:32%}.future-season{font-size:9px;padding:3px 0}}
/* Wide mounted portraits and narrow standing portraits share the same visible height. */
.r-balanced-art figure{overflow:hidden}.r-balanced-art figure:not(.card-fallback) img{object-fit:cover;object-position:50% 100%;max-width:none;min-height:0}.r-balanced-art figure:not(.card-fallback){border-radius:8px 8px 0 0}.r-balanced-art figure.card-fallback img{object-fit:contain}.r-balanced-art figcaption{flex:0 0 31px;width:100%;text-align:center;background:linear-gradient(90deg,transparent,#29282188,transparent);padding-top:5px;position:relative}
@media(max-width:700px){.r-balanced-art{height:290px;min-height:250px}.r-balanced-art img{height:calc(100% - 40px)}}
.r-package-portrait .future-season,.r-package-portrait .collection-placeholder{display:none}

/* 2026.10.27 library illustration and guide colors */
.sglib-zhuge{object-fit:cover;object-position:75% center;border-radius:12px;width:clamp(160px,28vw,300px);height:190px}.sglib-tree-file.blue,.sglib-file-row.blue strong,.sglib-recommendations .blue{color:#216bc0}.sglib-recommendations{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.library-intro{background-position:70% center}@media(max-width:650px){.library-intro{align-items:flex-end;padding:270px 24px 42px;background-position:66% center;background-image:linear-gradient(0deg,#09121ff2 0%,#09121fc9 38%,#09121f22 77%),url("/assets/season-update/library-starlight-20261027.png")}.library-intro-copy{max-width:100%}.library-intro h1{font-size:50px;margin:10px 0 16px}.library-intro p{font-size:16px;line-height:1.7}.sglib-zhuge{width:120px;height:145px}.sglib-welcome h2{font-size:20px!important}.sglib-welcome p{font-size:12px!important}}
