.command-tools{display:flex;padding-left:30px;gap:4px}#relations-open{height:24px;min-height:24px;width:24px;flex-basis:24px;padding:2px;border-radius:0;background:#111;color:#c5bfae}#relations-open svg{width:16px;height:16px}#relations-window{left:8px;top:8px;width:274px;max-height:calc(100% - 12px);display:flex;flex-direction:column;background:#21191de8;border:3px ridge #766a73;padding:0 10px 8px;border-radius:0}#relations-window .window-title{flex:none;height:28px;font-family:MingLiU,serif}#relations-content{min-height:0;overflow:auto;overscroll-behavior:contain;font:13px/1.5 MingLiU,serif;min-height:160px}#relations-content p{white-space:pre-wrap;margin:5px 0;overflow-wrap:anywhere}.relations-command{display:block;width:100%;padding:0 2px;border:0;background:transparent;text-align:left;justify-content:flex-start;color:#e3d08d;font:inherit;min-height:22px;border-radius:0}.relations-command:hover:not(:disabled){background:#493c41}.relations-pledge-header{display:flex;gap:5px;align-items:center;justify-content:space-between}.relations-pledge-header strong{font-weight:400;min-width:0;overflow-wrap:anywhere}.relations-pledge-header .relations-command{width:auto;flex:none}#relations-content details{border:1px solid #55434a;margin:5px 0;background:#201318}#relations-content summary{cursor:pointer;color:#d4bdbd;padding:1px 4px;background:#3b292d}#relations-content details p{padding:3px 5px;max-height:110px;overflow:auto}#relations-content table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}#relations-content th{font-weight:400;background:#493a3d;border:1px solid #6b565e;position:sticky;top:0}#relations-content th .relations-command{font-size:11px;text-align:center;justify-content:center;white-space:nowrap}#relations-content th:first-child{width:34px}#relations-content th:nth-child(2){width:96px}#relations-content th:nth-child(3){width:36px}#relations-content td{height:17px;border-right:1px solid #46363c;padding:1px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#relations-content td:first-child{padding:0;text-align:center}#relations-content td img{width:18px;height:15px;object-fit:contain}#relations-content tr:nth-child(even){background:#302125}.offline{color:#8d8389!important}.relations-count{text-align:right}.relations-friend{display:flex;align-items:center;gap:5px;border-bottom:1px solid #423038}.relations-friend .relations-command{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relations-friend span{font-size:11px;flex:none}.relations-friend .icon{width:23px;height:23px;min-height:23px;flex-basis:23px;padding:2px;background:transparent;border:0}#relations-back{align-self:flex-start;font:12px MingLiU,serif;margin-top:6px;min-height:22px;height:22px;padding:1px 8px}.relations-friend-tools{display:flex;align-items:center;gap:5px}.relations-friend-tools .relations-count{margin-left:auto!important}.friend-lamp{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#f04444;border:1px solid #7d2525}.friend-lamp[data-online=true]{background:#39d864;border-color:#216936}#friend-add-form{z-index:35}#friend-delete-dialog{z-index:36}.friend-game-dialog{width:300px;min-height:162px;max-width:calc(100% - 8px);padding:12px 6px 5px;border:solid transparent;border-width:28px 16px 18px;border-image:url('/relations/friend-frame.png') 28 16 18 fill stretch;background:#190f13;box-shadow:0 6px 16px #000b;border-radius:0;font:12px/1.4 MingLiU,serif;color:#e3d08d}.friend-game-dialog h2{position:absolute;top:-15px;left:14px;right:14px;margin:0;text-align:center;font:13px/22px MingLiU,serif;color:#fff}.friend-game-dialog .friend-dialog-close{position:absolute;top:-19px;right:-9px;width:18px;height:18px;min-height:18px;padding:0;border:0;background:transparent;color:#ddd}.friend-dialog-close svg{display:none}#friend-add-name{width:100%;height:24px;min-height:24px;margin:4px 0 13px;background:#191115;border:1px solid #61545b;font:12px MingLiU,serif;color:#fff}.friend-game-dialog>div{display:flex;gap:20px;justify-content:center}.friend-game-dialog>div button{flex:0 0 80px;min-width:0;min-height:22px;height:22px;padding:1px 3px;border-radius:0;background:#2d2225;border:1px solid #827379;color:#e3d08d;font:12px MingLiU,serif}.friend-game-dialog>div button:focus-visible{outline:1px solid #d2af4e;outline-offset:-3px}.friend-game-dialog>div button:hover{background:#45323a}.friend-game-dialog>div svg{width:13px;height:13px}.friend-game-dialog label{display:block;text-align:center}#friend-delete-dialog p{min-height:58px;margin:0 0 7px;overflow-wrap:anywhere;text-align:center;display:flex;align-items:center;justify-content:center}#royal-skill-form{z-index:35;width:300px;box-sizing:border-box}#royal-skill-name{width:100%;box-sizing:border-box}#relations-editor{z-index:35;width:280px}#relations-edit-value{width:100%;height:80px;background:#151116;border:1px solid #70616b;color:#eee;resize:vertical;font:13px MingLiU,serif;margin-bottom:8px}#relations-editor>div{display:flex;gap:8px}#relations-editor>div button{flex:1}@media(orientation:landscape) and (max-height:600px){#relations-content{min-height:90px}#relations-window .window-title{height:23px}#relations-back{margin-top:3px}#relations-content details p{max-height:44px}#relations-editor{padding:10px}#relations-edit-value{height:55px}}@media(max-width:600px){.command-tools{padding-left:24px}#relations-open{height:19px;min-height:19px;width:19px;flex-basis:19px}#relations-open svg{width:13px;height:13px}}@media(orientation:landscape) and (max-height:600px) and (min-width:601px) and (max-width:1024px){.command-tools{padding-left:26px}#relations-open{height:21px;min-height:21px;width:21px;flex-basis:21px}#relations-open svg{width:14px;height:14px}}