/* ==========================================================================
   RYUTA COUNTDOWN AREA (countdown.html) Styles
   100% Faithfully Restored Classic Original Design (Pixel Perfect Matching 1st Image)
   ========================================================================== */

/* --- Container & Layout --- */
.countdown-page-container {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 45px 16px 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background: url('../assets/countdown_bg.png') no-repeat center top / cover;
  position: relative;
  animation: pageFadeIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.985);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Background Soft Orbs */
.countdown-page-container::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, rgba(251, 191, 36, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* --- Handwritten Decorative Overlay Text (Matching Share Page Aesthetics) --- */
.handwritten-decor {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 10px rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 8;
  white-space: nowrap;
  line-height: 1.15;
}

.cd-hw-top-right {
  bottom: 68%;
  right: 16%;
  transform: rotate(-4deg);
  text-align: right;
}

/* --- Header Section (Strictly Unified Curved Typography & Ribbon Frame) --- */
.countdown-header-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  z-index: 5;
  width: 100%;
  max-width: 560px;
  position: relative;
}

.countdown-ribbon-banner {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-ribbon-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(180, 83, 9, 0.25));
}

.countdown-curved-title-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.countdown-title-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* --- Main Stage Section --- */
.countdown-stage-section {
  flex: 1;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

/* --- Landscape Designed Countdown Card --- */
.countdown-widget {
  width: 100%;
  max-width: 580px;
  background: #fdfcf7;
  border: 3.5px solid #ece4d4;
  border-radius: 28px;
  padding: 22px 36px 18px;
  box-shadow: 0 10px 28px rgba(140, 120, 90, 0.15);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

.countdown-widget::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border: 2px dashed #dfd9c4;
  border-radius: 22px;
  pointer-events: none;
}

.cd-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cd-header-label {
  font-family: 'Fredoka', 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #8c7c6d;
  letter-spacing: 2.5px;
  margin-bottom: 4px;
  text-align: center;
  width: 100%;
}

.cd-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #5c4e3e;
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
}

.cd-number-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px 0 0;
  text-align: center;
}

.cd-num-col {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cd-num {
  font-family: 'Fredoka', 'Zen Maru Gothic', sans-serif;
  font-size: 76px;
  font-weight: 800;
  color: #4f4234;
  line-height: 0.95;
  letter-spacing: -1px;
  text-align: center;
  display: inline-block;
}

.cd-days-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #8c7c6d;
  letter-spacing: 3px;
  margin-top: 2px;
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
}

.cd-footer-date {
  font-family: 'Fredoka', 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #d97706;
  letter-spacing: 1.5px;
  line-height: 1.4;
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

/* Birthday Mode Widget & Prominent Date Typography */
.countdown-widget.is-birthday-mode {
  padding: 38px 36px 34px;
  max-width: 600px;
  background: linear-gradient(135deg, #fffdfa, #fef8eb);
  border-color: #ece4d4;
  box-shadow: 0 10px 28px rgba(140, 120, 90, 0.15);
}

.countdown-widget.is-birthday-mode .cd-header-label {
  color: #d97706;
  letter-spacing: 3px;
  font-size: 14px;
}

.countdown-widget.is-birthday-mode .cd-footer-date {
  display: none;
}

/* Adjusted Chibi Character Size for Birthday Day Mode (PC View) */
.countdown-widget.is-birthday-mode~.cd-chibi-container {
  width: 220px;
  height: 220px;
  right: -25px;
  bottom: -22px;
}

/* --- Confetti Overlay Canvas --- */
.cd-confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

/* --- Birthday Mode Interactive Stage --- */
.cd-birthday-stage {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 8px 0 6px;
}

.countdown-widget.is-birthday-mode .cd-birthday-stage {
  display: flex;
}

.cd-birthday-main-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #b45309;
  margin: 6px 0 16px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  animation: cdBirthdayTitleEntrance 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, cdBirthdayFloatLoop 3.2s ease-in-out 0.75s infinite alternate;
}

.cd-birthday-sub {
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* Celebration Counter Box (Count of all cake taps) */
.cd-celebration-box {
  margin: 16px 0 16px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #ffffff, #fffbeb);
  border: 1.5px solid #fde68a;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cd-celebration-box.is-popping {
  animation: cdCountPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cdCountPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.cd-celebration-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.cd-celebration-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.cd-celebration-num {
  font-family: 'Fredoka', 'Zen Maru Gothic', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #b45309;
  line-height: 1;
  letter-spacing: -0.5px;
}

.cd-celebration-unit {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #d97706;
}

/* Chibi Cake Hint Speech Bubble (Matches Entrance Speech Bubble Design) */
.cd-chibi-cake-hint {
  position: absolute;
  top: -46px;
  right: 15px;
  background: #fffdf7;
  border: 2px solid #5c4a38;
  border-radius: 16px 14px 12px 18px / 14px 16px 12px 18px;
  padding: 8px 14px;
  font-family: var(--font-jap), 'Zen Maru Gothic', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #5c4a38;
  box-shadow: 3px 3px 0px #dfd9c4;
  white-space: nowrap;
  pointer-events: none;
  z-index: 15;
  display: none;
  animation: cdPulseHint 2s infinite ease-in-out;
}

br.cd-sp-br,
.cd-hint-sp-br {
  display: none;
}

.cd-chibi-cake-hint::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 22px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: #5c4a38 transparent transparent transparent;
  display: block;
  width: 0;
}

.cd-chibi-cake-hint::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 23px;
  border-width: 8px 8px 0 0;
  border-style: solid;
  border-color: #fffdf7 transparent transparent transparent;
  display: block;
  width: 0;
}

/* Display hint bubble & enable pointer cursor + hover scaling on birthday day */
.countdown-widget.is-birthday-mode~.cd-chibi-container .cd-chibi-cake-hint {
  display: block;
}

.countdown-widget.is-birthday-mode~.cd-chibi-container {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.countdown-widget.is-birthday-mode~.cd-chibi-container:hover {
  transform: scale(1.05) translateY(-8px);
}

.countdown-widget.is-birthday-mode~.cd-chibi-container .cd-chibi-img {
  cursor: pointer;
  transition: filter 0.25s ease;
}

.countdown-widget.is-birthday-mode~.cd-chibi-container:hover .cd-chibi-img {
  filter: drop-shadow(0 16px 32px rgba(245, 158, 11, 0.55));
}

.countdown-widget.is-birthday-mode~.cd-chibi-container:active {
  transform: scale(0.96) translateY(-2px);
}

@keyframes cdPulseHint {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* Finale Link Button */
.cd-birthday-finale-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 800;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  margin-top: 4px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.cd-birthday-finale-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

/* Chibi Speech Bubble (Matches Entrance Speech Bubble Design) */
.cd-chibi-bubble {
  position: absolute;
  top: -55px;
  right: 5px;
  background: #fffdf7;
  border: 2px solid #5c4a38;
  border-radius: 16px 14px 12px 18px / 14px 16px 12px 18px;
  padding: 8px 14px;
  font-family: var(--font-jap), 'Zen Maru Gothic', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #5c4a38;
  box-shadow: 3px 3px 0px #dfd9c4;
  white-space: nowrap;
  pointer-events: none;
  z-index: 15;
  display: none;
  animation: cdBubblePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cd-chibi-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 22px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: #5c4a38 transparent transparent transparent;
  display: block;
  width: 0;
}

.cd-chibi-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 23px;
  border-width: 8px 8px 0 0;
  border-style: solid;
  border-color: #fffdf7 transparent transparent transparent;
  display: block;
  width: 0;
}

@keyframes cdBubblePop {
  0% {
    transform: scale(0.6) translateY(10px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes cdBirthdayTitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.1));
  }

  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(245, 158, 11, 0.45));
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.3));
  }
}

@keyframes cdBirthdayFloatLoop {

  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 3px 8px rgba(245, 158, 11, 0.25));
  }

  50% {
    transform: translateY(-6px) scale(1.035) rotate(0.8deg);
    filter: drop-shadow(0 8px 20px rgba(245, 158, 11, 0.5));
  }
}

/* Detail Grid (Always Visible Time Units Box: Hours, Minutes, Seconds) */
.cd-detail-grid {
  width: 100%;
  max-width: 400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 6px auto 10px;
  opacity: 1;
}

.cd-unit-box {
  background: #ffffff;
  border: 1.5px solid #ede4d4;
  border-radius: 14px;
  padding: 10px 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cd-unit-val {
  font-family: 'Fredoka', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #4f4234;
  display: block;
  line-height: 1.1;
}

.cd-unit-txt {
  font-family: 'Fredoka', sans-serif;
  font-size: 10px;
  color: #8c7c6d;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  margin-top: 3px;
}

/* Dynamic Daily Countdown Chibi Character (Positioned on the Right Side of the Board) */
.cd-chibi-container {
  position: absolute;
  right: -35px;
  bottom: -20px;
  width: 240px;
  height: 240px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: auto;
}

.cd-chibi-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(120, 100, 70, 0.28));
  cursor: default;
  animation: cdChibiFloat 3s ease-in-out infinite alternate;
}

/* Enlarge size specifically for 0-day remaining chibi character */
.cd-chibi-img[src*="chibi_0day"] {
  max-width: 122%;
  max-height: 122%;
  transform-origin: bottom center;
}

/* Enlarge size & shift 20px down specifically for 1-day remaining chibi character to prevent text overlap */
.cd-chibi-img[src*="chibi_1day"],
.cd-chibi-img.is-1day {
  max-width: 122%;
  max-height: 122%;
  position: relative;
  top: 20px;
  transform-origin: bottom center;
}

/* Slightly smaller size for birthday suit character holding cake */
.cd-chibi-img[src*="chibi_birthday"] {
  max-width: 105%;
  max-height: 105%;
  transform-origin: bottom center;
}

@keyframes cdChibiFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes cdChibiPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.22) rotate(4deg);
  }

  70% {
    transform: scale(0.95) rotate(-2deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Birthday Celebration Particles & Toast Messages */
.cd-celebration-toast {
  position: fixed;
  pointer-events: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #b45309;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #fbbf24;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.3);
  z-index: 999;
  animation: floatToastUp 1.4s ease-out forwards;
}

@keyframes floatToastUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.7);
  }

  20% {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1.1);
  }

  80% {
    opacity: 1;
    transform: translate(-50%, -60px) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -90px) scale(0.9);
  }
}

.cd-confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 998;
  font-size: 20px;
  animation: confettiFall 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.4);
  }
}

/* Debug Mode Control Panel */
.cd-debug-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.cd-debug-toggle-btn {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #e2d8c3;
  color: #5c4d3c;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cd-debug-toggle-btn:hover {
  background: #ffffff;
  border-color: #cbbe91;
  transform: translateY(-2px);
}

.cd-debug-body {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #e2d8c3;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  width: 260px;
  max-width: calc(100vw - 40px);
}

.cd-debug-title {
  font-size: 12px;
  font-weight: 800;
  color: #8c7c6d;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e2d8c3;
}

.cd-debug-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.cd-debug-opt {
  background: #f7f3eb;
  border: 1.5px solid #e2d8c3;
  color: #6e5e4d;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.cd-debug-opt:hover {
  background: #ede4d4;
}

.cd-debug-opt.active {
  background: #8c7c6d;
  border-color: #6e5e4d;
  color: #ffffff;
}

.cd-debug-opt.opt-birthday {
  grid-column: span 2;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
  color: #92400e;
}

.cd-debug-opt.opt-birthday.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #b45309;
  color: #ffffff;
}

/* ==========================================================================
   Media Queries (Grouped at Bottom per AGENTS.md rules)
   ========================================================================== */

@media (max-width: 768px) {
  .countdown-page-container {
    background: url('../assets/countdown_bg_sp.jpg') no-repeat center top / cover;
  }

  .countdown-stage-section {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .countdown-widget {
    max-width: 84vw;
    margin-left: auto;
    margin-right: auto;
  }

  .cd-chibi-container {
    width: 180px;
    height: 180px;
    right: -15px;
    bottom: -30px;
  }

  .countdown-widget.is-birthday-mode~.cd-chibi-container {
    width: 220px;
    height: 220px;
    right: -25px;
    bottom: -32px;
  }

  br.cd-sp-br,
  .cd-hint-sp-br {
    display: block;
  }

  .cd-celebration-box {
    margin-right: 30px;
  }

  .cd-celebration-label {
    text-align: center;
    line-height: 1.3;
  }

  .cd-birthday-sub {
    text-align: center;
    line-height: 1.4;
    margin-right: 30px;
  }

  .cd-chibi-cake-hint {
    top: -56px;
    right: 5px;
    padding: 6px 12px;
    text-align: center;
    line-height: 1.35;
  }

  /* Shift birthday suit character image 20px right on smartphone screens while maintaining hint bubble position */
  .cd-chibi-img[src*="chibi_birthday"] {
    position: relative;
    left: 20px;
  }
}

@media (max-width: 480px) {
  .countdown-page-container {
    padding: 36px 12px 65px;
  }

  .cd-hw-top-right {
    bottom: 73%;
    right: 14px;
    font-size: 26px;
  }

  .countdown-title-curved {
    font-size: 32px;
  }

  .countdown-ribbon-banner {
    max-width: 380px;
  }

  .countdown-title-curved {
    font-size: 34px;
  }

  .countdown-widget {
    max-width: 90vw;
    padding: 16px 16px 14px;
    border-radius: 22px;
  }

  .cd-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .cd-number-block {
    margin: 2px 0 0;
  }

  .cd-num {
    font-size: 64px;
  }

  .cd-days-label {
    font-size: 12px;
    letter-spacing: 2.5px;
    margin-top: 1px;
    margin-bottom: 8px;
  }

  .cd-detail-grid {
    max-width: 100%;
    gap: 8px;
    margin: 6px auto 8px;
  }

  .cd-unit-box {
    padding: 8px 4px;
    border-radius: 12px;
  }

  .cd-unit-val {
    font-size: 22px;
  }

  .cd-unit-txt {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 2px;
  }

  .cd-footer-date {
    font-size: 12px;
    margin-top: 6px;
  }

  .cd-birthday-main-title {
    font-size: 16px;
  }

  .cd-cake-hint {
    font-size: 11px;
    padding: 4px 10px;
  }

  .cd-celebration-box {
    margin-right: 30px;
  }

  .cd-birthday-sub {
    margin-right: 30px;
  }

  br.cd-sp-br,
  .cd-hint-sp-br {
    display: block;
  }

  .cd-chibi-cake-hint {
    top: -56px;
    right: 5px;
    padding: 6px 12px;
    text-align: center;
    line-height: 1.35;
  }

  .cd-chibi-container {
    width: 155px;
    height: 155px;
    right: -20px;
    bottom: 0;
  }

  .countdown-widget.is-birthday-mode~.cd-chibi-container {
    width: 185px;
    height: 185px;
    right: -5px;
    bottom: 66px;
  }

  .cd-debug-panel {
    bottom: 15px;
    left: 15px;
  }
}