* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
margin: 0;
background: var(--hy-theme-bg);
color: var(--hy-theme-text);
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
}
button,
input {
font: inherit;
}
button {
cursor: pointer;
}
.center-header {
position: sticky;
z-index: 20;
top: 0;
display: grid;
grid-template-columns: 48px 1fr 48px;
align-items: center;
min-height: calc(64px + env(safe-area-inset-top));
padding: env(safe-area-inset-top) 12px 0;
border-bottom: 1px solid var(--hy-theme-line);
background: color-mix(in srgb, var(--hy-theme-bg) 94%, transparent);
backdrop-filter: blur(16px);
}
.center-header h1 {
margin: 0;
font-size: 22px;
text-align: center;
}
.icon-button,
.language-button {
display: grid;
width: 44px;
height: 40px;
place-items: center;
border: 0;
border-radius: var(--hy-theme-radius-language);
background: var(--hy-theme-surface);
color: var(--hy-theme-text);
box-shadow: var(--hy-theme-shadow);
}
.icon-button span {
font-size: 38px;
font-weight: 300;
line-height: 30px;
}
.language-switcher {
position: relative;
}
.language-button {
font-size: 13px;
font-weight: 800;
}
.language-menu {
position: absolute;
top: 46px;
right: 0;
overflow: hidden;
width: 64px;
border: 1px solid var(--hy-theme-line);
border-radius: var(--hy-theme-radius-small);
background: var(--hy-theme-surface);
box-shadow: var(--hy-theme-modal-shadow);
}
[dir='rtl'] .language-menu {
right: auto;
left: 0;
}
.language-menu button {
width: 100%;
padding: 10px;
border: 0;
background: transparent;
color: var(--hy-theme-text);
}
.language-menu button.is-active {
background: var(--hy-theme-primary-soft);
color: var(--hy-theme-primary-deep);
}
.profile-card,
.contact-card {
display: flex;
align-items: center;
padding: 18px;
}
.profile-avatar {
display: grid;
flex: 0 0 76px;
overflow: hidden;
width: 76px;
height: 76px;
place-items: center;
border: 3px solid var(--hy-theme-primary);
border-radius: 50%;
background: var(--hy-theme-primary-soft);
color: var(--hy-theme-primary-deep);
font-size: 30px;
font-weight: 800;
}
.profile-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.profile-copy {
display: flex;
min-width: 0;
flex-direction: column;
gap: 4px;
margin-inline-start: 16px;
}
.profile-copy strong {
overflow: hidden;
font-size: 21px;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-copy > span:not(.role-pill) {
color: var(--hy-theme-muted);
font-size: 13px;
}
.role-pill {
align-self: flex-start;
padding: 4px 11px;
border-radius: var(--hy-theme-radius-pill);
background: var(--hy-theme-primary-soft);
color: var(--hy-theme-primary-deep);
font-size: 12px;
font-weight: 800;
}
.contact-card {
gap: 14px;
}
.contact-icon {
display: grid;
width: 48px;
height: 48px;
place-items: center;
border-radius: 50%;
background: color-mix(
in srgb,
var(--hy-theme-success) 13%,
var(--hy-theme-surface)
);
color: var(--hy-theme-success);
}
.contact-card > div {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 3px;
}
.contact-card > div span {
overflow: hidden;
color: var(--hy-theme-muted);
text-overflow: ellipsis;
white-space: nowrap;
}
.contact-card > button {
border: 0;
background: transparent;
color: var(--hy-theme-primary-deep);
font-weight: 750;
}
.add-agency-card {
display: flex;
min-height: 82px;
align-items: center;
justify-content: center;
gap: 9px;
border: 1px solid var(--hy-theme-line);
border-radius: var(--hy-theme-radius-card);
background: var(--hy-theme-primary-soft);
color: var(--hy-theme-primary-deep);
box-shadow: var(--hy-theme-shadow);
font-weight: 800;
}
.data-section,
.agency-table-shell {
min-width: 0;
max-width: 100%;
}
.add-agency-card span:first-child {
display: grid;
width: 30px;
height: 30px;
place-items: center;
border-radius: 50%;
background: var(--hy-theme-surface);
font-size: 20px;
}
.section-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.section-title-row h2 {
margin: 0;
font-size: 19px;
}
.section-title-row span {
color: var(--hy-theme-muted);
font-size: 13px;
}
.guild-filter-bar {
margin-bottom: 12px;
}
.guild-filter-bar button {
padding: 5px 4px;
font-size: 11px;
}
.agency-table-shell {
overflow-x: auto;
}
.agency-table {
width: 100%;
min-width: 900px;
border-collapse: collapse;
font-size: 12px;
}
.agency-table th,
.agency-table td {
padding: 13px 12px;
border-bottom: 1px solid var(--hy-theme-line);
text-align: start;
white-space: nowrap;
}
.agency-table th {
color: var(--hy-theme-muted);
font-size: 11px;
}
.agency-table tr:last-child td {
border-bottom: 0;
}
.agency-identity {
display: flex;
align-items: center;
gap: 9px;
}
.agency-avatar {
display: grid;
overflow: hidden;
width: 40px;
height: 40px;
place-items: center;
border-radius: 50%;
background: var(--hy-theme-primary-soft);
color: var(--hy-theme-primary-deep);
font-weight: 800;
}
.agency-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.agency-copy {
display: flex;
max-width: 170px;
flex-direction: column;
gap: 2px;
}
.agency-copy strong {
overflow: hidden;
text-overflow: ellipsis;
}
.agency-copy span {
color: var(--hy-theme-muted);
font-size: 11px;
}
.empty-state,
.stats-status {
padding: 24px;
color: var(--hy-theme-muted);
text-align: center;
}
.stats-status {
margin-bottom: 12px;
border: 1px solid var(--hy-theme-line);
border-radius: var(--hy-theme-radius-control);
background: var(--hy-theme-primary-soft);
}
.primary-action {
min-width: 94px;
min-height: 42px;
padding: 0 18px;
border: 0;
border-radius: var(--hy-theme-radius-pill);
background: var(--hy-theme-button);
color: #fff;
box-shadow: var(--hy-theme-button-shadow);
font-weight: 750;
}
.edit-dialog {
width: min(calc(100% - 32px), 420px);
padding: 0;
border: 0;
border-radius: var(--hy-theme-radius-modal);
background: var(--hy-theme-surface);
color: var(--hy-theme-text);
box-shadow: var(--hy-theme-modal-shadow);
}
.edit-dialog::backdrop {
background: rgba(31, 23, 45, 0.42);
}
.edit-dialog form {
display: grid;
gap: 16px;
padding: 24px;
}
.edit-dialog h2,
.edit-dialog p {
margin: 0;
}
.edit-dialog p {
color: var(--hy-theme-muted);
font-size: 13px;
line-height: 1.55;
}
.edit-dialog label {
display: grid;
gap: 8px;
color: var(--hy-theme-muted);
font-size: 13px;
}
.edit-dialog input {
width: 100%;
min-height: 46px;
padding: 0 14px;
border: 1px solid var(--hy-theme-line);
border-radius: var(--hy-theme-radius-control);
outline: none;
background: var(--hy-theme-surface-soft);
color: var(--hy-theme-text);
}
.edit-dialog input:focus {
border-color: var(--hy-theme-primary-strong);
box-shadow: 0 0 0 4px var(--hy-theme-focus-ring);
}
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
}
.dialog-actions > button:not(.primary-action) {
min-height: 42px;
padding: 0 16px;
border: 1px solid var(--hy-theme-line);
border-radius: var(--hy-theme-radius-pill);
background: var(--hy-theme-surface);
color: var(--hy-theme-text);
}
.is-loading .data-section,
.is-mutating button {
pointer-events: none;
opacity: 0.65;
}
@media (max-width: 520px) {
.guild-center__content {
padding-inline: 12px;
}
}