/* LIFE QUEST UI-only update: roster-first, member stats, replay anchor, private journal calendar */
.lq-party-roster-first{scroll-margin-top:16px}
.lq-member-tap{cursor:pointer;border:1px solid #67708f;color:inherit;flex:0 0 auto;overflow:hidden;padding:0;appearance:none;-webkit-appearance:none}
button.roster-avatar.lq-member-tap{width:52px;height:58px;min-width:52px;display:grid;place-items:center;background:#303b61;border-radius:13px}
.lq-member-tap:focus-visible,.lq-member-name-tap:focus-visible{outline:2px solid #baaaff;outline-offset:3px}
.lq-member-name-tap{border:0;padding:0;background:transparent;color:#f2f3ff;font:inherit;font-weight:850;cursor:pointer;text-align:left}
.lq-member-name-tap:hover{text-decoration:underline}
.member-bubble.lq-member-tap{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;min-width:44px;cursor:pointer}
.lq-member-profile-head{display:flex;align-items:center;gap:16px;padding:12px 0 18px;border-bottom:1px solid #394766}
.lq-member-profile-avatar{width:100px;height:110px;flex:0 0 100px;display:grid;place-items:center;background:linear-gradient(130deg,#333e64,#1c2744);border-radius:16px;overflow:hidden}
.lq-member-profile-head>div:last-child{min-width:0}
.lq-member-profile-head h3{margin:7px 0 3px;font-size:22px;overflow-wrap:anywhere}
.lq-member-profile-head p{font-size:13px;color:#c1cde3;margin:0}
.lq-member-role{color:#f5d6a2;font-size:12px;font-weight:750}
.lq-member-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.lq-member-stat-grid>div{display:grid;gap:8px;padding:13px;border:1px solid #405070;border-radius:13px;background:#1a2843}
.lq-member-stat-grid span{font-size:12px;color:#b5c5dc}
.lq-member-stat-grid strong{font-size:20px;font-variant-numeric:tabular-nums;color:#f7dfa4}
.lq-member-public{padding:12px 0;border-top:1px solid #35415f}
.lq-member-public>strong{display:block;margin-bottom:12px}
#guild-replay-panel{scroll-margin-top:18px;outline:none}
#guild-replay-panel.lq-replay-arrived{box-shadow:0 0 0 2px #b8a8ff,0 0 25px #b8a8ff38;transition:box-shadow .2s}
.lq-journal-open{margin-top:15px;font-size:13px}
.lq-journal-summary{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 6px}
.lq-journal-summary span{flex:1;min-width:120px;background:#263453;border:1px solid #3e4b68;padding:10px;border-radius:12px;font-size:12px;color:#bbcce0}
.lq-journal-summary strong{color:#f3e1ac}
button.lq-journal-day{font:inherit;cursor:pointer;position:relative;padding:0;width:100%;color:#b9c4dd}
button.lq-journal-day.has-journal{border-color:#ab90e8;box-shadow:inset 0 0 0 1px #a088da80}
button.lq-journal-day.has-journal i{color:#ffe2af;right:4px;top:2px}
button.lq-journal-day.selected{outline:2px solid #dbbdfc;outline-offset:1px}
button.lq-journal-day.future{pointer-events:none}
.lq-journal-entry{margin-top:18px;padding:16px;border:1px solid #53627f;background:#202e49;border-radius:14px}
.lq-journal-entry-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:14px}
.lq-journal-entry-head span{font-size:11px;color:#acbbd2}
.lq-journal-entry-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;color:#f6f7ff;background:#152037;border-radius:10px;padding:14px;margin:14px 0}
@media(max-width:560px){.lq-member-profile-avatar{flex-basis:86px;width:86px;height:94px}.lq-member-profile-head h3{font-size:18px}.lq-journal-day{min-height:41px}}

/* 今日の振り返り右上：既存の本人専用日記カレンダーを開く短縮ボタン */
.lq-reflection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;flex-wrap:wrap}
.lq-reflection-heading>span{min-width:0}
.lq-reflection-diary-btn{appearance:none;-webkit-appearance:none;border:1px solid #68719a;border-radius:10px;background:#313957;color:#ebe8ff;min-height:37px;padding:7px 13px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:750;line-height:1.2;white-space:nowrap;flex:0 0 auto;cursor:pointer}
.lq-reflection-diary-btn:hover{border-color:#b7a9ff;background:#404574}
.lq-reflection-diary-btn:focus-visible{outline:3px solid #c9bbff;outline-offset:3px}
@media(max-width:390px){.lq-reflection-heading{flex-wrap:nowrap}.lq-reflection-heading>span{font-size:clamp(14px,4.4vw,19px)}.lq-reflection-diary-btn{font-size:12px;padding:7px 10px}}
