/* Shared controls: paper and gold for secondary actions, forest for primary actions. */
body :is(button,.button):not(:where(.service,.topic,.card-back,.catalog-cover,.catalog-info-title,.premium-browse,.nav-item,.dialog-close,.purchase-close,.tarot-image-close,.round-logo,#breadcrumb,.text-link,.expand-themes)):not([data-answer]){
  background-image:linear-gradient(115deg,#fff8e9ed,#e9ddc5e8),url('assets/theme/service-zodiac-v1.webp');
  background-size:cover;background-position:right center;background-color:#eee3cd;
  border-color:#b79b6380;color:#5c513c;
  box-shadow:inset 0 1px #fffdf1b3,0 3px 10px #6650240c;
  transition:box-shadow .2s,border-color .2s,transform .2s;
}
body :is(.primary,.daily-open-button,.daily-entry-link,.dialog-ok,#save-card,.catalog-empty button,.theme-chips button[aria-pressed=true],.method-chips button[aria-pressed=true],button[aria-selected=true]):not(.premium-browse){
  background-image:radial-gradient(ellipse at top right,#c4af7030,transparent 65%),linear-gradient(135deg,#527260,#294b3e);
  background-color:#355747;color:#fff5dc;border-color:#839366;
  box-shadow:inset 0 1px #d9d2a345,0 4px 13px #294c4020;
}
body .discovery-cta{background:radial-gradient(ellipse at top right,#c4af7030,transparent 65%),linear-gradient(135deg,#527260,#294b3e);color:#fff5dc;box-shadow:inset 0 1px #d9d2a345,0 4px 13px #294c4020}
body :is(button,.button):not(:where(.service,.topic,.card-back,.catalog-cover,.premium-browse,.nav-item,#breadcrumb)):not([data-answer]):hover:not(:disabled){border-color:#a8884c;box-shadow:inset 0 1px #fffaf14d,0 5px 16px #68522b1c}
body :is(button,.button):disabled{opacity:.58;cursor:default;transform:none;box-shadow:none}
body :is(button,a.button):focus-visible{outline:3px solid #b99b62;outline-offset:4px}
/* Compact navigation and close controls remain light, with a shared gold accent. */
body :is(.dialog-close,.purchase-close,.tarot-image-close){background:linear-gradient(145deg,#fff5e6,#e5d7bc);border:1px solid #b79b635c;color:#6a593c;border-radius:50%;box-shadow:inset 0 1px #fff9ec}
body :is(.ink-header-nav button,.nav-item,#breadcrumb,.text-link,.expand-themes){background-image:none;background-color:transparent;box-shadow:none}
body .nav-item.active{background:linear-gradient(120deg,#e8ddc7,#f8f0df);color:#355747}
@media(prefers-reduced-motion:reduce){body :is(button,.button){transition:none}}
body button:is(.delete,#account-delete,[data-server-delete]){background:linear-gradient(120deg,#fff4e9,#eedbd0);color:#914a3a;border-color:#be8c735c}
body.zodiac-result .primary{background-image:radial-gradient(ellipse at top right,#d3b87730,transparent 65%),linear-gradient(135deg,color-mix(in srgb,var(--accent) 85%,#fff5d9),var(--accent));border-color:color-mix(in srgb,var(--accent) 70%,#b99b62);color:#fff8e5}
body .entry-gender span{background:linear-gradient(115deg,#fff8e9,#e9ddc5);border-color:#b79b6380;color:#5c513c;box-shadow:inset 0 1px #fffdf1b3}
body .entry-gender input:checked+span{background:linear-gradient(135deg,#527260,#294b3e);color:#fff5dc;border-color:#b99b62;box-shadow:inset 0 0 0 1px #b99b62}
body .entry-gender input:focus-visible+span{outline:3px solid #b99b62;outline-offset:3px}
body button[aria-pressed="true"]:not([data-answer]){background-image:radial-gradient(ellipse at top right,#c4af7030,transparent 65%),linear-gradient(135deg,#527260,#294b3e);color:#fff5dc;border-color:#b99b62;box-shadow:inset 0 0 0 1px #b99b6255,0 4px 13px #294c4015}
/* Form surfaces and fields share the same paper treatment as controls. */
body :is(.entry-input form,.panel:has(form),form.panel){background:linear-gradient(110deg,#fffaf3f5,#fffaf3e8),url('assets/theme/service-saju-v1.webp') right bottom/cover;border-color:#c9b995}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file]),select,textarea){
  background:linear-gradient(115deg,#fff8e9f5,#eee2cce8),url('assets/theme/service-zodiac-v1.webp') right center/cover;
  border:1px solid #bba57799;color:#35483d;box-shadow:inset 0 1px #fffdf1,0 2px 7px #66502408;
}
body :is(input,select,textarea):focus-visible{outline:2px solid #9b804d;outline-offset:2px;border-color:#7c9069;background-color:#f7efdb}
body :is(input,textarea)::placeholder{color:#81765f;opacity:1}
body select option{background:#f5ecd9;color:#35483d}
body input:is([type=checkbox],[type=radio]){accent-color:#42644f}
body :is(input,select,textarea):disabled{opacity:.6;cursor:not-allowed}
/* One home signature across services. */
body .gyeol-home-brand,body .workspace>header #breadcrumb,body.entry-guest .workspace>header #breadcrumb{
  display:inline-flex;align-items:center;gap:0;white-space:nowrap;
  font:500 32px 'Noto Serif KR','Batang',serif;letter-spacing:-1px;line-height:1.3;
  color:#262f32;text-decoration:none;background:none;border:0;padding:4px 0;box-shadow:none;
}
body .gyeol-home-brand::after,body .workspace>header #breadcrumb::after{
  content:'結';display:inline-grid;place-items:center;margin-left:10px;
  background:#ad4437;color:#fff6e5;font:600 14px 'Noto Serif KR','Batang',serif;
  width:21px;height:26px;border-radius:1px;transform:rotate(-3deg);
}
body .shop-header .gyeol-home-brand{margin-right:auto}
body .daily-nav{max-width:1100px;gap:20px}
body .daily-nav h1{font-size:18px;letter-spacing:1px;margin-left:auto}
body .gyeol-legal-header{height:auto;max-width:1100px;margin:auto;padding:22px 24px;background:transparent;border-bottom:1px solid #d9cebe}
@media(max-width:600px){body .gyeol-home-brand,body .workspace>header #breadcrumb,body.entry-guest .workspace>header #breadcrumb{font-size:25px}body .daily-nav{gap:12px}body .daily-nav h1{font-size:15px}body .gyeol-home-brand::after,body .workspace>header #breadcrumb::after{width:18px;height:23px;font-size:12px;margin-left:8px}}
.profile-permissions{min-width:0;margin:28px 0 12px;padding:22px;border:1px solid #bda77a70;border-radius:12px;background:linear-gradient(120deg,#eee4cdd9,#f8f1e2d9)}
.profile-permissions legend{padding:0 8px;font-size:15px;font-weight:700;color:#4a5c47}
.profile-permissions .permission-intro{font-size:12px;line-height:1.8;color:#7c725e;margin:0 0 16px}
.profile-permissions .permission-row{align-items:flex-start;margin:0;padding:15px 0;border-top:1px solid #bca77c33;gap:12px}
.profile-permissions .permission-row input{margin-top:5px;flex-shrink:0}
.permission-row strong{display:block;font-size:14px;font-weight:600;color:#35483d}
.permission-row .permission-description{display:block;font-size:12px;color:#786c59;line-height:1.8;margin-top:7px}
.permission-badge{display:inline-block;font-size:10px;padding:2px 7px;margin-right:6px;border-radius:4px;vertical-align:1px}
.permission-badge.required{background:#46644e;color:#fff5dc}.permission-badge.optional{background:#e1d4b7;color:#6b5938}
.profile-permissions .hint{font-size:11px;line-height:1.8;margin:10px 0 0}
@media(max-width:600px){.profile-permissions{padding:16px}.permission-row strong{font-size:13px}}
