/* Guild settings ledger: static paper/enamel detail, motion only on interaction. */
body #app .realm-world-tools .leaderboard-launch{width:48px;height:44px;min-width:48px;min-height:44px;display:grid;place-items:center;padding:6px}
body #app .leaderboard-launch>.icon{width:30px!important;height:30px!important;stroke:#6e471b;fill:#efc360;filter:drop-shadow(0 1px 1px #fff0ba);transition:transform .18s ease}
body #app .leaderboard-launch:is(:hover,:focus-visible)>.icon{transform:rotate(-7deg) translateY(-2px)}
body #app .leaderboard-launch:active>.icon{transform:scale(.91)}
body #app .leaderboard-launch:focus-visible{outline:2px solid #215967;outline-offset:2px}
[data-graphics=low] #app .leaderboard-launch,[data-graphics=low] #app .leaderboard-launch>.icon{transition:none;transform:none!important}
@media(prefers-reduced-motion:reduce){body #app .leaderboard-launch,body #app .leaderboard-launch>.icon{transition:none;transform:none!important}}
body #app .realm-world-tools .settings-launch{width:48px;height:48px;min-width:48px;min-height:48px;padding:6px;display:grid;place-items:center}
body #app .settings-launch>.icon{width:38px!important;height:38px!important;color:#c7cbd0;filter:drop-shadow(0 1px 1px #273b49);transform-origin:center}
body #app .settings-launch>.settings-gear path{stroke:#384957!important;stroke-width:.65;fill:#c7cbd0!important;paint-order:stroke fill}
body #app .settings-launch:is(:hover,:focus-visible)>.icon{animation:settings-turn .7s ease both}
body #app .settings-launch:active>.icon{transform:rotate(25deg) scale(.92)}
body .settings-modal{width:min(540px,calc(100vw - 24px));max-height:min(780px,92dvh);padding:0!important;display:flex;flex-direction:column;overflow:hidden}
body .settings-modal .modal-header{margin:0;padding:16px 20px;flex:none}
body .settings-modal .game-settings{min-height:0;display:flex;flex-direction:column}
body .settings-nav{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:4px;padding:12px 16px;background:#e9dfc6;border-bottom:1px solid #cfc2a3;flex:none}
body .settings-nav button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;min-width:0;border:0;border-radius:2px;background:transparent;color:#31535b;font-family:inherit;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer;padding:8px 4px}
body .settings-nav .icon{width:18px;height:18px;flex:none}
body .settings-nav button[aria-current=page]{background:#215967;color:#fff1d2;box-shadow:inset 0 -3px #b5945b}
body .settings-content{overflow:auto;overscroll-behavior:contain;scrollbar-color:#ac8548 transparent;padding:16px 20px 20px;min-height:0}
body .game-settings [hidden]{display:none!important}
body .settings-community{flex:none;padding:12px 20px 16px;border-top:1px solid #cfc2a3;background:#e9dfc6}
body .settings-discord{display:flex;align-items:center;gap:12px;padding:10px 13px;min-height:54px;min-width:0;text-decoration:none;background:#4b557d;color:#fff5df!important;border:1px solid #a39475;border-bottom:3px solid #303952;border-radius:3px 9px 3px 9px!important;box-shadow:inset 0 1px #a5aec7,inset 0 0 0 3px #ffffff09;transition:transform .15s,background-color .15s}
body .settings-discord .discord-mark{width:28px;height:28px;flex:none;color:#fff5df}
body .settings-discord>span:not(.discord-link-arrow){display:grid;gap:2px;min-width:0}
body .settings-discord strong{font-size:14px;line-height:1.3;color:#fff5df!important}
body .settings-discord small{font-size:11px;line-height:1.4;color:#e0e5f1!important;overflow-wrap:anywhere}
body .settings-discord .discord-link-arrow{margin-left:auto;flex:none;font-size:22px;color:#e9d59f!important}
body .settings-discord:focus-visible{outline:3px solid #13718a;outline-offset:3px}
@media(hover:hover){body .settings-discord:hover{background:#59668e;transform:translateY(-1px)}}
body .settings-discord:active{transform:translateY(1px)}
@media(max-width:420px){body .settings-community{padding:10px 14px 12px}}
@media(prefers-reduced-motion:reduce){body .settings-discord{transition:none;transform:none!important}}
html[data-graphics=low] .settings-discord{transition:none;transform:none!important}
body .game-settings .settings-card{margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid #d8c9a8}
body .game-settings .settings-card:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
body .game-settings h3{font:700 20px/1.3 Georgia,serif;color:#25494b;margin:2px 0 14px}
body .game-settings .volume-control{margin:12px 0}
body .game-settings .volume-control input{margin-top:2px}
body .game-settings .settings-row{font-size:14px;min-height:46px;padding:10px 12px;gap:10px}
body .game-settings .settings-row strong{font-size:12px}
body .game-settings .settings-account{font-size:14px}
body .game-settings .fine-print{margin:8px 0 0;font-size:12px}
body .guide-entry{border-bottom:1px solid #d8c9a8;margin:0}
body .guide-entry:last-child{border-bottom:0}
body .guide-entry>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:54px;padding:12px 4px;cursor:pointer;color:#25494b;font-size:14px;font-weight:900}
body .guide-entry>summary::-webkit-details-marker{display:none}
body .guide-entry>summary>.icon{width:22px;height:22px;color:#907139;flex:none}
body .guide-chevron{margin-left:auto;font-size:24px;line-height:1;transition:transform .18s}
body .guide-entry[open] .guide-chevron{transform:rotate(90deg)}
body .guide-copy{padding:0 4px 14px;color:#344e50;overflow-wrap:anywhere}
body .settings-modal .guide-copy p,body .settings-modal .guide-copy li{font-size:14px;line-height:1.65;margin:0 0 12px;color:#344e50}
body .guide-copy ul{padding-left:20px;margin:0 0 12px}
body .guide-copy h4{font-size:15px;margin:16px 0 8px;color:#25494b}
body .guide-copy a{text-decoration:underline;color:#215967}
body .guide-copy .guide-updated{font-size:12px;color:#53615d}
body .guide-table-wrap{max-width:100%;overflow:auto}
body .guide-rates{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:13px;font-variant-numeric:tabular-nums}
body .guide-rates caption{text-align:left;font-weight:900;margin:4px 0 8px}
body .guide-rates :is(th,td){padding:8px 6px;border-bottom:1px solid #d8c9a8;text-align:right}
body .guide-rates th:first-child{text-align:left}
body .guide-rates thead{background:#e9dfc6;color:#25494b}
body .guide-stat-list{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px;margin:0 0 12px}
body .guide-stat-list>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #d8c9a8;padding:5px 0;font-size:13px}
body .guide-stat-list dd{font-weight:900;margin:0}
body .settings-content :is(button,a,summary,input):focus-visible,body .settings-nav button:focus-visible{outline:3px solid #13718a;outline-offset:2px}
body .panel-help{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin:8px 0;font-size:12px;color:#53615d}
body .panel-help button{min-height:36px}
body .chest-brief{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;font-size:13px;align-items:center;margin:8px 0 14px}
body .shop-welcome.shop-compact{padding-bottom:10px}
@keyframes settings-turn{0%{transform:rotate(0)}65%{transform:rotate(100deg)}100%{transform:rotate(90deg)}}
@media(max-width:420px){body .settings-modal{max-height:94dvh}body .settings-content{padding:12px 14px 16px}body .settings-nav{padding:8px 10px}body .settings-nav button{font-size:12px;gap:4px}body .guide-entry>summary{font-size:13px}}
@media(prefers-reduced-motion:reduce){body #app .settings-launch>.icon{animation:none!important;transition:none!important;transform:none!important}body .guide-chevron{transition:none}}
