:root { font: 1rem/1.65 system-ui,sans-serif; color: #233d32; background: #f7f8f2; }
* { box-sizing: border-box; }
body { margin: 0; }
main, header nav { width: min(100%, 56rem); margin: auto; padding: 1rem; }
header { background: #fff; border-bottom: 1px solid #d6e1d6; }
nav { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
a { color: #255b43; text-underline-offset: .2em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
section, #profile { background: #fff; border: 1px solid #d6e1d6; border-radius: .8rem; margin: 1rem 0; padding: 1rem; scroll-margin-top: 1rem; }
form > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .65rem; }
label { display: block; font-weight: 650; }
label:has(input[type=checkbox]) { display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; }
input, select, button { font: inherit; padding: .5rem .65rem; border: 1px solid #718b7c; border-radius: .4rem; background: #fff; color: inherit; margin: .25rem 0 .65rem; }
input:not([type=checkbox]) { width: min(100%,22rem); }
button { cursor: pointer; background: #255b43; color: #fff; }
#tools-results > nav a { background: #e7f1e7; padding: .45rem .7rem; border-radius: .45rem; }
.outlooks { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
.outlooks > div { border-radius: .5rem; background: #edf4ed; padding: .7rem .85rem; }
dt,summary { font-weight: 700; }
dd { margin: .25rem 0 0; }
summary { cursor: pointer; }
li { margin-bottom: .35rem; }
[hidden] { display: none !important; }
.fortune-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr));
  gap: .75rem;
}
.fortune-directory a {
  display: grid;
  gap: .2rem;
  align-content: start;
  background: #edf4ed;
  border: 1px solid #d6e1d6;
  border-radius: .55rem;
  padding: .75rem .85rem;
  text-decoration: none;
}
.fortune-directory a:is(:hover,:focus-visible) { background: #e0eee2; }
.fortune-directory strong { text-decoration: underline; text-underline-offset: .18em; }
.fortune-directory span { color: #385145; }

.pc-fortune-reference { margin-top: 1rem; }

.coupang a strong.fan-coupang-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.coupang a .bokchae-fan {
  flex: 0 0 3.25rem;
  display: grid;
  place-items: start center;
  height: 2.25rem;
  padding-top: .12rem;
  color: #472315;
  background: repeating-conic-gradient(from 0deg at 50% 100%, #fff0c4 0deg 11deg, #f2cb7b 11deg 14deg);
  clip-path: polygon(0 25%, 12% 12%, 28% 4%, 50% 0, 72% 4%, 88% 12%, 100% 25%, 55% 91%, 55% 100%, 45% 100%, 45% 91%);
  font-size: .8rem;
  line-height: 1.65;
}
