:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#292734;background:#f6f6f9;font-size:16px;font-synthesis:none;--muted:#74717f;--line:#ecebf1;--purple:#6e57a0;--ink:#252034;--orange:#e9a05c;--green:#377b63;--radius:14px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #af8de0;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #ab8bd8;outline-offset:1px}h1,h2,h3,p{margin-top:0}h1{font-size:1.85rem;letter-spacing:-.06rem;margin-bottom:8px;font-weight:720}h2{font-size:1.05rem;letter-spacing:-.02em;font-weight:650;margin-bottom:8px}h3{font-size:1rem;font-weight:650;margin-bottom:8px}p{line-height:1.65}small{font-size:.8125rem}strong{font-weight:600}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:16px;padding:12px;background:white;z-index:100}.skip-link:focus{top:12px}.loading,.recovery{max-width:720px;margin:15vh auto;padding:32px}.recovery .btn{margin:10px 12px 0 0}.recovery p{color:var(--muted)}
.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#241f32;color:#aaa5ba;padding:31px 19px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;padding:0 10px;color:#faf8ff;font-size:1.35rem;letter-spacing:.17em;font-weight:750}.brand small{display:block;color:#b0a7bf;font-size:.625rem;letter-spacing:.16em;font-weight:500;margin-top:6px}.kingdom-tag{display:flex;align-items:center;gap:8px;margin:28px 9px 26px;font-size:.75rem;color:#a39bb3}.kingdom-tag .icon{width:15px;height:15px;color:#caa276}.nav-label{font-size:.625rem;letter-spacing:.14em;font-weight:650;color:#90879e;padding:0 14px 12px}.nav-label.second{margin-top:32px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;min-height:44px;padding:12px 14px;border-radius:8px;color:#bdb5cc;font-size:.875rem;margin-bottom:5px;border:0;text-align:left;background:transparent;transition:background .15s,color .15s}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#332b44;color:white}.nav-item.active{background:#42334e;color:#f4c397}.nav-item.active .icon{color:#f2ba86}.nav-count{margin-left:auto;font-size:.75rem;color:#d5c8e1;background:#3d344c;padding:2px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding-top:30px}.local-status{padding:16px 12px;border-top:1px solid #3c3349;display:flex;gap:10px;font-size:.75rem;color:#e0d8e7}.local-status>.icon{color:#b1c3a9;width:17px;height:17px;margin-top:2px}.local-status small{display:block;font-size:.6875rem;color:#a59ab3;margin-top:5px}.settings-btn{font-size:.8125rem;margin-top:7px}.workspace{margin-left:244px}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:28px;padding:0 40px}.breadcrumb{font-size:.8125rem;color:#8b8796;white-space:nowrap}.breadcrumb span{margin:0 11px;color:#c6c2cd}.breadcrumb strong{color:#4b4659;font-weight:500}.global-search{display:flex;align-items:center;gap:10px;margin-left:auto;border:1px solid #e9e6ee;background:#faf9fc;border-radius:8px;height:39px;padding:0 11px;color:#858090;min-width:260px;font-size:.8125rem}.global-search .icon{width:16px;height:16px}.global-search kbd{margin-left:auto;font-family:inherit;font-size:.6875rem;border:1px solid #e5e0e9;border-radius:4px;padding:3px 4px;background:white}.profile{display:flex;align-items:center;gap:10px;font-size:.75rem;font-weight:600;white-space:nowrap}.profile small{display:block;font-size:.6875rem;color:var(--muted);font-weight:400;margin-top:4px}.profile-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#ede6f6;color:#79618f;font-weight:600}.mobile-menu{display:none!important}main{max-width:1550px;margin:auto;padding:34px 40px 42px;min-height:calc(100vh - 150px)}main:focus{outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:.625rem;letter-spacing:.15em;font-weight:650;color:#9a839e;margin-bottom:10px}.page-heading p:not(.eyebrow){font-size:.875rem;color:var(--muted);margin:0}.page-actions{display:flex;gap:12px;align-items:center;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e2dee8;background:white;min-height:40px;border-radius:7px;padding:10px 15px;font-size:.8125rem;font-weight:600;line-height:1.2;white-space:nowrap;transition:background .15s,transform .15s}.btn .icon{width:16px;height:16px}.btn:hover{background:#f3f0f7}.btn.primary{background:#776092;color:white;border-color:#776092}.btn.primary:hover{background:#63507d}.btn.warm{background:#f2bc82;color:#3e2c32;border-color:#f2bc82}.btn.warm:hover{background:#ffcf99}.btn.danger{color:#ad3d46;border-color:#e7b4b8}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8e879b}.icon-btn:hover{background:#f0ecf4;color:#62467d}.icon-btn .icon{width:16px;height:16px}.text-link{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;color:#876b99;font-size:.8125rem;font-weight:600}.text-link:hover{text-decoration:underline}.text-link .icon{width:16px;height:16px}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23756c82' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid #e2dee8;border-radius:7px;padding:10px 34px 10px 13px;min-height:40px;color:#645c72;font-size:.8125rem;max-width:100%}.period-select{min-width:156px}.hero{overflow:hidden;position:relative;background:linear-gradient(115deg,#32283f,#3d314d 65%,#332d47);min-height:264px;border-radius:13px;color:white;margin-bottom:24px}.hero-copy{padding:31px 34px;position:relative;z-index:1}.hero-eyebrow{color:#e9b681;font-size:.625rem;letter-spacing:.18em;font-weight:600}.hero h2{font-size:2rem;line-height:1.15;font-weight:650;letter-spacing:-.05rem;margin:12px 0}.hero p{color:#c9bfd1;font-size:.8125rem;line-height:1.7;margin-bottom:20px}.hero-actions{display:flex;align-items:center;gap:24px}.hero-link{font-size:.75rem;color:#e3d6e9}.hero-link:hover{color:#f2bc82}.castle-art{position:absolute;right:30px;bottom:14px;width:43%;max-height:270px;height:95%;opacity:.95}.hero-caption{position:absolute;right:36px;bottom:14px;color:#a99ab9;letter-spacing:.2em;font-size:.5rem}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat-card{border:1px solid var(--line);border-radius:11px;background:#fff;padding:22px 20px;position:relative;display:flex;flex-direction:column;gap:10px;overflow:hidden}.stat-card>.stat-icon{position:absolute;right:17px;top:18px}.stat-label{font-size:.75rem;font-weight:500;color:#82798e;max-width:calc(100% - 38px)}.stat-card>strong{font-size:1.8rem;line-height:1.1;font-weight:650;letter-spacing:-.04em}.stat-card>small{color:#948a9c;font-size:.6875rem;line-height:1.4}.stat-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.stat-icon .icon{width:18px;height:18px}.stat-icon.purple{background:#f0ebf7;color:#8d75aa}.stat-icon.orange{background:#fdf0e4;color:#cc9150}.stat-icon.green{background:#eaf4ee;color:#7a9a7c}.stat-icon.blue{background:#edf1fa;color:#7a8fb4}.card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden}.dashboard-grid{display:grid;grid-template-columns:1.36fr 1fr;gap:24px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 18px}.card-heading h2{font-size:.9375rem;margin:0 0 6px}.card-heading p{color:var(--muted);font-size:.75rem;margin:0}.card-heading>.icon{color:#a99bb7}.task-list{padding:0 24px 8px}.task-row{width:100%;display:flex;align-items:center;gap:13px;padding:14px 0;background:none;border:0;border-top:1px solid #f1eef5;text-align:left}.task-row:hover{background:#fcf9ff}.item-icon{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;background:#f1ebf6;color:#89729b}.item-1{background:#eceef2;color:#7a8393}.item-2{background:#edf3e7;color:#92a567}.item-3{background:#f8e9e4;color:#bb8d79}.item-4{background:#f4f3e9;color:#b3a96b}.item-icon .icon{width:20px;height:20px}.task-name{flex:1;font-size:.8125rem;font-weight:550;min-width:0}.task-name small{display:block;color:#9b92a4;font-size:.6875rem;font-weight:400;margin-top:5px}.points-label{font-size:.8125rem;font-weight:650;color:#776082;white-space:nowrap}.points-label small{font-size:.625rem;color:#a196a8;font-weight:400}.badge{display:inline-flex;align-items:center;gap:5px;font-size:.6875rem;font-weight:500;line-height:1.3;white-space:nowrap;padding:5px 8px;border-radius:5px;vertical-align:middle}.badge.neutral{background:#f0eef4;color:#8b8198}.badge.purple{background:#f1eaf7;color:#9275a5}.badge.green{background:#edf6ef;color:#689473}.badge.orange{background:#fff2e4;color:#b9864d}.badge.red{background:#fbe9eb;color:#b46a71}.row-chevron{width:15px;height:15px;color:#c0b6ca}.guild-overview{padding-bottom:11px}.guild-progress{padding:4px 24px 10px}.guild-progress>div:first-child{display:flex;justify-content:space-between;font-size:.75rem;margin-bottom:10px}.guild-progress>div>span{display:flex;align-items:center;gap:8px}.guild-progress strong{font-size:.75rem}.guild-progress strong small{font-size:.625rem;font-weight:400;color:#aaa2b4}.guild-progress>small{font-size:.625rem;color:#a79bae;display:block;margin-top:5px}.guild-color{width:7px;height:7px;border-radius:2px;display:inline-block}.color-0{background:#9fb3a0}.color-1{background:#ac97bd}.color-2{background:#d9b18d}.color-3{background:#a4b6cc}.progress-track{height:5px;border-radius:5px;background:#f5f2f7;overflow:hidden}.progress-track>span{display:block;height:100%;border-radius:5px}.footnote{color:#9b8ea6;font-size:.6875rem;line-height:1.6;margin:16px 0}.guild-overview .footnote{padding:0 24px;margin:2px 0}.quick-section{margin-top:28px}.section-heading{display:flex;justify-content:space-between;gap:16px;margin-bottom:15px;align-items:center}.section-heading h2{font-size:1rem;margin:0}.section-heading>span{font-size:.75rem;color:#948b9e}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.quick-card{display:flex;align-items:center;gap:13px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:20px 18px}.quick-card:hover{border-color:#b7a2c9}.quick-card>.icon:first-child{color:#a48cae;width:21px;height:21px}.quick-card>div{flex:1}.quick-card h3{font-size:.8125rem;margin:0 0 7px}.quick-card p{font-size:.6875rem;line-height:1.5;margin:0;color:#9a8ea5}.quick-card>.icon:last-child{width:14px;height:14px;color:#b4a6c0}footer{border-top:1px solid var(--line);margin:0 40px;padding:20px 0;font-size:.625rem;letter-spacing:.12em;color:#a59aaf;display:flex;gap:18px}footer>span{letter-spacing:0;color:#a89db1}.footer-right{margin-left:auto}
.toolbar{display:flex;gap:12px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}main>.toolbar{padding:0;border:0;margin-bottom:22px}.field-search{display:flex;align-items:center;gap:10px;border:1px solid #e6e1eb;background:#fff;border-radius:7px;min-height:42px;padding:0 12px;min-width:220px;flex:1;max-width:430px}.field-search>.icon{color:#a89ab5;width:17px;height:17px}.field-search input{border:0;background:none;outline:0;width:100%;padding:11px 0;font-size:.875rem;color:#52465f}.field-search:focus-within{outline:2px solid #b89bcf;outline-offset:1px}input::placeholder,textarea::placeholder{color:#a49aac}.field-search input:focus{outline:0}.toolbar select{margin-left:auto}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{font-size:.75rem;color:#8b7f98;font-weight:500;padding:14px 24px;background:#faf9fc;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:17px 24px;border-bottom:1px solid #f1eef5;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfbff}td strong{font-size:.875rem}.cell-sub{display:block;color:#9b8ea5;font-size:.75rem;margin-top:6px;line-height:1.5;max-width:350px}td .badge{margin:2px}.badges{min-width:180px}.person{display:flex;align-items:center;gap:12px;background:transparent;border:0;text-align:left;padding:0;color:inherit;white-space:nowrap}.person small{display:block;font-size:.75rem;color:#9b8da6;margin-top:5px}.person:hover strong{color:#9471a8}.avatar{display:inline-grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:9px;background:hsl(var(--avatar-hue) 30% 92%);color:hsl(var(--avatar-hue) 24% 44%);font-size:.6875rem;font-weight:700;letter-spacing:.02em}.avatar.large{width:64px;height:64px;font-size:1.2rem;border-radius:16px}.table-footer{display:flex;justify-content:space-between;gap:18px;padding:17px 24px;border-top:1px solid var(--line);font-size:.75rem;color:#96869f;line-height:1.5}.table-footer span{font-size:.6875rem;color:#a095a8}.row-actions{display:flex;gap:3px}.guild-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.guild-card{padding:20px}.guild-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.guild-card h2{font-size:1rem}.guild-card p{font-size:.8125rem;color:#95849e;min-height:60px;margin-bottom:18px}.guild-meta{display:flex;justify-content:space-between;font-size:.75rem;padding-bottom:13px;border-bottom:1px solid var(--line);gap:6px;margin-bottom:12px}.guild-meta span{color:#a491ac}.guild-card>small{display:block;color:#9c87a7;font-size:.6875rem;line-height:1.5;margin-bottom:5px}.points-summary{display:flex;align-items:center;gap:18px;padding:23px 26px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.points-summary>.stat-icon{width:48px;height:48px}.points-summary strong{font-size:1.5rem}.points-summary strong>span{font-size:.9375rem;font-weight:400;color:#96829f}.points-summary p{margin:6px 0 0;color:#a491aa;font-size:.8125rem}.points-summary>.btn{margin-left:auto}.info-banner{display:flex;gap:12px;align-items:flex-start;color:#8a7496;font-size:.8125rem;line-height:1.6;background:#f0eaf6;border:1px solid #e6dcef;border-radius:9px;padding:15px 18px;margin-bottom:22px}.info-banner>.icon{width:18px;height:18px;margin-top:1px}.positive{color:#5d9474}.negative{color:#bb6673}.empty{text-align:center;padding:56px 24px;color:#a897b3}.empty>.icon{width:32px;height:32px;color:#c4b1cf;margin-bottom:15px}.empty h3{color:#80638e;margin-bottom:7px}.empty p{font-size:.875rem}.empty .btn{margin-top:10px}.kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.kanban-column{background:#efedf4;border:1px solid #e9e4ef;padding:18px;border-radius:12px;align-self:start}.kanban-column>h2{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.kanban-column>h2>span:last-child{color:#a791b3;font-size:.875rem;margin-right:5px}.project-card{display:block;width:100%;text-align:left;border:1px solid #e9e3ef;background:white;border-radius:10px;padding:19px;margin-bottom:14px}.project-card:last-child{margin-bottom:0}.project-card:hover{border-color:#b99aca;box-shadow:0 4px 15px #49315c08}.project-icon{display:grid;place-items:center;width:32px;height:32px;background:#f3edf8;color:#b198be;border-radius:7px;margin-bottom:16px}.project-icon .icon{width:17px;height:17px}.project-card p{font-size:.8125rem;color:#ac94b2;margin-bottom:18px}.project-card>div{display:flex;gap:8px;align-items:center;color:#84668d;font-size:.8125rem;border-top:1px solid var(--line);padding-top:14px;line-height:1.5}.project-card>div .icon{width:16px;height:16px}.project-card>small{display:block;color:#b6a0c0;font-size:.6875rem;margin-top:14px}.column-empty{font-size:.8125rem;color:#a994b1;padding:20px 0;text-align:center}.knowledge-intro{display:flex;align-items:center;gap:20px;padding:26px 28px;background:linear-gradient(110deg,#ede6f4,#f4f0f8);border:1px solid #e8ddf0;border-radius:12px;margin-bottom:24px}.knowledge-intro>.icon{width:36px;height:36px;color:#a489b4}.knowledge-intro h2{font-size:1.1rem;margin-bottom:6px}.knowledge-intro p{font-size:.875rem;color:#9980a5;margin:0}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.tab{border:1px solid #e8e0ed;border-radius:6px;background:white;padding:8px 15px;font-size:.8125rem;color:#9b80a7}.tab.selected{background:#79618e;color:white;border-color:#79618e}.tab:hover{border-color:#b393c2}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.article-card{padding:24px;display:flex;flex-direction:column}.article-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.article-card h2{font-size:1.1rem;margin-bottom:13px}.article-card p{font-size:.875rem;color:#9e87aa;line-height:1.7;margin-bottom:24px;flex:1}.article-card .text-link{align-self:start}.coords{font-size:.875rem;white-space:nowrap;color:#80648d;background:#f7f2fa;border-radius:5px;padding:8px 10px}.coords span{color:#b8a6c1;margin:0 6px}.permission{display:inline-flex;justify-content:center;align-items:center;width:25px;height:25px;border-radius:50%}.permission .icon{width:15px;height:15px}.permission.yes{background:#eaf4ed;color:#7ca286}.permission.no{color:#c6b8cd}.rank-list{display:grid;gap:16px}.rank-card{display:flex;gap:22px;padding:26px;align-items:flex-start}.rank-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#fbefdf;color:#bb976a;border-radius:10px}.rank-card>div{flex:1}.rank-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.rank-title h2{margin:0;font-size:1.1rem}.rank-title>.muted{font-size:.8125rem}.rank-card p{color:#95849d;font-size:.875rem;margin:0;line-height:1.8}
dialog{border:1px solid #dfd2e8;padding:0;background:#fff;border-radius:15px;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);color:#4d385b;box-shadow:0 24px 100px #20112f38}dialog.wide{width:min(760px,calc(100% - 32px))}dialog::backdrop{background:#21172e73;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:22px 26px;position:sticky;top:0;background:#fff;z-index:2}.modal-heading h2{font-size:1.125rem;margin:0}.form-body,.detail-body{padding:24px 26px}.form-field{display:flex;flex-direction:column;gap:9px;margin-bottom:19px;color:#84678f;font-size:.8125rem;font-weight:500}.form-field input,.form-field textarea,.form-field select{border:1px solid #e2d6e9;border-radius:7px;background-color:white;min-width:0;width:100%;padding:11px 12px;color:#60476b;font-size:.9375rem;line-height:1.4;font-weight:400}.form-field select{padding-right:36px}.form-field textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:19px 26px;border-top:1px solid var(--line);background:#fcfaff;position:sticky;bottom:0;z-index:1}.check-field{border:1px solid #e6dceb;border-radius:8px;padding:12px 16px 16px;margin:0 0 20px;display:flex;gap:13px 22px;flex-wrap:wrap;max-height:240px;overflow-y:auto}.check-field legend{color:#9474a0;font-size:.8125rem;padding:0 5px}.check-field label{display:flex;gap:8px;align-items:center;font-size:.875rem;min-width:150px}.check-field input{accent-color:#9571ad;width:16px;height:16px}.form-hint{font-size:.8125rem;color:#a087ac;line-height:1.7;margin-bottom:16px}.form-error{font-size:.875rem;color:#b45569;margin:0}.form-error:empty{display:none}.points-preview{display:flex;align-items:center;gap:14px;border:1px solid #e7d8f0;background:#f6effa;padding:16px 18px;border-radius:8px;margin-bottom:14px;color:#9470a8}.points-preview>.icon{width:27px;height:27px}.points-preview small{display:block;color:#ad91bc;margin-top:5px}.player-identity{display:flex;gap:18px;align-items:center;margin-bottom:26px}.player-identity h3{margin:0 0 6px}.player-identity p{font-size:.875rem;color:#aa8ab7;margin-bottom:8px}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;border:1px solid var(--line);border-radius:9px;padding:19px 15px;margin-bottom:18px}.detail-stats>div{text-align:center}.detail-stats strong{display:block;font-size:1.35rem;margin-bottom:6px}.detail-stats span{font-size:.75rem;color:#a68bb1}.detail-subtitle{margin:26px 0 14px}.detail-entry{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:14px 0;font-size:.875rem}.detail-entry small{display:block;color:#ad91b9;margin-top:6px;font-size:.75rem}.detail-entry strong{white-space:nowrap}details{border:1px solid var(--line);padding:16px;border-radius:8px;margin-top:18px}summary{font-size:.875rem;color:#a07caf;cursor:pointer}details>p{font-size:.875rem;color:#a68ab2;margin:18px 0}.history-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding-top:20px;font-size:.75rem}.history-grid>div{display:flex;justify-content:space-between;gap:20px;color:#ac8bbb}.article-body{padding:28px 32px;font-size:1rem;line-height:1.8}.article-body>.badge{margin-bottom:14px}.article-body p{white-space:normal;color:#80618d;line-height:1.85}.settings-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.settings-list>div{display:flex;gap:20px;justify-content:space-between;font-size:.8125rem;padding:13px 0;border-bottom:1px solid var(--line)}.settings-list dt{color:#ab8cba}.settings-list dd{text-align:right;margin:0}.detail-body>p{font-size:.875rem;color:#a086ad}.detail-body>h3{margin-top:24px}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translate(-50%,20px);background:#3c304a;color:#fff;padding:14px 23px;border:1px solid #695177;border-radius:9px;box-shadow:0 8px 35px #25112b22;opacity:0;pointer-events:none;transition:all .2s;font-size:.875rem;z-index:100;max-width:calc(100% - 40px)}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#823e54;border-color:#ad657b}#search-dialog{width:min(680px,calc(100% - 32px));margin-top:12vh}.search-box{display:flex;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid var(--line)}.search-box>.icon{color:#b596c4}.search-box input{border:0;outline:0;padding:8px 0;flex:1;min-width:0;font-size:1rem;color:#7b558e}.search-box input:focus{outline:none}.search-box kbd{font-size:.6875rem;font-family:inherit;color:#bba0c9}.search-result{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;border:0;background:white;padding:17px 24px;text-align:left;font-size:.875rem;color:#78528b}.search-result:hover,.search-result:focus-visible{background:#f6eefb}.search-result small{display:block;font-size:.75rem;color:#ad8ebc;margin-top:7px;line-height:1.5}.search-suggestions>p{color:#b59ac1;font-size:.625rem;letter-spacing:.14em;margin:21px 24px 10px}.search-suggestions .search-result{justify-content:flex-start}.search-suggestions .icon{width:17px;height:17px;color:#ad8dbd}#search-results{max-height:55vh;overflow-y:auto}.search-footer{font-size:.6875rem;color:#b79bc4;border-top:1px solid var(--line);padding:13px 24px}
/* Text in administrative screens stays at a comfortable reading size. */
table,.form-field,.toolbar input,.toolbar select{font-size:.875rem}.badge{font-size:.75rem}.card-heading p,.task-name small,.guild-progress>small,.footnote,.quick-card p,.guild-card>small{font-size:.75rem}.stat-card>small{font-size:.75rem}.nav-label,.eyebrow,.hero-eyebrow{font-size:.6875rem}.local-status small,.profile small{font-size:.75rem}.hero p{font-size:.875rem}.article-card p,.rank-card p,.detail-body>p,.form-hint,.info-banner{font-size:.9375rem}.article-card h2{line-height:1.5}
@media(min-width:1600px){.hero{min-height:290px}.hero-copy{padding:36px 42px}.hero h2{font-size:2.25rem}.castle-art{width:46%;right:50px}.stat-card{padding:24px}.task-row{padding:17px 0}}
@media(max-width:1250px){.sidebar{width:218px;padding-inline:14px}.workspace{margin-left:218px}.brand{font-size:1.2rem}.topbar{padding:0 26px;gap:20px}main{padding:28px 26px}.page-heading{align-items:flex-start}.page-actions{flex-wrap:wrap;justify-content:flex-end}.global-search{min-width:220px}.profile>span:last-child{display:none}.hero-actions{gap:15px}.hero-link{font-size:.6875rem}.stat-card{padding:19px 15px}.stat-card>.stat-icon{width:30px;height:30px;right:12px;top:14px}.stat-label{font-size:.6875rem}.stat-card>small{font-size:.6875rem}.dashboard-grid{grid-template-columns:1.2fr 1fr;gap:18px}.task-list{padding-inline:18px}.task-row{gap:10px}.task-row>.badge{display:none}.card-heading{padding-inline:18px}.guild-progress{padding-inline:18px}.quick-grid{gap:12px}.quick-card{padding:17px 14px}.quick-card>.icon:last-child{display:none}.guild-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guild-card p{min-height:0}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}td,th{padding-inline:18px}.stat-grid{gap:13px}.guild-overview .footnote{padding-inline:18px}.nav-item{font-size:.8125rem;padding-inline:11px}.hero-caption{font-size:.4375rem}.quick-card h3{font-size:.8125rem}}
@media(max-width:1000px){.page-heading{flex-direction:column;gap:18px}.page-actions{justify-content:flex-start}.hero h2{font-size:1.8rem}.hero-copy{padding:28px}.hero-link{display:none}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:20px}.stat-label{font-size:.8125rem}.stat-card>small{font-size:.75rem}.dashboard-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.quick-card>.icon:last-child{display:block}.quick-card p{font-size:.8125rem}.quick-card h3{font-size:.9375rem}.quick-card{padding:20px}.task-row>.badge{display:inline-flex}.castle-art{width:44%;right:10px}.breadcrumb{display:none}.global-search{margin-left:0;flex:1}.kanban{grid-template-columns:1fr}.kanban-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.kanban-column>h2{grid-column:1/-1;margin-bottom:0}.project-card{margin-bottom:0}.section-heading>span{display:none}.table-footer span{max-width:65%}.topbar{height:72px}.rank-card{padding:22px;gap:16px}.rank-title{gap:10px}.hero p{max-width:70%}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;box-shadow:10px 0 40px #30213f22}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.topbar{height:68px;padding:0 18px;gap:13px}.mobile-menu{display:inline-flex!important;flex-shrink:0}.global-search{min-width:0;height:37px}.global-search kbd{display:none}.profile{display:none}main{padding:25px 18px 32px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:1.65rem}.page-heading p:not(.eyebrow){font-size:.875rem;line-height:1.6}.page-actions{gap:10px;width:100%}.page-actions .btn{font-size:.8125rem}.hero{min-height:285px;margin-bottom:18px}.hero-copy{padding:28px 24px}.hero h2{font-size:1.85rem}.hero p{max-width:70%;font-size:.8125rem}.hero p br{display:none}.castle-art{width:55%;right:-38px;bottom:10px;opacity:.6;height:77%}.hero-actions{position:relative;z-index:1}.hero-caption{display:none}.stat-grid{gap:12px;margin-bottom:18px}.stat-card{padding:18px 14px;gap:12px;min-height:136px}.stat-card>.stat-icon{right:12px;top:13px;width:28px;height:28px}.stat-label{font-size:.75rem}.stat-card>strong{font-size:1.65rem}.stat-card>small{font-size:.6875rem}.card-heading h2{font-size:.9375rem}.card-heading p{font-size:.75rem}.task-row{gap:12px}.task-row>.badge{display:none}.task-name{font-size:.8125rem}.task-name small{font-size:.75rem}.guild-progress{padding-block:8px 13px}.guild-progress>div:first-child{font-size:.875rem}.guild-progress strong{font-size:.875rem}.guild-progress>small{font-size:.75rem}.quick-section{margin-top:25px}.quick-grid{gap:12px}footer{margin:0 18px;flex-wrap:wrap;font-size:.625rem;gap:10px}.footer-right{display:none}.toolbar{padding:16px;flex-wrap:wrap}.field-search{min-width:0;max-width:none;width:100%;flex:auto}.toolbar select{width:100%;margin:0}.table-footer{padding:16px;flex-direction:column;gap:7px}.table-footer span{max-width:none}.guild-card-grid{grid-template-columns:1fr;gap:14px}.guild-card{padding:20px}.guild-top{margin-bottom:13px}.guild-card p{font-size:.875rem}.guild-card>small{font-size:.75rem}.guild-meta{font-size:.875rem}.article-grid{grid-template-columns:1fr;gap:15px}.article-card{padding:22px}.knowledge-intro{padding:22px 20px;gap:16px}.knowledge-intro p{font-size:.8125rem}.tabs{gap:7px}.tab{padding:8px 12px}.kanban-column{display:block}.kanban-column>h2{margin-bottom:18px}.project-card{margin-bottom:14px}.points-summary{padding:20px;flex-wrap:wrap;gap:14px}.points-summary strong{font-size:1.35rem}.points-summary strong>span{font-size:.8125rem}.points-summary>.btn{margin-left:0}.info-banner{font-size:.8125rem}.rank-card{gap:13px;padding:20px}.rank-icon{width:30px;height:30px;border-radius:7px}.rank-icon>.icon{width:19px;height:19px}.rank-card p{font-size:.875rem}.rank-title h2{font-size:1rem}.rank-card>.icon-btn{width:28px;padding:5px}.rank-title>.muted{font-size:.75rem}.modal-heading{padding:18px 20px}.modal-heading h2{font-size:1rem}.form-body,.detail-body{padding:21px 20px}.form-actions{padding:17px 20px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.form-field input,.form-field textarea,.form-field select{font-size:1rem}.detail-stats{gap:8px;padding:17px 10px}.detail-stats strong{font-size:1.1rem}.detail-stats span{font-size:.6875rem}.player-identity{gap:13px}.detail-entry{font-size:.8125rem}.detail-entry small{font-size:.6875rem}.article-body{padding:24px}.article-body p{font-size:.9375rem}#toast{left:50%;width:max-content;max-width:calc(100% - 32px);bottom:16px}.search-result{padding:17px 20px}.search-result>.badge{font-size:.625rem}.search-box{padding:15px 18px}.search-box input{font-size:1rem}.history-grid{grid-template-columns:1fr}.settings-list>div{font-size:.75rem}.sidebar.open+.workspace .mobile-menu{position:relative;z-index:11;left:230px;background:#fff;border:1px solid #e0d4e9}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Local coordinate atlas. The screenshots are clipped and aligned in SVG. */
.world-map{overflow:hidden}
.map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;border-bottom:1px solid var(--line)}
.map-toolbar>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.map-toolbar strong{font-size:.9375rem}
.map-status-dot{width:8px;height:8px;border-radius:50%;background:#7e669f}
.map-snapshot{font-size:.75rem;padding:5px 9px;border-radius:5px;background:#f3eff8;color:#705a8b}
.map-reference-toggle{display:flex;gap:8px;align-items:center;font-size:.8125rem;cursor:pointer;white-space:nowrap}.map-reference-toggle input{accent-color:var(--purple);width:16px;height:16px}
.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 296px;min-width:0}
.map-canvas-wrap{position:relative;background:#0c1320;min-width:0;height:660px;overflow:hidden}
.map-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-4px!important}
.map-canvas.dragging{cursor:grabbing}.map-background{pointer-events:none}.map-marker{cursor:pointer;outline:none}.map-marker-halo{fill:#0b101bcc;stroke:transparent;vector-effect:non-scaling-stroke}
.map-marker.selected .map-marker-halo,.map-marker:focus-visible .map-marker-halo{fill:#fff4;stroke:#fff;stroke-width:2px}.map-marker:hover .map-marker-dot{fill:white}
#map-anchor-markers,#map-picked-marker{pointer-events:none}
.map-controls{position:absolute;top:18px;left:18px;display:flex;flex-direction:column;gap:1px;border-radius:9px;overflow:hidden;box-shadow:0 4px 16px #0005;border:1px solid #fff2}
.map-controls button{display:grid;place-items:center;background:#f9f6ff;color:#41314f;border:0;width:38px;height:38px;font-size:24px;line-height:1}.map-controls button:hover{background:white}.map-controls button:disabled{background:#dcd5e5;opacity:1;color:#aa9db7}.map-controls .map-reset{font-size:25px}
.map-compass{position:absolute;right:20px;top:19px;display:grid;justify-items:center;color:#f1e9ff;font-size:10px;line-height:1;font-weight:700;pointer-events:none;text-shadow:0 2px 4px #000}.map-compass span{font-size:28px;margin-top:6px}
.map-scale{position:absolute;left:18px;bottom:17px;display:grid;gap:6px;color:white;text-shadow:0 2px 4px #000;font-size:10px;pointer-events:none;background:#0d1420bb;padding:8px;border-radius:5px}
#map-scale-line{border:solid white;border-width:0 1px 2px;height:7px;display:block}
.map-coordinates{position:absolute;right:13px;bottom:17px;max-width:calc(100% - 160px);border-radius:5px;background:#0d1420dd;color:#eee9f7;font:11px/1.5 Consolas,monospace;padding:6px 9px;pointer-events:none}
.map-panel{background:white;min-width:0;display:flex;flex-direction:column;height:660px;border-left:1px solid var(--line)}
.map-filters{display:grid;gap:9px;padding:18px;border-bottom:1px solid var(--line)}
.map-filters input,.map-filters select{width:100%;min-width:0;border:1px solid #e4dfeb;border-radius:7px;background:#fcfbfe;padding:10px 11px;font-size:.8125rem;color:#4a3e57}
.map-selection{padding:19px 18px;background:#f8f5fc;border-bottom:1px solid #eae2f1}.map-selection h2{font-size:.9375rem;line-height:1.4;margin-bottom:7px}.map-selection p{font-size:.75rem;color:#74647f;margin-bottom:8px;line-height:1.6}.map-selection p:last-child{margin-bottom:0}.map-selection code{display:block;font:12px/1.8 Consolas,monospace;color:#51405f;overflow-wrap:anywhere}.map-selection .map-selection-caption{font-size:9px;letter-spacing:.09em;font-weight:700;color:#91749e}.map-selection-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.map-selection .btn{font-size:.75rem;padding:8px 10px;min-height:32px}.map-selection>button{margin-top:8px}
.map-result-count{padding:14px 18px 8px;font-size:.6875rem;color:var(--muted)}.map-location-list{overflow-y:auto;flex:1;min-height:100px;padding-bottom:10px;overscroll-behavior:contain}
.map-location-item{display:flex;align-items:center;gap:10px;text-align:left;width:100%;border:0;border-left:3px solid transparent;background:transparent;padding:12px 15px;color:#403249}.map-location-item:hover{background:#f7f4fb}.map-location-item.selected{background:#eee6f6;border-left-color:#8862a7}.map-location-item>span:nth-child(2){flex:1;min-width:0}.map-location-item strong{font-size:.8125rem;display:block;line-height:1.45}.map-location-item small{display:block;color:#82738d;font-size:.6875rem;line-height:1.6;margin-top:3px}.map-category-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 3px #251b3320}.map-no-results{padding:18px;font-size:.8125rem;line-height:1.6;color:#7f708a}
.map-footer{display:flex;justify-content:space-between;gap:16px;padding:14px 20px;font-size:.6875rem;color:#86778f;border-top:1px solid var(--line);line-height:1.6}.map-calibration-info{margin-top:18px;background:white;border-color:var(--line);padding:19px 22px}.map-calibration-info summary{color:#6a507c}.map-calibration-info>p{max-width:950px;color:#7e6d89;line-height:1.75;font-size:.8125rem}.map-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.map-reference-grid>div{padding:13px;background:#f7f4fa;border-radius:7px}.map-reference-grid strong{display:block;font-size:.75rem;line-height:1.5}.map-reference-grid span{display:block;font:11px/1.7 Consolas,monospace;margin-top:7px;color:#897396}
@media(min-width:1700px){.map-layout{grid-template-columns:minmax(0,1fr) 330px}.map-canvas-wrap,.map-panel{height:740px}}
@media(max-width:1150px){.map-layout{grid-template-columns:minmax(0,1fr) 260px}.map-canvas-wrap,.map-panel{height:620px}.map-toolbar{flex-wrap:wrap}.map-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-footer{flex-direction:column;gap:3px}.map-coordinates{bottom:65px;max-width:calc(100% - 28px)}}
@media(max-width:850px){.map-layout{grid-template-columns:1fr}.map-canvas-wrap{height:490px}.map-panel{height:auto;border-left:0;border-top:1px solid var(--line)}.map-location-list{max-height:330px;min-height:0}.map-toolbar{padding:16px}.map-canvas-wrap .map-coordinates{bottom:17px;max-width:calc(100% - 160px)}.map-filters{grid-template-columns:1fr 1fr}.map-selection{padding:18px}.map-reference-grid{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.map-canvas-wrap{height:390px}.map-filters{grid-template-columns:1fr}.map-toolbar{gap:10px}.map-toolbar>div{gap:8px}.map-snapshot{font-size:10px}.map-toolbar strong{font-size:.8125rem}.map-reference-toggle{font-size:.75rem}.map-reference-grid{grid-template-columns:1fr}.map-canvas-wrap .map-coordinates{bottom:64px;max-width:calc(100% - 28px)}.map-footer{padding:13px 16px}}
/* Keep essential labels readable on both desktop and mobile. */
.nav-item,.settings-btn,.btn,.text-link,.period-select,.toolbar select,.stat-label,.task-name,.guild-meta,.tab,.form-field,.badge{font-size:.875rem}
.page-heading p:not(.eyebrow),.hero p,.article-card p,.rank-card p,.article-body p,.detail-body>p{font-size:1rem}
.stat-label,.cell-sub,.card-heading p,.task-name small,.footnote,.quick-card p,.guild-card p,.guild-card>small,.article-card p,.rank-card p,.form-hint,.detail-body>p{color:#766a81}
.stat-card>small,.table-footer,.table-footer span,.guild-progress>small,.project-card p,.project-card>small,.quick-card p,.page-heading p:not(.eyebrow){color:#82758d}
.badge.neutral{color:#75667f}.badge.green{color:#497456}.badge.orange{color:#996529}.badge.purple{color:#78518e}.badge.red{color:#a64c58}
.hero p{color:#d5cadc}.location-detail-coords{font-family:Consolas,monospace;font-size:1.6rem!important;font-weight:650;color:#644c76!important;margin:24px 0 8px}
.sidebar{padding-top:26px;overflow-y:auto}.sidebar nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#665275 transparent}.sidebar .brand{flex-shrink:0}.kingdom-tag{margin:20px 9px;flex-shrink:0}.nav-item{min-height:41px;padding:10px 14px;margin-bottom:3px}.nav-label.second{margin-top:20px}.sidebar-bottom{margin-top:16px;padding-top:0;flex-shrink:0}.local-status{padding:13px 12px}.guild-meta strong{white-space:nowrap}.guild-meta{flex-wrap:wrap}
.sidebar .nav-item{min-height:38px;padding-block:9px;margin-bottom:2px}
