/* Match the rendered Canva design, including its current yellow override. */
:root {
  color-scheme: light;
  --background: #ffe84d;
  --blue: #12556e;
  --teal: #079ba6;
  --yellow: #f4c52b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  width: 100%;
  background: var(--background);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.hub-main {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4px 0 44px;
}
.hub-column {
  width: calc(100% - 40px);
  max-width: 440px;
  margin-inline: auto;
}
.artwork-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-inline: auto;
  margin-bottom: 22px;
}
.artwork-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hub-nav { display: flex; flex-direction: column; gap: 22px; }
.hub-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 12px 48px 12px 18px;
  border: 2px solid var(--blue);
  border-radius: 18px;
  background: #fff;
  color: var(--blue);
  box-shadow: 3px 5px 0 var(--blue), 9px 13px 0 var(--teal);
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  white-space: pre-wrap;
  overflow-wrap: normal;
  position: relative;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.hub-link::after {
  content: "›";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-53%);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
}
.hub-link:not(:disabled):hover { background: #e5eee7; transform: translateY(-2px); }
.hub-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.hub-link:not(:disabled):active { background: var(--yellow); }
.hub-link:disabled { opacity: 1; cursor: default; -webkit-text-fill-color: var(--blue); }
@media (min-width: 768px) {
  .hub-column { width: min(90vw, 460px); }
  .artwork-crop { margin-bottom: 28px; }
}
@media (max-height: 650px) {
  .hub-main { align-items: flex-start; padding-top: 0; padding-bottom: 16px; }
  .artwork-crop { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-link { transition: none; }
  .hub-link:not(:disabled):hover { transform: none; }
}

.hub-link-pending::after { content: "⏳"; font-size: 18px; }

.hub-link-event {
  padding: 2px 44px 2px 12px;
  white-space: nowrap;
  border-color: #0d7a2e;
  background: #c62f2f;
  color: #fff;
  line-height: 1.1;
  box-shadow: 3px 5px 0 #0d7a2e, 9px 13px 0 #19a83f;
}
.hub-link-event:disabled { -webkit-text-fill-color: #fff; }
.hub-link-event::after { display: none; }
.event-badge {
  --spikes: polygon(100.0% 50.0%, 89.5% 56.3%, 97.6% 65.5%, 85.6% 68.2%, 90.5% 79.4%, 78.3% 78.3%, 79.4% 90.5%, 68.2% 85.6%, 65.5% 97.6%, 56.3% 89.5%, 50.0% 100.0%, 43.7% 89.5%, 34.5% 97.6%, 31.8% 85.6%, 20.6% 90.5%, 21.7% 78.3%, 9.5% 79.4%, 14.4% 68.2%, 2.4% 65.5%, 10.5% 56.3%, 0.0% 50.0%, 10.5% 43.7%, 2.4% 34.5%, 14.4% 31.8%, 9.5% 20.6%, 21.7% 21.7%, 20.6% 9.5%, 31.8% 14.4%, 34.5% 2.4%, 43.7% 10.5%, 50.0% 0.0%, 56.3% 10.5%, 65.5% 2.4%, 68.2% 14.4%, 79.4% 9.5%, 78.3% 21.7%, 90.5% 20.6%, 85.6% 31.8%, 97.6% 34.5%, 89.5% 43.7%);
  position: absolute;
  z-index: 0;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-top: -33px;
  padding: 0;
  color: #c62f2f;
  -webkit-text-fill-color: #c62f2f;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 700;
  white-space: nowrap;
  transform: rotate(-8deg);
}
.event-badge::before,
.event-badge::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: var(--spikes);
}
.event-badge::before { inset: 0; background: #0d7a2e; }
.event-badge::after { inset: 2px 3px; background: #ffe066; }
@media (max-width: 360px) {
  .hub-link-event { font-size: 18px; }
}
